r600: Increase space for IO values to agree with PIPE_MAX_SHADER_IN/OUTPUTS
authorGert Wollny <gert.wollny@collabora.com>
Sat, 28 Dec 2019 14:35:03 +0000 (15:35 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 10 Feb 2020 19:09:08 +0000 (19:09 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3225>

src/gallium/drivers/r600/r600_shader.h

index 7dffd592a8822361f616d9fe72c227c04e3fa020..fd7dac752660aea8abbc2c16441753c4fe27ab75 100644 (file)
@@ -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;