From: Gert Wollny Date: Sat, 28 Dec 2019 14:35:03 +0000 (+0100) Subject: r600: Increase space for IO values to agree with PIPE_MAX_SHADER_IN/OUTPUTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27cacd28ace6d6db5083beaceb35c140d827fe96;p=mesa.git r600: Increase space for IO values to agree with PIPE_MAX_SHADER_IN/OUTPUTS Signed-off-by: Gert Wollny Part-of: --- 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;