radeonsi: fix tess levels coming as scalar arrays from SPIR-V
authorMarek Olšák <marek.olsak@amd.com>
Tue, 25 Aug 2020 17:54:38 +0000 (13:54 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Aug 2020 21:57:51 +0000 (21:57 +0000)
commita61890883ddb993cce1b94ccff20b638acd0a4f7
tree39925264b8946972c36c37de06f72caa4d652c66
parente512f2cef9200af31340b1451e80da3e8b2ad4bb
radeonsi: fix tess levels coming as scalar arrays from SPIR-V

This fixes: KHR-GL45.gl_spirv.spirv_modules_positive_test

Fixes: 75ce078a0af "radeonsi: enable NIR by default and document GL 4.6 support"
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6460>
src/gallium/drivers/radeonsi/si_shader_llvm_tess.c