Searched refs:tex_index (Results 1 – 5 of 5) sorted by relevance
124 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex_src_plane_block() local125 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()
43 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in get_tex_unit() local44 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()
117 int tex_index, first_outstanding_tex_index; member128 unsigned tex_index; member218 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()
1309 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in nir_lower_tex_block() local1310 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()
1595 int tex_index = tgsi_inst->Src[1].Register.Index; in ttn_txq() local1598 get_sampler_var(c, tex_index, txs->sampler_dim, in ttn_txq()