diff options
author | Dave Airlie <[email protected]> | 2011-09-11 09:45:10 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-10-11 16:13:29 +0100 |
commit | 866f9b18c68ede63c00917ec9c3dae3524ca8826 (patch) | |
tree | b07a53b71fe3aeac8deddbabb00ced29bb33e3c9 /src/gallium/state_trackers/xa | |
parent | 6b3e75de7c2dd6be6bf1acd0e996bdb1def702a1 (diff) |
gallium: rename ZS stencil type to UINT (v2)
these are never USCALED, always UINT in reality.
taken from some work by Christoph Bumiller
v2: fixup formatting of table + tabs
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_tracker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xa/xa_tracker.c b/src/gallium/state_trackers/xa/xa_tracker.c index 01879ff6da0..50bf4b7e00c 100644 --- a/src/gallium/state_trackers/xa/xa_tracker.c +++ b/src/gallium/state_trackers/xa/xa_tracker.c @@ -118,10 +118,10 @@ xa_get_pipe_format(enum xa_formats xa_format) fdesc.format = PIPE_FORMAT_X8Z24_UNORM; break; case xa_format_s8z24: - fdesc.format = PIPE_FORMAT_Z24_UNORM_S8_USCALED; + fdesc.format = PIPE_FORMAT_Z24_UNORM_S8_UINT; break; case xa_format_z24s8: - fdesc.format = PIPE_FORMAT_S8_USCALED_Z24_UNORM; + fdesc.format = PIPE_FORMAT_S8_UINT_Z24_UNORM; break; case xa_format_yuv8: fdesc.format = PIPE_FORMAT_L8_UNORM; |