From 87868d38328a3875881fe1ca6861eb7816a5b0cf Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 22 Mar 2015 11:49:03 +0100 Subject: st/nine: Add debug warning when application uses sw processing Reviewed-by: Ilia Mirkin Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/state_trackers/nine/device9.c') 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 */ -- cgit v1.2.3