Enumerations | |
| enum | gl_prog_print_mode { PROG_PRINT_ARB, PROG_PRINT_NV, PROG_PRINT_DEBUG } |
| The output style to use when printing programs. More... | |
Functions | |
| const char * | _mesa_condcode_string (GLuint condcode) |
| const char * | _mesa_swizzle_string (GLuint swizzle, GLuint negateBase, GLboolean extended) |
| Return a string representation of the given swizzle word. | |
| const char * | _mesa_writemask_string (GLuint writeMask) |
| void | _mesa_print_swizzle (GLuint swizzle) |
| void | _mesa_print_alu_instruction (const struct prog_instruction *inst, const char *opcode_string, GLuint numRegs) |
| void | _mesa_print_instruction (const struct prog_instruction *inst) |
| GLint | _mesa_fprint_instruction_opt (FILE *f, const struct prog_instruction *inst, GLint indent, gl_prog_print_mode mode, const struct gl_program *prog) |
| Print a single vertex/fragment program instruction. | |
| GLint | _mesa_print_instruction_opt (const struct prog_instruction *inst, GLint indent, gl_prog_print_mode mode, const struct gl_program *prog) |
| void | _mesa_print_program (const struct gl_program *prog) |
| Print program to stderr, default options. | |
| void | _mesa_fprint_program_opt (FILE *f, const struct gl_program *prog, gl_prog_print_mode mode, GLboolean lineNumbers) |
| Print program, with options. | |
| void | _mesa_print_program_parameters (GLcontext *ctx, const struct gl_program *prog) |
| Print all of a program's parameters/fields to stderr. | |
| void | _mesa_print_parameter_list (const struct gl_program_parameter_list *list) |
| Print a program parameter list to stderr. | |
| void | _mesa_write_shader_to_file (const struct gl_shader *shader) |
| Write shader and associated info to a file. | |
| void | _mesa_append_uniforms_to_file (const struct gl_shader *shader, const struct gl_program *prog) |
| Append the shader's uniform info/values to the shader log file. | |
| enum gl_prog_print_mode |
| void _mesa_append_uniforms_to_file | ( | const struct gl_shader * | shader, | |
| const struct gl_program * | prog | |||
| ) |
Append the shader's uniform info/values to the shader log file.
The log file will typically have been created by the _mesa_write_shader_to_file function.
| const char* _mesa_condcode_string | ( | GLuint | condcode | ) |
| GLint _mesa_fprint_instruction_opt | ( | FILE * | f, | |
| const struct prog_instruction * | inst, | |||
| GLint | indent, | |||
| gl_prog_print_mode | mode, | |||
| const struct gl_program * | prog | |||
| ) |
Print a single vertex/fragment program instruction.
| void _mesa_fprint_program_opt | ( | FILE * | f, | |
| const struct gl_program * | prog, | |||
| gl_prog_print_mode | mode, | |||
| GLboolean | lineNumbers | |||
| ) |
Print program, with options.
| void _mesa_print_alu_instruction | ( | const struct prog_instruction * | inst, | |
| const char * | opcode_string, | |||
| GLuint | numRegs | |||
| ) |
| void _mesa_print_instruction | ( | const struct prog_instruction * | inst | ) |
| GLint _mesa_print_instruction_opt | ( | const struct prog_instruction * | inst, | |
| GLint | indent, | |||
| gl_prog_print_mode | mode, | |||
| const struct gl_program * | prog | |||
| ) |
| void _mesa_print_parameter_list | ( | const struct gl_program_parameter_list * | list | ) |
Print a program parameter list to stderr.
| void _mesa_print_program | ( | const struct gl_program * | prog | ) |
Print program to stderr, default options.
| void _mesa_print_program_parameters | ( | GLcontext * | ctx, | |
| const struct gl_program * | prog | |||
| ) |
Print all of a program's parameters/fields to stderr.
| void _mesa_print_swizzle | ( | GLuint | swizzle | ) |
| const char* _mesa_swizzle_string | ( | GLuint | swizzle, | |
| GLuint | negateMask, | |||
| GLboolean | extended | |||
| ) |
Return a string representation of the given swizzle word.
If extended is true, use extended (comma-separated) format.
| swizzle | the swizzle field | |
| negateBase | 4-bit negation vector | |
| extended | if true, also allow 0, 1 values |
| void _mesa_write_shader_to_file | ( | const struct gl_shader * | shader | ) |
Write shader and associated info to a file.
| const char* _mesa_writemask_string | ( | GLuint | writeMask | ) |
1.5.4