/external/mesa3d/src/freedreno/fdl/ |
D | fd5_layout.c | 36 uint32_t mip_levels, uint32_t array_size, bool is_3d) in fdl5_layout() argument 49 layout->layer_first = !is_3d; in fdl5_layout() 85 const int alignment = is_3d ? 4096 : 1; in fdl5_layout() 93 if (is_3d && ( in fdl5_layout()
|
D | fd6_layout.c | 101 uint32_t mip_levels, uint32_t array_size, bool is_3d, in fdl6_layout() argument 118 layout->layer_first = !is_3d; in fdl6_layout() 196 if (is_3d && tile_mode) { in fdl6_layout() 224 if (is_3d) { in fdl6_layout()
|
D | fd5_layout_test.c | 59 .is_3d = true, 76 .is_3d = true,
|
D | fd_layout_test.c | 56 testcase->is_3d, in fdl_test_layout() 68 testcase->is_3d); in fdl_test_layout()
|
D | freedreno_layout.h | 237 uint32_t mip_levels, uint32_t array_size, bool is_3d); 243 uint32_t mip_levels, uint32_t array_size, bool is_3d,
|
D | fd_layout_test.h | 28 bool is_3d; member
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_texture.c | 336 bool is_3d = dim == MALI_TEXTURE_DIMENSION_3D; in panfrost_emit_texture_payload_v7() local 347 panfrost_texture_offset(slices, is_3d, in panfrost_emit_texture_payload_v7() 513 panfrost_get_layer_stride(struct panfrost_slice *slices, bool is_3d, unsigned cube_stride, unsigned… in panfrost_get_layer_stride() argument 515 return is_3d ? slices[level].size0 : cube_stride; in panfrost_get_layer_stride() 522 panfrost_texture_offset(struct panfrost_slice *slices, bool is_3d, unsigned cube_stride, unsigned l… in panfrost_texture_offset() argument 524 unsigned layer_stride = panfrost_get_layer_stride(slices, is_3d, cube_stride, level); in panfrost_texture_offset()
|
D | pan_texture.h | 134 panfrost_get_layer_stride(struct panfrost_slice *slices, bool is_3d, unsigned cube_stride, unsigned… 137 panfrost_texture_offset(struct panfrost_slice *slices, bool is_3d, unsigned cube_stride, unsigned l…
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_bufimage.c | 36 build_nir_itob_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_itob_compute_shader() argument 39 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_itob_compute_shader() 48 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_itob_cs_3d" : "meta_itob_cs"); in build_nir_itob_compute_shader() 77 offset->num_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader() 78 nir_ssa_dest_init(&offset->instr, &offset->dest, is_3d ? 3 : 2, 32, "offset"); in build_nir_itob_compute_shader() 96 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, img_coord, is_3d ? 0x7 : 0x3)); in build_nir_itob_compute_shader() 103 tex->coord_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader() 265 build_nir_btoi_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_btoi_compute_shader() argument 268 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_btoi_compute_shader() 277 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_btoi_cs_3d" : "meta_btoi_cs"); in build_nir_btoi_compute_shader() [all …]
|
D | radv_meta_blit2d.c | 490 nir_ssa_def *tex_pos, bool is_3d, bool is_multisampled) in build_nir_texel_fetch() argument 493 is_3d ? GLSL_SAMPLER_DIM_3D : is_multisampled ? GLSL_SAMPLER_DIM_MS : GLSL_SAMPLER_DIM_2D; in build_nir_texel_fetch() 503 if (is_3d) { in build_nir_texel_fetch() 530 tex->src[0].src = nir_src_for_ssa(is_3d ? tex_pos_3d : tex_pos); in build_nir_texel_fetch() 541 tex->coord_components = is_3d ? 3 : 2; in build_nir_texel_fetch() 552 nir_ssa_def *tex_pos, bool is_3d, bool is_multisampled) in build_nir_buffer_fetch() argument 601 texel_fetch_build_func txf_func, const char* name, bool is_3d, in build_nir_copy_fragment_shader() argument 622 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d, is_multisampled); in build_nir_copy_fragment_shader() 630 texel_fetch_build_func txf_func, const char* name, bool is_3d, in build_nir_copy_fragment_shader_depth() argument 651 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d, is_multisampled); in build_nir_copy_fragment_shader_depth() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 328 bool is_3d = mt->base.base.target == PIPE_TEXTURE_3D; in nv30_miptree_transfer_map() local 334 if (is_3d && mt->swizzled) in nv30_miptree_transfer_map() 336 else if (is_3d) in nv30_miptree_transfer_map() 378 bool is_3d = mt->base.base.target == PIPE_TEXTURE_3D; in nv30_miptree_transfer_unmap() local 381 if (is_3d && mt->swizzled) in nv30_miptree_transfer_unmap() 383 else if (is_3d) in nv30_miptree_transfer_unmap()
|
/external/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);
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_surface.c | 95 config.is_3d = type == RADEON_SURF_TYPE_3D; in radv_amdgpu_winsys_surface_init()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_surface.c | 93 config.is_3d = tex->target == PIPE_TEXTURE_3D; in amdgpu_surface_init()
|
/external/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()
|
/external/mesa3d/src/amd/common/ |
D | ac_surface.h | 287 unsigned is_3d : 1; member
|
D | ac_surface.c | 468 if (config->is_3d && config->info.array_size > 1) in surf_config_sanity() 513 if (config->is_3d) in gfx6_compute_level() 698 if (!config->is_3d && !config->is_cube && !(surf->flags & RADEON_SURF_Z_OR_SBUFFER) && in get_display_flag() 820 if (config->is_3d) in ac_compute_cmask() 1848 if (config->is_3d) in gfx9_compute_surface() 1858 if (config->is_3d) in gfx9_compute_surface() 1982 if (!config->is_3d && !config->is_cube) { in gfx9_compute_surface() 2012 if (info->has_graphics && !compressed && !config->is_3d && config->info.levels == 1 && in gfx9_compute_surface()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_surface.c | 272 if (config->is_3d) in si_compute_cmask() 429 config.is_3d = !!(tex->target == PIPE_TEXTURE_3D); in radeon_winsys_surface_init()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_resource.c | 1150 bool is_3d = rsrc->base.target == PIPE_TEXTURE_3D; in panfrost_get_texture_address() local 1152 panfrost_texture_offset(rsrc->slices, is_3d, in panfrost_get_texture_address()
|
/external/mesa3d/src/freedreno/ir3/ |
D | instr-a3xx.h | 719 uint32_t is_3d : 1; member
|
D | ir3.c | 523 cat5->is_3d = !!(instr->flags & IR3_INSTR_3D); in emit_cat5()
|
D | disasm-a3xx.c | 771 if (cat5->is_3d) fprintf(ctx->out, ".3d"); in print_instr_cat5()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 2540 Value *is_3d = bld.mkOp2v(OP_AND, TYPE_U32, bld.getSSA(), v, bld.mkImm(1)); in processSurfaceCoordsGM107() local 2542 TYPE_U32, bld.mkImm(0), is_3d); in processSurfaceCoordsGM107()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 2653 const bool is_3d = res->surf.dim == ISL_SURF_DIM_3D; in iris_create_surface() local 2656 is_3d ? 0 : view->base_array_layer, in iris_create_surface() 2657 is_3d ? view->base_array_layer : 0, in iris_create_surface()
|