Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c107 static unsigned si_blit_dbcb_copy(struct si_context *sctx, struct si_texture *src, in si_blit_dbcb_copy()
108 struct si_texture *dst, unsigned planes, unsigned level_mask, in si_blit_dbcb_copy()
180 struct si_texture *texture, unsigned planes, in si_blit_decompress_zs_planes_in_place()
246 static void si_blit_decompress_zs_in_place(struct si_context *sctx, struct si_texture *texture, in si_blit_decompress_zs_in_place()
272 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth()
314 struct si_texture *dst = tex->flushed_depth_texture; in si_decompress_depth()
396 struct si_texture *tex; in si_decompress_sampler_depth_textures()
404 tex = (struct si_texture *)view->texture; in si_decompress_sampler_depth_textures()
413 static void si_blit_decompress_color(struct si_context *sctx, struct si_texture *tex, in si_blit_decompress_color()
503 static void si_decompress_color_texture(struct si_context *sctx, struct si_texture *tex, in si_decompress_color_texture()
[all …]
Dsi_uvd.c54 struct si_texture *luma = (struct si_texture *)buf->resources[0]; in si_uvd_set_dtb()
55 struct si_texture *chroma = (struct si_texture *)buf->resources[1]; in si_uvd_set_dtb()
70 struct si_texture *res = (struct si_texture *)resource; in si_vce_get_buffer()
Dsi_texture.c49 bool si_prepare_for_dma_blit(struct si_context *sctx, struct si_texture *dst, unsigned dst_level, in si_prepare_for_dma_blit()
50 unsigned dstx, unsigned dsty, unsigned dstz, struct si_texture *src, in si_prepare_for_dma_blit()
147 if (src->nr_samples > 1 || ((struct si_texture *)src)->is_depth) { in si_copy_to_staging_texture()
166 if (dst->nr_samples > 1 || ((struct si_texture *)dst)->is_depth) { in si_copy_from_staging_texture()
181 static unsigned si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset()
327 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex, in si_eliminate_fast_color_clear()
353 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_cmask()
376 static bool si_can_disable_dcc(struct si_texture *tex) in si_can_disable_dcc()
384 static bool si_texture_discard_dcc(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_dcc()
420 bool si_texture_disable_dcc(struct si_context *sctx, struct si_texture *tex) in si_texture_disable_dcc()
[all …]
Dsi_pipe.h313 struct si_texture { struct
317 struct si_texture *flushed_depth_texture; argument
500 void (*make_texture_descriptor)(struct si_screen *screen, struct si_texture *tex, bool sampler,
1270 struct si_texture *tex;
1309 void si_decompress_dcc(struct si_context *sctx, struct si_texture *tex);
1331 bool vi_dcc_clear_level(struct si_context *sctx, struct si_texture *tex, unsigned level,
1351 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex);
1526 bool si_prepare_for_dma_blit(struct si_context *sctx, struct si_texture *dst, unsigned dst_level,
1527 unsigned dstx, unsigned dsty, unsigned dstz, struct si_texture *src,
1529 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex,
[all …]
Dsi_clear.c37 static void si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask()
57 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color()
216 bool vi_dcc_clear_level(struct si_context *sctx, struct si_texture *tex, unsigned level, in vi_dcc_clear_level()
270 static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_texture *tex) in si_set_optimal_micro_tile_mode()
388 struct si_texture *tex; in si_do_fast_color_clear()
402 tex = (struct si_texture *)fb->cbufs[i]->texture; in si_do_fast_color_clear()
553 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_clear()
563 struct si_texture *tex; in si_clear()
569 tex = (struct si_texture *)fb->cbufs[i]->texture; in si_clear()
690 struct si_texture *sdst = (struct si_texture *)dst->texture; in si_clear_render_target()
[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_descriptors.c224 struct si_texture *tex = (struct si_texture *)resource; in si_sampler_view_add_buffer()
299 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, struct si_texture *tex, in si_set_mutable_tex_desc_fields()
435 struct si_sampler_view *sview, struct si_texture *tex, in si_set_sampler_state_desc()
450 struct si_texture *tex = (struct si_texture *)view->texture; in si_set_sampler_view_desc()
485 static bool color_needs_decompression(struct si_texture *tex) in color_needs_decompression()
491 static bool depth_needs_decompression(struct si_texture *tex) in depth_needs_decompression()
514 struct si_texture *tex = (struct si_texture *)view->texture; in si_set_sampler_view()
604 struct si_texture *tex = (struct si_texture *)res; in si_samplers_update_needs_color_decompress_mask()
654 struct si_texture *tex = (struct si_texture *)view->resource; in si_image_views_check_encrypted()
706 struct si_texture *tex = (struct si_texture *)res; in si_set_shader_image_desc()
[all …]
Dcik_sdma.c35 static unsigned encode_tile_info(struct si_context *sctx, struct si_texture *tex, unsigned level, in encode_tile_info()
60 struct si_texture *ssrc = (struct si_texture *)src; in si_sdma_v4_copy_texture()
61 struct si_texture *sdst = (struct si_texture *)dst; in si_sdma_v4_copy_texture()
135 struct si_texture *tiled = ssrc->surface.is_linear ? sdst : ssrc; in si_sdma_v4_copy_texture()
136 struct si_texture *linear = tiled == ssrc ? sdst : ssrc; in si_sdma_v4_copy_texture()
207 struct si_texture *ssrc = (struct si_texture *)src; in cik_sdma_copy_texture()
208 struct si_texture *sdst = (struct si_texture *)dst; in cik_sdma_copy_texture()
302 struct si_texture *tiled = src_mode >= RADEON_SURF_MODE_1D ? ssrc : sdst; in cik_sdma_copy_texture()
303 struct si_texture *linear = tiled == ssrc ? sdst : ssrc; in cik_sdma_copy_texture()
Dsi_compute_blit.c433 bool is_linear = ((struct si_texture*)src)->surface.is_linear || in si_compute_copy_image()
434 ((struct si_texture*)dst)->surface.is_linear; in si_compute_copy_image()
438 if (!vi_dcc_enabled((struct si_texture*)src, src_level) && in si_compute_copy_image()
483 ((struct si_texture *)src)->surface.u.gfx9.dcc.pipe_aligned); in si_compute_copy_image()
542 struct si_texture *tex = (struct si_texture*)src; in si_compute_copy_image()
610 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex) in si_retile_dcc()
754 struct si_texture *stex = (struct si_texture *)tex; in si_compute_expand_fmask()
Dsi_test_dma.c202 struct si_texture *sdst; in si_test_dma()
203 struct si_texture *ssrc; in si_test_dma()
276 sdst = (struct si_texture *)dst; in si_test_dma()
277 ssrc = (struct si_texture *)src; in si_test_dma()
Dsi_state.c1884 static unsigned si_tex_dim(struct si_screen *sscreen, struct si_texture *tex, unsigned view_target, in si_tex_dim()
2214 struct si_texture *tex = (struct si_texture *)surf->base.texture; in si_initialize_color_surface()
2388 struct si_texture *tex = (struct si_texture *)surf->base.texture; in si_init_depth_surface()
2531 struct si_texture *tex = (struct si_texture *)surf->texture; in si_update_fb_dirtiness_after_rendering()
2543 struct si_texture *tex = (struct si_texture *)surf->texture; in si_update_fb_dirtiness_after_rendering()
2558 struct si_texture *tex; in si_dec_framebuffer_counters()
2563 tex = (struct si_texture *)surf->base.texture; in si_dec_framebuffer_counters()
2573 struct si_texture *tex; in si_update_display_dcc_dirty()
2581 tex = (struct si_texture *)surf->base.texture; in si_update_display_dcc_dirty()
2595 struct si_texture *tex; in si_set_framebuffer_state()
[all …]
DMakefile.sources52 si_texture.c \
Dsi_state.h46 struct si_texture;
487 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, struct si_texture *tex,
Dmeson.build72 'si_texture.c',
Dsi_debug.c618 struct si_texture *tex; in si_dump_framebuffer()
625 tex = (struct si_texture *)state->cbufs[i]->texture; in si_dump_framebuffer()
632 tex = (struct si_texture *)state->zsbuf->texture; in si_dump_framebuffer()
Dsi_buffer.c103 struct si_texture *tex = (struct si_texture *)res; in si_init_resource_fields()
/external/mesa3d/src/gallium/drivers/radeon/
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()
Dradeon_vcn_dec.c843 struct si_texture *luma = (struct si_texture *)((struct vl_video_buffer *)target)->resources[0]; in rvcn_dec_message_decode()
844 struct si_texture *chroma = in rvcn_dec_message_decode()
845 (struct si_texture *)((struct vl_video_buffer *)target)->resources[1]; in rvcn_dec_message_decode()
/external/mesa3d/docs/relnotes/
D19.3.0.rst2362 - radeonsi: remove redundant si_texture offset and size fields