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

Author: Marek Olšák <marek.ol...@amd.com>
Date:   Sun Oct  1 02:29:28 2023 -0400

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

Reviewed-by: Timur Kristóf <timur.kris...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26275>

---

 src/compiler/nir/nir_print.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index ddcdbd46fc1..5cf525118de 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -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:

Reply via email to