From ec01ef2db187bfb2af4ce264c2f3ed24bbf005b4 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 26 Dec 2016 14:16:57 -0500 Subject: 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 --- src/gallium/drivers/freedreno/ir3/ir3_shader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') 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 -- cgit v1.2.3