From 27cacd28ace6d6db5083beaceb35c140d827fe96 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sat, 28 Dec 2019 15:35:03 +0100 Subject: r600: Increase space for IO values to agree with PIPE_MAX_SHADER_IN/OUTPUTS Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/r600_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index 7dffd592a88..fd7dac75266 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -72,8 +72,8 @@ struct r600_shader { unsigned nhwatomic; unsigned nlds; unsigned nsys_inputs; - struct r600_shader_io input[64]; - struct r600_shader_io output[64]; + struct r600_shader_io input[PIPE_MAX_SHADER_INPUTS]; + struct r600_shader_io output[PIPE_MAX_SHADER_OUTPUTS]; struct r600_shader_atomic atomics[8]; unsigned nhwatomic_ranges; boolean uses_kill; -- cgit v1.2.3