From: George Ouzounoudis Date: Sun, 27 Nov 2022 12:49:04 +0000 (+0200) Subject: nouveau/codegen: Handle nir op amul X-Git-Tag: upstream/23.3.3~4869 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4536232557df26c63ad9feed2f0b5f137eb9eaf;p=platform%2Fupstream%2Fmesa.git 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: --- 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: