diff options
author | Dave Airlie <[email protected]> | 2010-10-06 09:30:17 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-13 09:30:03 +1000 |
commit | 66a0d1e4b930902810a5825193c4057626a51558 (patch) | |
tree | 4249ecc05ed5f64d3475b87974d700b803eb1618 /src/gallium/include/pipe | |
parent | 4ecb2c105da590abf79421a06234b636cd1afcd6 (diff) |
gallium/format: add support for X24S8 and S8X24 formats.
these formats are needed for hw that can sample and write stencil values.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index 06412f4894c..9978e5236fa 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -186,6 +186,9 @@ enum pipe_format { PIPE_FORMAT_R8G8B8X8_UNORM = 134, PIPE_FORMAT_B4G4R4X4_UNORM = 135, + /* some stencil samplers formats */ + PIPE_FORMAT_X24S8_USCALED = 136, + PIPE_FORMAT_S8X24_USCALED = 137, PIPE_FORMAT_COUNT }; |