/external/mesa3d/src/compiler/nir/ |
D | nir_lower_cl_images_to_tex.c | 79 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()
|
D | nir_lower_drawpixels.c | 148 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()
|
D | nir_lower_tex.c | 99 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 …]
|
D | nir_lower_bitmap.c | 98 tex->coord_components = 2; in lower_bitmap() 107 (1 << tex->coord_components) - 1)); in lower_bitmap()
|
D | nir_lower_input_attachments.c | 135 tex->coord_components = 3; in try_lower_input_load() 177 tex->coord_components = 3; in try_lower_input_texop()
|
D | nir_lower_fb_read.c | 62 tex->coord_components = 2; in lower_fb_read()
|
D | nir_normalize_cubemap_coords.c | 69 if (tex->coord_components == 4) { in normalize_cubemap_coords_block()
|
D | nir_instr_set.c | 270 hash = HASH(hash, instr->coord_components); in hash_tex() 660 if (tex1->coord_components != tex2->coord_components || in nir_instrs_equal()
|
D | nir_builtin_builder.c | 372 tql->coord_components = tex->coord_components; in nir_get_texture_lod()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d33_tex.c | 76 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()
|
D | v3d40_tex.c | 85 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/ |
D | blorp_nir_builder.h | 50 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/ |
D | etnaviv_nir.c | 174 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/ |
D | ir3_nir_lower_tg4_to_tex.c | 48 tex->coord_components = tg4->coord_components; in ir3_nir_lower_tg4_to_tex_instr()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_txf_ms.c | 47 txf->coord_components = txf_ms->coord_components; in vc4_nir_lower_txf_ms_instr()
|
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 1871 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/ |
D | radv_nir_lower_ycbcr_textures.c | 140 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
|
D | radv_meta.c | 602 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()
|
D | radv_meta_fmask_expand.c | 87 tex->coord_components = 2; in build_fmask_expand_compute_shader()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 149 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_emittexinstruction.cpp | 692 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/ |
D | lp_bld_nir.c | 1862 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/ |
D | brw_fs.cpp | 4666 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/ |
D | prog_to_nir.c | 537 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/ |
D | 12.0.6.rst | 80 - spirv/nir: Don't increment coord_components for array lod queries
|