Home
last modified time | relevance | path

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

123

/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c152 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_offset()
195 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect()
262 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane()
472 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map()
620 if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gradient()
625 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient()
631 switch (tex->sampler_dim) { in lower_gradient()
703 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in saturate_src()
933 tex_copy->sampler_dim = tex->sampler_dim; in lower_tg4_offsets()
1019 bool lower_txp = !!(options->lower_txp & (1 << tex->sampler_dim)); in nir_lower_tex_block()
[all …]
Dnir_lower_cl_images_to_tex.c75 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_cl_images_to_tex_impl()
80 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in lower_cl_images_to_tex_impl()
Dnir_lower_drawpixels.c147 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
187 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
206 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
Dnir_builtin_builder.c319 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size()
373 tql->sampler_dim = tex->sampler_dim; in nir_get_texture_lod()
Dnir_lower_fb_read.c61 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_fb_read()
Dnir_normalize_cubemap_coords.c46 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in normalize_cubemap_coords_block()
Dnir_lower_bitmap.c97 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_bitmap()
Dnir_instr_set.c271 hash = HASH(hash, instr->sampler_dim); in hash_tex()
661 tex1->sampler_dim != tex2->sampler_dim || in nir_instrs_equal()
Dnir_lower_input_attachments.c109 tex->sampler_dim = image_dim; in try_lower_input_load()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp179 tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) { in r600_nir_lower_int_tg4_impl()
181 if (tex->sampler_dim != GLSL_SAMPLER_DIM_RECT) in r600_nir_lower_int_tg4_impl()
262 } else if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_txl_txf_array_or_cube()
298 (tex->is_array || tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE)) in r600_nir_lower_txl_txf_array_or_cube_impl()
Dsfn_emittexinstruction.cpp46 if (ir->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in do_emit()
69 } else if (ir->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in do_emit()
499 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf()
625 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in emit_tex_txs()
843 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf_ms()
967 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in set_rect_coordinate_flags()
989 int src_idx = instr.sampler_dim == GLSL_SAMPLER_DIM_1D ? 1 : 2; in handle_array_index()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c47 tex->sampler_dim = tg4->sampler_dim; in ir3_nir_lower_tg4_to_tex_instr()
Dir3_nir_lower_tex_prefetch.c179 if (tex->sampler_dim != GLSL_SAMPLER_DIM_2D || tex->is_array) in lower_tex_prefetch_block()
/external/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c132 instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_vir_emit_tex()
232 .unnormalized_coordinates = (instr->sampler_dim == in v3d40_vir_emit_tex()
284 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex()
286 } 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()
154 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 v3d_nir_lower_txf_ms_instr()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c47 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
135 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
Dradv_meta.c592 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
611 tex_all_same->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
628 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
145 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c518 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in ptn_tex()
521 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in ptn_tex()
524 instr->sampler_dim = GLSL_SAMPLER_DIM_3D; in ptn_tex()
527 instr->sampler_dim = GLSL_SAMPLER_DIM_CUBE; in ptn_tex()
530 instr->sampler_dim = GLSL_SAMPLER_DIM_RECT; in ptn_tex()
538 glsl_get_sampler_dim_coordinate_components(instr->sampler_dim); in ptn_tex()
543 glsl_sampler_type(instr->sampler_dim, instr->is_shadow, false, GLSL_TYPE_FLOAT); in ptn_tex()
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c449 switch (instr->sampler_dim) { in ppir_emit_tex()
456 ppir_error("unsupported sampler dim: %d\n", instr->sampler_dim); in ppir_emit_tex()
471 node->sampler_dim = instr->sampler_dim; in ppir_emit_tex()
529 if (node->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in ppir_emit_tex()
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h44 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms_mcs()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c1267 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer()
1293 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_gather4_integer()
1302 if (instr->sampler_dim == GLSL_SAMPLER_DIM_2D && !instr->is_array) { in lower_gather4_integer()
1328 resinfo.dim = ac_get_sampler_dim(ctx->chip_class, instr->sampler_dim, instr->is_array); in lower_gather4_integer()
1365 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer()
1405 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic()
1420 args->opcode = args->level_zero || instr->sampler_dim == GLSL_SAMPLER_DIM_MS in build_tex_intrinsic()
4019 instr->sampler_dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE; in tex_fetch_ptrs()
4023 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_BUF); in tex_fetch_ptrs()
4041 if (instr->sampler_dim < GLSL_SAMPLER_DIM_RECT) in tex_fetch_ptrs()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c152 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in etna_lower_io()
/external/mesa3d/src/panfrost/lib/
Dpan_blit.c85 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in panfrost_build_blit_shader()
94 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in panfrost_build_blit_shader()

123