summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-08-09 18:30:33 -0700
committerKenneth Graunke <[email protected]>2015-08-27 13:36:57 -0700
commit3e3cb77901c9c9efbf4cf550da80509fe6dbbd9f (patch)
treec5b847b6d4e33b350239537305f806472b13855e /src/gallium/auxiliary
parentf90c6b1ce0d96c7dbdd32ab913d5c88913700ba2 (diff)
nir: Convert the NIR instruction insertion API to use cursors.
This patch implements a general nir_instr_insert() function that takes a nir_cursor for the insertion point. It then reworks the existing API to simply be a wrapper around that for compatibility. This largely involves moving the existing code into a new function. Suggested by Connor Abbott. v2: Make the legacy functions static inline in nir.h (requested by Connor Abbott). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Acked-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions