Lines Matching defs:address
105 static midgard_instruction m_##name(unsigned ssa, unsigned address) { \
114 .signed_offset = address \
167 op ## _image(nir_alu_type type, unsigned val, unsigned address) \
171 return m_ ## op ## _image_32f(val, address); \
173 return m_ ## op ## _image_16f(val, address); \
175 return m_ ## op ## _image_32u(val, address); \
177 return m_ ## op ## _image_32i(val, address); \
1481 * image_atomic opcodes. The caller can then use that address to emit a normal atomic opcode. */
1501 /* For image opcodes, address is used as an index into the attribute descriptor */
1502 unsigned address = nr_attr;
1504 address += nir_src_as_uint(*index);
1512 ins = st_image(type, val, PACK_LDST_ATTRIB_OFS(address));
1517 ins = m_lea_image(dest, PACK_LDST_ATTRIB_OFS(address));
1518 ins.mask = mask_of(2); /* 64-bit memory address */
1521 ins = ld_image(type, nir_dest_index(&instr->dest), PACK_LDST_ATTRIB_OFS(address));