Home
last modified time | relevance | path

Searched refs:offset_index (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c51 int offset_index = nir_tex_instr_src_index(tg4, nir_tex_src_offset); in lower_tg4() local
54 if (offset_index < 0 && i < 3) in lower_tg4()
78 if (offset_index < 0) { in lower_tg4()
82 assert(nir_tex_instr_src_size(tex, offset_index) == 2); in lower_tg4()
84 b, tex->src[offset_index].src, 2); in lower_tg4()
85 tex->src[offset_index].src = in lower_tg4()
/external/libchrome/base/android/orderfile/
Dorderfile_instrumentation.cc141 size_t offset_index = offset / 4; in RecordAddress() local
145 std::atomic<uint32_t>* element = offsets + (offset_index / 32); in RecordAddress()
149 uint32_t mask = 1 << (offset_index % 32); in RecordAddress()
/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c137 int offset_index = nir_tex_instr_src_index(tex, nir_tex_src_offset); in lower_offset() local
138 if (offset_index < 0) in lower_offset()
144 assert(tex->src[offset_index].src.is_ssa); in lower_offset()
146 nir_ssa_def *offset = tex->src[offset_index].src.ssa; in lower_offset()
185 nir_tex_instr_remove_src(tex, offset_index); in lower_offset()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c162 nir_ssa_def *offset_index) in vtn_resource_reindex() argument
168 instr->src[1] = nir_src_for_ssa(offset_index); in vtn_resource_reindex()
240 nir_ssa_def *offset_index = in vtn_ssa_offset_pointer_dereference() local
244 block_index = vtn_resource_reindex(b, block_index, offset_index); in vtn_ssa_offset_pointer_dereference()