Home
last modified time | relevance | path

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

/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()
49 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_itob_cs_3d" : "meta_itob_cs"); in build_nir_itob_compute_shader()
78 offset->num_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader()
79 nir_ssa_dest_init(&offset->instr, &offset->dest, is_3d ? 3 : 2, 32, "offset"); in build_nir_itob_compute_shader()
95 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, img_coord, is_3d ? 0x7 : 0x3)); in build_nir_itob_compute_shader()
100 tex->coord_components = is_3d ? 3 : 2; in build_nir_itob_compute_shader()
262 build_nir_btoi_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_btoi_compute_shader() argument
265 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_btoi_compute_shader()
275 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.c428 nir_ssa_def *tex_pos, bool is_3d) in build_nir_texel_fetch() argument
430 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_texel_fetch()
439 if (is_3d) { in build_nir_texel_fetch()
458 tex->src[0].src = nir_src_for_ssa(is_3d ? tex_pos_3d : tex_pos); in build_nir_texel_fetch()
463 tex->coord_components = is_3d ? 3 : 2; in build_nir_texel_fetch()
476 nir_ssa_def *tex_pos, bool is_3d) in build_nir_buffer_fetch() argument
524 texel_fetch_build_func txf_func, const char* name, bool is_3d) in build_nir_copy_fragment_shader() argument
545 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d); in build_nir_copy_fragment_shader()
553 texel_fetch_build_func txf_func, const char* name, bool is_3d) in build_nir_copy_fragment_shader_depth() argument
574 nir_ssa_def *color = txf_func(&b, device, tex_pos, is_3d); in build_nir_copy_fragment_shader_depth()
[all …]
/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.c94 config.is_3d = !!(type == RADEON_SURF_TYPE_3D); in radv_amdgpu_winsys_surface_init()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c32 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz, bool is_3d) in nvc0_tex_choose_tile_dims() argument
34 return nv50_tex_choose_tile_dims_helper(nx, ny, nz, is_3d); in nvc0_tex_choose_tile_dims()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c89 config.is_3d = !!(tex->target == PIPE_TEXTURE_3D); in amdgpu_surface_init()
/external/mesa3d/src/amd/common/
Dac_surface.h225 unsigned is_3d : 1; member
Dac_surface.c240 if (config->is_3d && config->info.array_size > 1) in surf_config_sanity()
278 if (config->is_3d) in gfx6_compute_level()
1105 if (config->is_3d) in gfx9_compute_surface()
1113 if (config->is_3d) in gfx9_compute_surface()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dinstr-a3xx.h580 uint32_t is_3d : 1; member
Ddisasm-a3xx.c417 if (cat5->is_3d) printf(".3d"); in print_instr_cat5()
Dir3.c458 cat5->is_3d = !!(instr->flags & IR3_INSTR_3D); in emit_cat5()