From 4dd08b710b749d097b5c68f6edd801e6da26903a Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Sat, 9 Mar 2019 18:20:38 +0100 Subject: [PATCH] nv50ir/nir: support vec8 and vec16 Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 4 +++- 1 file changed, 3 insertions(+), 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 984ef9ad04d..0f2b3e12d00 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -2986,7 +2986,9 @@ Converter::visit(nir_alu_instr *insn) break; case nir_op_vec2: case nir_op_vec3: - case nir_op_vec4: { + case nir_op_vec4: + case nir_op_vec8: + case nir_op_vec16: { LValues &newDefs = convert(&insn->dest); for (LValues::size_type c = 0u; c < newDefs.size(); ++c) { mkMov(newDefs[c], getSrc(&insn->src[c]), dType); -- 2.30.2