/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_bufimage.c | 33 build_nir_itob_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_itob_compute_shader() argument 35 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_itob_compute_shader() 39 radv_meta_init_shader(dev, MESA_SHADER_COMPUTE, is_3d ? "meta_itob_cs_3d" : "meta_itob_cs"); in build_nir_itob_compute_shader() 50 nir_ssa_def *global_id = get_global_ids(&b, is_3d ? 3 : 2); in build_nir_itob_compute_shader() 53 nir_load_push_constant(&b, is_3d ? 3 : 2, 32, nir_imm_int(&b, 0), .range = is_3d ? 12 : 8); in build_nir_itob_compute_shader() 63 tex->src[0].src = nir_src_for_ssa(nir_trim_vector(&b, img_coord, 2 + is_3d)); in build_nir_itob_compute_shader() 70 tex->coord_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader() 208 build_nir_btoi_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_btoi_compute_shader() argument 210 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_btoi_compute_shader() 215 radv_meta_init_shader(dev, MESA_SHADER_COMPUTE, is_3d ? "meta_btoi_cs_3d" : "meta_btoi_cs"); in build_nir_btoi_compute_shader() [all …]
|
D | radv_meta_blit2d.c | 431 bool is_3d, bool is_multisampled) in build_nir_texel_fetch() argument 433 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D in build_nir_texel_fetch() 443 if (is_3d) { in build_nir_texel_fetch() 463 tex->src[0].src = nir_src_for_ssa(is_3d ? tex_pos_3d : tex_pos); in build_nir_texel_fetch() 474 tex->coord_components = is_3d ? 3 : 2; in build_nir_texel_fetch() 484 bool is_3d, bool is_multisampled) in build_nir_buffer_fetch() argument 526 const char *name, bool is_3d, bool is_multisampled) in build_nir_copy_fragment_shader() argument 541 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d, is_multisampled); in build_nir_copy_fragment_shader() 551 const char *name, bool is_3d, bool is_multisampled) in build_nir_copy_fragment_shader_depth() argument 566 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d, is_multisampled); in build_nir_copy_fragment_shader_depth() [all …]
|
D | radv_meta_etc_decode.c | 203 nir_ssa_def *is_3d = nir_ieq_imm(&b, image_type, VK_IMAGE_TYPE_3D); in build_shader() local 211 nir_push_if(&b, is_3d); in build_shader() 506 nir_push_if(&b, is_3d); in build_shader()
|
/third_party/mesa3d/src/freedreno/fdl/ |
D | fd6_layout_test.c | 690 .is_3d = true, 713 .is_3d = true, 738 .is_3d = true, 763 .is_3d = true, 794 .is_3d = true, 819 .is_3d = true, 847 .is_3d = true, 875 .is_3d = true, 901 .is_3d = true,
|
D | fd5_layout.c | 36 bool is_3d) in fdl5_layout() argument 49 layout->layer_first = !is_3d; in fdl5_layout() 93 if (is_3d) { in fdl5_layout()
|
D | fd5_layout_test.c | 62 .is_3d = true, 83 .is_3d = true,
|
D | fd6_layout.c | 107 bool is_3d, struct fdl_explicit_layout *explicit_layout) in fdl6_layout() argument 124 layout->layer_first = !is_3d; in fdl6_layout() 224 if (is_3d) { in fdl6_layout()
|
D | fd_layout_test.c | 54 MAX2(testcase->array_size, 1), testcase->is_3d, NULL); in fdl_test_layout() 61 MAX2(testcase->array_size, 1), testcase->is_3d); in fdl_test_layout()
|
D | freedreno_layout.h | 239 bool is_3d); 244 bool is_3d, struct fdl_explicit_layout *plane_layout);
|
D | fd_layout_test.h | 28 bool is_3d; member
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_layout.c | 339 bool is_3d = layout->dim == MALI_TEXTURE_DIMENSION_3D; in pan_image_layout_init() local 414 if (is_3d) { in pan_image_layout_init() 483 bool is_3d = iview->image->layout.dim == MALI_TEXTURE_DIMENSION_3D; in pan_iview_get_surface() local 490 if (is_3d) { in pan_iview_get_surface() 506 unsigned array_idx = is_3d ? 0 : layer; in pan_iview_get_surface() 507 unsigned surface_idx = is_3d ? layer : sample; in pan_iview_get_surface()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_image.c | 135 bool is_3d = image->pimage.layout.dim == MALI_TEXTURE_DIMENSION_3D; in panvk_per_arch() local 139 is_3d ? 0 : view->pview.first_layer, in panvk_per_arch() 140 is_3d ? view->pview.first_layer : 0); in panvk_per_arch()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 333 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/ |
D | nv50_miptree.c | 33 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()
|
D | nv50_resource.h | 38 bool is_3d);
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_surface.c | 92 config.is_3d = type == RADEON_SURF_TYPE_3D; in radv_amdgpu_winsys_surface_init()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_surface.c | 93 config.is_3d = tex->target == PIPE_TEXTURE_3D; in amdgpu_surface_init()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_miptree.c | 35 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/ |
D | radeon_drm_surface.c | 272 if (config->is_3d) in si_compute_cmask() 425 config.is_3d = !!(tex->target == PIPE_TEXTURE_3D); in radeon_winsys_surface_init()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_device.c | 550 dzn_physical_device_get_max_mip_level(bool is_3d) in dzn_physical_device_get_max_mip_level() argument 552 return is_3d ? 11 : 14; in dzn_physical_device_get_max_mip_level() 556 dzn_physical_device_get_max_extent(bool is_3d) in dzn_physical_device_get_max_extent() argument 558 uint32_t max_mip = dzn_physical_device_get_max_mip_level(is_3d); in dzn_physical_device_get_max_extent() 846 bool is_3d = info->type == VK_IMAGE_TYPE_3D; in dzn_physical_device_get_image_format_properties() local 847 uint32_t max_extent = dzn_physical_device_get_max_extent(is_3d); in dzn_physical_device_get_image_format_properties() 851 … properties->imageFormatProperties.maxMipLevels = dzn_physical_device_get_max_mip_level(is_3d) + 1; in dzn_physical_device_get_image_format_properties()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface.h | 414 unsigned is_3d : 1; member
|
D | ac_surface.c | 622 if (config->is_3d && config->info.array_size > 1) in surf_config_sanity() 668 if (config->is_3d) in gfx6_compute_level() 879 if (!config->is_1d && !config->is_3d && !config->is_cube && in get_display_flag() 1002 if (config->is_3d) in ac_compute_cmask() 2210 if (config->is_3d) in gfx9_compute_surface() 2220 if (config->is_3d) in gfx9_compute_surface() 2371 if (!config->is_3d && !config->is_cube) { in gfx9_compute_surface() 2402 if (info->has_graphics && !compressed && !config->is_3d && config->info.levels == 1 && in gfx9_compute_surface()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_cmdstream.c | 1900 bool is_3d = rsrc->base.target == PIPE_TEXTURE_3D; in emit_image_bufs() local 1906 is_3d ? 0 : image->u.tex.first_layer, in emit_image_bufs() 1907 is_3d ? image->u.tex.first_layer : 0); in emit_image_bufs() 1933 cfg.r_dimension = is_3d ? in emit_image_bufs()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 2639 Value *is_3d = bld.mkOp2v(OP_AND, TYPE_U32, bld.getSSA(), v, bld.mkImm(1)); in processSurfaceCoordsGM107() local 2641 TYPE_U32, bld.mkImm(0), is_3d); in processSurfaceCoordsGM107()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 2982 const bool is_3d = res->surf.dim == ISL_SURF_DIM_3D; in crocus_create_surface() local 2985 is_3d ? 0 : view->base_array_layer, in crocus_create_surface() 2986 is_3d ? view->base_array_layer : 0, in crocus_create_surface()
|