diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-02 13:49:38 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-02 13:49:38 -0600 |
commit | 5e49ec339df1d23b1f1790c49c9f102098f42c0d (patch) | |
tree | eb08d9f45f967b2c203ccc84d209715e17e025e1 /src/mesa/pipe/tgsi/exec/tgsi_dump.c | |
parent | 4726489248283380c0693ebf4eddbe3015caf8a3 (diff) |
Added TGSI_OPCODE_END
Halt program execution when we get to END instruction. The GLSL compiler
puts subroutines after the end instruction so we have to stop before then.
Diffstat (limited to 'src/mesa/pipe/tgsi/exec/tgsi_dump.c')
-rwxr-xr-x | src/mesa/pipe/tgsi/exec/tgsi_dump.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_dump.c b/src/mesa/pipe/tgsi/exec/tgsi_dump.c index 4cf3397162..0b273cd6e5 100755 --- a/src/mesa/pipe/tgsi/exec/tgsi_dump.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_dump.c @@ -363,7 +363,8 @@ static const char *TGSI_OPCODES[] = "OPCODE_CALLNZ", "OPCODE_IFC", "OPCODE_BREAKC", - "OPCODE_TXP" + "OPCODE_TXP", + "OPCODE_END" }; static const char *TGSI_OPCODES_SHORT[] = @@ -500,6 +501,8 @@ static const char *TGSI_OPCODES_SHORT[] = "CALLNZ", "IFC", "BREAKC", + "TXP", + "END" }; static const char *TGSI_SATS[] = |