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
3925cd5f
Commit
3925cd5f
authored
May 28, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
May 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the output signature to setup SM4 vertex shader output semantics.
parent
2fdbeefc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
vertexshader.c
dlls/wined3d/vertexshader.c
+11
-0
No files found.
dlls/wined3d/vertexshader.c
View file @
3925cd5f
...
...
@@ -246,6 +246,7 @@ static HRESULT WINAPI IWineD3DVertexShaderImpl_SetFunction(IWineD3DVertexShader
IWineD3DVertexShaderImpl
*
This
=
(
IWineD3DVertexShaderImpl
*
)
iface
;
IWineD3DDeviceImpl
*
deviceImpl
=
(
IWineD3DDeviceImpl
*
)
This
->
baseShader
.
device
;
const
struct
wined3d_shader_frontend
*
fe
;
unsigned
int
i
;
HRESULT
hr
;
shader_reg_maps
*
reg_maps
=
&
This
->
baseShader
.
reg_maps
;
...
...
@@ -281,6 +282,16 @@ static HRESULT WINAPI IWineD3DVertexShaderImpl_SetFunction(IWineD3DVertexShader
pFunction
,
GL_LIMITS
(
vshader_constantsF
));
if
(
hr
!=
WINED3D_OK
)
return
hr
;
if
(
output_signature
)
{
for
(
i
=
0
;
i
<
output_signature
->
element_count
;
++
i
)
{
struct
wined3d_shader_signature_element
*
e
=
&
output_signature
->
elements
[
i
];
reg_maps
->
output_registers
|=
1
<<
e
->
register_idx
;
This
->
output_signature
[
e
->
register_idx
]
=
*
e
;
}
}
vshader_set_limits
(
This
);
if
(
deviceImpl
->
vs_selected_mode
==
SHADER_ARB
&&
...
...
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