Module: Mesa Branch: master Commit: ee7bc103919d0af7d77a58cdaa855d6e07e899c6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee7bc103919d0af7d77a58cdaa855d6e07e899c6
Author: Dave Airlie <[email protected]> Date: Sun Nov 27 16:18:08 2011 +0000 gallium: add B10G10R10A2_UINT format This format is used for ARB_texture_rgb10_a2ui extension. Signed-off-by: Dave Airlie <[email protected]> --- src/gallium/auxiliary/util/u_format.csv | 1 + src/gallium/include/pipe/p_format.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format.csv b/src/gallium/auxiliary/util/u_format.csv index 998ac41..4b6fc75 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 e32dace..f229a5a 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 }; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
