freedreno/ir3: fix linkage::var size
authorRob Clark <robdclark@gmail.com>
Mon, 26 Dec 2016 19:16:57 +0000 (14:16 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 27 Dec 2016 21:54:01 +0000 (16:54 -0500)
It should actually be 32 for a4xx/a5xx.. we still only advertise 16 but
for a5xx the linkage map includes position/psize.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_shader.h

index 7a0ff982e24da05b02e81904c38e95eb11f4f286..678a6306aeef189928f418e5d85c93e3d4b737d9 100644 (file)
@@ -342,7 +342,7 @@ struct ir3_shader_linkage {
                uint8_t regid;
                uint8_t compmask;
                uint8_t loc;
-       } var[16];
+       } var[32];
 };
 
 static inline void