mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 19:10:14 +01:00
DXIL requires that each I/O variable has a unique semantic name, but when dealing with semantics that take up multiple slots, that variable implicitly takes up multiple names. So when assigning driver_location, we need to do the same. That means also updating outputs and patch constants to have a mapping from driver_location to a compacted index, since the metadata arrays *can't* have holes. This would be simpler if we could hang it off the nir_variable but there's not really any free fields to be able to do that. We only need this compacted mapping inside the DXIL backend anyway so we can just store the array in the module. Tested-by: Benjamin Otte <otte@gnome.org> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12128 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32047> |
||
|---|---|---|
| .. | ||
| ci | ||
| clc | ||
| compiler | ||
| spirv_to_dxil | ||
| vulkan | ||
| meson.build | ||