Searched refs:min_lod_idx (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 257 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in lower_txl_txf_array_or_cube() local 268 if (min_lod_idx >= 0) in lower_txl_txf_array_or_cube() 269 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in lower_txl_txf_array_or_cube() 292 if (min_lod_idx >= 0) in lower_txl_txf_array_or_cube() 293 nir_tex_instr_remove_src(tex, min_lod_idx); in lower_txl_txf_array_or_cube()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 247 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in lower_lod() local 248 if (min_lod_idx >= 0) { in lower_lod() 250 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in lower_lod() 251 nir_tex_instr_remove_src(tex, min_lod_idx); in lower_lod() 540 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in replace_gradient_with_lod() local 541 if (min_lod_idx >= 0) { in replace_gradient_with_lod() 543 lod = nir_fmax(b, lod, nir_ssa_for_src(b, tex->src[min_lod_idx].src, 1)); in replace_gradient_with_lod() 544 nir_tex_instr_remove_src(tex, min_lod_idx); in replace_gradient_with_lod()
|