diff options
author | Chris Forbes <[email protected]> | 2014-03-15 21:50:28 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-04-10 18:27:40 +1200 |
commit | 66b0554fa63cf1a9de0637c71e8e769763c267b0 (patch) | |
tree | 3779bf1d575f8615c35af8cc402f81512b9be7e4 /src/mesa/drivers | |
parent | 932a1eeac83eb4191af0809036d9de3797205c1b (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_surface_formats.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |