summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_state_inlines.h
diff options
context:
space:
mode:
authorHenri Verbeet <hverbeet@gmail.com>2010-08-24 20:51:20 +0200
committerHenri Verbeet <hverbeet@gmail.com>2010-08-24 20:52:21 +0200
commit547e8675583053f15dc62a073b52f4722e7d0f5f (patch)
tree4cc2730e9dff8ea7df4c3143c14c77fb163667d7 /src/gallium/drivers/r600/r600_state_inlines.h
parent0eb2026c8767d6e1f68e6b07f35a9aca9ed757c7 (diff)
r600g: Add support for PIPE_FORMAT_R32_FLOAT.
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_inlines.h')
-rw-r--r--src/gallium/drivers/r600/r600_state_inlines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state_inlines.h b/src/gallium/drivers/r600/r600_state_inlines.h
index 927c342bb5..d67d4be6f8 100644
--- a/src/gallium/drivers/r600/r600_state_inlines.h
+++ b/src/gallium/drivers/r600/r600_state_inlines.h
@@ -264,6 +264,9 @@ static INLINE uint32_t r600_translate_colorformat(enum pipe_format format)
case PIPE_FORMAT_Z24_UNORM_S8_USCALED:
return V_0280A0_COLOR_8_24;
+ case PIPE_FORMAT_R32_FLOAT:
+ return V_0280A0_COLOR_32_FLOAT;
+
/* 64-bit buffers. */
case PIPE_FORMAT_R16G16B16A16_UNORM:
case PIPE_FORMAT_R16G16B16A16_SNORM: