mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
re-expose _mesa_print_alu_instruction()
This commit is contained in:
parent
ef0cc9db54
commit
0020d1022f
2 changed files with 13 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ print_comment(const struct prog_instruction *inst)
|
|||
|
||||
static void
|
||||
print_alu_instruction(const struct prog_instruction *inst,
|
||||
const char *opcode_string, GLuint numRegs,
|
||||
const char *opcode_string, GLuint numRegs,
|
||||
gl_prog_print_mode mode,
|
||||
const struct gl_program *prog)
|
||||
{
|
||||
|
|
@ -461,6 +461,14 @@ print_alu_instruction(const struct prog_instruction *inst,
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
_mesa_print_alu_instruction(const struct prog_instruction *inst,
|
||||
const char *opcode_string, GLuint numRegs)
|
||||
{
|
||||
print_alu_instruction(inst, opcode_string, numRegs, PROG_PRINT_DEBUG, NULL);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
_mesa_print_instruction(const struct prog_instruction *inst)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -40,6 +40,10 @@ typedef enum {
|
|||
extern const char *
|
||||
_mesa_swizzle_string(GLuint swizzle, GLuint negateBase, GLboolean extended);
|
||||
|
||||
extern void
|
||||
_mesa_print_alu_instruction(const struct prog_instruction *inst,
|
||||
const char *opcode_string, GLuint numRegs);
|
||||
|
||||
extern void
|
||||
_mesa_print_instruction(const struct prog_instruction *inst);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue