diff --git a/src/microsoft/compiler/nir_to_dxil.c b/src/microsoft/compiler/nir_to_dxil.c index 2f912e4e8e5..a7f1905bdb4 100644 --- a/src/microsoft/compiler/nir_to_dxil.c +++ b/src/microsoft/compiler/nir_to_dxil.c @@ -153,6 +153,7 @@ nir_options = { nir_lower_dround_even, .max_unroll_iterations = 32, /* arbitrary */ .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), + .lower_device_index_to_zero = true, }; const nir_shader_compiler_options*