From: Karol Herbst Date: Wed, 17 Jun 2020 01:05:54 +0000 (+0200) Subject: nv50/ir/nir: handle clip vertex for tess eval shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c31d711913edc4bed2195099ea0ee1abe25ca423;p=mesa.git nv50/ir/nir: handle clip vertex for tess eval shaders Signed-off-by: Karol Herbst Tested-by: Ben Skeggs Part-of: --- 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 1638872bdf9..2eba4b888d1 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -1634,6 +1634,7 @@ Converter::visit(nir_intrinsic_instr *insn) break; } case Program::TYPE_GEOMETRY: + case Program::TYPE_TESSELLATION_EVAL: case Program::TYPE_VERTEX: { if (info->io.genUserClip > 0 && idx == (uint32_t)clipVertexOutput) { mkMov(clipVtx[i], src);