diff options
author | Rob Clark <[email protected]> | 2018-11-09 10:50:48 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-11-27 15:44:02 -0500 |
commit | 8a654f092eaa6a6435e26668ea7fb0bc2a5de99c (patch) | |
tree | 61ab79c3718e52121a4e539d2d0d0af8d1eab676 /src/gallium/drivers/freedreno/disasm.h | |
parent | c635703c500928c069023cf1b7371f1ac3124651 (diff) |
freedreno: remove shader_stage_name()
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/disasm.h')
-rw-r--r-- | src/gallium/drivers/freedreno/disasm.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/drivers/freedreno/disasm.h b/src/gallium/drivers/freedreno/disasm.h index e1553707a42..f20d2caed67 100644 --- a/src/gallium/drivers/freedreno/disasm.h +++ b/src/gallium/drivers/freedreno/disasm.h @@ -51,25 +51,6 @@ shader_debug_enabled(gl_shader_stage type) } } -static inline const char * -shader_stage_name(gl_shader_stage type) -{ - /* NOTE these names are chosen to match the INTEL_DEBUG output - * which frameretrace parses. Hurray accidental ABI! - */ - switch (type) { - case MESA_SHADER_VERTEX: return "vertex"; - case MESA_SHADER_TESS_CTRL: return "tessellation control"; - case MESA_SHADER_TESS_EVAL: return "tessellation evaluation"; - case MESA_SHADER_GEOMETRY: return "geometry"; - case MESA_SHADER_FRAGMENT: return "fragment"; - case MESA_SHADER_COMPUTE: return "compute"; - default: - debug_assert(0); - return NULL; - } -} - /* bitmask of debug flags */ enum debug_t { PRINT_RAW = 0x1, /* dump raw hexdump */ |