Mesa (master): freedreno/ir3: increase size of inputs/outputs arrays
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Oct 14 22:07:06 UTC 2019
Module: Mesa
Branch: master
Commit: b094b384e23316989b42a1021d47ac71a9ac33e1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b094b384e23316989b42a1021d47ac71a9ac33e1
Author: Jonathan Marek <jonathan at marek.ca>
Date: Sun Oct 6 20:55:11 2019 -0400
freedreno/ir3: increase size of inputs/outputs arrays
Makes it possible to support 32 varyings.
Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Reviewed-by: Rob Clark <robclark at gmail.com>
---
src/freedreno/ir3/ir3_shader.h | 4 ++--
1 file 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:
More information about the mesa-commit
mailing list