diff options
author | Rob Clark <[email protected]> | 2016-09-08 14:07:06 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-09-14 13:45:32 -0400 |
commit | 1a8424cebaeaf46a01000624a46764f3e84dad85 (patch) | |
tree | fe7d57ce69ee32fd14163128db63e524409ef9c1 /src/compiler/nir/nir.h | |
parent | 2c3f9662762f6e45b47ea5d3047f5596b555f29c (diff) |
nir: move tex_instr_remove_src
I want to re-use this in a different pass, so move to nir.h
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index ff7c422a6ea..6f85bdb6bb6 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1329,6 +1329,8 @@ nir_tex_instr_src_index(nir_tex_instr *instr, nir_tex_src_type type) return -1; } +void nir_tex_instr_remove_src(nir_tex_instr *tex, unsigned src_idx); + typedef union { float f32[4]; double f64[4]; |