Mesa (master): nv50/ir/tgsi: silence warning about unhandled GS_INPUT_PRIM property

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 21 12:26:36 UTC 2020


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

Author: Karol Herbst <kherbst at redhat.com>
Date:   Mon Jul 20 23:46:39 2020 +0200

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 <kherbst at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6001>

---

 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:



More information about the mesa-commit mailing list