summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_shader.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-12-26 14:16:57 -0500
committerRob Clark <[email protected]>2016-12-27 16:54:01 -0500
commitec01ef2db187bfb2af4ce264c2f3ed24bbf005b4 (patch)
tree1363ef3b2fadb41ddd4bcc5a2419f537798101fb /src/gallium/drivers/freedreno/ir3/ir3_shader.h
parentc416ea31cfe50e3d8ac3e433f9e4490a850b8e56 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_shader.h')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_shader.h2
1 files changed, 1 insertions, 1 deletions
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