i965: Add #defines for gen4 SIMD8 TXB/TXL with shadow comparison.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 28 Oct 2010 20:04:41 +0000 (13:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 25 Feb 2011 23:30:45 +0000 (15:30 -0800)
From volume 4, page 161 of the public i965 documentation.

src/mesa/drivers/dri/i965/brw_defines.h

index a413c02..5496b4f 100644 (file)
 #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