Home
last modified time | relevance | path

Searched refs:tex_index (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c124 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex_src_plane_block() local
125 if (tex_index >= 0) { in lower_tex_src_plane_block()
126 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_index].src); in lower_tex_src_plane_block()
140 if (tex_index >= 0 && samp_index >= 0) { in lower_tex_src_plane_block()
150 &tex->src[tex_index].src, in lower_tex_src_plane_block()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_nir_optim.c43 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in get_tex_unit() local
44 if (tex_index >= 0) { in get_tex_unit()
45 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_index].src); in get_tex_unit()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_sched.c117 int tex_index, first_outstanding_tex_index; member
128 unsigned tex_index; member
218 return n->tex_index >= ctx->first_outstanding_tex_index; in is_outstanding_tex_or_prefetch()
329 n->tex_index = ctx->tex_index++; in schedule()
334 ctx->first_outstanding_tex_index = ctx->tex_index; in schedule()
585 if (ctx->tex_index - ctx->first_outstanding_tex_index >= 8 && is_tex(instr)) in should_defer()
1129 ctx->tex_index = ctx->first_outstanding_tex_index = 0; in sched_block()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex.c1309 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in nir_lower_tex_block() local
1310 if (tex_index >= 0) { in nir_lower_tex_block()
1311 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_index].src); in nir_lower_tex_block()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1595 int tex_index = tgsi_inst->Src[1].Register.Index; in ttn_txq() local
1598 get_sampler_var(c, tex_index, txs->sampler_dim, in ttn_txq()