Home
last modified time | relevance | path

Searched refs:is_3d (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/freedreno/fdl/
Dfd5_layout.c36 bool is_3d) in fdl5_layout() argument
49 layout->layer_first = !is_3d; in fdl5_layout()
86 const int alignment = is_3d ? 4096 : 1; in fdl5_layout()
94 if (is_3d && (level == 1 || in fdl5_layout()
Dfd6_layout.c101 bool is_3d, struct fdl_explicit_layout *explicit_layout) in fdl6_layout() argument
117 layout->layer_first = !is_3d; in fdl6_layout()
195 if (is_3d && tile_mode) { in fdl6_layout()
223 if (is_3d) { in fdl6_layout()
Dfd5_layout_test.c62 .is_3d = true,
83 .is_3d = true,
Dfd_layout_test.c53 MAX2(testcase->array_size, 1), testcase->is_3d, NULL); in fdl_test_layout()
60 MAX2(testcase->array_size, 1), testcase->is_3d); in fdl_test_layout()
Dfreedreno_layout.h238 bool is_3d);
243 bool is_3d, struct fdl_explicit_layout *plane_layout);
Dfd_layout_test.h28 bool is_3d; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c36 build_nir_itob_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_itob_compute_shader() argument
38 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_itob_compute_shader()
42 is_3d ? "meta_itob_cs_3d" : "meta_itob_cs"); in build_nir_itob_compute_shader()
54 nir_ssa_def *global_id = get_global_ids(&b, is_3d ? 3 : 2); in build_nir_itob_compute_shader()
57 nir_load_push_constant(&b, is_3d ? 3 : 2, 32, nir_imm_int(&b, 0), .range = 16); in build_nir_itob_compute_shader()
67 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, img_coord, is_3d ? 0x7 : 0x3)); in build_nir_itob_compute_shader()
74 tex->coord_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader()
217 build_nir_btoi_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_btoi_compute_shader() argument
219 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_btoi_compute_shader()
224 is_3d ? "meta_btoi_cs_3d" : "meta_btoi_cs"); in build_nir_btoi_compute_shader()
[all …]
Dradv_meta_blit2d.c466 bool is_3d, bool is_multisampled) in build_nir_texel_fetch() argument
468 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D in build_nir_texel_fetch()
478 if (is_3d) { in build_nir_texel_fetch()
498 tex->src[0].src = nir_src_for_ssa(is_3d ? tex_pos_3d : tex_pos); in build_nir_texel_fetch()
509 tex->coord_components = is_3d ? 3 : 2; in build_nir_texel_fetch()
519 bool is_3d, bool is_multisampled) in build_nir_buffer_fetch() argument
561 const char *name, bool is_3d, bool is_multisampled) in build_nir_copy_fragment_shader() argument
576 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d, is_multisampled); in build_nir_copy_fragment_shader()
584 const char *name, bool is_3d, bool is_multisampled) in build_nir_copy_fragment_shader_depth() argument
599 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d, is_multisampled); in build_nir_copy_fragment_shader_depth()
[all …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_texture.c184 bool is_3d = layout->dim == MALI_TEXTURE_DIMENSION_3D; in pan_image_layout_init() local
254 if (is_3d) { in pan_image_layout_init()
317 bool is_3d = iview->image->layout.dim == MALI_TEXTURE_DIMENSION_3D; in pan_iview_get_surface() local
324 if (is_3d) { in pan_iview_get_surface()
340 unsigned array_idx = is_3d ? 0 : layer; in pan_iview_get_surface()
341 unsigned surface_idx = is_3d ? layer : sample; in pan_iview_get_surface()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c333 bool is_3d = mt->base.base.target == PIPE_TEXTURE_3D; in nv30_miptree_transfer_map() local
339 if (is_3d && mt->swizzled) in nv30_miptree_transfer_map()
341 else if (is_3d) in nv30_miptree_transfer_map()
383 bool is_3d = mt->base.base.target == PIPE_TEXTURE_3D; in nv30_miptree_transfer_unmap() local
386 if (is_3d && mt->swizzled) in nv30_miptree_transfer_unmap()
388 else if (is_3d) in nv30_miptree_transfer_unmap()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c33 bool is_3d) in nv50_tex_choose_tile_dims_helper() argument
45 if (!is_3d) in nv50_tex_choose_tile_dims_helper()
62 nv50_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz, bool is_3d) in nv50_tex_choose_tile_dims() argument
64 return nv50_tex_choose_tile_dims_helper(nx, ny * 2, nz, is_3d); in nv50_tex_choose_tile_dims()
Dnv50_resource.h38 bool is_3d);
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c92 config.is_3d = type == RADEON_SURF_TYPE_3D; in radv_amdgpu_winsys_surface_init()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c93 config.is_3d = tex->target == PIPE_TEXTURE_3D; in amdgpu_surface_init()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c35 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz, bool is_3d) in nvc0_tex_choose_tile_dims() argument
37 return nv50_tex_choose_tile_dims_helper(nx, ny, nz, is_3d); in nvc0_tex_choose_tile_dims()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c272 if (config->is_3d) in si_compute_cmask()
429 config.is_3d = !!(tex->target == PIPE_TEXTURE_3D); in radeon_winsys_surface_init()
/third_party/mesa3d/src/amd/common/
Dac_surface.h413 unsigned is_3d : 1; member
Dac_surface.c562 if (config->is_3d && config->info.array_size > 1) in surf_config_sanity()
608 if (config->is_3d) in gfx6_compute_level()
818 if (!config->is_3d && !config->is_cube && !(surf->flags & RADEON_SURF_Z_OR_SBUFFER) && in get_display_flag()
940 if (config->is_3d) in ac_compute_cmask()
2108 if (config->is_3d) in gfx9_compute_surface()
2118 if (config->is_3d) in gfx9_compute_surface()
2269 if (!config->is_3d && !config->is_cube) { in gfx9_compute_surface()
2300 if (info->has_graphics && !compressed && !config->is_3d && config->info.levels == 1 && in gfx9_compute_surface()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1479 bool is_3d = rsrc->base.target == PIPE_TEXTURE_3D; in emit_image_bufs() local
1485 is_3d ? 0 : image->u.tex.first_layer, in emit_image_bufs()
1486 is_3d ? image->u.tex.first_layer : 0); in emit_image_bufs()
1524 cfg.r_dimension = is_3d ? in emit_image_bufs()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.cpp2627 Value *is_3d = bld.mkOp2v(OP_AND, TYPE_U32, bld.getSSA(), v, bld.mkImm(1)); in processSurfaceCoordsGM107() local
2629 TYPE_U32, bld.mkImm(0), is_3d); in processSurfaceCoordsGM107()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c2977 const bool is_3d = res->surf.dim == ISL_SURF_DIM_3D; in crocus_create_surface() local
2980 is_3d ? 0 : view->base_array_layer, in crocus_create_surface()
2981 is_3d ? view->base_array_layer : 0, in crocus_create_surface()