pan/mdg: Bounds check swizzle writing globals
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 27 Aug 2020 19:13:19 +0000 (15:13 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 31 Aug 2020 11:46:31 +0000 (07:46 -0400)
commit41184f89eb90735b9423d1fed579d952697c978f
treef5bfdf9fa7f26cfd9e33a1df203163f9bc3d127d
parent2486fe6761d4d365b03870171a747bd06a840ad0
pan/mdg: Bounds check swizzle writing globals

Fixes scheduler hang in:

dEQP-GLES31.functional.shaders.opaque_type_indexing.ubo.const_literal_compute

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6516>
src/panfrost/midgard/midgard_compile.c