From b80033abc6fd29a6873a56d88c8dd1d225ba8b07 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 7 Jun 2020 09:52:19 +1000 Subject: [PATCH] nvir/nir: turn on lower_rotate This isn't implemented, and won't be for GPUs that don't support SHF. Signed-off-by: Ben Skeggs Reviewed-by: Karol Herbst Part-of: --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 590f67493f3..cf01622ebbf 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -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, -- 2.30.2