i915g: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Mar 2010 16:25:25 +0000 (16:25 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Mar 2010 16:25:25 +0000 (16:25 +0000)
src/gallium/drivers/i915/i915_screen.c

index b1d754dc4ebafeed3901eda34eaf0b45ecc53c48..eec2b2895f35956977f98f911d6d99ad63e4e760 100644 (file)
@@ -165,7 +165,7 @@ i915_is_format_supported(struct pipe_screen *screen,
                          unsigned geom_flags)
 {
    static const enum pipe_format tex_supported[] = {
-      PIPE_FORMAT_R8G8B8A8_UNORM,
+      PIPE_FORMAT_R8G8B8A8_UNORM_REV,
       PIPE_FORMAT_A8R8G8B8_UNORM,
       PIPE_FORMAT_R5G6B5_UNORM,
       PIPE_FORMAT_L8_UNORM,