From: Rob Clark Date: Mon, 26 Dec 2016 19:16:57 +0000 (-0500) Subject: freedreno/ir3: fix linkage::var size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec01ef2db187bfb2af4ce264c2f3ed24bbf005b4;p=mesa.git freedreno/ir3: fix linkage::var size 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 --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_shader.h b/src/gallium/drivers/freedreno/ir3/ir3_shader.h index 7a0ff982e24..678a6306aee 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_shader.h +++ b/src/gallium/drivers/freedreno/ir3/ir3_shader.h @@ -342,7 +342,7 @@ struct ir3_shader_linkage { uint8_t regid; uint8_t compmask; uint8_t loc; - } var[16]; + } var[32]; }; static inline void