gallivm/nir: fixup compact TCS variable storage.
authorDave Airlie <airlied@redhat.com>
Tue, 7 Apr 2020 01:11:51 +0000 (11:11 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Aug 2020 00:16:36 +0000 (10:16 +1000)
commite616223024d05c86df104368b558ffa612fdec7c
tree0be31d96726f75c18ac339eefa3a130fb0c61690
parent597d0e9b5fd8d896c9837f5ed8d5322aa937a999
gallivm/nir: fixup compact TCS variable storage.

This fixes a lot of tessellation shaders, since tess factors
get emitted with spir-v now.

Fixes a bunch of:
dEQP-VK.tessellation*
along with 7000 others.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/swr/swr_shader.cpp