diff options
author | Marek Olšák <[email protected]> | 2020-05-04 09:27:49 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-06-02 16:29:25 -0400 |
commit | e5ea87cde8ef5fa777442cca899c179c19910a40 (patch) | |
tree | 90379b7359c248a3011395d40e350bfdb937f8d3 /src/gallium/drivers | |
parent | 116ec850125389f82e540c336dfd44ee7103abda (diff) |
ac/nir: use more types from ac_llvm_context
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5003>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_llvm_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_llvm_ps.c b/src/gallium/drivers/radeonsi/si_shader_llvm_ps.c index 3ff696d294b..d04b28d64cb 100644 --- a/src/gallium/drivers/radeonsi/si_shader_llvm_ps.c +++ b/src/gallium/drivers/radeonsi/si_shader_llvm_ps.c @@ -165,7 +165,7 @@ static void interp_fs_color(struct si_shader_context *ctx, unsigned input_index, if (interp) { interp_param = - LLVMBuildBitCast(ctx->ac.builder, interp_param, LLVMVectorType(ctx->ac.f32, 2), ""); + LLVMBuildBitCast(ctx->ac.builder, interp_param, ctx->ac.v2f32, ""); i = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_0, ""); j = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_1, ""); |