diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_print.c | 154 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_print.h | 6 |
2 files changed, 0 insertions, 160 deletions
diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c index 0ebef818088..7cfd87fb627 100644 --- a/src/mesa/shader/slang/slang_print.c +++ b/src/mesa/shader/slang/slang_print.c @@ -631,160 +631,6 @@ slang_print_function(const slang_function *f, GLboolean body) -#if 0 - -const char * -slang_asm_string(slang_assembly_type t) -{ - switch (t) { - /* core */ - case slang_asm_none: - return "none"; - case slang_asm_float_copy: - return "float_copy"; - case slang_asm_float_move: - return "float_move"; - case slang_asm_float_push: - return "float_push"; - case slang_asm_float_deref: - return "float_deref"; - case slang_asm_float_add: - return "float_add"; - case slang_asm_float_multiply: - return "float_multiply"; - case slang_asm_float_divide: - return "float_divide"; - case slang_asm_float_negate: - return "float_negate"; - case slang_asm_float_less: - return "float_less"; - case slang_asm_float_equal_exp: - return "float_equal"; - case slang_asm_float_equal_int: - return "float_equal"; - case slang_asm_float_to_int: - return "float_to_int"; - case slang_asm_float_sine: - return "float_sine"; - case slang_asm_float_arcsine: - return "float_arcsine"; - case slang_asm_float_arctan: - return "float_arctan"; - case slang_asm_float_power: - return "float_power"; - case slang_asm_float_log2: - return "float_log2"; - case slang_asm_vec4_floor: - return "vec4_floor"; - case slang_asm_float_ceil: - return "float_ceil"; - case slang_asm_float_noise1: - return "float_noise1"; - case slang_asm_float_noise2: - return "float_noise2"; - case slang_asm_float_noise3: - return "float_noise3"; - case slang_asm_float_noise4: - return "float_noise4"; - case slang_asm_int_copy: - return "int_copy"; - case slang_asm_int_move: - return "int_move"; - case slang_asm_int_push: - return "int_push"; - case slang_asm_int_deref: - return "int_deref"; - case slang_asm_int_to_float: - return "int_to_float"; - case slang_asm_int_to_addr: - return "int_to_addr"; - case slang_asm_bool_copy: - return "bool_copy"; - case slang_asm_bool_move: - return "bool_move"; - case slang_asm_bool_push: - return "bool_push"; - case slang_asm_bool_deref: - return "bool_deref"; - case slang_asm_addr_copy: - return "addr_copy"; - case slang_asm_addr_push: - return "addr_push"; - case slang_asm_addr_deref: - return "addr_deref"; - case slang_asm_addr_add: - return "addr_add"; - case slang_asm_addr_multiply: - return "addr_multiply"; - case slang_asm_vec4_tex1d: - return "vec4_tex1d"; - case slang_asm_vec4_tex2d: - return "vec4_tex2d"; - case slang_asm_vec4_tex3d: - return "vec4_tex3d"; - case slang_asm_vec4_texcube: - return "vec4_texcube"; - case slang_asm_vec4_shad1d: - return "vec4_shad1d"; - case slang_asm_vec4_shad2d: - return "vec4_shad2d"; - case slang_asm_jump: - return "jump"; - case slang_asm_jump_if_zero: - return "jump_if_zero"; - case slang_asm_enter: - return "enter"; - case slang_asm_leave: - return "leave"; - case slang_asm_local_alloc: - return "local_alloc"; - case slang_asm_local_free: - return "local_free"; - case slang_asm_local_addr: - return "local_addr"; - case slang_asm_global_addr: - return "global_addr"; - case slang_asm_call: - return "call"; - case slang_asm_return: - return "return"; - case slang_asm_discard: - return "discard"; - case slang_asm_exit: - return "exit"; - /* GL_MESA_shader_debug */ - case slang_asm_float_print: - return "float_print"; - case slang_asm_int_print: - return "int_print"; - case slang_asm_bool_print: - return "bool_print"; - /* vec4 */ - case slang_asm_float_to_vec4: - return "float_to_vec4"; - case slang_asm_vec4_add: - return "vec4_add"; - case slang_asm_vec4_subtract: - return "vec4_subtract"; - case slang_asm_vec4_multiply: - return "vec4_multiply"; - case slang_asm_vec4_divide: - return "vec4_divide"; - case slang_asm_vec4_negate: - return "vec4_negate"; - case slang_asm_vec4_dot: - return "vec4_dot"; - case slang_asm_vec4_copy: - return "vec4_copy"; - case slang_asm_vec4_deref: - return "vec4_deref"; - case slang_asm_vec4_equal_int: - return "vec4_equal"; - default: - return "??asm??"; - } -} -#endif const char * diff --git a/src/mesa/shader/slang/slang_print.h b/src/mesa/shader/slang/slang_print.h index 81cf0a844ee..46605c80610 100644 --- a/src/mesa/shader/slang/slang_print.h +++ b/src/mesa/shader/slang/slang_print.h @@ -9,12 +9,6 @@ slang_print_function(const slang_function *f, GLboolean body); extern void slang_print_tree(const slang_operation *op, int indent); - -#if 0 -extern const char * -slang_asm_string(slang_assembly_type t); -#endif - extern const char * slang_type_qual_string(slang_type_qualifier q); |