aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-05-23 00:16:25 -0400
committerMarek Olšák <[email protected]>2018-05-25 16:46:00 -0400
commit92ea9329e5eacf9a44ed30b3d72038a411eb771a (patch)
tree2f99a536a5f1f322b37768c4a88feb691e1ddb53 /src/gallium
parenta4ba7cd6a2fc2718c3b4f9107d676ad1bfd02bf1 (diff)
radeonsi: fix incorrect parentheses around VS-PS varying elimination
I don't know if it caused issues. Cc: 18.0 18.1 <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 1b618502e85..6d558c97b5a 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -1227,8 +1227,8 @@ static void si_shader_selector_key_hw_vs(struct si_context *sctx,
uint64_t inputs_read = 0;
/* ignore POSITION, PSIZE */
- outputs_written &= ~((1ull << si_shader_io_get_unique_index(TGSI_SEMANTIC_POSITION, 0) |
- (1ull << si_shader_io_get_unique_index(TGSI_SEMANTIC_PSIZE, 0))));
+ outputs_written &= ~((1ull << si_shader_io_get_unique_index(TGSI_SEMANTIC_POSITION, 0)) |
+ (1ull << si_shader_io_get_unique_index(TGSI_SEMANTIC_PSIZE, 0)));
if (!ps_disabled) {
inputs_read = ps->inputs_read;