nv50/ir/tgsi: silence warning about unhandled GS_INPUT_PRIM property
authorKarol Herbst <kherbst@redhat.com>
Mon, 20 Jul 2020 21:46:39 +0000 (23:46 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jul 2020 12:16:54 +0000 (12:16 +0000)
Fixes: 66ed9792edb702 ("nv50: Clear nv50_ir_prog_info of dead and codegen specific variables")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6001>

src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp

index 681354730241b3615686845bbd8e9dbe809a33d9..5d396035c1a724924463f97bb222566b5eb5ab5e 100644 (file)
@@ -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: