Mesa (master): nv50/ir/nir: handle clip vertex for tess eval shaders

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 22 11:52:39 UTC 2020


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

Author: Karol Herbst <kherbst at 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 <kherbst at redhat.com>
Tested-by: Ben Skeggs <bskeggs at 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);



More information about the mesa-commit mailing list