/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 71 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 …]
|
D | nir_lower_drawpixels.c | 133 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()
|
D | nir_lower_bitmap.c | 94 tex->coord_components = 2; in lower_bitmap() 101 (1 << tex->coord_components) - 1)); in lower_bitmap()
|
D | nir_instr_set.c | 153 hash = HASH(hash, instr->coord_components); in hash_tex() 308 if (tex1->coord_components != tex2->coord_components || in nir_instrs_equal()
|
D | nir_normalize_cubemap_coords.c | 69 if (tex->coord_components == 4) { in normalize_cubemap_coords_block()
|
D | nir.h | 1209 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()
|
D | nir_serialize.c | 581 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()
|
D | nir_clone.c | 414 ntex->coord_components = tex->coord_components; in clone_tex()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d40_tex.c | 73 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()
|
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() 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/ |
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/freedreno/ir3/ |
D | ir3_nir_lower_tg4_to_tex.c | 60 tex->coord_components = tg4->coord_components; in lower_tg4()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_txf_ms.c | 51 txf->coord_components = txf_ms->coord_components; in vc4_nir_lower_txf_ms_instr()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta.c | 514 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()
|
D | radv_meta_blit.c | 141 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()
|
D | radv_meta_bufimage.c | 100 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()
|
D | radv_meta_blit2d.c | 463 tex->coord_components = is_3d ? 3 : 2; in build_nir_texel_fetch() 506 tex->coord_components = 1; in build_nir_buffer_fetch()
|
D | radv_meta_fast_clear.c | 79 tex->coord_components = 2; in build_dcc_decompress_compute_shader()
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 588 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/ |
D | brw_fs.cpp | 3971 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 …]
|
D | brw_vec4.h | 268 int coord_components,
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_input_attachments.c | 96 tex->coord_components = 3; in try_lower_input_load()
|
D | anv_nir_lower_ycbcr_textures.c | 263 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 1282 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/ |
D | spirv_to_nir.c | 1940 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()
|