spirv: Fix passing combined image/samplers through function calls
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 22 Apr 2020 20:49:25 +0000 (15:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 09:43:21 +0000 (09:43 +0000)
commitbc5c43828970b49a9c6b2d08d9fb7f46a3300ae4
tree2a3330a4356e4d9e6d5550712ffba132edd4f302
parenta1a08a58025a6026aae0f73b67451198f5befb42
spirv: Fix passing combined image/samplers through function calls

Fixes dEQP-VK.spirv_assembly.instruction.function_params.sampler_param

cc: mesa-stable@lists.freedesktop.org

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4684>
src/compiler/spirv/vtn_cfg.c