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/indexbuffer9.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/indexbuffer9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/indexbuffer9.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/nine/indexbuffer9.c b/src/gallium/state_trackers/nine/indexbuffer9.c index 48553fd7451..860313b7f7e 100644 --- a/src/gallium/state_trackers/nine/indexbuffer9.c +++ b/src/gallium/state_trackers/nine/indexbuffer9.c @@ -63,12 +63,14 @@ NineIndexBuffer9_ctor( struct NineIndexBuffer9 *This, if (pDesc->Pool == D3DPOOL_SYSTEMMEM) info->usage = PIPE_USAGE_STAGING; - /* if (This->desc.Usage & D3DUSAGE_DONOTCLIP) { } */ - /* if (This->desc.Usage & D3DUSAGE_NONSECURE) { } */ - /* if (This->desc.Usage & D3DUSAGE_NPATCHES) { } */ - /* if (This->desc.Usage & D3DUSAGE_POINTS) { } */ - /* if (This->desc.Usage & D3DUSAGE_RTPATCHES) { } */ - /* if (This->desc.Usage & D3DUSAGE_SOFTWAREPROCESSING) { } */ + /* if (pDesc->Usage & D3DUSAGE_DONOTCLIP) { } */ + /* if (pDesc->Usage & D3DUSAGE_NONSECURE) { } */ + /* if (pDesc->Usage & D3DUSAGE_NPATCHES) { } */ + /* if (pDesc->Usage & D3DUSAGE_POINTS) { } */ + /* if (pDesc->Usage & D3DUSAGE_RTPATCHES) { } */ + if (pDesc->Usage & D3DUSAGE_SOFTWAREPROCESSING) + DBG("Application asked for Software Vertex Processing, " + "but this is unimplemented\n"); info->height0 = 1; info->depth0 = 1; |