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
29a0b362
Commit
29a0b362
authored
Jan 01, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix a pixelshader recompilation check.
parent
c290f4c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+5
-4
No files found.
dlls/wined3d/pixelshader.c
View file @
29a0b362
...
...
@@ -604,10 +604,11 @@ static HRESULT WINAPI IWineD3DPixelShaderImpl_CompileShader(IWineD3DPixelShader
}
}
if
(
This
->
baseShader
.
hex_version
>=
WINED3DPS_VERSION
(
3
,
0
))
{
if
(((
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
)
->
strided_streams
.
u
.
s
.
position_transformed
&&
This
->
vertexprocessing
!=
pretransformed
)
{
WARN
(
"Recompiling shader because pretransformed vertices are provided, which wasn't the case before
\n
"
);
goto
recompile
;
if
(((
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
)
->
strided_streams
.
u
.
s
.
position_transformed
)
{
if
(
This
->
vertexprocessing
!=
pretransformed
)
{
WARN
(
"Recompiling shader because pretransformed vertices are provided, which wasn't the case before
\n
"
);
goto
recompile
;
}
}
else
if
(
!
use_vs
((
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
)
&&
This
->
vertexprocessing
!=
fixedfunction
)
{
WARN
(
"Recompiling shader because fixed function vp is in use, which wasn't the case before
\n
"
);
...
...
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