Home
last modified time | relevance | path

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

/external/mesa3d/src/freedreno/fdl/
Dfd5_layout.c36 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()
Dfd6_layout.c101 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()
Dfd5_layout_test.c59 .is_3d = true,
76 .is_3d = true,
Dfd_layout_test.c56 testcase->is_3d, in fdl_test_layout()
68 testcase->is_3d); in fdl_test_layout()
Dfreedreno_layout.h237 uint32_t mip_levels, uint32_t array_size, bool is_3d);
243 uint32_t mip_levels, uint32_t array_size, bool is_3d,
Dfd_layout_test.h28 bool is_3d; member
/external/mesa3d/src/panfrost/lib/
Dpan_texture.c336 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()
Dpan_texture.h134 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/
Dradv_meta_bufimage.c36 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 …]
Dradv_meta_blit2d.c490 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/
Dnv30_miptree.c328 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/
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);
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c95 config.is_3d = type == RADEON_SURF_TYPE_3D; in radv_amdgpu_winsys_surface_init()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c93 config.is_3d = tex->target == PIPE_TEXTURE_3D; in amdgpu_surface_init()
/external/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()
/external/mesa3d/src/amd/common/
Dac_surface.h287 unsigned is_3d : 1; member
Dac_surface.c468 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/
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()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c1150 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/
Dinstr-a3xx.h719 uint32_t is_3d : 1; member
Dir3.c523 cat5->is_3d = !!(instr->flags & IR3_INSTR_3D); in emit_cat5()
Ddisasm-a3xx.c771 if (cat5->is_3d) fprintf(ctx->out, ".3d"); in print_instr_cat5()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.cpp2540 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/
Diris_state.c2653 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()