dzn: Don't delegate binding translation to dxil_spirv_nir_passes()
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 21 Jun 2022 09:53:05 +0000 (02:53 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Jun 2022 13:02:23 +0000 (13:02 +0000)
commit391d3251fa2e17dc7dd8eef3069337e71b9cf1af
tree58971fc0a07cfa9aaac5397e578cee818f693122
parentc7b43711f386b732e35d4754e47399be0c3a2d71
dzn: Don't delegate binding translation to dxil_spirv_nir_passes()

We will need to hash var bindings if we want to cache DXIL shaders.
Let's move this pass to dzn_pipeline.c to prepare this transition.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17140>
src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
src/microsoft/spirv_to_dxil/spirv_to_dxil.h
src/microsoft/vulkan/dzn_descriptor_set.c
src/microsoft/vulkan/dzn_pipeline.c
src/microsoft/vulkan/dzn_private.h