From 618b3555045bd4120f4e2ea731854a1c1f3f252c Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Mon, 20 Jul 2020 23:46:39 +0200 Subject: [PATCH] nv50/ir/tgsi: silence warning about unhandled GS_INPUT_PRIM property Fixes: 66ed9792edb702 ("nv50: Clear nv50_ir_prog_info of dead and codegen specific variables") Signed-off-by: Karol Herbst Part-of: --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) 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 68135473024..5d396035c1a 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -1179,6 +1179,7 @@ void Source::scanProperty(const struct tgsi_full_property *prop) case TGSI_PROPERTY_FS_COORD_ORIGIN: case TGSI_PROPERTY_FS_COORD_PIXEL_CENTER: case TGSI_PROPERTY_FS_DEPTH_LAYOUT: + case TGSI_PROPERTY_GS_INPUT_PRIM: // we don't care break; case TGSI_PROPERTY_VS_PROHIBIT_UCPS: -- 2.30.2