summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-10-06 20:55:11 -0400
committerJonathan Marek <[email protected]>2019-10-14 17:48:22 -0400
commitb094b384e23316989b42a1021d47ac71a9ac33e1 (patch)
tree4564825b8db88ec01361d4c59559658a61bf8b21 /src
parent08003c37b987abd7fc9ef57fdfa326c9210cb1ff (diff)
freedreno/ir3: increase size of inputs/outputs arrays
Makes it possible to support 32 varyings. Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/ir3/ir3_shader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/ir3/ir3_shader.h b/src/freedreno/ir3/ir3_shader.h
index bc7b6b43c88..3073dfd07eb 100644
--- a/src/freedreno/ir3/ir3_shader.h
+++ b/src/freedreno/ir3/ir3_shader.h
@@ -440,7 +440,7 @@ struct ir3_shader_variant {
uint8_t slot;
uint8_t regid;
bool half : 1;
- } outputs[16 + 2]; /* +POSITION +PSIZE */
+ } outputs[32 + 2]; /* +POSITION +PSIZE */
bool writes_pos, writes_smask, writes_psize;
/* attributes (VS) / varyings (FS):
@@ -465,7 +465,7 @@ struct ir3_shader_variant {
bool use_ldlv : 1; /* internal to ir3_compiler_nir */
bool half : 1;
enum glsl_interp_mode interpolate;
- } inputs[16 + 2]; /* +POSITION +FACE */
+ } inputs[32 + 2]; /* +POSITION +FACE */
/* sum of input components (scalar). For frag shaders, it only counts
* the varying inputs: