pan/midgard: Clamp st_vary swizzle by number of components
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 15 Aug 2019 23:53:03 +0000 (16:53 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 19 Aug 2019 15:32:17 +0000 (08:32 -0700)
commit2788721cc4f911850bf92ccd02f82bed9d4dd360
tree8e2f6a0683eb06b6674791aa42e9c5605fdf2209
parentedc8e41566ed7c4e9f8931db57328cea7a7104b3
pan/midgard: Clamp st_vary swizzle by number of components

Same issue with liveness analysis. If we store out a vec3, we should not
reference the .w component.

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