summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_build.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c
index d2cb98e84af..269940ec840 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.c
@@ -917,7 +917,6 @@ tgsi_build_full_instruction(
for( i = 0; i < full_inst->Instruction.NumDstRegs; i++ ) {
const struct tgsi_full_dst_register *reg = &full_inst->Dst[i];
struct tgsi_dst_register *dst_register;
- struct tgsi_token *prev_token;
if( maxsize <= size )
return 0;
@@ -932,7 +931,6 @@ tgsi_build_full_instruction(
reg->Register.Index,
instruction,
header );
- prev_token = (struct tgsi_token *) dst_register;
if( reg->Register.Indirect ) {
struct tgsi_src_register *ind;
@@ -1001,7 +999,6 @@ tgsi_build_full_instruction(
for( i = 0; i < full_inst->Instruction.NumSrcRegs; i++ ) {
const struct tgsi_full_src_register *reg = &full_inst->Src[i];
struct tgsi_src_register *src_register;
- struct tgsi_token *prev_token;
if( maxsize <= size )
return 0;
@@ -1021,7 +1018,6 @@ tgsi_build_full_instruction(
reg->Register.Index,
instruction,
header );
- prev_token = (struct tgsi_token *) src_register;
if( reg->Register.Indirect ) {
struct tgsi_src_register *ind;