pan/midgard: Clamp sysval component count
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 3 Aug 2019 00:10:18 +0000 (17:10 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 12 Aug 2019 19:42:59 +0000 (12:42 -0700)
commit63e240dd0573968a3602424da3b963ba82d5cf6b
tree19e2f42e4a1e4cece473c81a64eca687670b46db
parente7ac46be7aaa81bf060d415085a0278c819f4b2a
pan/midgard: Clamp sysval component count

We don't want to load a 128-bit sysval when 64-bits will do. Fixes RA
failures with SSBO indirect writes.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c