/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_readonly_images_to_tex.c | 131 unsigned coord_components = in lower_readonly_image_op() local 134 coord_components++; in lower_readonly_image_op() 144 tex->coord_components = coord_components; in lower_readonly_image_op() 150 (1 << tex->coord_components) - 1); in lower_readonly_image_op() 176 coord_components, 32, NULL); in lower_readonly_image_op()
|
D | nir_lower_tex.c | 103 switch (tex->coord_components) { in project_src() 173 if (tex->coord_components == 2) { in lower_offset() 176 } else if (tex->coord_components == 3) { in lower_offset() 207 nir_ssa_for_src(b, tex->src[coord_index].src, tex->coord_components); in lower_rect() 225 nir_ssa_for_src(b, tex->src[coord_index].src, tex->coord_components); in lower_rect_tex_scale() 287 assert(tex->coord_components == 2); in sample_plane() 300 plane_tex->coord_components = 2; in sample_plane() 767 txd->coord_components = tex->coord_components; in lower_tex_to_txd() 803 txl->coord_components = tex->coord_components; in lower_txb_to_txl() 843 nir_ssa_for_src(b, tex->src[coord_index].src, tex->coord_components); in saturate_src() [all …]
|
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_bitmap.c | 97 tex->coord_components = 2; in lower_bitmap() 106 (1 << tex->coord_components) - 1)); in lower_bitmap()
|
D | nir_lower_input_attachments.c | 125 tex->coord_components = 3; in try_lower_input_load() 176 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 | 385 tql->coord_components = tex->coord_components; in nir_get_texture_lod()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d33_tex.c | 83 for (int j = 0; j < instr->coord_components; j++) { in v3d33_vir_emit_tex() 87 if (instr->coord_components < 2) in v3d33_vir_emit_tex() 119 if (instr->coord_components >= 2) in v3d33_vir_emit_tex() 123 if (instr->coord_components >= 3) in v3d33_vir_emit_tex()
|
D | v3d40_tex.c | 123 instr->coord_components - 1); in handle_tex_src() 207 instr->coord_components - instr->is_array : in vir_tex_handle_srcs() 208 instr->coord_components; in vir_tex_handle_srcs()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_samplers.c | 64 unsigned coord_components = tex->coord_components; in dx_get_texture_lod() local 66 --coord_components; in dx_get_texture_lod() 68 tql->coord_components = coord_components; in dx_get_texture_lod() 82 (1 << coord_components) - 1); in dx_get_texture_lod() 267 txf->coord_components = tex->coord_components; in create_txf_from_tex() 300 switch (tex->coord_components) { in load_texel() 429 params.ncoord_comp = tex->coord_components; in lower_sample_to_txf_for_integer_tex_impl()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_nir.c | 124 assert(coord && lod_bias && tex->coord_components < 4); in etna_lower_io() 127 for (unsigned i = 0; i < tex->coord_components; i++) { in etna_lower_io() 131 for (unsigned i = tex->coord_components; i < 4; i++) in etna_lower_io() 139 tex->coord_components = 4; in etna_lower_io()
|
/third_party/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()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_nir_builder.h | 49 tex->coord_components = 3; in blorp_nir_txf_ms_mcs() 55 tex->coord_components = 2; in blorp_nir_txf_ms_mcs()
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_emittexinstruction.cpp | 398 for (unsigned i = 0; i < instr->coord_components; ++i) in emit_tex_tg4() 401 int noffsets = instr->coord_components; in emit_tex_tg4() 527 sfn_log << SfnLog::tex << "Get Inputs with " << instr.coord_components << " components\n"; in get_inputs() 529 unsigned grad_components = instr.coord_components; in get_inputs() 544 (1 << instr.coord_components) - 1, in get_inputs()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 148 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
|
D | radv_meta.c | 632 tex->coord_components = 2; in radv_meta_build_resolve_shader_core() 649 tex_all_same->coord_components = 2; in radv_meta_build_resolve_shader_core() 668 tex_add->coord_components = 2; in radv_meta_build_resolve_shader_core()
|
/third_party/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()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_hlsl.cpp | 2815 uint32_t coord_components = 0; in emit_texture_op() local 2819 coord_components = 1; in emit_texture_op() 2822 coord_components = 2; in emit_texture_op() 2825 coord_components = 3; in emit_texture_op() 2828 coord_components = 3; in emit_texture_op() 2831 coord_components = 1; in emit_texture_op() 2834 coord_components = 2; in emit_texture_op() 2842 coord_components++; in emit_texture_op() 3047 if (coord_components != coord_type.vecsize) in emit_texture_op() 3048 …coord_expr = to_enclosed_expression(coord) + swizzle(coord_components, expression_type(coord).vecs… in emit_texture_op() [all …]
|
/third_party/mesa3d/src/gallium/drivers/asahi/ |
D | agx_blit.c | 51 tex->coord_components = 2; in agx_build_reload_shader()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs.cpp | 4903 unsigned coord_components, in lower_sampler_logical_send_gfx4() argument 4914 for (unsigned i = 0; i < coord_components; i++) in lower_sampler_logical_send_gfx4() 4918 msg_end = offset(msg_end, bld, coord_components); in lower_sampler_logical_send_gfx4() 4923 if (coord_components > 0 && in lower_sampler_logical_send_gfx4() 4926 assert(coord_components <= 3); in lower_sampler_logical_send_gfx4() 4927 for (unsigned i = 0; i < 3 - coord_components; i++) in lower_sampler_logical_send_gfx4() 4930 msg_end = offset(msg_end, bld, 3 - coord_components); in lower_sampler_logical_send_gfx4() 4938 if (coord_components < 2) in lower_sampler_logical_send_gfx4() 4939 msg_end = offset(msg_end, bld, 2 - coord_components); in lower_sampler_logical_send_gfx4() 5011 unsigned coord_components, in lower_sampler_logical_send_gfx5() argument [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atifs_to_nir.c | 367 tex->coord_components = in compile_setupinst() 377 (1 << tex->coord_components) - 1)); in compile_setupinst()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 556 instr->coord_components = in ptn_tex() 584 instr->coord_components)); in ptn_tex() 607 if (instr->coord_components < 3) in ptn_tex()
|