Home
last modified time | relevance | path

Searched refs:coord_components (Results 1 – 25 of 52) sorted by relevance

123

/external/mesa3d/src/compiler/nir/
Dnir_lower_cl_images_to_tex.c79 unsigned coord_components = in lower_cl_images_to_tex_impl() local
82 tex->coord_components++; in lower_cl_images_to_tex_impl()
90 tex->coord_components = coord_components; in lower_cl_images_to_tex_impl()
93 (1 << tex->coord_components) - 1); in lower_cl_images_to_tex_impl()
119 coord_components, 32, NULL); in lower_cl_images_to_tex_impl()
Dnir_lower_drawpixels.c148 tex->coord_components = 2; in lower_color()
157 (1 << tex->coord_components) - 1)); in lower_color()
188 tex->coord_components = 2; in lower_color()
207 tex->coord_components = 2; in lower_color()
Dnir_lower_tex.c99 switch (tex->coord_components) { in project_src()
169 if (tex->coord_components == 2) { in lower_offset()
172 } else if (tex->coord_components == 3) { in lower_offset()
206 nir_ssa_for_src(b, tex->src[i].src, tex->coord_components); in lower_rect()
251 assert(tex->coord_components == 2); in sample_plane()
264 plane_tex->coord_components = 2; in sample_plane()
686 nir_ssa_for_src(b, tex->src[i].src, tex->coord_components); in saturate_src()
691 assume(tex->coord_components >= 1); in saturate_src()
693 for (unsigned j = 0; j < tex->coord_components; j++) in saturate_src()
697 unsigned ncomp = tex->coord_components; in saturate_src()
[all …]
Dnir_lower_bitmap.c98 tex->coord_components = 2; in lower_bitmap()
107 (1 << tex->coord_components) - 1)); in lower_bitmap()
Dnir_lower_input_attachments.c135 tex->coord_components = 3; in try_lower_input_load()
177 tex->coord_components = 3; in try_lower_input_texop()
Dnir_lower_fb_read.c62 tex->coord_components = 2; in lower_fb_read()
Dnir_normalize_cubemap_coords.c69 if (tex->coord_components == 4) { in normalize_cubemap_coords_block()
Dnir_instr_set.c270 hash = HASH(hash, instr->coord_components); in hash_tex()
660 if (tex1->coord_components != tex2->coord_components || in nir_instrs_equal()
Dnir_builtin_builder.c372 tql->coord_components = tex->coord_components; in nir_get_texture_lod()
/external/mesa3d/src/broadcom/compiler/
Dv3d33_tex.c76 for (int j = 0; j < instr->coord_components; j++) { in v3d33_vir_emit_tex()
80 if (instr->coord_components < 2) in v3d33_vir_emit_tex()
112 if (instr->coord_components >= 2) in v3d33_vir_emit_tex()
116 if (instr->coord_components >= 3) in v3d33_vir_emit_tex()
Dv3d40_tex.c85 instr->coord_components - instr->is_array : in v3d40_vir_emit_tex()
86 instr->coord_components; in v3d40_vir_emit_tex()
110 instr->coord_components - 1), in v3d40_vir_emit_tex()
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h50 tex->coord_components = 3; in blorp_nir_txf_ms_mcs()
56 tex->coord_components = 2; in blorp_nir_txf_ms_mcs()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c174 assert(coord && lod_bias && tex->coord_components < 4); in etna_lower_io()
177 for (unsigned i = 0; i < tex->coord_components; i++) { in etna_lower_io()
181 for (unsigned i = tex->coord_components; i < 4; i++) in etna_lower_io()
189 tex->coord_components = 4; in etna_lower_io()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c48 tex->coord_components = tg4->coord_components; in ir3_nir_lower_tg4_to_tex_instr()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c47 txf->coord_components = txf_ms->coord_components; in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c1871 unsigned coord_components = 0, coord_bitsize = 0, offset_components = 0; in emit_tex() local
1880 coord_components = nir_src_num_components(tex->src[i].src); in emit_tex()
1965 if (proj && coord_components > 0) { in emit_tex()
1966 SpvId constituents[coord_components + 1]; in emit_tex()
1967 if (coord_components == 1) in emit_tex()
1970 assert(coord_components > 1); in emit_tex()
1972 for (uint32_t i = 0; i < coord_components; ++i) in emit_tex()
1979 constituents[coord_components++] = proj; in emit_tex()
1981 SpvId vec_type = get_fvec_type(ctx, 32, coord_components); in emit_tex()
1985 coord_components); in emit_tex()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c140 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
Dradv_meta.c602 tex->coord_components = 2; in radv_meta_build_resolve_shader_core()
619 tex_all_same->coord_components = 2; in radv_meta_build_resolve_shader_core()
638 tex_add->coord_components = 2; in radv_meta_build_resolve_shader_core()
Dradv_meta_fmask_expand.c87 tex->coord_components = 2; in build_fmask_expand_compute_shader()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c149 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp692 for (unsigned i = 0; i < instr->coord_components; ++i) in emit_tex_tg4()
695 int noffsets = instr->coord_components; in emit_tex_tg4()
869 sfn_log << SfnLog::tex << "Get Inputs with " << instr.coord_components << " components\n"; in get_inputs()
871 unsigned grad_components = instr.coord_components; in get_inputs()
886 (1 << instr.coord_components) - 1, in get_inputs()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c1862 if (instr->coord_components == 1) in visit_tex()
1865 for (unsigned chan = 0; chan < instr->coord_components; ++chan) in visit_tex()
1869 for (unsigned chan = instr->coord_components; chan < 5; chan++) in visit_tex()
1902 int deriv_cnt = instr->coord_components; in visit_tex()
1917 int deriv_cnt = instr->coord_components; in visit_tex()
1932 int offset_cnt = instr->coord_components; in visit_tex()
1971 for (unsigned chan = 0; chan < instr->coord_components; ++chan) in visit_tex()
1974 for (unsigned chan = 0; chan < instr->coord_components; ++chan) in visit_tex()
1984 for (unsigned chan = 0; chan < instr->coord_components; ++chan) in visit_tex()
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp4666 unsigned coord_components, in lower_sampler_logical_send_gen4() argument
4677 for (unsigned i = 0; i < coord_components; i++) in lower_sampler_logical_send_gen4()
4681 msg_end = offset(msg_end, bld, coord_components); in lower_sampler_logical_send_gen4()
4686 if (coord_components > 0 && in lower_sampler_logical_send_gen4()
4689 assert(coord_components <= 3); in lower_sampler_logical_send_gen4()
4690 for (unsigned i = 0; i < 3 - coord_components; i++) in lower_sampler_logical_send_gen4()
4693 msg_end = offset(msg_end, bld, 3 - coord_components); in lower_sampler_logical_send_gen4()
4701 if (coord_components < 2) in lower_sampler_logical_send_gen4()
4702 msg_end = offset(msg_end, bld, 2 - coord_components); in lower_sampler_logical_send_gen4()
4774 unsigned coord_components, in lower_sampler_logical_send_gen5() argument
[all …]
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c537 instr->coord_components = in ptn_tex()
565 instr->coord_components)); in ptn_tex()
588 if (instr->coord_components < 3) in ptn_tex()
/external/mesa3d/docs/relnotes/
D12.0.6.rst80 - spirv/nir: Don't increment coord_components for array lod queries

123