summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-03-22 11:49:03 +0100
committerAxel Davy <[email protected]>2015-04-29 08:28:11 +0200
commit87868d38328a3875881fe1ca6861eb7816a5b0cf (patch)
tree60ecf4d86861884654541da7a5f72889c21d9133 /src/gallium/state_trackers/nine/device9.c
parent4acbf420d1101bd32e8f23acadff5fe6c6fa9b26 (diff)
st/nine: Add debug warning when application uses sw processing
Reviewed-by: Ilia Mirkin <[email protected]> Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.c')
-rw-r--r--src/gallium/state_trackers/nine/device9.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c
index 0bd17177497..7ffede57c73 100644
--- a/src/gallium/state_trackers/nine/device9.c
+++ b/src/gallium/state_trackers/nine/device9.c
@@ -199,6 +199,11 @@ NineDevice9_ctor( struct NineDevice9 *This,
if (!(This->params.BehaviorFlags & D3DCREATE_FPU_PRESERVE))
nine_setup_fpu();
+ if (This->params.BehaviorFlags & D3DCREATE_SOFTWARE_VERTEXPROCESSING)
+ DBG("Application asked full Software Vertex Processing. Ignoring.\n");
+ if (This->params.BehaviorFlags & D3DCREATE_MIXED_VERTEXPROCESSING)
+ DBG("Application asked mixed Software Vertex Processing. Ignoring.\n");
+
This->pipe = This->screen->context_create(This->screen, NULL);
if (!This->pipe) { return E_OUTOFMEMORY; } /* guess */