From 92ea9329e5eacf9a44ed30b3d72038a411eb771a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 23 May 2018 00:16:25 -0400 Subject: [PATCH] radeonsi: fix incorrect parentheses around VS-PS varying elimination MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I don't know if it caused issues. Cc: 18.0 18.1 Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state_shaders.c | 4 ++-- 1 file 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; -- 2.30.2