tu: Set up glsl types.
authorBas Nieuwenhuizen <basni@chromium.org>
Wed, 18 Sep 2019 12:11:47 +0000 (14:11 +0200)
committerBas Nieuwenhuizen <basni@chromium.org>
Wed, 18 Sep 2019 14:51:18 +0000 (16:51 +0200)
commit7999e10cab93fe854fbc7accd4d8cf2e60726b75
tree81ce6deb6703f7801090b0fd75a0ef1246249876
parentf833b4cada07b746a10ffa4d93fcd821920c3cb1
tu: Set up glsl types.

Addresses this assert:

deqp-vk: ../mesa-freedreno-9999/src/compiler/glsl_types.cpp:1244: static const glsl_type *glsl_type::get_interface_instance(const glsl_struct_field *, unsigned int, enum glsl_interface_packing, bool, const char *): Assertion `glsl_type_users > 0' failed.

running dEQP-VK.api.smoke.triangle .

Fixes: 624789e3708 "compiler/glsl: handle case where we have multiple users for types"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/freedreno/vulkan/tu_device.c