diff options
author | Timothy Arceri <[email protected]> | 2018-02-26 11:36:11 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-26 11:43:47 +1100 |
commit | 81f9d03807a671922d40d9cf1b69cb8f44329e2c (patch) | |
tree | b5a44d42fe8f9d188014f9a12378f4b44c1bb959 /src/gallium/drivers/radeonsi/si_shader.c | |
parent | c7cadcbda47537d474eea52b9e77e57ef9287f9b (diff) |
radeonsi/nir: fix lds store in tcs outputs handling
We were ignoring the channel offset.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |