diff options
author | Axel Davy <[email protected]> | 2015-03-22 11:49:03 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-04-29 08:28:11 +0200 |
commit | 87868d38328a3875881fe1ca6861eb7816a5b0cf (patch) | |
tree | 60ecf4d86861884654541da7a5f72889c21d9133 /src/gallium/state_trackers/nine/texture9.c | |
parent | 4acbf420d1101bd32e8f23acadff5fe6c6fa9b26 (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/texture9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/texture9.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |