From: Nicolai Hähnle Date: Fri, 17 Nov 2017 12:39:45 +0000 (+0100) Subject: radeonsi/gfx10: update si_get_shader_name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4063ea95e9fbb644033e9ba074b32b49a035a58a;p=mesa.git radeonsi/gfx10: update si_get_shader_name Acked-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index ba79af3817e..fdb4346f7fd 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5399,6 +5399,8 @@ const char *si_get_shader_name(const struct si_shader *shader, unsigned processo return "Vertex Shader as LS"; else if (shader->key.opt.vs_as_prim_discard_cs) return "Vertex Shader as Primitive Discard CS"; + else if (shader->key.as_ngg) + return "Vertex Shader as ESGS"; else return "Vertex Shader as VS"; case PIPE_SHADER_TESS_CTRL: @@ -5406,6 +5408,8 @@ const char *si_get_shader_name(const struct si_shader *shader, unsigned processo case PIPE_SHADER_TESS_EVAL: if (shader->key.as_es) return "Tessellation Evaluation Shader as ES"; + else if (shader->key.as_ngg) + return "Tessellation Evaluation Shader as ESGS"; else return "Tessellation Evaluation Shader as VS"; case PIPE_SHADER_GEOMETRY: