mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-15 19:58:31 +02:00
tgsi: add const qualifier to silence warning
Trivial.
This commit is contained in:
parent
b7766a95e1
commit
3801fa65c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue