From 6bb765f3d1c749ffd58b8f7a5472592cb2b2ef80 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Wed, 11 Jan 2023 15:08:45 -0800 Subject: [PATCH] microsoft/compiler: Lower device index to zero Maybe we'll support actual device groups at some point, but today is not that day. Part-of: --- src/microsoft/compiler/nir_to_dxil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microsoft/compiler/nir_to_dxil.c b/src/microsoft/compiler/nir_to_dxil.c index 2f912e4..a7f1905 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* -- 2.7.4