Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c4bbed48
Commit
c4bbed48
authored
Apr 12, 2007
by
Fabian Bieler
Committed by
Alexandre Julliard
Apr 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Mark vertex shader 3.0 as foggy shaders if they write out the fog coord.
parent
a79654d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
baseshader.c
dlls/wined3d/baseshader.c
+2
-0
No files found.
dlls/wined3d/baseshader.c
View file @
c4bbed48
...
...
@@ -253,6 +253,8 @@ HRESULT shader_get_registers_used(
reg_maps
->
packed_output
[
regnum
]
=
1
;
semantics_out
[
regnum
].
usage
=
usage
;
semantics_out
[
regnum
].
reg
=
param
;
if
(
usage
&
(
WINED3DDECLUSAGE_FOG
<<
WINED3DSP_DCL_USAGE_SHIFT
))
reg_maps
->
fog
=
1
;
/* Save sampler usage token */
}
else
if
(
WINED3DSPR_SAMPLER
==
regtype
)
...
...
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