From f4536232557df26c63ad9feed2f0b5f137eb9eaf Mon Sep 17 00:00:00 2001 From: George Ouzounoudis Date: Sun, 27 Nov 2022 14:49:04 +0200 Subject: [PATCH] nouveau/codegen: Handle nir op amul This came from CTS clipping tests with geometry shaders. Maybe can be done as a lowering operation instead. Reviewed-by: M Henning Reviewed-by: Karol Herbst Part-of: --- src/nouveau/codegen/nv50_ir_from_nir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nouveau/codegen/nv50_ir_from_nir.cpp b/src/nouveau/codegen/nv50_ir_from_nir.cpp index 18e6166..113e08f 100644 --- a/src/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/nouveau/codegen/nv50_ir_from_nir.cpp @@ -445,6 +445,7 @@ Converter::getOperation(nir_op op) return OP_MOD; case nir_op_fmul: case nir_op_fmulz: + case nir_op_amul: case nir_op_imul: case nir_op_imul_high: case nir_op_umul_high: @@ -2525,6 +2526,7 @@ Converter::visit(nir_alu_instr *insn) case nir_op_umod: case nir_op_fmul: case nir_op_fmulz: + case nir_op_amul: case nir_op_imul: case nir_op_imul_high: case nir_op_umul_high: -- 2.7.4