aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-05-23 00:16:25 -0400
committerDylan Baker <[email protected]>2018-05-30 16:56:47 -0700
commit36e65cc47fe7829fa1177cc7763190ef82493400 (patch)
tree4d68482c4b8c0a24caeedd11af491b343a3a86c7
parent3cb16ce7e9a6886f0e77942f794b3e223657a1ba (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]> (cherry picked from commit 92ea9329e5eacf9a44ed30b3d72038a411eb771a)
-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 67ab75bbd2d..b8dddd3cca4 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;