gallium: add B10G10R10A2_UINT format
authorDave Airlie <airlied@redhat.com>
Sun, 27 Nov 2011 16:18:08 +0000 (16:18 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 27 Nov 2011 16:25:12 +0000 (16:25 +0000)
This format is used for ARB_texture_rgb10_a2ui extension.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_format.csv
src/gallium/include/pipe/p_format.h

index 998ac416dc35fd42fb76185fe8f4e9b70a6b377f..4b6fc75361d6d741e4f70702f3c6c3c6d8bbbfc4 100644 (file)
@@ -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
index e32dace01f3d308d7f2c5432b97d2e7049db4c49..f229a5ad545ff181497ebbbf3f5f70db0b11f70e 100644 (file)
@@ -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
 };