Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_readonly_images_to_tex.c131 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()
Dnir_lower_tex.c103 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 …]
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_bitmap.c97 tex->coord_components = 2; in lower_bitmap()
106 (1 << tex->coord_components) - 1)); in lower_bitmap()
Dnir_lower_input_attachments.c125 tex->coord_components = 3; in try_lower_input_load()
176 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.c385 tql->coord_components = tex->coord_components; in nir_get_texture_lod()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d33_tex.c83 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()
Dv3d40_tex.c123 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/
Ddxil_nir_lower_int_samplers.c64 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/
Detnaviv_nir.c124 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/
Dir3_nir_lower_tg4_to_tex.c48 tex->coord_components = tg4->coord_components; in ir3_nir_lower_tg4_to_tex_instr()
/third_party/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h49 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/
Dvc4_nir_lower_txf_ms.c47 txf->coord_components = txf_ms->coord_components; in vc4_nir_lower_txf_ms_instr()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp398 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/
Dradv_nir_lower_ycbcr_textures.c148 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
Dradv_meta.c632 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/
Danv_nir_lower_ycbcr_textures.c149 tex->coord_components = old_tex->coord_components; in create_plane_tex_instr_implicit()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp2815 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/
Dagx_blit.c51 tex->coord_components = 2; in agx_build_reload_shader()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs.cpp4903 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/
Dst_atifs_to_nir.c367 tex->coord_components = in compile_setupinst()
377 (1 << tex->coord_components) - 1)); in compile_setupinst()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c556 instr->coord_components = in ptn_tex()
584 instr->coord_components)); in ptn_tex()
607 if (instr->coord_components < 3) in ptn_tex()

123