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
2eab3d5c
Commit
2eab3d5c
authored
Dec 15, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Ignore tesselated and unused streams when comparing attribs.
parent
8e036d64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vertexshader.c
dlls/wined3d/vertexshader.c
+4
-0
No files found.
dlls/wined3d/vertexshader.c
View file @
2eab3d5c
...
...
@@ -691,6 +691,10 @@ static inline BOOL swizzled_attribs_differ(IWineD3DVertexShaderImpl *This, IWine
DWORD
usage_idx
;
for
(
i
=
0
;
i
<
vdecl
->
declarationWNumElements
;
i
++
)
{
/* Ignore tesselated streams and the termination entry(position0, stream 255, unused) */
if
(
vdecl
->
pDeclarationWine
[
i
].
Stream
>=
MAX_STREAMS
||
vdecl
->
pDeclarationWine
[
i
].
Type
==
WINED3DDECLTYPE_UNUSED
)
continue
;
for
(
j
=
0
;
j
<
MAX_ATTRIBS
;
j
++
)
{
if
(
!
This
->
baseShader
.
reg_maps
.
attributes
[
j
])
continue
;
...
...
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