Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex.c156 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_offset()
199 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect()
298 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane()
554 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map()
702 if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gradient()
707 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient()
713 switch (tex->sampler_dim) { in lower_gradient()
765 txd->sampler_dim = tex->sampler_dim; in lower_tex_to_txd()
801 txl->sampler_dim = tex->sampler_dim; in lower_txb_to_txl()
860 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in saturate_src()
[all …]
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_lower_readonly_images_to_tex.c127 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_readonly_image_op()
132 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in lower_readonly_image_op()
Dnir_builtin_builder.c332 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size()
386 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.c96 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()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp197 tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) { in r600_nir_lower_int_tg4_impl()
199 if (tex->sampler_dim != GLSL_SAMPLER_DIM_RECT) in r600_nir_lower_int_tg4_impl()
280 } else if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_txl_txf_array_or_cube()
316 (tex->is_array || tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE)) in r600_nir_lower_txl_txf_array_or_cube_impl()
342 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in r600_nir_lower_cube_to_2darray_filer()
395 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in r600_nir_lower_cube_to_2darray_impl()
Dsfn_emittexinstruction.cpp46 if (ir->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in do_emit()
192 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf()
322 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in emit_tex_txs()
340 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in emit_tex_txs()
501 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf_ms()
624 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in set_rect_coordinate_flags()
646 int src_idx = instr.sampler_dim == GLSL_SAMPLER_DIM_1D ? 1 : 2; in handle_array_index()
/third_party/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.c175 if (tex->sampler_dim != GLSL_SAMPLER_DIM_2D || tex->is_array) in lower_tex_prefetch_block()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d33_tex.c54 switch (instr->sampler_dim) { in v3d33_vir_emit_tex()
161 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in v3d33_vir_emit_tex()
Dv3d40_tex.c146 instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in handle_tex_src()
319 .unnormalized_coordinates = (instr->sampler_dim == in v3d40_vir_emit_tex()
372 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex()
374 } else if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_vir_emit_tex()
Dv3d_nir_lower_txf_ms.c66 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in v3d_nir_lower_txf_ms_instr()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c48 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
143 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
/third_party/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()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c351 enum glsl_sampler_dim sampler_dim = in compile_setupinst() local
354 glsl_sampler_type(sampler_dim, false, false, GLSL_TYPE_FLOAT); in compile_setupinst()
365 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in compile_setupinst()
368 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in compile_setupinst()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c69 tql->sampler_dim = tex->sampler_dim; in dx_get_texture_lod()
268 txf->sampler_dim = tex->sampler_dim; in create_txf_from_tex()
/third_party/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()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blitter.c488 enum glsl_sampler_dim sampler_dim; in pan_blitter_get_blit_shader() local
492 sampler_dim = GLSL_SAMPLER_DIM_1D; in pan_blitter_get_blit_shader()
495 sampler_dim = ms ? in pan_blitter_get_blit_shader()
500 sampler_dim = GLSL_SAMPLER_DIM_3D; in pan_blitter_get_blit_shader()
503 sampler_dim = GLSL_SAMPLER_DIM_CUBE; in pan_blitter_get_blit_shader()
528 tex->sampler_dim = sampler_dim; in pan_blitter_get_blit_shader()
558 tex->sampler_dim = sampler_dim; in pan_blitter_get_blit_shader()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_int_cubemap_to_array.c38 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in lower_int_cubmap_to_array_filter()
120 array_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in create_array_tex_from_cube_tex()
/third_party/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h43 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms_mcs()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c1387 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer()
1413 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_gather4_integer()
1422 if (instr->sampler_dim == GLSL_SAMPLER_DIM_2D && !instr->is_array) { in lower_gather4_integer()
1448 resinfo.dim = ac_get_sampler_dim(ctx->chip_class, instr->sampler_dim, instr->is_array); in lower_gather4_integer()
1485 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer()
1527 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic()
1548 args->opcode = args->level_zero || instr->sampler_dim == GLSL_SAMPLER_DIM_MS in build_tex_intrinsic()
4507 instr->sampler_dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE; in tex_fetch_ptrs()
4511 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_BUF); in tex_fetch_ptrs()
4529 if (instr->sampler_dim < GLSL_SAMPLER_DIM_RECT) in tex_fetch_ptrs()
[all …]
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_blit.c47 tex->sampler_dim = GLSL_SAMPLER_DIM_RECT; in agx_build_reload_shader()

123