aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_instruction.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-20 13:42:08 -0700
committerBrian Paul <[email protected]>2009-02-20 13:42:08 -0700
commit44e018c09e7aeba9fd9f4c380da224bd6622c470 (patch)
treecbbb9864196469018b93212550b626ea166bf0e4 /src/mesa/shader/prog_instruction.h
parenta79186e29efebed04c927d024b013435e7ff5725 (diff)
mesa: add TexShadow field to prog_instruction
If the instruction is TEX/TXP/TXL/etc the TexShadow field will be true if the instruction is a texture fetch with shadow compare.
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r--src/mesa/shader/prog_instruction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index 84dd98b4984..e3bb7ac01db 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -396,6 +396,9 @@ struct prog_instruction
/** Source texture target, one of TEXTURE_{1D,2D,3D,CUBE,RECT}_INDEX */
GLuint TexSrcTarget:3;
+
+ /** True if tex instruction should do shadow comparison */
+ GLuint TexShadow:1;
/*@}*/
/**