mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
gallivm: Rename variable info to opcode_info.
Avoid hiding existing variable already named info in outer scope.
This commit is contained in:
parent
d69ed3a96e
commit
5d37cebc1b
1 changed files with 3 additions and 3 deletions
|
|
@ -1809,10 +1809,10 @@ lp_build_tgsi_soa(LLVMBuilderRef builder,
|
|||
case TGSI_TOKEN_TYPE_INSTRUCTION:
|
||||
{
|
||||
unsigned opcode = parse.FullToken.FullInstruction.Instruction.Opcode;
|
||||
const struct tgsi_opcode_info *info = tgsi_get_opcode_info(opcode);
|
||||
if (!emit_instruction( &bld, &parse.FullToken.FullInstruction, info ))
|
||||
const struct tgsi_opcode_info *opcode_info = tgsi_get_opcode_info(opcode);
|
||||
if (!emit_instruction( &bld, &parse.FullToken.FullInstruction, opcode_info ))
|
||||
_debug_printf("warning: failed to translate tgsi opcode %s to LLVM\n",
|
||||
info->mnemonic);
|
||||
opcode_info->mnemonic);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue