summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-07-11 11:39:11 +0200
committerChristian König <[email protected]>2011-07-11 11:39:11 +0200
commit358795bc0bacdba9a36bb010ef18ee1b2d086f2d (patch)
treeabb650008e97dd8776d08cdbee8c8d5a1a0d83cd /src/gallium/drivers
parentd6eb1f82570659b7b5a562faa06d804e63a0fc64 (diff)
r600g: revert "support textures with scaled number formats"
We should add those probably when merged to master.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index 63cacbbd50c..a6161e5f281 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -1018,7 +1018,7 @@ uint32_t r600_translate_texformat(struct pipe_screen *screen,
case UTIL_FORMAT_TYPE_SIGNED:
if (!desc->channel[i].normalized &&
desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB) {
- word4 |= S_038010_NUM_FORMAT_ALL(V_038010_SQ_NUM_FORMAT_SCALED);
+ goto out_unknown;
}
switch (desc->channel[i].size) {