Home
last modified time | relevance | path

Searched refs:sampler_dim (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c113 txs->sampler_dim = tex->sampler_dim; in get_texture_size()
153 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_offset()
208 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect()
226 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane()
340 txl->sampler_dim = tex->sampler_dim; in replace_gradient_with_lod()
381 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map()
529 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient()
535 switch (tex->sampler_dim) { in lower_gradient()
606 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in saturate_src()
738 bool lower_txp = !!(options->lower_txp & (1 << tex->sampler_dim)); in nir_lower_tex_block()
[all …]
Dnir_lower_drawpixels.c132 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
162 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
177 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
Dnir_instr_set.c154 hash = HASH(hash, instr->sampler_dim); in hash_tex()
309 tex1->sampler_dim != tex2->sampler_dim || in nir_instrs_equal()
Dnir_normalize_cubemap_coords.c46 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in normalize_cubemap_coords_block()
Dnir_lower_bitmap.c93 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_bitmap()
Dnir_serialize.c579 enum glsl_sampler_dim sampler_dim:4; member
603 .u.sampler_dim = tex->sampler_dim, in write_tex()
640 tex->sampler_dim = packed.u.sampler_dim; in read_tex()
Dnir_clone.c406 ntex->sampler_dim = tex->sampler_dim; in clone_tex()
Dnir.h1203 enum glsl_sampler_dim sampler_dim; member
1267 switch (instr->sampler_dim) { in nir_tex_instr_dest_size()
1399 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in nir_tex_instr_src_size()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1124 instr->sampler_dim = GLSL_SAMPLER_DIM_BUF; in setup_texture_info()
1127 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info()
1130 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info()
1134 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info()
1138 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info()
1143 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in setup_texture_info()
1146 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in setup_texture_info()
1150 instr->sampler_dim = GLSL_SAMPLER_DIM_MS; in setup_texture_info()
1153 instr->sampler_dim = GLSL_SAMPLER_DIM_MS; in setup_texture_info()
1157 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in setup_texture_info()
[all …]
/external/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c60 .unnormalized_coordinates = (instr->sampler_dim == in v3d40_vir_emit_tex()
175 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex()
177 } else if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_vir_emit_tex()
Dv3d33_tex.c47 switch (instr->sampler_dim) { in v3d33_vir_emit_tex()
162 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in v3d33_vir_emit_tex()
Dv3d_nir_lower_txf_ms.c66 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c59 tex->sampler_dim = tg4->sampler_dim; in lower_tg4()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c165 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
259 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c566 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in ptn_tex()
569 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in ptn_tex()
572 instr->sampler_dim = GLSL_SAMPLER_DIM_3D; in ptn_tex()
575 instr->sampler_dim = GLSL_SAMPLER_DIM_CUBE; in ptn_tex()
578 instr->sampler_dim = GLSL_SAMPLER_DIM_RECT; in ptn_tex()
585 switch (instr->sampler_dim) { in ptn_tex()
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h44 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms_mcs()
Dblorp_blit.c217 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in blorp_nir_tex()
233 tex->sampler_dim = GLSL_SAMPLER_DIM_3D; in blorp_nir_txf()
250 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms()
278 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_blit_txf_ms_mcs()
/external/mesa3d/src/amd/vulkan/
Dradv_meta.c506 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
525 tex_all_same->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
546 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
Dradv_meta_blit.c135 tex->sampler_dim = tex_dim; in build_nir_copy_fragment_shader()
189 tex->sampler_dim = tex_dim; in build_nir_copy_fragment_shader_depth()
243 tex->sampler_dim = tex_dim; in build_nir_copy_fragment_shader_stencil()
Dradv_meta_bufimage.c92 tex->sampler_dim = dim; in build_nir_itob_compute_shader()
325 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_btoi_compute_shader()
539 tex->sampler_dim = dim; in build_nir_itoi_compute_shader()
Dradv_meta_blit2d.c455 tex->sampler_dim = dim; in build_nir_texel_fetch()
500 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_buffer_fetch()
Dradv_meta_fast_clear.c71 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in build_dcc_decompress_compute_shader()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c2207 txq_args.da = instr->is_array || instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE; in radv_lower_gather4_integer()
2249 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in radv_lower_gather4_integer()
2285 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in radv_lower_gather4_integer()
2310 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic()
2334 instr->sampler_dim == GLSL_SAMPLER_DIM_MS ? in build_tex_intrinsic()
4743 bool da = instr->is_array || instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE; in set_tex_fetch_args()
4759 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF && op == nir_texop_txf) { in set_tex_fetch_args()
4803 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) in tex_fetch_ptrs()
4812 if (instr->sampler_dim < GLSL_SAMPLER_DIM_RECT) in tex_fetch_ptrs()
4892 if (instr->op == nir_texop_txs && instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in visit_tex()
[all …]
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1880 const enum glsl_sampler_dim sampler_dim = glsl_get_sampler_dim(image_type); in vtn_handle_texture() local
1955 switch (sampler_dim) { in vtn_handle_texture()
2080 instr->sampler_dim = sampler_dim; in vtn_handle_texture()
2148 instrs[i]->sampler_dim = instr->sampler_dim; in vtn_handle_texture()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c429 if (instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in ntq_emit_tex()
433 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in ntq_emit_tex()
480 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in ntq_emit_tex()
487 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE || is_txl) { in ntq_emit_tex()
493 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in ntq_emit_tex()

12