Module: Mesa Branch: master Commit: 81f9d03807a671922d40d9cf1b69cb8f44329e2c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81f9d03807a671922d40d9cf1b69cb8f44329e2c
Author: Timothy Arceri <[email protected]> Date: Mon Feb 26 11:36:11 2018 +1100 radeonsi/nir: fix lds store in tcs outputs handling We were ignoring the channel offset. Reviewed-by: Marek Olšák <[email protected]> --- src/gallium/drivers/radeonsi/si_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 920cb8683b..694dadcfbf 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
