diff options
author | Marek Olšák <[email protected]> | 2012-07-08 00:25:36 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-07-09 13:58:00 +0200 |
commit | 0a21b561c7e476c0c17e346da9fcd0734db0da1f (patch) | |
tree | a0ccaecb7b292ccf6cdd58ccc1f055c52b32fa6f /src | |
parent | a460df9299dfeb7915689befc15155e18e41ddb8 (diff) |
r600g: fix stencil texturing with Z32_FLOAT_S8X24_UINT
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 01ab4589e91..d8c5df3159c 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -1078,6 +1078,8 @@ uint32_t r600_translate_texformat(struct pipe_screen *screen, case PIPE_FORMAT_Z32_FLOAT: result = FMT_32_FLOAT; goto out_word4; + case PIPE_FORMAT_X32_S8X24_UINT: + word4 |= S_038010_NUM_FORMAT_ALL(V_038010_SQ_NUM_FORMAT_INT); case PIPE_FORMAT_Z32_FLOAT_S8X24_UINT: result = FMT_X24_8_32_FLOAT; goto out_word4; |