/external/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_tex_src_plane.c | 123 unsigned y_samp = tex->texture_index; in lower_tex_src_plane_block() 125 assume(tex->texture_index == tex->sampler_index); in lower_tex_src_plane_block() 129 tex->texture_index = tex->sampler_index = in lower_tex_src_plane_block() 132 state->shader->info.textures_used |= 1u << tex->texture_index; in lower_tex_src_plane_block()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 266 plane_tex->texture_index = tex->texture_index; in sample_plane() 275 if (options->scale_factors[tex->texture_index]) in sample_plane() 277 options->scale_factors[tex->texture_index]); in sample_plane() 292 if (options->bt709_external & (1 << tex->texture_index)) { in convert_yuv_to_rgb() 295 } else if (options->bt2020_external & (1 << tex->texture_index)) { in convert_yuv_to_rgb() 1051 if ((1 << tex->texture_index) & options->lower_y_uv_external) { in nir_lower_tex_block() 1056 if ((1 << tex->texture_index) & options->lower_y_u_v_external) { in nir_lower_tex_block() 1061 if ((1 << tex->texture_index) & options->lower_yx_xuxv_external) { in nir_lower_tex_block() 1066 if ((1 << tex->texture_index) & options->lower_xy_uxvx_external) { in nir_lower_tex_block() 1071 if ((1 << tex->texture_index) & options->lower_ayuv_external) { in nir_lower_tex_block() [all …]
|
D | nir_builtin_builder.c | 323 txs->texture_index = tex->texture_index; in nir_get_texture_size() 377 tql->texture_index = tex->texture_index; in nir_get_texture_lod()
|
D | nir_lower_samplers.c | 113 instr->texture_index = base_index; in lower_tex_src_to_offset()
|
D | nir_instr_set.c | 280 hash = HASH(hash, instr->texture_index); in hash_tex() 666 tex1->texture_index != tex2->texture_index || in nir_instrs_equal()
|
D | nir_lower_input_attachments.c | 127 tex->texture_index = 0; in try_lower_input_load()
|
D | nir_lower_drawpixels.c | 190 tex->texture_index = state->options->pixelmap_sampler; in lower_color()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_txf_ms.c | 46 txf->texture_index = txf_ms->texture_index; in vc4_nir_lower_txf_ms_instr() 78 unsigned unit = txf_ms->texture_index; in vc4_nir_lower_txf_ms_instr()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 304 unsigned texture_index = params->texture_index; in swr_sampler_soa_emit_fetch_texel() local 308 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in swr_sampler_soa_emit_fetch_texel() 314 &sampler->dynamic_state.static_state[texture_index].texture_state, in swr_sampler_soa_emit_fetch_texel()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 332 unsigned texture_index = params->texture_index; in draw_llvm_sampler_soa_emit_fetch_texel() local 335 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in draw_llvm_sampler_soa_emit_fetch_texel() 342 lp_build_const_int32(gallivm, texture_index), ""); in draw_llvm_sampler_soa_emit_fetch_texel() 354 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/llvmpipe/ |
D | lp_tex_sample.c | 368 unsigned texture_index = params->texture_index; in lp_llvm_sampler_soa_emit_fetch_texel() local 372 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in lp_llvm_sampler_soa_emit_fetch_texel() 383 lp_build_const_int32(gallivm, texture_index), ""); in lp_llvm_sampler_soa_emit_fetch_texel() 395 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in lp_llvm_sampler_soa_emit_fetch_texel()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_tg4_to_tex.c | 52 tex->texture_index = tg4->texture_index; in ir3_nir_lower_tg4_to_tex_instr()
|
D | ir3_nir_lower_tex_prefetch.c | 148 return (tex->texture_index <= 0x1f) && in ok_tex_samp()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 144 tex->texture_index = old_tex->texture_index; in create_plane_tex_instr_implicit() 254 assert(tex->texture_index == 0); in try_lower_tex_ycbcr()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 153 tex->texture_index = old_tex->texture_index; in create_plane_tex_instr_implicit() 227 assert(tex->texture_index == 0); in try_lower_tex_ycbcr()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_soa.c | 2066 unsigned texture_index, in lp_build_sample_common() argument 2108 coords[3] = lp_build_layer_coord(bld, texture_index, TRUE, layer, NULL); in lp_build_sample_common() 2115 coords[2] = lp_build_layer_coord(bld, texture_index, FALSE, coords[2], NULL); in lp_build_sample_common() 2150 lp_build_lod_selector(bld, is_lodq, texture_index, sampler_index, in lp_build_sample_common() 2160 texture_index, NULL); in lp_build_sample_common() 2164 texture_index, NULL); in lp_build_sample_common() 2206 texture_index, NULL); in lp_build_sample_common() 2212 lp_build_nearest_mip_level(bld, texture_index, lod_ipart, ilevel0, NULL); in lp_build_sample_common() 2217 lp_build_linear_mip_levels(bld, texture_index, in lp_build_sample_common() 2812 unsigned texture_index, in lp_build_sample_soa_code() argument [all …]
|
D | lp_bld_sample.h | 106 unsigned texture_index; member 569 unsigned texture_index,
|
/external/mesa3d/src/panfrost/midgard/ |
D | midgard_errata_lod.c | 55 nir_src idx = nir_src_for_ssa(nir_imm_int(b, tex->texture_index)); in nir_lod_errata_instr()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_nir_builder.h | 63 tex->texture_index = 0; in blorp_nir_txf_ms_mcs()
|
/external/mesa3d/src/panfrost/util/ |
D | pan_sysval.c | 91 PAN_TXS_SYSVAL_ID(tex->texture_index, in panfrost_sysval_for_instr()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_private.h | 1522 v3dv_pipeline_combined_index_key_create(uint32_t texture_index, in v3dv_pipeline_combined_index_key_create() argument 1525 return texture_index << 24 | sampler_index; in v3dv_pipeline_combined_index_key_create() 1530 uint32_t *texture_index, in v3dv_pipeline_combined_index_key_unpack() argument 1536 if (texture_index) in v3dv_pipeline_combined_index_key_unpack() 1537 *texture_index = texture; in v3dv_pipeline_combined_index_key_unpack()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d33_tex.c | 36 unsigned unit = instr->texture_index; in v3d33_vir_emit_tex()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_nir.c | 131 assert(tex->sampler_index == tex->texture_index); in etna_lower_io()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_vulkan_resource.c | 144 tex->texture_index = value; in lower_vri_instr_tex_deref()
|
/external/mesa3d/prebuilt-intermediates/bifrost/ |
D | bi_generated_pack.h | 335 unsigned texture_index = ins->texture.texture_index; in pan_pack_add_texs_cube_f32() local 337 …c0 << 0) | (src1 << 3) | (src2 << 6) | (skip << 9) | (sampler_index << 10) | (texture_index << 12); in pan_pack_add_texs_cube_f32() 2455 unsigned texture_index = ins->texture.texture_index; in pan_pack_add_var_tex_f32() local 2462 …return 0xca000 | (skip << 7) | (lod_mode << 9) | (varying_index << 0) | (texture_index << 3) | (de… in pan_pack_add_var_tex_f32() 2832 unsigned texture_index = ins->texture.texture_index; in pan_pack_add_texs_2d_f32() local 2835 …return 0x58000 | (src0 << 0) | (src1 << 3) | (skip << 9) | (lod_mode << 13) | (texture_index << 6)… in pan_pack_add_texs_2d_f32() 4463 unsigned texture_index = ins->texture.texture_index; in pan_pack_add_texs_cube_f16() local 4465 …c0 << 0) | (src1 << 3) | (src2 << 6) | (skip << 9) | (sampler_index << 10) | (texture_index << 12); in pan_pack_add_texs_cube_f16() 5184 unsigned texture_index = ins->texture.texture_index; in pan_pack_add_var_tex_f16() local 5191 …return 0xca100 | (skip << 7) | (lod_mode << 9) | (varying_index << 0) | (texture_index << 3) | (de… in pan_pack_add_var_tex_f16() [all …]
|