From: Michel Dänzer Date: Tue, 22 Jan 2013 16:46:32 +0000 (+0100) Subject: radeonsi: Handle PIPE_FORMAT_L32A32_S/UINT for rendering. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de4e448095662611e27dce98059a77f14d647401;p=mesa.git radeonsi: Handle PIPE_FORMAT_L32A32_S/UINT for rendering. Signed-off-by: Michel Dänzer --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index a27dbdd775e..aba44dfc06e 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -817,6 +817,8 @@ static uint32_t si_translate_colorformat(enum pipe_format format) return V_028C70_COLOR_16_16_16_16; case PIPE_FORMAT_L32A32_FLOAT: + case PIPE_FORMAT_L32A32_UINT: + case PIPE_FORMAT_L32A32_SINT: case PIPE_FORMAT_R32G32_FLOAT: case PIPE_FORMAT_R32G32_USCALED: case PIPE_FORMAT_R32G32_SSCALED: @@ -1003,6 +1005,8 @@ static uint32_t si_translate_colorswap(enum pipe_format format) return V_028C70_SWAP_STD; case PIPE_FORMAT_L32A32_FLOAT: + case PIPE_FORMAT_L32A32_UINT: + case PIPE_FORMAT_L32A32_SINT: return V_028C70_SWAP_ALT; /* 128-bit buffers. */