[Mesa-dev] [PATCH v3 09/11] nv50/ir: Check for TGSI_SEMANTIC_CULLDIST in tgsi declarations
Tobias Klausmann
tobias.johannes.klausmann at mni.thm.de
Sun May 8 20:44:09 UTC 2016
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 3 +++
1 file changed, 3 insertions(+)
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 3708f37..577bf4b 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
@@ -1234,6 +1234,9 @@ bool Source::scanDeclaration(const struct tgsi_full_declaration *decl)
case TGSI_SEMANTIC_CLIPDIST:
info->io.genUserClip = -1;
break;
+ case TGSI_SEMANTIC_CULLDIST:
+ info->io.genUserClip = -1;
+ break;
case TGSI_SEMANTIC_SAMPLEMASK:
info->io.sampleMask = i;
break;
--
2.8.2
More information about the mesa-dev
mailing list