diff options
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index c79dcecafc4..9d210ac80e0 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3088,6 +3088,16 @@ typedef enum { */ nir_address_format_32bit_index_offset, } nir_address_format; + +nir_ssa_def * nir_explicit_io_address_from_deref(struct nir_builder *b, + nir_deref_instr *deref, + nir_ssa_def *base_addr, + nir_address_format addr_format); +void nir_lower_explicit_io_instr(struct nir_builder *b, + nir_intrinsic_instr *io_instr, + nir_ssa_def *addr, + nir_address_format addr_format); + bool nir_lower_explicit_io(nir_shader *shader, nir_variable_mode modes, nir_address_format); |