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

index fea768cc3fe012eea1e5d1b95c3fa94dcfd974b8..ad8a23cae22941af533b1714518c057f896447b8 100644 (file)
@@ -328,6 +328,7 @@ i915_is_format_supported(struct pipe_screen *screen,
       PIPE_FORMAT_R8G8B8X8_UNORM,
       PIPE_FORMAT_B4G4R4A4_UNORM,
       PIPE_FORMAT_B5G6R5_UNORM,
+      PIPE_FORMAT_B5G5R5A1_UNORM,
       PIPE_FORMAT_B10G10R10A2_UNORM,
       PIPE_FORMAT_L8_UNORM,
       PIPE_FORMAT_A8_UNORM,
@@ -351,6 +352,7 @@ i915_is_format_supported(struct pipe_screen *screen,
       PIPE_FORMAT_R8G8B8A8_UNORM,
       PIPE_FORMAT_R8G8B8X8_UNORM,
       PIPE_FORMAT_B5G6R5_UNORM,
+      PIPE_FORMAT_B5G5R5A1_UNORM,
       PIPE_FORMAT_B4G4R4A4_UNORM,
       PIPE_FORMAT_B10G10R10A2_UNORM,
       PIPE_FORMAT_L8_UNORM,