r600g: revert "support textures with scaled number formats"
authorChristian König <deathsimple@vodafone.de>
Mon, 11 Jul 2011 09:39:11 +0000 (11:39 +0200)
committerChristian König <deathsimple@vodafone.de>
Mon, 11 Jul 2011 09:39:11 +0000 (11:39 +0200)
We should add those probably when merged to master.

src/gallium/drivers/r600/r600_texture.c

index 63cacbbd50c8b607893982725ea3c963cd1d80a9..a6161e5f281b94103e73133bb8477cf9399994ba 100644 (file)
@@ -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) {