commit | 44e018c09e7aeba9fd9f4c380da224bd6622c470 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Fri Feb 20 13:42:08 2009 -0700 |
committer | Brian Paul <brianp@vmware.com> | Fri Feb 20 13:42:08 2009 -0700 |
tree | cbbb9864196469018b93212550b626ea166bf0e4 | |
parent | a79186e29efebed04c927d024b013435e7ff5725 [diff] [blame] |
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.
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 516ea73..80be51c 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c
@@ -592,6 +592,8 @@ default: ; } + if (inst->TexShadow) + _mesa_fprintf(f, " SHADOW"); fprint_comment(f, inst); break;