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
1612dc4d
Commit
1612dc4d
authored
Feb 06, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Feb 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Refuse pixel shaders declaring POSITION0 inputs.
parent
74b4516b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
shader.c
dlls/wined3d/shader.c
+3
-0
No files found.
dlls/wined3d/shader.c
View file @
1612dc4d
...
...
@@ -690,6 +690,9 @@ static HRESULT shader_get_registers_used(struct wined3d_shader *shader, const st
ERR
(
"Invalid input register index %u.
\n
"
,
reg_idx
);
break
;
}
if
(
shader_version
.
type
==
WINED3D_SHADER_TYPE_PIXEL
&&
shader_version
.
major
==
3
&&
semantic
->
usage
==
WINED3D_DECL_USAGE_POSITION
&&
!
semantic
->
usage_idx
)
return
WINED3DERR_INVALIDCALL
;
reg_maps
->
input_registers
|=
1
<<
reg_idx
;
shader_signature_from_semantic
(
&
input_signature
[
reg_idx
],
semantic
);
break
;
...
...
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