summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-04 14:29:25 +0200
committerMarek Olšák <[email protected]>2012-08-15 19:20:57 +0200
commit4f215952760b2e5a92b25ddfa89469c1ec110160 (patch)
tree3270ced42c8d8fff5d3deb98d86a71ec607903b0 /src/gallium/drivers/r600/evergreen_state.c
parent2f14202f52c9f61f5bb5bfb6beaf954ef5c18de9 (diff)
r600g: remove support for 3-channel colorbuffers
We have no sampler support for them.
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index 67ae7d3c04c..6e338ae23f6 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -338,8 +338,6 @@ static uint32_t r600_translate_colorswap(enum pipe_format format)
case PIPE_FORMAT_R16G16_SNORM:
case PIPE_FORMAT_R16G16_UINT:
case PIPE_FORMAT_R16G16_SINT:
- case PIPE_FORMAT_R16G16B16_FLOAT:
- case PIPE_FORMAT_R32G32B32_FLOAT:
return V_028C70_SWAP_STD;
/* 64-bit buffers. */
@@ -517,7 +515,6 @@ static uint32_t r600_translate_colorformat(enum pipe_format format)
case PIPE_FORMAT_R16G16B16A16_SNORM:
return V_028C70_COLOR_16_16_16_16;
- case PIPE_FORMAT_R16G16B16_FLOAT:
case PIPE_FORMAT_R16G16B16A16_FLOAT:
return V_028C70_COLOR_16_16_16_16_FLOAT;
@@ -531,10 +528,6 @@ static uint32_t r600_translate_colorformat(enum pipe_format format)
case PIPE_FORMAT_L32A32_SINT:
return V_028C70_COLOR_32_32;
- /* 96-bit buffers. */
- case PIPE_FORMAT_R32G32B32_FLOAT:
- return V_028C70_COLOR_32_32_32_FLOAT;
-
/* 128-bit buffers. */
case PIPE_FORMAT_R32G32B32A32_SNORM:
case PIPE_FORMAT_R32G32B32A32_UNORM: