nouveau: request ufind_msb64 lowering in the frontend.
This passes the piglit CL builtin-ulong-clz-1.0.generated.cl test. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
parent
d0d96053e6
commit
e3b21dfcb1
|
@ -972,7 +972,7 @@ static const nir_shader_compiler_options nir_options = {
|
||||||
.use_interpolated_input_intrinsics = true,
|
.use_interpolated_input_intrinsics = true,
|
||||||
.lower_mul_2x32_64 = true, // TODO
|
.lower_mul_2x32_64 = true, // TODO
|
||||||
.max_unroll_iterations = 32,
|
.max_unroll_iterations = 32,
|
||||||
.lower_int64_options = nir_lower_divmod64, // TODO
|
.lower_int64_options = nir_lower_ufind_msb64|nir_lower_divmod64, // TODO
|
||||||
.lower_doubles_options = nir_lower_dmod, // TODO
|
.lower_doubles_options = nir_lower_dmod, // TODO
|
||||||
.lower_to_scalar = true,
|
.lower_to_scalar = true,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue