Mesa (main): nir: Print task and mesh shader I/O variable names.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 3 22:32:54 UTC 2021


Module: Mesa
Branch: main
Commit: f28adc711fc4915bb60d8e5d42b4bf2b7619bba0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f28adc711fc4915bb60d8e5d42b4bf2b7619bba0

Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Wed Dec  1 19:05:12 2021 +0100

nir: Print task and mesh shader I/O variable names.

Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14007>

---

 src/compiler/nir/nir_print.c | 2 ++
 1 file changed, 2 insertions(+)

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)) {



More information about the mesa-commit mailing list