Mesa (master): i915g: Support R4G4B4A4 render targets and textures

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu May 29 02:54:28 UTC 2014


Module: Mesa
Branch: master
Commit: 569c02652004b6090cf81722b478f55c2f328c80
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=569c02652004b6090cf81722b478f55c2f328c80

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed May 28 14:00:20 2014 -0700

i915g: Support R4G4B4A4 render targets and textures

---

 src/gallium/drivers/i915/i915_screen.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index dfd7a2e..fea768c 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,




More information about the mesa-commit mailing list