Home
last modified time | relevance | path

Searched refs:texture_index (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c80 unsigned y_samp = tex->texture_index; in lower_tex_src_plane_block()
82 assume(tex->texture_index == tex->sampler_index); in lower_tex_src_plane_block()
86 tex->texture_index = tex->sampler_index = in lower_tex_src_plane_block()
/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c54 instr->texture_index += deref_array->base_offset * *array_elements; in calc_sampler_offsets()
99 instr->texture_index = 0; in lower_sampler()
149 instr->texture_index += in lower_sampler()
152 instr->sampler_index = instr->texture_index; in lower_sampler()
Dnir_lower_tex.c165 txs->texture_index = tex->texture_index; in get_texture_size()
221 plane_tex->texture_index = tex->texture_index; in sample_plane()
318 txl->texture_index = tex->texture_index; in replace_gradient_with_lod()
747 if ((1 << tex->texture_index) & options->lower_y_uv_external) { in nir_lower_tex_block()
752 if ((1 << tex->texture_index) & options->lower_y_u_v_external) { in nir_lower_tex_block()
757 if ((1 << tex->texture_index) & options->lower_yx_xuxv_external) { in nir_lower_tex_block()
768 if (((1 << tex->texture_index) & options->swizzle_result) && in nir_lower_tex_block()
771 swizzle_result(b, tex, options->swizzles[tex->texture_index]); in nir_lower_tex_block()
776 if (((1 << tex->texture_index) & options->lower_srgb) && in nir_lower_tex_block()
Dnir_lower_drawpixels.c135 tex->texture_index = state->options->drawpix_sampler; in lower_color()
163 tex->texture_index = state->options->pixelmap_sampler; in lower_color()
Dnir_instr_set.c160 hash = HASH(hash, instr->texture_index); in hash_tex()
314 tex1->texture_index != tex2->texture_index || in nir_instrs_equal()
Dnir_lower_bitmap.c96 tex->texture_index = options->sampler; in lower_bitmap()
Dnir_clone.c420 ntex->texture_index = tex->texture_index; in clone_tex()
Dnir_print.c766 instr->texture_index, instr->sampler_index); in print_tex_instr()
Dnir.h1162 unsigned texture_index; member
Dnir.c534 instr->texture_index = 0; in nir_tex_instr_create()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c235 unsigned texture_index = params->texture_index; in draw_llvm_sampler_soa_emit_fetch_texel() local
238 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in draw_llvm_sampler_soa_emit_fetch_texel()
241 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in draw_llvm_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp282 unsigned texture_index = params->texture_index; in swr_sampler_soa_emit_fetch_texel() local
286 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in swr_sampler_soa_emit_fetch_texel()
292 &sampler->dynamic_state.static_state[texture_index].texture_state, in swr_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c256 unsigned texture_index = params->texture_index; in lp_llvm_sampler_soa_emit_fetch_texel() local
260 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in lp_llvm_sampler_soa_emit_fetch_texel()
267 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in lp_llvm_sampler_soa_emit_fetch_texel()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c50 txf->texture_index = txf_ms->texture_index; in vc4_nir_lower_txf_ms_instr()
82 unsigned unit = txf_ms->texture_index; in vc4_nir_lower_txf_ms_instr()
Dvc4_program.c371 unsigned unit = instr->texture_index; in ntq_emit_txf()
412 unsigned unit = instr->texture_index; in ntq_emit_tex()
/external/drm_hwcomposer/
Dglworker.cpp293 unsigned texture_index; member
310 for (size_t texture_index : region.source_layers) { in ConstructCommand() local
311 const DrmHwcLayer &layer = layers[texture_index]; in ConstructCommand()
329 src.texture_index = texture_index; in ConstructCommand()
657 layer_textures[src.texture_index].texture.get()); in Composite()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c1794 unsigned texture_index, in lp_build_sample_common() argument
1835 coords[3] = lp_build_layer_coord(bld, texture_index, TRUE, layer, NULL); in lp_build_sample_common()
1842 coords[2] = lp_build_layer_coord(bld, texture_index, FALSE, coords[2], NULL); in lp_build_sample_common()
1877 lp_build_lod_selector(bld, texture_index, sampler_index, in lp_build_sample_common()
1904 texture_index); in lp_build_sample_common()
1910 lp_build_nearest_mip_level(bld, texture_index, lod_ipart, ilevel0, NULL); in lp_build_sample_common()
1915 lp_build_linear_mip_levels(bld, texture_index, in lp_build_sample_common()
2463 unsigned texture_index, in lp_build_sample_soa_code() argument
2721 context_ptr, texture_index); in lp_build_sample_soa_code()
2723 context_ptr, texture_index); in lp_build_sample_soa_code()
[all …]
Dlp_bld_sample.h101 unsigned texture_index; member
489 unsigned texture_index,
Dlp_bld_tgsi_soa.c2340 params.texture_index = unit; in emit_tex()
2508 params.texture_index = texture_unit; in emit_sample()
2632 params.texture_index = unit; in emit_fetch_texels()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_input_attachments.c91 tex->texture_index = 0; in try_lower_input_load()
Danv_nir_apply_pipeline_layout.c201 tex->texture_index = state->set[set].surface_offsets[binding]; in lower_tex()
202 lower_tex_deref(tex, tex->texture, &tex->texture_index, array_size, in lower_tex()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c1565 unsigned tex_idx = tex->texture_index; in emit_tex()
1616 tex->texture_index, tex->texture_index, NULL, NULL); in emit_tex_query_levels()
1654 tex->texture_index, tex->texture_index, lod, NULL); in emit_tex_txs()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1355 instr->texture_index = tgsi_inst->Src[samp].Register.Index; in ttn_tex()
1362 sview = instr->texture_index; in ttn_tex()
1503 txs->texture_index = tgsi_inst->Src[1].Register.Index; in ttn_txq()
1504 qlv->texture_index = tgsi_inst->Src[1].Register.Index; in ttn_txq()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_nir.cpp4231 unsigned texture = instr->texture_index; in nir_emit_texture()
4349 const uint32_t texture_index = in nir_emit_texture() local
4350 instr->texture_index + in nir_emit_texture()
4354 srcs[TEX_LOGICAL_SRC_SURFACE] = brw_imm_ud(texture_index); in nir_emit_texture()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c561 instr->texture_index = prog_inst->TexSrcUnit; in ptn_tex()

12