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
7e314011
Commit
7e314011
authored
Jan 06, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move debugging fixmes from drawprim to the stream source handler.
parent
27bac24a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
drawprim.c
dlls/wined3d/drawprim.c
+0
-17
state.c
dlls/wined3d/state.c
+17
-0
No files found.
dlls/wined3d/drawprim.c
View file @
7e314011
...
...
@@ -1108,23 +1108,6 @@ inline static void drawPrimitiveDrawStrided(
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
/* 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
&&
(
BUFFER_OR_DATA
(
position2
)
||
BUFFER_OR_DATA
(
normal2
)))
{
FIXME
(
"Tweening is only valid with vertex shaders
\n
"
);
}
if
(
!
useVertexShaderFunction
&&
(
BUFFER_OR_DATA
(
tangent
)
||
BUFFER_OR_DATA
(
binormal
)))
{
FIXME
(
"Tangent and binormal bump mapping is only valid with vertex shaders
\n
"
);
}
if
(
!
useVertexShaderFunction
&&
(
BUFFER_OR_DATA
(
tessFactor
)
||
BUFFER_OR_DATA
(
fog
)
||
BUFFER_OR_DATA
(
depth
)
||
BUFFER_OR_DATA
(
sample
)))
{
FIXME
(
"Extended attributes are only valid with vertex shaders
\n
"
);
}
#undef BUFFER_OR_DATA
/* Make any shaders active */
This
->
shader_backend
->
shader_select
(
iface
,
usePixelShaderFunction
,
useVertexShaderFunction
);
...
...
dlls/wined3d/state.c
View file @
7e314011
...
...
@@ -2543,6 +2543,23 @@ static inline void handleStreams(IWineD3DStateBlockImpl *stateblock, BOOL useVer
TRACE
(
"Not loading vertex data
\n
"
);
device
->
useDrawStridedSlow
=
TRUE
;
}
/* 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
&&
(
BUFFER_OR_DATA
(
position2
)
||
BUFFER_OR_DATA
(
normal2
)))
{
FIXME
(
"Tweening is only valid with vertex shaders
\n
"
);
}
if
(
!
useVertexShaderFunction
&&
(
BUFFER_OR_DATA
(
tangent
)
||
BUFFER_OR_DATA
(
binormal
)))
{
FIXME
(
"Tangent and binormal bump mapping is only valid with vertex shaders
\n
"
);
}
if
(
!
useVertexShaderFunction
&&
(
BUFFER_OR_DATA
(
tessFactor
)
||
BUFFER_OR_DATA
(
fog
)
||
BUFFER_OR_DATA
(
depth
)
||
BUFFER_OR_DATA
(
sample
)))
{
FIXME
(
"Extended attributes are only valid with vertex shaders
\n
"
);
}
#undef BUFFER_OR_DATA
}
static
void
vertexdeclaration
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
)
{
...
...
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