v3d: Enable NIR's lower_fmod option.
[mesa.git] / src / broadcom / compiler / nir_to_vir.c
index 5d7b42d91b6553f113a5eb2c485a7a2800b16bd5..55e41e16b361a98ac313b33eed46f46d1c81def7 100644 (file)
@@ -2382,6 +2382,7 @@ const nir_shader_compiler_options v3d_nir_options = {
         .lower_bit_count = true,
         .lower_cs_local_id_from_index = true,
         .lower_ffract = true,
+        .lower_fmod = true,
         .lower_pack_unorm_2x16 = true,
         .lower_pack_snorm_2x16 = true,
         .lower_pack_unorm_4x8 = true,