nir: add nir_instr_as_str
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12510>
This commit is contained in:
@@ -4308,6 +4308,7 @@ void nir_log_shader_annotated_tagged(enum mesa_log_level level, const char *tag,
|
||||
|
||||
char *nir_shader_as_str(nir_shader *nir, void *mem_ctx);
|
||||
char *nir_shader_as_str_annotated(nir_shader *nir, struct hash_table *annotations, void *mem_ctx);
|
||||
char *nir_instr_as_str(const nir_instr *instr, void *mem_ctx);
|
||||
|
||||
/** Shallow clone of a single instruction. */
|
||||
nir_instr *nir_instr_clone(nir_shader *s, const nir_instr *orig);
|
||||
|
||||
Reference in New Issue
Block a user