From 81f9d03807a671922d40d9cf1b69cb8f44329e2c Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 26 Feb 2018 11:36:11 +1100 Subject: radeonsi/nir: fix lds store in tcs outputs handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We were ignoring the channel offset. Reviewed-by: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 920cb8683b6..694dadcfbfe 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -1563,7 +1563,7 @@ static void si_nir_store_output_tcs(struct ac_shader_abi *abi, /* Skip LDS stores if there is no LDS read of this output. */ if (!skip_lds_store) - ac_lds_store(&ctx->ac, dw_addr, value); + lds_store(ctx, chan, dw_addr, value); value = ac_to_integer(&ctx->ac, value); values[chan] = value; -- cgit v1.2.3