diff options
author | Jakob Bornecrantz <[email protected]> | 2008-06-06 16:12:55 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2008-06-08 16:58:19 +0200 |
commit | f4535f6e5ae63d8c59428cf190a95e0eb4ae233d (patch) | |
tree | dbc9f979d2abeae6b694544904e00b0e7e739aad /src/mesa/main/texformat.h | |
parent | a47c222803483c208f720e3fb5015050d4d0eaf4 (diff) |
mesa: Add MESA_FORMAT_S8_Z24 texture format
None of the fetch and store functions implemented.
This atleast stops shadowtex from locking the GPU on
i915 with the linux-dri-x86 target. It most of it looks
okay, with the exception of actually displaying the texture.
Diffstat (limited to 'src/mesa/main/texformat.h')
-rw-r--r-- | src/mesa/main/texformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texformat.h b/src/mesa/main/texformat.h index 48f0fe99f27..8f4e2feb483 100644 --- a/src/mesa/main/texformat.h +++ b/src/mesa/main/texformat.h @@ -84,6 +84,7 @@ enum _format { MESA_FORMAT_YCBCR, /* YYYY YYYY UorV UorV */ MESA_FORMAT_YCBCR_REV, /* UorV UorV YYYY YYYY */ MESA_FORMAT_Z24_S8, /* ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ SSSS SSSS */ + MESA_FORMAT_S8_Z24, /* SSSS SSSS ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ */ MESA_FORMAT_Z16, /* ZZZZ ZZZZ ZZZZ ZZZZ */ MESA_FORMAT_Z32, /* ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ */ /*@}*/ @@ -209,6 +210,7 @@ extern const struct gl_texture_format _mesa_texformat_l8; extern const struct gl_texture_format _mesa_texformat_i8; extern const struct gl_texture_format _mesa_texformat_ci8; extern const struct gl_texture_format _mesa_texformat_z24_s8; +extern const struct gl_texture_format _mesa_texformat_s8_z24; extern const struct gl_texture_format _mesa_texformat_z16; extern const struct gl_texture_format _mesa_texformat_z32; /*@}*/ |