diff options
author | Connor Abbott <[email protected]> | 2017-07-31 18:31:54 -0700 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2017-08-01 12:20:49 -0700 |
commit | ddd9e11795791e1155da74b5f25beaef8531ff60 (patch) | |
tree | 22212a2c38ffdd648cfd3452ecc89491ccc09310 /src/amd | |
parent | 6d731c5651ea98551e0bf0c1a8896d5ea63558d5 (diff) |
ac/nir: fix nir_op_unpack_64_2x32_split_y emission
This was broken thanks to a typo in b2367cf.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 19b1ef07155..a05fd0e9cbe 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -1895,7 +1895,7 @@ static void visit_alu(struct ac_nir_context *ctx, const nir_alu_instr *instr) LLVMVectorType(ctx->ac.i32, 2), ""); result = LLVMBuildExtractElement(ctx->ac.builder, tmp, - ctx->ac.i32_0, ""); + ctx->ac.i32_1, ""); break; } |