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/drivers/cell/spu/spu_command.c | |
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/drivers/cell/spu/spu_command.c')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_command.c b/src/gallium/drivers/cell/spu/spu_command.c index f16cabc0270..6f8ba9562d2 100644 --- a/src/gallium/drivers/cell/spu/spu_command.c +++ b/src/gallium/drivers/cell/spu/spu_command.c @@ -337,8 +337,8 @@ cmd_state_framebuffer(const struct cell_command_framebuffer *cmd) spu.fb.zsize = 4; spu.fb.zscale = (float) 0xffffffffu; break; - case PIPE_FORMAT_S8_USCALED_Z24_UNORM: - case PIPE_FORMAT_Z24_UNORM_S8_USCALED: + case PIPE_FORMAT_S8_UINT_Z24_UNORM: + case PIPE_FORMAT_Z24_UNORM_S8_UINT: case PIPE_FORMAT_X8Z24_UNORM: case PIPE_FORMAT_Z24X8_UNORM: spu.fb.zsize = 4; |