Home
last modified time | relevance | path

Searched refs:lod_index (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c579 int lod_index = nir_tex_instr_src_index(instr, nir_tex_src_lod); in ntq_emit_txs() local
583 if (lod_index != -1) in ntq_emit_txs()
584 lod = ntq_get_src(c, instr->src[lod_index].src, 0); in ntq_emit_txs()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5729 int lod_index = instr->intrinsic == nir_intrinsic_image_deref_load ? 3 : 4; in get_image_coords() local
5730 …bool level_zero = nir_src_is_const(instr->src[lod_index]) && nir_src_as_uint(instr->src[lod_index]… in get_image_coords()
5733 coords.emplace_back(get_ssa_temp(ctx, instr->src[lod_index].ssa)); in get_image_coords()