v3dv: lower frexp

Fixes:
dEQP-VK.glsl.builtin.precision.frexp.*

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga
2020-06-25 10:49:13 +02:00
committed by Marge Bot
parent 4b86903313
commit 182e7c2d96
+2
View File
@@ -359,6 +359,8 @@ preprocess_nir(nir_shader *nir,
nir_var_mem_ubo | nir_var_mem_ssbo,
nir_lower_direct_array_deref_of_vec_load);
NIR_PASS_V(nir, nir_lower_frexp);
/* Get rid of split copies */
nir_optimize(nir, stage, false);
}