summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2014-05-28 14:15:07 -0700
committerStéphane Marchesin <[email protected]>2014-05-28 19:53:58 -0700
commitc0bd206a148b8fcda253359efe8c95871f89bd05 (patch)
tree348dc9eb35a45122305e0c2a5e52410cbae45f5a /src
parent569c02652004b6090cf81722b478f55c2f328c80 (diff)
i915g: Support B5G5R5A1 render targets and textures
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index fea768cc3fe..ad8a23cae22 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -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,