Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp239 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in lower_txl_txf_array_or_cube() local
250 if (min_lod_idx >= 0) in lower_txl_txf_array_or_cube()
251 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in lower_txl_txf_array_or_cube()
274 if (min_lod_idx >= 0) in lower_txl_txf_array_or_cube()
275 nir_tex_instr_remove_src(tex, min_lod_idx); in lower_txl_txf_array_or_cube()
/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c232 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in lower_implicit_lod() local
233 if (min_lod_idx >= 0) { in lower_implicit_lod()
235 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in lower_implicit_lod()
236 nir_tex_instr_remove_src(tex, min_lod_idx); in lower_implicit_lod()
458 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in replace_gradient_with_lod() local
459 if (min_lod_idx >= 0) { in replace_gradient_with_lod()
461 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in replace_gradient_with_lod()
462 nir_tex_instr_remove_src(tex, min_lod_idx); in replace_gradient_with_lod()