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
438d88e1
Commit
438d88e1
authored
May 21, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
May 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only run parse_decl_usage on vshader INPUT registers.
parent
7b156bf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vertexshader.c
dlls/wined3d/vertexshader.c
+4
-2
No files found.
dlls/wined3d/vertexshader.c
View file @
438d88e1
...
...
@@ -709,7 +709,7 @@ inline static void vshader_program_add_param(IWineD3DVertexShaderImpl *This, con
}
}
static
void
parse
_decl_usage
(
IWineD3DVertexShaderImpl
*
This
,
INT
usage
,
INT
arrayNo
)
static
void
vshader_parse_input
_decl_usage
(
IWineD3DVertexShaderImpl
*
This
,
INT
usage
,
INT
arrayNo
)
{
switch
(
usage
&
0xFFFF
)
{
case
D3DDECLUSAGE_POSITION
:
...
...
@@ -1541,8 +1541,10 @@ HRESULT WINAPI IWineD3DVertexShaderImpl_SetFunction(IWineD3DVertexShader *iface,
DWORD
usage
=
*
pToken
;
DWORD
param
=
*
(
pToken
+
1
);
DWORD
regtype
=
shader_get_regtype
(
param
);
parse_decl_usage
(
This
,
usage
,
param
&
D3DSP_REGNUM_MASK
);
if
(
regtype
==
D3DSPR_INPUT
)
vshader_parse_input_decl_usage
(
This
,
usage
,
param
&
D3DSP_REGNUM_MASK
);
shader_program_dump_decl_usage
(
usage
,
param
);
shader_dump_ins_modifiers
(
param
);
TRACE
(
" "
);
...
...
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