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
929116f2
Commit
929116f2
authored
Mar 24, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Handle input modifiers in texcrd with arb shaders.
parent
6746209d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+4
-3
No files found.
dlls/wined3d/arb_program_shader.c
View file @
929116f2
...
...
@@ -663,7 +663,6 @@ void pshader_hw_texcoord(SHADER_OPCODE_ARG* arg) {
IWineD3DPixelShaderImpl
*
This
=
(
IWineD3DPixelShaderImpl
*
)
arg
->
shader
;
DWORD
dst
=
arg
->
dst
;
DWORD
*
src
=
arg
->
src
;
SHADER_BUFFER
*
buffer
=
arg
->
buffer
;
DWORD
hex_version
=
This
->
baseShader
.
hex_version
;
...
...
@@ -674,8 +673,10 @@ void pshader_hw_texcoord(SHADER_OPCODE_ARG* arg) {
shader_addline
(
buffer
,
"MOV_SAT T%u%s, fragment.texcoord[%u];
\n
"
,
reg
,
tmp
,
reg
);
}
else
{
DWORD
reg1
=
dst
&
WINED3DSP_REGNUM_MASK
;
DWORD
reg2
=
src
[
0
]
&
WINED3DSP_REGNUM_MASK
;
shader_addline
(
buffer
,
"MOV R%u%s, fragment.texcoord[%u];
\n
"
,
reg1
,
tmp
,
reg2
);
char
reg_src
[
40
];
pshader_gen_input_modifier_line
(
buffer
,
arg
->
src
[
0
],
0
,
reg_src
);
shader_addline
(
buffer
,
"MOV R%u%s, %s;
\n
"
,
reg1
,
tmp
,
reg_src
);
}
}
...
...
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