From: Marek Olšák Date: Sat, 7 Jul 2012 22:25:36 +0000 (+0200) Subject: r600g: fix stencil texturing with Z32_FLOAT_S8X24_UINT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a21b561c7e476c0c17e346da9fcd0734db0da1f;p=mesa.git r600g: fix stencil texturing with Z32_FLOAT_S8X24_UINT --- 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;