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
1205c33c
Commit
1205c33c
authored
Mar 30, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the output slot when we have one.
parent
ef2d7041
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
device.c
dlls/wined3d/device.c
+13
-1
No files found.
dlls/wined3d/device.c
View file @
1205c33c
...
...
@@ -250,7 +250,19 @@ void device_stream_info_from_declaration(IWineD3DDeviceImpl *This,
if
(
use_vshader
)
{
stride_used
=
vshader_get_input
(
This
->
stateBlock
->
vertexShader
,
element
->
usage
,
element
->
usage_idx
,
&
idx
);
if
(
element
->
output_slot
==
~
0U
)
{
/* TODO: Assuming vertexdeclarations are usually used with the
* same or a similar shader, it might be worth it to store the
* last used output slot and try that one first. */
stride_used
=
vshader_get_input
(
This
->
stateBlock
->
vertexShader
,
element
->
usage
,
element
->
usage_idx
,
&
idx
);
}
else
{
idx
=
element
->
output_slot
;
stride_used
=
TRUE
;
}
}
else
{
...
...
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