summaryrefslogtreecommitdiff
path: root/src/compiler/nir/nir_print.c
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2021-12-01 19:05:12 +0100
committerMarge Bot <emma+marge@anholt.net>2021-12-03 21:34:45 +0000
commitf28adc711fc4915bb60d8e5d42b4bf2b7619bba0 (patch)
treee63a0ef41cf948b6d324059c4c55dae0e1f8db18 /src/compiler/nir/nir_print.c
parenta7180bd4a6f5a7c8841c01c2f3aae561d1fdb0e1 (diff)
downloadmesa-f28adc711fc4915bb60d8e5d42b4bf2b7619bba0.tar.gz
nir: Print task and mesh shader I/O variable names.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14007>
Diffstat (limited to 'src/compiler/nir/nir_print.c')
-rw-r--r--src/compiler/nir/nir_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index 1d078d78a09..d589d8ed152 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -542,6 +542,8 @@ print_var_decl(nir_variable *var, print_state *state)
loc = gl_varying_slot_name_for_stage(var->data.location,
state->shader->info.stage);
break;
+ case MESA_SHADER_TASK:
+ case MESA_SHADER_MESH:
case MESA_SHADER_GEOMETRY:
if ((var->data.mode == nir_var_shader_in) ||
(var->data.mode == nir_var_shader_out)) {