X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fshader%2Fprog_print.h;h=3da3e767cd0ba96099375fb249ba1587b90eca1f;hb=2f6675b8160c5fa2e6e9b5642c133fd2843a7508;hp=aa7f902feebe405abb967ea4c5b064dacb2f5d12;hpb=d2eff33ab7fda9527458ea35d9eb109ec2988490;p=mesa.git diff --git a/src/mesa/shader/prog_print.h b/src/mesa/shader/prog_print.h index aa7f902feeb..3da3e767cd0 100644 --- a/src/mesa/shader/prog_print.h +++ b/src/mesa/shader/prog_print.h @@ -46,6 +46,9 @@ _mesa_swizzle_string(GLuint swizzle, GLuint negateBase, GLboolean extended); const char * _mesa_writemask_string(GLuint writeMask); +extern void +_mesa_print_swizzle(GLuint swizzle); + extern void _mesa_print_alu_instruction(const struct prog_instruction *inst, const char *opcode_string, GLuint numRegs); @@ -53,6 +56,13 @@ _mesa_print_alu_instruction(const struct prog_instruction *inst, extern void _mesa_print_instruction(const struct prog_instruction *inst); +extern GLint +_mesa_fprint_instruction_opt(FILE *f, + const struct prog_instruction *inst, + GLint indent, + gl_prog_print_mode mode, + const struct gl_program *prog); + extern GLint _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent, gl_prog_print_mode mode,