From 021e65640e632294d90f4eeb265a7be87ce2d84e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 19 Apr 2017 03:13:58 +0200 Subject: [PATCH] radeonsi: rename the swizzle parameter of lds_store MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index c4e659be24e..62dc9e2fcee 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -905,14 +905,14 @@ static LLVMValueRef lds_load(struct lp_build_tgsi_context *bld_base, * \param value value to store */ static void lds_store(struct lp_build_tgsi_context *bld_base, - unsigned swizzle, LLVMValueRef dw_addr, + unsigned dw_offset_imm, LLVMValueRef dw_addr, LLVMValueRef value) { struct si_shader_context *ctx = si_shader_context(bld_base); struct gallivm_state *gallivm = &ctx->gallivm; dw_addr = lp_build_add(&bld_base->uint_bld, dw_addr, - LLVMConstInt(ctx->i32, swizzle, 0)); + LLVMConstInt(ctx->i32, dw_offset_imm, 0)); value = LLVMBuildBitCast(gallivm->builder, value, ctx->i32, ""); ac_build_indexed_store(&ctx->ac, ctx->lds, -- 2.30.2