diff options
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 0009b27ef22..61b33c74e6c 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -1126,19 +1126,19 @@ static void visit_load_const(struct ac_nir_context *ctx, switch (instr->def.bit_size) { case 8: values[i] = LLVMConstInt(element_type, - instr->value.u8[i], false); + instr->value[i].u8, false); break; case 16: values[i] = LLVMConstInt(element_type, - instr->value.u16[i], false); + instr->value[i].u16, false); break; case 32: values[i] = LLVMConstInt(element_type, - instr->value.u32[i], false); + instr->value[i].u32, false); break; case 64: values[i] = LLVMConstInt(element_type, - instr->value.u64[i], false); + instr->value[i].u64, false); break; default: fprintf(stderr, |