From: Marek Olšák Date: Wed, 23 May 2018 04:16:25 +0000 (-0400) Subject: radeonsi: fix incorrect parentheses around VS-PS varying elimination X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92ea9329e5eacf9a44ed30b3d72038a411eb771a;p=mesa.git radeonsi: fix incorrect parentheses around VS-PS varying elimination I don't know if it caused issues. Cc: 18.0 18.1 Reviewed-by: Nicolai Hähnle --- 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;