Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex.c219 nir_ssa_def *idx = nir_imm_int(b, tex->texture_index); in lower_rect_tex_scale()
302 plane_tex->texture_index = tex->texture_index; in sample_plane()
311 if (options->scale_factors[tex->texture_index]) in sample_plane()
313 options->scale_factors[tex->texture_index]); in sample_plane()
323 unsigned texture_index) in convert_yuv_to_rgb() argument
329 if (options->bt709_external & (1u << texture_index)) { in convert_yuv_to_rgb()
332 } else if (options->bt2020_external & (1u << texture_index)) { in convert_yuv_to_rgb()
364 unsigned texture_index) in lower_y_uv_external() argument
377 texture_index); in lower_y_uv_external()
383 unsigned texture_index) in lower_y_u_v_external() argument
[all …]
Dnir_builtin_builder.c336 txs->texture_index = tex->texture_index; in nir_get_texture_size()
390 tql->texture_index = tex->texture_index; in nir_get_texture_lod()
Dnir_lower_samplers.c113 instr->texture_index = base_index; in lower_tex_src_to_offset()
Dnir_instr_set.c280 hash = HASH(hash, instr->texture_index); in hash_tex()
666 tex1->texture_index != tex2->texture_index || in nir_instrs_equal()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c46 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()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp304 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()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c123 unsigned y_samp = tex->texture_index; in lower_tex_src_plane_block()
157 assume(tex->texture_index == tex->sampler_index); in lower_tex_src_plane_block()
158 tex->texture_index = tex->sampler_index = u_v_samp; in lower_tex_src_plane_block()
Dst_program.h171 uint8_t texture_index[MAX_NUM_FRAGMENT_REGISTERS_ATI]; member
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c333 unsigned texture_index = params->texture_index; in draw_llvm_sampler_soa_emit_fetch_texel() local
336 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in draw_llvm_sampler_soa_emit_fetch_texel()
343 lp_build_const_int32(gallivm, texture_index), ""); in draw_llvm_sampler_soa_emit_fetch_texel()
355 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in draw_llvm_sampler_soa_emit_fetch_texel()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c52 tex->texture_index = tg4->texture_index; in ir3_nir_lower_tg4_to_tex_instr()
Dir3_nir_lower_tex_prefetch.c148 return (tex->texture_index <= 0x1f) && (tex->sampler_index <= 0xf); in ok_tex_samp()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c369 unsigned texture_index = params->texture_index; in lp_llvm_sampler_soa_emit_fetch_texel() local
373 assert(texture_index < PIPE_MAX_SHADER_SAMPLER_VIEWS); in lp_llvm_sampler_soa_emit_fetch_texel()
384 lp_build_const_int32(gallivm, texture_index), ""); in lp_llvm_sampler_soa_emit_fetch_texel()
396 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in lp_llvm_sampler_soa_emit_fetch_texel()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_opt_mod_props.c217 (tex->texture_index == tex->sampler_index) && in bi_is_var_tex()
218 (tex->texture_index < 4) && in bi_is_var_tex()
231 var->sample, var->update, tex->texture_index, var->index); in bi_optimizer_var_tex()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c152 tex->texture_index = old_tex->texture_index; in create_plane_tex_instr_implicit()
249 assert(tex->texture_index == 0); in try_lower_tex_ycbcr()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c153 tex->texture_index = old_tex->texture_index; in create_plane_tex_instr_implicit()
234 assert(tex->texture_index == 0); in anv_nir_lower_ycbcr_textures_instr()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2500 unsigned texture_index, in lp_build_sample_common() argument
2543 coords[3] = lp_build_layer_coord(bld, texture_index, TRUE, layer, NULL); in lp_build_sample_common()
2550 coords[2] = lp_build_layer_coord(bld, texture_index, FALSE, coords[2], NULL); in lp_build_sample_common()
2593 lp_build_lod_selector(bld, is_lodq, texture_index, sampler_index, in lp_build_sample_common()
2603 texture_index, NULL); in lp_build_sample_common()
2607 texture_index, NULL); in lp_build_sample_common()
2644 lp_build_nearest_mip_level(bld, texture_index, lod_ipart, ilevel0, NULL); in lp_build_sample_common()
2658 texture_index, NULL); in lp_build_sample_common()
2664 lp_build_nearest_mip_level(bld, texture_index, lod_ipart, ilevel0, NULL); in lp_build_sample_common()
2669 lp_build_linear_mip_levels(bld, texture_index, in lp_build_sample_common()
[all …]
Dlp_bld_sample.h106 unsigned texture_index; member
577 unsigned texture_index,
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c72 tql->texture_index = tex->texture_index; in dx_get_texture_lod()
272 txf->texture_index = tex->texture_index; in create_txf_from_tex()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_errata_lod.c55 nir_src idx = nir_src_for_ssa(nir_imm_int(b, tex->texture_index)); in nir_lod_errata_instr()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_int_cubemap_to_array.c124 array_tex->texture_index = tex->texture_index; in create_array_tex_from_cube_tex()
/third_party/mesa3d/src/panfrost/util/
Dpan_sysval.c121 PAN_TXS_SYSVAL_ID(tex->texture_index, in panfrost_sysval_for_instr()
/third_party/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h62 tex->texture_index = 0; in blorp_nir_txf_ms_mcs()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_private.h1696 v3dv_pipeline_combined_index_key_create(uint32_t texture_index, in v3dv_pipeline_combined_index_key_create() argument
1699 return texture_index << 24 | sampler_index; in v3dv_pipeline_combined_index_key_create()
1704 uint32_t *texture_index, in v3dv_pipeline_combined_index_key_unpack() argument
1710 if (texture_index) in v3dv_pipeline_combined_index_key_unpack()
1711 *texture_index = texture; in v3dv_pipeline_combined_index_key_unpack()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d33_tex.c43 unsigned unit = instr->texture_index; in v3d33_vir_emit_tex()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c98 assert(tex->sampler_index == tex->texture_index); in etna_lower_io()

123