r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Mar 2010 18:41:05 +0000 (18:41 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Mar 2010 18:47:36 +0000 (18:47 +0000)
PIPE_FORMAT_R8G8B8A8_SNORM already listed.

src/gallium/drivers/r300/r300_texture.c

index 5b674f6e57d839c3f13df207c5247a863d8ea0b8..ea474737b126dd1cb33b78685d3fd2fa260ffda1 100644 (file)
@@ -329,7 +329,6 @@ static uint32_t r300_translate_colorformat(enum pipe_format format)
         case PIPE_FORMAT_R8G8B8A8_SRGB:
         case PIPE_FORMAT_R8G8B8X8_UNORM:
         case PIPE_FORMAT_R8G8B8X8_SRGB:
-        case PIPE_FORMAT_A8B8G8R8_SNORM:
         case PIPE_FORMAT_X8B8G8R8_SNORM:
         case PIPE_FORMAT_X8UB8UG8SR8S_NORM:
             return R300_COLOR_FORMAT_ARGB8888;
@@ -467,7 +466,6 @@ static uint32_t r300_translate_out_fmt(enum pipe_format format)
                 R300_C2_SEL_G | R300_C3_SEL_R;
 
         /* ABGR 32-bit outputs. */
-        case PIPE_FORMAT_A8B8G8R8_SNORM:
         case PIPE_FORMAT_X8B8G8R8_SNORM:
         case PIPE_FORMAT_X8UB8UG8SR8S_NORM:
         case PIPE_FORMAT_A2B10G10R10_UNORM: