Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c71 switch (tex->coord_components) { in project_src()
170 if (tex->coord_components == 2) { in lower_offset()
173 } else if (tex->coord_components == 3) { in lower_offset()
202 nir_ssa_for_src(b, tex->src[i].src, tex->coord_components); in lower_rect()
218 assert(tex->coord_components == 2); in sample_plane()
228 plane_tex->coord_components = 2; in sample_plane()
349 txl->coord_components = tex->coord_components; in replace_gradient_with_lod()
589 nir_ssa_for_src(b, tex->src[i].src, tex->coord_components); in saturate_src()
594 assume(tex->coord_components >= 1); in saturate_src()
596 for (unsigned j = 0; j < tex->coord_components; j++) in saturate_src()
[all …]
Dnir_lower_drawpixels.c133 tex->coord_components = 2; in lower_color()
140 (1 << tex->coord_components) - 1)); in lower_color()
163 tex->coord_components = 2; in lower_color()
178 tex->coord_components = 2; in lower_color()
Dnir_lower_bitmap.c94 tex->coord_components = 2; in lower_bitmap()
101 (1 << tex->coord_components) - 1)); in lower_bitmap()
Dnir_instr_set.c153 hash = HASH(hash, instr->coord_components); in hash_tex()
308 if (tex1->coord_components != tex2->coord_components || in nir_instrs_equal()
Dnir_normalize_cubemap_coords.c69 if (tex->coord_components == 4) { in normalize_cubemap_coords_block()
Dnir.h1209 unsigned num_srcs, coord_components; member
1381 return instr->coord_components; in nir_tex_instr_src_size()
1390 return instr->coord_components - 1; in nir_tex_instr_src_size()
1392 return instr->coord_components; in nir_tex_instr_src_size()
1402 return instr->coord_components - 1; in nir_tex_instr_src_size()
1404 return instr->coord_components; in nir_tex_instr_src_size()
Dnir_serialize.c581 unsigned coord_components:3; member
605 .u.coord_components = tex->coord_components, in write_tex()
642 tex->coord_components = packed.u.coord_components; in read_tex()
Dnir_clone.c414 ntex->coord_components = tex->coord_components; in clone_tex()
/external/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c73 int non_array_components = instr->coord_components - instr->is_array; in v3d40_vir_emit_tex()
96 instr->coord_components - 1)); in v3d40_vir_emit_tex()
125 if (instr->coord_components >= 2) in v3d40_vir_emit_tex()
127 if (instr->coord_components >= 3) in v3d40_vir_emit_tex()
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()
114 if (instr->coord_components >= 2) in v3d33_vir_emit_tex()
118 if (instr->coord_components >= 3) in v3d33_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/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c60 tex->coord_components = tg4->coord_components; in lower_tg4()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c51 txf->coord_components = txf_ms->coord_components; in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/amd/vulkan/
Dradv_meta.c514 tex->coord_components = 2; in radv_meta_build_resolve_shader_core()
531 tex_all_same->coord_components = 2; in radv_meta_build_resolve_shader_core()
554 tex_add->coord_components = 2; in radv_meta_build_resolve_shader_core()
Dradv_meta_blit.c141 tex->coord_components = tex_pos->num_components; in build_nir_copy_fragment_shader()
195 tex->coord_components = tex_pos->num_components; in build_nir_copy_fragment_shader_depth()
249 tex->coord_components = tex_pos->num_components; in build_nir_copy_fragment_shader_stencil()
Dradv_meta_bufimage.c100 tex->coord_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader()
333 tex->coord_components = 1; in build_nir_btoi_compute_shader()
547 tex->coord_components = is_3d ? 3 : 2; in build_nir_itoi_compute_shader()
Dradv_meta_blit2d.c463 tex->coord_components = is_3d ? 3 : 2; in build_nir_texel_fetch()
506 tex->coord_components = 1; in build_nir_buffer_fetch()
Dradv_meta_fast_clear.c79 tex->coord_components = 2; in build_dcc_decompress_compute_shader()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c588 instr->coord_components = 1; in ptn_tex()
594 instr->coord_components = 2; in ptn_tex()
598 instr->coord_components = 3; in ptn_tex()
609 instr->coord_components, true)); in ptn_tex()
632 if (instr->coord_components < 3) in ptn_tex()
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp3971 unsigned coord_components, in lower_sampler_logical_send_gen4() argument
3982 for (unsigned i = 0; i < coord_components; i++) in lower_sampler_logical_send_gen4()
3986 msg_end = offset(msg_end, bld, coord_components); in lower_sampler_logical_send_gen4()
3991 if (coord_components > 0 && in lower_sampler_logical_send_gen4()
3994 for (unsigned i = coord_components; i < 3; i++) in lower_sampler_logical_send_gen4()
3997 msg_end = offset(msg_end, bld, 3 - coord_components); in lower_sampler_logical_send_gen4()
4005 if (coord_components < 2) in lower_sampler_logical_send_gen4()
4006 msg_end = offset(msg_end, bld, 2 - coord_components); in lower_sampler_logical_send_gen4()
4078 unsigned coord_components, in lower_sampler_logical_send_gen5() argument
4093 for (unsigned i = 0; i < coord_components; i++) in lower_sampler_logical_send_gen5()
[all …]
Dbrw_vec4.h268 int coord_components,
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_input_attachments.c96 tex->coord_components = 3; in try_lower_input_load()
Danv_nir_lower_ycbcr_textures.c263 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1282 instr->coord_components = 1; in ttn_tex()
1288 instr->coord_components = 2; in ttn_tex()
1292 instr->coord_components = 3; in ttn_tex()
1300 instr->coord_components++; in ttn_tex()
1324 instr->coord_components, false)); in ttn_tex()
1383 if (instr->coord_components == 4) in ttn_tex()
1385 else if (instr->coord_components == 3) in ttn_tex()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1940 unsigned coord_components; in vtn_handle_texture() local
1958 coord_components = 1; in vtn_handle_texture()
1963 coord_components = 2; in vtn_handle_texture()
1967 coord_components = 3; in vtn_handle_texture()
1974 coord_components++; in vtn_handle_texture()
1978 (1 << coord_components) - 1)); in vtn_handle_texture()
1986 coord_components = 0; in vtn_handle_texture()
1996 p->src = nir_src_for_ssa(nir_channel(&b->nb, coord, coord_components)); in vtn_handle_texture()
2079 instr->coord_components = coord_components; in vtn_handle_texture()
2147 instrs[i]->coord_components = instr->coord_components; in vtn_handle_texture()

12