nak: more lowerings

Add more lowerings based on nv50.

Fixes
dEQP-VK.glsl.builtin.precision.ldexp.highp.scalar

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
Daniel Almeida 2023-06-19 13:08:06 -03:00 committed by Marge Bot
parent e03cc1f542
commit 30824fa6a5

View file

@ -118,6 +118,13 @@ fn nir_options(_dev: &nv_device_info) -> nir_shader_compiler_options {
op.lower_iadd_sat = true; // TODO
op.use_interpolated_input_intrinsics = true;
op.lower_int64_options = !nir_lower_iadd64;
op.lower_ldexp = true;
op.lower_fmod = true;
op.lower_ffract = true;
op.lower_fpow = true;
op.lower_scmp = true;
op.lower_uadd_carry = true;
op.lower_usub_borrow = true;
op
}