summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2014-05-28 14:00:20 -0700
committerStéphane Marchesin <[email protected]>2014-05-28 19:53:55 -0700
commit569c02652004b6090cf81722b478f55c2f328c80 (patch)
tree18482ac1e57acc371e0670c87435a833ddab1640 /src
parent9e59c91a73903638eb5b807950d59fdf2dd981ce (diff)
i915g: Support R4G4B4A4 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 dfd7a2ee429..fea768cc3fe 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -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,