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
e1c6b73e
Commit
e1c6b73e
authored
Jun 19, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the ARB index offset work with emulated MOVA.
parent
77820d5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+4
-0
No files found.
dlls/wined3d/arb_program_shader.c
View file @
e1c6b73e
...
...
@@ -1520,6 +1520,10 @@ static void shader_hw_mov(const struct wined3d_shader_instruction *ins)
shader_addline
(
buffer
,
"ABS TA%s, %s;
\n
"
,
write_mask
,
src0_param
);
shader_addline
(
buffer
,
"ADD TA%s, TA, mova_const.x;
\n
"
,
write_mask
);
shader_addline
(
buffer
,
"FLR TA%s, TA;
\n
"
,
write_mask
);
if
(((
IWineD3DVertexShaderImpl
*
)
shader
)
->
rel_offset
)
{
shader_addline
(
buffer
,
"ADD TA%s, TA, helper_const.z;
\n
"
,
write_mask
);
}
shader_addline
(
buffer
,
"MUL A0_SHADOW%s, TA, A0_SHADOW;
\n
"
,
write_mask
);
((
struct
shader_arb_ctx_priv
*
)
ins
->
ctx
->
backend_data
)
->
addr_reg
[
0
]
=
'\0'
;
...
...
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