Module: Mesa
Branch: master
Commit: c31d711913edc4bed2195099ea0ee1abe25ca423
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c31d711913edc4bed2195099ea0ee1abe25ca423

Author: Karol Herbst <kher...@redhat.com>
Date:   Wed Jun 17 03:05:54 2020 +0200

nv50/ir/nir: handle clip vertex for tess eval shaders

Signed-off-by: Karol Herbst <kher...@redhat.com>
Tested-by: Ben Skeggs <bske...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5512>

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 1 +
 1 file changed, 1 insertion(+)

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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to