Mesa (master): i965: Add #defines for gen4 SIMD8 TXB/ TXL with shadow comparison.

Kenneth Graunke kwg at kemper.freedesktop.org
Fri Feb 25 23:31:02 UTC 2011


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Oct 28 13:04:41 2010 -0700

i965: Add #defines for gen4 SIMD8 TXB/TXL with shadow comparison.

>From volume 4, page 161 of the public i965 documentation.

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index a413c02..5496b4f 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i965/brw_defines.h
@@ -679,6 +679,8 @@
 #define BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE_GRADIENTS    2
 #define BRW_SAMPLER_MESSAGE_SIMD4X2_SAMPLE_COMPARE    0
 #define BRW_SAMPLER_MESSAGE_SIMD16_SAMPLE_COMPARE     2
+#define BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE_BIAS_COMPARE 0
+#define BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE_LOD_COMPARE  1
 #define BRW_SAMPLER_MESSAGE_SIMD4X2_RESINFO           2
 #define BRW_SAMPLER_MESSAGE_SIMD8_RESINFO             2
 #define BRW_SAMPLER_MESSAGE_SIMD16_RESINFO            2




More information about the mesa-commit mailing list