spirv2dxil: Split read-only image as SRV logic into declared and inferred
authorPedro J. Estébanez <pedrojrulez@gmail.com>
Tue, 4 Apr 2023 16:51:42 +0000 (18:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 22:50:05 +0000 (22:50 +0000)
commite59fdcb93cec9b6035e2f9eec824d0707a1619fe
tree0ff782a08aeb4373c0cf2f5aaae46c6e47a576bf
parent9663546cf4c7c3ef87da870b8399725eb5f6f5bf
spirv2dxil: Split read-only image as SRV logic into declared and inferred

Fixes: e0a090ad ("spirv2dxil: Only lower readonly images to SRVs when the option is set")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22289>
src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
src/microsoft/spirv_to_dxil/spirv2dxil.c
src/microsoft/spirv_to_dxil/spirv_to_dxil.h
src/microsoft/vulkan/dzn_pipeline.c