Mesa (master): i965: Define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT

Chad Versace chadversary at kemper.freedesktop.org
Tue Apr 12 17:56:47 PDT 2011


Module: Mesa
Branch: master
Commit: 4d7c1871671710865be3020e0d460e0463707f14
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d7c1871671710865be3020e0d460e0463707f14

Author: Chad Versace <chad.versace at intel.com>
Date:   Sun Mar 27 08:44:50 2011 -0700

i965: Define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT

This depth format was added in Gen5.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chad Versace <chad.versace at intel.com>

---

 src/mesa/drivers/dri/i965/brw_defines.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index 6c61aef..3078504 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i965/brw_defines.h
@@ -147,6 +147,7 @@
 #define BRW_DEPTHFORMAT_D32_FLOAT_S8X24_UINT     0
 #define BRW_DEPTHFORMAT_D32_FLOAT                1
 #define BRW_DEPTHFORMAT_D24_UNORM_S8_UINT        2
+#define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT        3 /* GEN5 */
 #define BRW_DEPTHFORMAT_D16_UNORM                5
 
 #define BRW_FLOATING_POINT_IEEE_754        0



More information about the mesa-commit mailing list