summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-26 00:27:27 +0100
committerMarek Olšák <[email protected]>2013-02-07 00:20:24 +0100
commit27e216a07501f4d2ade1e1ec8b9a1f709304013b (patch)
tree3da5d3d8d544a4e8011f7565bb722e4f96dae097 /src/gallium/drivers/r300/r300_screen.c
parent3c351b7c3321b2d331b1b80e4b2e067399a18b35 (diff)
r300g: use new RGBX formats
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index ebc8a2e958d..60759160b0e 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -468,6 +468,9 @@ static boolean r300_is_format_supported(struct pipe_screen* screen,
/* Check sampler format support. */
if ((usage & PIPE_BIND_SAMPLER_VIEW) &&
+ /* these two are broken for an unknown reason */
+ format != PIPE_FORMAT_R8G8B8X8_SNORM &&
+ format != PIPE_FORMAT_R16G16B16X16_SNORM &&
/* ATI1N is r5xx-only. */
(is_r500 || !is_ati1n) &&
/* ATI2N is supported on r4xx-r5xx. */