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
6a046edd
Commit
6a046edd
authored
Jul 24, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the vpos_uniform field from the wined3d_pixel_shader structure.
parent
43d2515d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/glsl_shader.c
View file @
6a046edd
...
...
@@ -823,7 +823,7 @@ static void shader_glsl_load_constants(const struct wined3d_context *context,
}
}
if
(
p
shader
->
u
.
ps
.
vpos_uniform
)
if
(
p
rog
->
ycorrection_location
!=
-
1
)
{
float
correction_params
[
4
];
...
...
@@ -1043,7 +1043,6 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
+
1
<
gl_info
->
limits
.
glsl_ps_float_constants
)
{
shader_addline
(
buffer
,
"uniform vec4 ycorrection;
\n
"
);
shader
->
u
.
ps
.
vpos_uniform
=
1
;
extra_constants_needed
++
;
}
else
...
...
dlls/wined3d/wined3d_private.h
View file @
6a046edd
...
...
@@ -2566,7 +2566,6 @@ struct wined3d_pixel_shader
unsigned
int
declared_in_count
;
/* Some information about the shader behavior */
char
vpos_uniform
;
BOOL
color0_mov
;
DWORD
color0_reg
;
};
...
...
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