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
335bd992
Commit
335bd992
authored
Nov 08, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Actually store the PS's vertex processing flag.
parent
33df8068
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+3
-4
No files found.
dlls/wined3d/pixelshader.c
View file @
335bd992
...
...
@@ -361,18 +361,17 @@ static inline VOID IWineD3DPixelShaderImpl_GenerateShader(
shader_generate_glsl_declarations
(
(
IWineD3DBaseShader
*
)
This
,
reg_maps
,
&
buffer
,
&
GLINFO_LOCATION
);
/* Pack 3.0 inputs */
if
(
This
->
baseShader
.
hex_version
>=
WINED3DPS_VERSION
(
3
,
0
)
&&
!
use_vs
((
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
))
{
if
(
This
->
baseShader
.
hex_version
>=
WINED3DPS_VERSION
(
3
,
0
))
{
if
(((
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
)
->
strided_streams
.
u
.
s
.
position_transformed
)
{
This
->
vertexprocessing
=
pretransformed
;
pshader_glsl_input_pack
(
&
buffer
,
This
->
semantics_in
,
iface
);
}
else
if
(
!
use_vs
((
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
))
{
This
->
vertexprocessing
=
fixedfunction
;
pshader_glsl_input_pack
(
&
buffer
,
This
->
semantics_in
,
iface
);
}
else
{
This
->
vertexprocessing
=
vertexshader
;
}
pshader_glsl_input_pack
(
&
buffer
,
This
->
semantics_in
,
iface
);
}
/* Base Shader Body */
...
...
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