diff options
author | Brian Paul <[email protected]> | 2009-02-20 13:42:08 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-20 13:42:08 -0700 |
commit | 44e018c09e7aeba9fd9f4c380da224bd6622c470 (patch) | |
tree | cbbb9864196469018b93212550b626ea166bf0e4 /src/mesa/shader/prog_print.c | |
parent | a79186e29efebed04c927d024b013435e7ff5725 (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_print.c')
-rw-r--r-- | src/mesa/shader/prog_print.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 516ea733017..80be51c3c57 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -592,6 +592,8 @@ _mesa_fprint_instruction_opt(FILE *f, default: ; } + if (inst->TexShadow) + _mesa_fprintf(f, " SHADOW"); fprint_comment(f, inst); break; |