Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e65679f4
Commit
e65679f4
authored
Nov 12, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d/nvrc: Move FFP bumpenv constant loading to nvrc_apply_draw_state().
parent
8f2586cf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
nvidia_texture_shader.c
dlls/wined3d/nvidia_texture_shader.c
+0
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+12
-0
No files found.
dlls/wined3d/nvidia_texture_shader.c
View file @
e65679f4
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
e65679f4
...
@@ -56,6 +56,18 @@ static inline size_t align(size_t addr, size_t alignment)
...
@@ -56,6 +56,18 @@ static inline size_t align(size_t addr, size_t alignment)
return
(
addr
+
(
alignment
-
1
))
&
~
(
alignment
-
1
);
return
(
addr
+
(
alignment
-
1
))
&
~
(
alignment
-
1
);
}
}
static
inline
uint32_t
float_to_int
(
float
f
)
{
union
{
uint32_t
u
;
float
f
;
}
u
;
u
.
f
=
f
;
return
u
.
u
;
}
static
inline
float
int_to_float
(
uint32_t
i
)
static
inline
float
int_to_float
(
uint32_t
i
)
{
{
union
union
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment