diff options
author | Matt Turner <[email protected]> | 2014-05-12 18:16:22 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-05-15 15:45:39 -0700 |
commit | 9b0108ddc1d8e538d642823ef949ea09500ccdec (patch) | |
tree | 9e4af3defb3c7c7ac941ef98c17bd2854dc237ac /src/glsl/ir.h | |
parent | d45fadf11a8dbd9cdf0a1548a38127462b4ceee0 (diff) |
glsl: Add C-callable fprint_ir function.
Acked-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 6c7c60a27d9..ef4a12d60ef 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -2348,6 +2348,9 @@ extern "C" { extern void _mesa_print_ir(FILE *f, struct exec_list *instructions, struct _mesa_glsl_parse_state *state); +extern void +fprint_ir(FILE *f, const void *instruction); + #ifdef __cplusplus } /* extern "C" */ #endif |