diff options
author | Rob Clark <[email protected]> | 2016-05-14 15:37:32 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-05-17 10:05:20 -0400 |
commit | a0ef26c1c2f0fcdebfa2699817cf63f644df8155 (patch) | |
tree | 11eedcc553860aef304327910ac8daf4e2b9ae7d /src/compiler/nir/nir_validate.c | |
parent | e5e412cd272989fa801a027ab5dce7de48eb79c6 (diff) |
nir/print: add support for print annotations
Caller can pass a hashtable mapping NIR object (currently instr or var,
but I guess others could be added as needed) to annotation msg to print
inline with the shader dump. As the annotation msg is printed, it is
removed from the hashtable to give the caller a way to know about any
unassociated msgs.
This is used in the next patch, for nir_validate to try to associate
error msgs to nir_print dump.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_validate.c')
0 files changed, 0 insertions, 0 deletions