aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-04-29 06:51:39 +0000
committermarha <marha@users.sourceforge.net>2011-04-29 06:51:39 +0000
commit3e9d91227e6125d7b5bed0dc3892dbd66d3594fd (patch)
tree8a4eef2665071b5d37e5c06e67d3d52e8db3b082 /mesalib/src
parent1840c5631682e0a69ed11487a23a43d45f2d15e1 (diff)
parent2df2595ab27b00523dbbdd0d3661a97610f5a137 (diff)
downloadvcxsrv-3e9d91227e6125d7b5bed0dc3892dbd66d3594fd.tar.gz
vcxsrv-3e9d91227e6125d7b5bed0dc3892dbd66d3594fd.tar.bz2
vcxsrv-3e9d91227e6125d7b5bed0dc3892dbd66d3594fd.zip
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src')
-rw-r--r--mesalib/src/mesa/program/prog_print.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesalib/src/mesa/program/prog_print.c b/mesalib/src/mesa/program/prog_print.c
index c1383f882..248f4d730 100644
--- a/mesalib/src/mesa/program/prog_print.c
+++ b/mesalib/src/mesa/program/prog_print.c
@@ -647,6 +647,7 @@ _mesa_fprint_instruction_opt(FILE *f,
case OPCODE_TXP:
case OPCODE_TXL:
case OPCODE_TXB:
+ case OPCODE_TXD:
fprintf(f, "%s", _mesa_opcode_string(inst->Opcode));
if (inst->SaturateMode == SATURATE_ZERO_ONE)
fprintf(f, "_SAT");
@@ -654,6 +655,12 @@ _mesa_fprint_instruction_opt(FILE *f,
fprint_dst_reg(f, &inst->DstReg, mode, prog);
fprintf(f, ", ");
fprint_src_reg(f, &inst->SrcReg[0], mode, prog);
+ if (inst->Opcode == OPCODE_TXD) {
+ fprintf(f, ", ");
+ fprint_src_reg(f, &inst->SrcReg[1], mode, prog);
+ fprintf(f, ", ");
+ fprint_src_reg(f, &inst->SrcReg[2], mode, prog);
+ }
fprintf(f, ", texture[%d], ", inst->TexSrcUnit);
switch (inst->TexSrcTarget) {
case TEXTURE_1D_INDEX: fprintf(f, "1D"); break;