diff options
author | Brian Paul <[email protected]> | 2015-10-05 07:44:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-10-06 08:51:33 -0600 |
commit | 3801fa65c1ebb44d93cc6c5780906e0fa0d0b676 (patch) | |
tree | f74a7b30897811f82f53f8ad8a2fd6b2bdb4d6c5 /src/gallium | |
parent | b7766a95e1b81e27624d91edf83dea91fb64a42e (diff) |
tgsi: add const qualifier to silence warning
Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 00b07c877a8..d76dddbf7d9 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -119,7 +119,7 @@ tgsi_scan_shader(const struct tgsi_token *tokens, if (fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_CENTROID || fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_OFFSET || fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_SAMPLE) { - struct tgsi_full_src_register *src0 = &fullinst->Src[0]; + const struct tgsi_full_src_register *src0 = &fullinst->Src[0]; unsigned input; if (src0->Register.Indirect && src0->Indirect.ArrayID) |