nvir/nir: turn on lower_rotate
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:19 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
This isn't implemented, and won't be for GPUs that don't support SHF.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>

src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp

index 590f67493f3e1897ed3af40b0a1a33569e6cd41f..cf01622ebbfe2b82cdf2dbd000a17589a2bcbe46 100644 (file)
@@ -3364,7 +3364,7 @@ nvir_nir_shader_compiler_options(int chipset)
       .unify_interfaces = false,
       .use_interpolated_input_intrinsics = true,
       .lower_mul_2x32_64 = true, // TODO
-      .lower_rotate = false,
+      .lower_rotate = true,
       .has_imul24 = false,
       .intel_vec4 = false,
       .max_unroll_iterations = 32,