i915g: Support R4G4B4A4 render targets and textures
authorStéphane Marchesin <marcheu@chromium.org>
Wed, 28 May 2014 21:00:20 +0000 (14:00 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 29 May 2014 02:53:55 +0000 (19:53 -0700)
src/gallium/drivers/i915/i915_screen.c

index dfd7a2ee4299c83b1deb8229afb651adc81137d9..fea768cc3fe012eea1e5d1b95c3fa94dcfd974b8 100644 (file)
@@ -326,6 +326,7 @@ i915_is_format_supported(struct pipe_screen *screen,
       PIPE_FORMAT_B8G8R8X8_UNORM,
       PIPE_FORMAT_R8G8B8A8_UNORM,
       PIPE_FORMAT_R8G8B8X8_UNORM,
+      PIPE_FORMAT_B4G4R4A4_UNORM,
       PIPE_FORMAT_B5G6R5_UNORM,
       PIPE_FORMAT_B10G10R10A2_UNORM,
       PIPE_FORMAT_L8_UNORM,
@@ -350,6 +351,7 @@ i915_is_format_supported(struct pipe_screen *screen,
       PIPE_FORMAT_R8G8B8A8_UNORM,
       PIPE_FORMAT_R8G8B8X8_UNORM,
       PIPE_FORMAT_B5G6R5_UNORM,
+      PIPE_FORMAT_B4G4R4A4_UNORM,
       PIPE_FORMAT_B10G10R10A2_UNORM,
       PIPE_FORMAT_L8_UNORM,
       PIPE_FORMAT_A8_UNORM,