diff options
author | Michel Dänzer <[email protected]> | 2013-01-22 17:46:32 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2013-01-24 08:46:31 +0100 |
commit | de4e448095662611e27dce98059a77f14d647401 (patch) | |
tree | 52403999931b7f6385b07f17b133c9a9a2831cd8 /src/gallium/drivers | |
parent | d0096dfa85a176c387701a035cfc21d55f615ed6 (diff) |
radeonsi: Handle PIPE_FORMAT_L32A32_S/UINT for rendering.
Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |