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
762e2279
Commit
762e2279
authored
Feb 16, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only scream about unsupported vertex blending when it is used.
parent
06f2829b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
state.c
dlls/wined3d/state.c
+9
-4
No files found.
dlls/wined3d/state.c
View file @
762e2279
...
...
@@ -2396,8 +2396,10 @@ static void loadVertexData(IWineD3DStateBlockImpl *stateblock, WineDirect3DVerte
#endif
}
else
{
/* TODO: support blends in fixupVertices */
FIXME
(
"unsupported blending in openGl
\n
"
);
/* TODO: support blends in drawStridedSlow
* No need to write a FIXME here, this is done after the general vertex decl decoding
*/
WARN
(
"unsupported blending in openGl
\n
"
);
}
}
else
{
if
(
GL_SUPPORT
(
ARB_VERTEX_BLEND
))
{
...
...
@@ -2785,8 +2787,11 @@ static inline void handleStreams(IWineD3DStateBlockImpl *stateblock, BOOL useVer
/* Generate some fixme's if unsupported functionality is being used */
#define BUFFER_OR_DATA(_attribute) dataLocations->u.s._attribute.lpData
/* TODO: Either support missing functionality in fixupVertices or by creating a shader to replace the pipeline. */
if
(
!
useVertexShaderFunction
&&
(
BUFFER_OR_DATA
(
blendMatrixIndices
)
||
BUFFER_OR_DATA
(
blendWeights
)))
{
FIXME
(
"Blending data is only valid with vertex shaders %p %p
\n
"
,
dataLocations
->
u
.
s
.
blendWeights
.
lpData
,
dataLocations
->
u
.
s
.
blendWeights
.
lpData
);
if
(
!
useVertexShaderFunction
&&
stateblock
->
renderState
[
WINED3DRS_VERTEXBLEND
]
&&
(
BUFFER_OR_DATA
(
blendMatrixIndices
)
||
BUFFER_OR_DATA
(
blendWeights
)))
{
FIXME
(
"Vertex Blending is not implemented yet %p %p
\n
"
,
dataLocations
->
u
.
s
.
blendWeights
.
lpData
,
dataLocations
->
u
.
s
.
blendWeights
.
lpData
);
/* TODO: Implement it using GL_ARB_vertex_blend or software emulation in drawStridedSlow */
}
if
(
!
useVertexShaderFunction
&&
(
BUFFER_OR_DATA
(
position2
)
||
BUFFER_OR_DATA
(
normal2
)))
{
FIXME
(
"Tweening is only valid with vertex shaders
\n
"
);
...
...
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