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/volumetexture9.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/volumetexture9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/volumetexture9.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/volumetexture9.c b/src/gallium/state_trackers/nine/volumetexture9.c index 6c0073f6690..08fdd3d29cf 100644 --- a/src/gallium/state_trackers/nine/volumetexture9.c +++ b/src/gallium/state_trackers/nine/volumetexture9.c @@ -90,6 +90,9 @@ NineVolumeTexture9_ctor( struct NineVolumeTexture9 *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"); This->volumes = CALLOC(info->last_level + 1, sizeof(*This->volumes)); if (!This->volumes) |