projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7766a9
)
tgsi: add const qualifier to silence warning
author
Brian Paul
<brianp@vmware.com>
Mon, 5 Oct 2015 13:44:36 +0000
(07:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Oct 2015 14:51:33 +0000
(08:51 -0600)
Trivial.
src/gallium/auxiliary/tgsi/tgsi_scan.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.c
b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 00b07c877a831b3b53f34ad116d9c41f63a2b467..d76dddbf7d94d1f8654b4c06c24ffb2ea68e2b39 100644
(file)
--- 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)