From: Dave Airlie Date: Sun, 27 Nov 2011 16:18:08 +0000 (+0000) Subject: gallium: add B10G10R10A2_UINT format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee7bc103919d0af7d77a58cdaa855d6e07e899c6;p=mesa.git gallium: add B10G10R10A2_UINT format This format is used for ARB_texture_rgb10_a2ui extension. Signed-off-by: Dave Airlie --- diff --git a/src/gallium/auxiliary/util/u_format.csv b/src/gallium/auxiliary/util/u_format.csv index 998ac416dc3..4b6fc75361d 100644 --- a/src/gallium/auxiliary/util/u_format.csv +++ b/src/gallium/auxiliary/util/u_format.csv @@ -340,3 +340,4 @@ PIPE_FORMAT_I32_SINT , plain, 1, 1, sp32, , , , xxxx, rgb PIPE_FORMAT_L32_SINT , plain, 1, 1, sp32, , , , xxx1, rgb PIPE_FORMAT_L32A32_SINT , plain, 1, 1, sp32, sp32, , , xxxy, rgb +PIPE_FORMAT_B10G10R10A2_UINT , plain, 1, 1, up10, up10, up10, up2, zyxw, rgb diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index e32dace01f3..f229a5ad545 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -311,6 +311,7 @@ enum pipe_format { PIPE_FORMAT_L32_SINT = 223, PIPE_FORMAT_L32A32_SINT = 224, + PIPE_FORMAT_B10G10R10A2_UINT = 225, PIPE_FORMAT_COUNT };