Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10989>
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
+ nir->info.inputs_read =
+ dxil_reassign_driver_locations(nir, nir_var_shader_in, 0);
+
+ if (stage != MESA_SHADER_FRAGMENT) {
+ nir->info.outputs_written =
+ dxil_reassign_driver_locations(nir, nir_var_shader_out, 0);
+ } else {
+ dxil_sort_ps_outputs(nir);
+ }
+
struct nir_to_dxil_options opts = {.vulkan_environment = true};
struct blob dxil_blob;