Home
last modified time | relevance | path

Searched refs:si_texture (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c127 static unsigned si_blit_dbcb_copy(struct si_context *sctx, struct si_texture *src, in si_blit_dbcb_copy()
128 struct si_texture *dst, unsigned planes, unsigned level_mask, in si_blit_dbcb_copy()
200 struct si_texture *texture, unsigned planes, in si_blit_decompress_zs_planes_in_place()
266 static void si_blit_decompress_zs_in_place(struct si_context *sctx, struct si_texture *texture, in si_blit_decompress_zs_in_place()
292 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth()
334 struct si_texture *dst = tex->flushed_depth_texture; in si_decompress_depth()
419 struct si_texture *tex; in si_decompress_sampler_depth_textures()
427 tex = (struct si_texture *)view->texture; in si_decompress_sampler_depth_textures()
443 static void si_blit_decompress_color(struct si_context *sctx, struct si_texture *tex, in si_blit_decompress_color()
552 static void si_decompress_color_texture(struct si_context *sctx, struct si_texture *tex, in si_decompress_color_texture()
[all …]
Dsi_uvd.c93 struct si_texture *luma = (struct si_texture *)buf->resources[0]; in si_uvd_set_dtb()
94 struct si_texture *chroma = (struct si_texture *)buf->resources[1]; in si_uvd_set_dtb()
109 struct si_texture *res = (struct si_texture *)resource; in si_vce_get_buffer()
Dsi_sdma_copy_image.c32 bool si_prepare_for_sdma_copy(struct si_context *sctx, struct si_texture *dst,struct si_texture *sr… in si_prepare_for_sdma_copy()
53 static unsigned encode_legacy_tile_info(struct si_context *sctx, struct si_texture *tex) in encode_legacy_tile_info()
113 bool si_sdma_v4_v5_copy_texture(struct si_context *sctx, struct si_texture *sdst, struct si_texture in si_sdma_v4_v5_copy_texture()
154 struct si_texture *tiled = ssrc->surface.is_linear ? sdst : ssrc; in si_sdma_v4_v5_copy_texture()
155 struct si_texture *linear = tiled == ssrc ? sdst : ssrc; in si_sdma_v4_v5_copy_texture()
225 bool cik_sdma_copy_texture(struct si_context *sctx, struct si_texture *sdst, struct si_texture *ssr… in cik_sdma_copy_texture()
294 struct si_texture *tiled = src_mode >= RADEON_SURF_MODE_1D ? ssrc : sdst; in cik_sdma_copy_texture()
295 struct si_texture *linear = tiled == ssrc ? sdst : ssrc; in cik_sdma_copy_texture()
420 bool si_sdma_copy_image(struct si_context *sctx, struct si_texture *dst, struct si_texture *src) in si_sdma_copy_image()
Dsi_texture.c95 if (src->nr_samples > 1 || ((struct si_texture *)src)->is_depth) { in si_copy_to_staging_texture()
113 if (dst->nr_samples > 1 || ((struct si_texture *)dst)->is_depth) { in si_copy_from_staging_texture()
131 static unsigned si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset()
324 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex, in si_eliminate_fast_color_clear()
343 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_cmask()
366 static bool si_can_disable_dcc(struct si_texture *tex) in si_can_disable_dcc()
376 static bool si_texture_discard_dcc(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_dcc()
410 bool si_texture_disable_dcc(struct si_context *sctx, struct si_texture *tex) in si_texture_disable_dcc()
427 static void si_reallocate_texture_inplace(struct si_context *sctx, struct si_texture *tex, in si_reallocate_texture_inplace()
431 struct si_texture *new_tex; in si_reallocate_texture_inplace()
[all …]
Dsi_state_binning.c73 struct si_texture *tex = (struct si_texture *)sctx->framebuffer.state.cbufs[i]->texture; in si_get_color_bin_size()
187 struct si_texture *tex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in si_get_depth_bin_size()
338 struct si_texture *tex = (struct si_texture *)sctx->framebuffer.state.cbufs[i]->texture; in gfx10_get_bin_sizes()
388 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in gfx10_get_bin_sizes()
Dsi_clear.c107 static bool si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask()
133 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color()
420 bool vi_dcc_get_clear_info(struct si_context *sctx, struct si_texture *tex, unsigned level, in vi_dcc_get_clear_info()
494 static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_texture *tex) in si_set_optimal_micro_tile_mode()
597 static uint32_t si_get_htile_clear_value(struct si_texture *tex, float depth) in si_get_htile_clear_value()
647 static bool si_can_fast_clear_depth(struct si_texture *zstex, unsigned level, float depth, in si_can_fast_clear_depth()
656 static bool si_can_fast_clear_stencil(struct si_texture *zstex, unsigned level, uint8_t stencil, in si_can_fast_clear_stencil()
687 struct si_texture *tex = (struct si_texture *)fb->cbufs[i]->texture; in si_fast_clear()
903 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_fast_clear()
1109 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_clear()
[all …]
Dsi_descriptors.c221 struct si_texture *tex = (struct si_texture *)resource; in si_sampler_view_add_buffer()
287 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, struct si_texture *tex, in si_set_mutable_tex_desc_fields()
436 struct si_sampler_view *sview, struct si_texture *tex, in si_set_sampler_state_desc()
451 struct si_texture *tex = (struct si_texture *)view->texture; in si_set_sampler_view_desc()
488 static bool color_needs_decompression(struct si_texture *tex) in color_needs_decompression()
497 static bool depth_needs_decompression(struct si_texture *tex, bool is_stencil) in depth_needs_decompression()
546 struct si_texture *tex = (struct si_texture *)sview->base.texture; in si_set_sampler_views()
661 struct si_texture *tex = (struct si_texture *)res; in si_samplers_update_needs_color_decompress_mask()
711 struct si_texture *tex = (struct si_texture *)view->resource; in si_image_views_check_encrypted()
766 struct si_texture *tex = (struct si_texture *)res; in si_set_shader_image_desc()
[all …]
Dsi_pipe.h375 struct si_texture { struct
379 struct si_texture *flushed_depth_texture; argument
558 void (*make_texture_descriptor)(struct si_screen *screen, struct si_texture *tex, bool sampler,
1336 void si_decompress_dcc(struct si_context *sctx, struct si_texture *tex);
1382 bool vi_dcc_get_clear_info(struct si_context *sctx, struct si_texture *tex, unsigned level,
1435 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex);
1492 bool si_sdma_copy_image(struct si_context *ctx, struct si_texture *dst, struct si_texture *src);
1547 void *gfx9_create_clear_dcc_msaa_cs(struct si_context *sctx, struct si_texture *tex);
1590 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex,
1592 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex);
[all …]
Dsi_compute_blit.c55 struct si_texture *tex = (struct si_texture *)texture; in si_use_compute_copy_for_float_formats()
596 ((struct si_texture*)images[i].resource)->surface.u.gfx9.color.dcc.pipe_aligned); in si_launch_grid_internal_images()
612 struct si_texture *ssrc = (struct si_texture*)src; in si_compute_copy_image()
613 struct si_texture *sdst = (struct si_texture*)dst; in si_compute_copy_image()
777 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex) in si_retile_dcc()
826 struct si_texture *tex = (struct si_texture*)res; in gfx9_clear_dcc_msaa()
889 ((struct si_texture*)tex)->surface.u.gfx9.color.dcc.pipe_aligned); in si_compute_expand_fmask()
941 struct si_texture *stex = (struct si_texture *)tex; in si_compute_expand_fmask()
Dsi_test_image_copy_region.c432 static void print_image_attrs(struct si_screen *sscreen, struct si_texture *tex) in print_image_attrs()
506 struct si_texture *sdst; in si_test_image_copy_region()
507 struct si_texture *ssrc; in si_test_image_copy_region()
538 sdst = (struct si_texture *)dst; in si_test_image_copy_region()
539 ssrc = (struct si_texture *)src; in si_test_image_copy_region()
737 si_clear_buffer(sctx, gfx_dst, 0, ((struct si_texture *)gfx_dst)->surface.surf_size, &zero, in si_test_blit()
739 si_clear_buffer(sctx, comp_dst, 0, ((struct si_texture *)comp_dst)->surface.surf_size, &zero, in si_test_blit()
772 print_image_attrs(sscreen, (struct si_texture *)gfx_dst); in si_test_blit()
776 print_image_attrs(sscreen, (struct si_texture *)gfx_src); in si_test_blit()
Dradeon_vcn_dec_jpeg.c42 struct si_texture *luma = (struct si_texture *)((struct vl_video_buffer *)target)->resources[0]; in radeon_jpeg_get_decode_param()
43 struct si_texture *chroma = in radeon_jpeg_get_decode_param()
44 (struct si_texture *)((struct vl_video_buffer *)target)->resources[1]; in radeon_jpeg_get_decode_param()
Dsi_state.h50 struct si_texture;
487 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, struct si_texture *tex,
541 void si_set_sampler_depth_decompress_mask(struct si_context *sctx, struct si_texture *tex);
543 void si_mark_display_dcc_dirty(struct si_context *sctx, struct si_texture *tex);
Dsi_state.c686 struct si_texture* tex = (struct si_texture*) samp->views[unit]->texture; in si_check_blend_dst_sampler_noop()
2164 static unsigned si_tex_dim(struct si_screen *sscreen, struct si_texture *tex, unsigned view_target, in si_tex_dim()
2514 struct si_texture *tex = (struct si_texture *)surf->base.texture; in si_initialize_color_surface()
2696 struct si_texture *tex = (struct si_texture *)surf->base.texture; in si_init_depth_surface()
2833 void si_set_sampler_depth_decompress_mask(struct si_context *sctx, struct si_texture *tex) in si_set_sampler_depth_decompress_mask()
2855 struct si_texture *tex = (struct si_texture *)surf->texture; in si_update_fb_dirtiness_after_rendering()
2869 struct si_texture *tex = (struct si_texture *)surf->texture; in si_update_fb_dirtiness_after_rendering()
2882 struct si_texture *tex; in si_dec_framebuffer_counters()
2887 tex = (struct si_texture *)surf->base.texture; in si_dec_framebuffer_counters()
2893 void si_mark_display_dcc_dirty(struct si_context *sctx, struct si_texture *tex) in si_mark_display_dcc_dirty()
[all …]
Dsi_buffer.c48 struct si_texture *tex = (struct si_texture *)res; in si_init_resource_fields()
231 struct si_texture *tex = (struct si_texture *)buf; in si_resource_destroy()
Dmeson.build73 'si_texture.c',
Dsi_debug.c584 struct si_texture *tex; in si_dump_framebuffer()
591 tex = (struct si_texture *)state->cbufs[i]->texture; in si_dump_framebuffer()
598 tex = (struct si_texture *)state->zsbuf->texture; in si_dump_framebuffer()
Dsi_shaderlib_nir.c187 void *gfx9_create_clear_dcc_msaa_cs(struct si_context *sctx, struct si_texture *tex) in gfx9_create_clear_dcc_msaa_cs()
Dsi_compute.c1047 struct si_texture *tex = (struct si_texture *) in si_launch_grid()
Dradeon_vcn_dec.c1706 struct si_texture *luma = (struct si_texture *)((struct vl_video_buffer *)target)->resources[0]; in rvcn_dec_message_decode()
1707 struct si_texture *chroma = in rvcn_dec_message_decode()
1708 (struct si_texture *)((struct vl_video_buffer *)target)->resources[1]; in rvcn_dec_message_decode()
Dsi_state_draw.cpp2618 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in si_draw()
/third_party/mesa3d/docs/relnotes/
D19.3.0.rst2362 - radeonsi: remove redundant si_texture offset and size fields
D21.1.0.rst4648 - radeonsi: fix indentation issue in si_texture.c
/third_party/mesa3d/ohos/
Ddependency_inputs.gni3278 "../src/gallium/drivers/radeonsi/si_texture.c",