spirv2dxil: Lower quad ops in non-fragment/compute stages
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22606>
This commit is contained in:
@@ -946,6 +946,9 @@ dxil_spirv_nir_passes(nir_shader *nir,
|
||||
.lower_to_scalar = true,
|
||||
.lower_relative_shuffle = true,
|
||||
};
|
||||
if (nir->info.stage != MESA_SHADER_FRAGMENT &&
|
||||
nir->info.stage != MESA_SHADER_COMPUTE)
|
||||
subgroup_options.lower_quad = true;
|
||||
NIR_PASS_V(nir, nir_lower_subgroups, &subgroup_options);
|
||||
NIR_PASS_V(nir, nir_lower_bit_size, lower_bit_size_callback, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user