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
37b73478
Commit
37b73478
authored
Jul 08, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: An indirect address op can adjust min and max at the same time.
parent
3d9809b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
baseshader.c
dlls/wined3d/baseshader.c
+6
-2
No files found.
dlls/wined3d/baseshader.c
View file @
37b73478
...
...
@@ -304,11 +304,15 @@ static void shader_record_register_usage(IWineD3DBaseShaderImpl *This, struct sh
{
if
(
shader_type
!=
WINED3D_SHADER_TYPE_PIXEL
)
{
if
(
reg
->
idx
<=
((
IWineD3DVertexShaderImpl
*
)
This
)
->
min_rel_offset
)
if
(
reg
->
idx
<
((
IWineD3DVertexShaderImpl
*
)
This
)
->
min_rel_offset
)
{
((
IWineD3DVertexShaderImpl
*
)
This
)
->
min_rel_offset
=
reg
->
idx
;
else
if
(
reg
->
idx
>=
((
IWineD3DVertexShaderImpl
*
)
This
)
->
max_rel_offset
)
}
if
(
reg
->
idx
>
((
IWineD3DVertexShaderImpl
*
)
This
)
->
max_rel_offset
)
{
((
IWineD3DVertexShaderImpl
*
)
This
)
->
max_rel_offset
=
reg
->
idx
;
}
}
reg_maps
->
usesrelconstF
=
TRUE
;
}
else
...
...
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