aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-12-28 15:35:03 +0100
committerMarge Bot <[email protected]>2020-02-10 19:09:08 +0000
commit27cacd28ace6d6db5083beaceb35c140d827fe96 (patch)
tree2601bd4de46352e2510f47efda7a236675036cbc /src/gallium/drivers
parent4422ce1b04c117f61394a6834cd7933f06ce4e1f (diff)
r600: Increase space for IO values to agree with PIPE_MAX_SHADER_IN/OUTPUTS
Signed-off-by: Gert Wollny <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3225>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h4
1 files 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;