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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20823>
This commit is contained in:
@@ -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*
|
||||
|
Reference in New Issue
Block a user