Tes too, right? Also does the logic that forces recompiles work ok? I seem to recall it was tied to vs.
On Sat, Jun 30, 2018, 10:18 Karol Herbst <kher...@redhat.com> wrote: > this will be needed for compatibility profiles > > Signed-off-by: Karol Herbst <kher...@redhat.com> > --- > src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp > b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp > index c92acc996c4..1151e0ee255 100644 > --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp > +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp > @@ -3613,6 +3613,9 @@ Converter::handleInstruction(const struct > tgsi_full_instruction *insn) > info->out[info->io.viewportId].slot[0] > * 4); > mkStore(OP_EXPORT, TYPE_U32, vpSym, NULL, viewport); > } > + /* handle user clip planes for each emitted vertex */ > + if (info->io.genUserClip > 0) > + handleUserClipPlanes(); > /* fallthrough */ > case TGSI_OPCODE_ENDPRIM: > { > @@ -3787,7 +3790,7 @@ Converter::handleInstruction(const struct > tgsi_full_instruction *insn) > setPosition(epilogue, true); > if (prog->getType() == Program::TYPE_FRAGMENT) > exportOutputs(); > - if (info->io.genUserClip > 0) > + if (prog->getType() == Program::TYPE_VERTEX && info->io.genUserClip > > 0) > handleUserClipPlanes(); > mkOp(OP_EXIT, TYPE_NONE, NULL)->terminator = 1; > } > -- > 2.17.1 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev