[Mesa-dev] [PATCH] nv50/ir: add missing strings for some recent sysvals

Samuel Pitoiset samuel.pitoiset at gmail.com
Wed Jun 15 14:14:39 UTC 2016


This is pretty useful for debugging purposes and those should
not be omitted.

Fixes: 517a93b3 ("nvc0: add ARB_shader_draw_parameters support")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
index 756a4d8..e4aebaa 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
@@ -289,6 +289,9 @@ static const char *SemanticStr[SV_LAST + 1] =
    "VERTEX_STRIDE",
    "INVOCATION_INFO",
    "THREAD_KILL",
+   "BASEVERTEX",
+   "BASEINSTANCE",
+   "DRAWID",
    "?",
    "(INVALID)"
 };
-- 
2.8.0



More information about the mesa-dev mailing list