Mesa (master): radeonsi: fix incorrect parentheses around VS-PS varying elimination
Marek Olšák
mareko at kemper.freedesktop.org
Fri May 25 20:58:48 UTC 2018
Module: Mesa
Branch: master
Commit: 92ea9329e5eacf9a44ed30b3d72038a411eb771a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=92ea9329e5eacf9a44ed30b3d72038a411eb771a
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed May 23 00:16:25 2018 -0400
radeonsi: fix incorrect parentheses around VS-PS varying elimination
I don't know if it caused issues.
Cc: 18.0 18.1 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
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 1b618502e8..6d558c97b5 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;
More information about the mesa-commit
mailing list