nir/print: print PATCH0 and VARn_16BIT names instead of numbers for TCS and TES

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26275>
This commit is contained in:
Marek Olšák 2023-10-01 02:29:28 -04:00
parent 5c8730ebe8
commit b6e98677c3

View file

@ -752,9 +752,6 @@ get_location_str(unsigned location, gl_shader_stage stage,
break;
case MESA_SHADER_TESS_CTRL:
case MESA_SHADER_TESS_EVAL:
if (location >= VARYING_SLOT_MAX)
break;
FALLTHROUGH;
case MESA_SHADER_TASK:
case MESA_SHADER_MESH:
case MESA_SHADER_GEOMETRY: