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/texture9.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/state_trackers/nine/texture9.c') diff --git a/src/gallium/state_trackers/nine/texture9.c b/src/gallium/state_trackers/nine/texture9.c index 0dbdd3739a6..78a632f54ba 100644 --- a/src/gallium/state_trackers/nine/texture9.c +++ b/src/gallium/state_trackers/nine/texture9.c @@ -125,6 +125,11 @@ NineTexture9_ctor( struct NineTexture9 *This, PIPE_BIND_TRANSFER_READ | PIPE_BIND_TRANSFER_WRITE; } + + if (Usage & D3DUSAGE_SOFTWAREPROCESSING) + DBG("Application asked for Software Vertex Processing, " + "but this is unimplemented\n"); + if (pSharedHandle) info->bind |= PIPE_BIND_SHARED; -- cgit v1.2.3