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
d9057955
Commit
d9057955
authored
Jan 02, 2007
by
Christoph Bumiller
Committed by
Alexandre Julliard
Jan 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Sampler variables wrongly named 'shader'.
parent
b1cc8bec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
glsl_shader.c
dlls/wined3d/glsl_shader.c
+3
-3
No files found.
dlls/wined3d/glsl_shader.c
View file @
d9057955
...
...
@@ -843,13 +843,13 @@ static void shader_glsl_sample(SHADER_OPCODE_ARG* arg, DWORD sampler_idx, const
/* Note that there's no such thing as a projected cube texture. */
switch
(
sampler_type
)
{
case
WINED3DSTT_2D
:
shader_addline
(
buffer
,
"%s = texture2DProj(%cs
had
er%u, %s);
\n
"
,
dst_str
,
sampler_prefix
,
sampler_idx
,
coord_reg
);
shader_addline
(
buffer
,
"%s = texture2DProj(%cs
ampl
er%u, %s);
\n
"
,
dst_str
,
sampler_prefix
,
sampler_idx
,
coord_reg
);
break
;
case
WINED3DSTT_VOLUME
:
shader_addline
(
buffer
,
"%s = texture3DProj(%cs
had
er%u, %s);
\n
"
,
dst_str
,
sampler_prefix
,
sampler_idx
,
coord_reg
);
shader_addline
(
buffer
,
"%s = texture3DProj(%cs
ampl
er%u, %s);
\n
"
,
dst_str
,
sampler_prefix
,
sampler_idx
,
coord_reg
);
break
;
default:
shader_addline
(
buffer
,
"%s = unrecognized_stype(%cs
had
er%u, %s);
\n
"
,
dst_str
,
sampler_prefix
,
sampler_idx
,
coord_reg
);
shader_addline
(
buffer
,
"%s = unrecognized_stype(%cs
ampl
er%u, %s);
\n
"
,
dst_str
,
sampler_prefix
,
sampler_idx
,
coord_reg
);
FIXME
(
"Unrecognized sampler type: %#x;
\n
"
,
sampler_type
);
break
;
}
...
...
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