From 66b0554fa63cf1a9de0637c71e8e769763c267b0 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 15 Mar 2014 21:50:28 +1300 Subject: [PATCH] i965: Enable R10G10B10A2_UNORM format This is supported by all generations, and is required for memory layout consistency for texture_view. Signed-off-by: Chris Forbes Reviewed-by: Kenneth Graunke Acked-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_surface_formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c index b4c694dae0f..c029d819bfd 100644 --- a/src/mesa/drivers/dri/i965/brw_surface_formats.c +++ b/src/mesa/drivers/dri/i965/brw_surface_formats.c @@ -503,6 +503,7 @@ brw_format_for_mesa_format(mesa_format mesa_format) [MESA_FORMAT_Z_FLOAT32] = 0, [MESA_FORMAT_Z32_FLOAT_S8X24_UINT] = 0, + [MESA_FORMAT_R10G10B10A2_UNORM] = BRW_SURFACEFORMAT_R10G10B10A2_UNORM, [MESA_FORMAT_B10G10R10A2_UINT] = BRW_SURFACEFORMAT_B10G10R10A2_UINT, [MESA_FORMAT_R10G10B10A2_UINT] = BRW_SURFACEFORMAT_R10G10B10A2_UINT, -- 2.30.2