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.c116 static unsigned si_blit_dbcb_copy(struct si_context *sctx, struct si_texture *src, in si_blit_dbcb_copy()
117 struct si_texture *dst, unsigned planes, unsigned level_mask, in si_blit_dbcb_copy()
189 struct si_texture *texture, unsigned planes, in si_blit_decompress_zs_planes_in_place()
255 static void si_blit_decompress_zs_in_place(struct si_context *sctx, struct si_texture *texture, in si_blit_decompress_zs_in_place()
281 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth()
323 struct si_texture *dst = tex->flushed_depth_texture; in si_decompress_depth()
408 struct si_texture *tex; in si_decompress_sampler_depth_textures()
416 tex = (struct si_texture *)view->texture; in si_decompress_sampler_depth_textures()
432 static void si_blit_decompress_color(struct si_context *sctx, struct si_texture *tex, in si_blit_decompress_color()
538 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_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_texture.c88 if (src->nr_samples > 1 || ((struct si_texture *)src)->is_depth) { in si_copy_to_staging_texture()
106 if (dst->nr_samples > 1 || ((struct si_texture *)dst)->is_depth) { in si_copy_from_staging_texture()
121 static unsigned si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset()
293 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex, in si_eliminate_fast_color_clear()
319 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_cmask()
342 static bool si_can_disable_dcc(struct si_texture *tex) in si_can_disable_dcc()
352 static bool si_texture_discard_dcc(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_dcc()
386 bool si_texture_disable_dcc(struct si_context *sctx, struct si_texture *tex) in si_texture_disable_dcc()
409 static void si_reallocate_texture_inplace(struct si_context *sctx, struct si_texture *tex, in si_reallocate_texture_inplace()
413 struct si_texture *new_tex; in si_reallocate_texture_inplace()
[all …]
Dsi_clear.c107 static bool si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask()
131 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color()
293 bool vi_dcc_get_clear_info(struct si_context *sctx, struct si_texture *tex, unsigned level, in vi_dcc_get_clear_info()
366 static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_texture *tex) in si_set_optimal_micro_tile_mode()
469 static uint32_t si_get_htile_clear_value(struct si_texture *tex, float depth) in si_get_htile_clear_value()
519 static bool si_can_fast_clear_depth(struct si_texture *zstex, unsigned level, float depth, in si_can_fast_clear_depth()
528 static bool si_can_fast_clear_stencil(struct si_texture *zstex, unsigned level, uint8_t stencil, in si_can_fast_clear_stencil()
559 struct si_texture *tex = (struct si_texture *)fb->cbufs[i]->texture; in si_fast_clear()
763 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_fast_clear()
969 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_clear()
[all …]
Dsi_pipe.h334 struct si_texture { struct
338 struct si_texture *flushed_depth_texture; argument
517 void (*make_texture_descriptor)(struct si_screen *screen, struct si_texture *tex, bool sampler,
1284 void si_decompress_dcc(struct si_context *sctx, struct si_texture *tex);
1324 bool vi_dcc_get_clear_info(struct si_context *sctx, struct si_texture *tex, unsigned level,
1378 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex);
1437 bool si_sdma_copy_image(struct si_context *ctx, struct si_texture *dst, struct si_texture *src);
1481 void *gfx9_create_clear_dcc_msaa_cs(struct si_context *sctx, struct si_texture *tex);
1527 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex,
1529 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex);
[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()
432 struct si_sampler_view *sview, struct si_texture *tex, in si_set_sampler_state_desc()
447 struct si_texture *tex = (struct si_texture *)view->texture; in si_set_sampler_view_desc()
484 static bool color_needs_decompression(struct si_texture *tex) in color_needs_decompression()
493 static bool depth_needs_decompression(struct si_texture *tex) in depth_needs_decompression()
542 struct si_texture *tex = (struct si_texture *)sview->base.texture; in si_set_sampler_views()
642 struct si_texture *tex = (struct si_texture *)res; in si_samplers_update_needs_color_decompress_mask()
692 struct si_texture *tex = (struct si_texture *)view->resource; in si_image_views_check_encrypted()
745 struct si_texture *tex = (struct si_texture *)res; in si_set_shader_image_desc()
[all …]
Dsi_compute_blit.c425 struct si_texture *ssrc = (struct si_texture*)src; in si_compute_copy_image()
426 struct si_texture *sdst = (struct si_texture*)dst; in si_compute_copy_image()
601 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex) in si_retile_dcc()
650 struct si_texture *tex = (struct si_texture*)res; in gfx9_clear_dcc_msaa()
709 ((struct si_texture*)tex)->surface.u.gfx9.color.dcc.pipe_aligned); in si_compute_expand_fmask()
761 struct si_texture *stex = (struct si_texture *)tex; in si_compute_expand_fmask()
780 struct si_texture *tex = (struct si_texture*)dstsurf->texture; in si_compute_clear_render_target()
Dsi_test_blit.c204 struct si_texture *sdst; in si_test_blit()
205 struct si_texture *ssrc; in si_test_blit()
278 sdst = (struct si_texture *)dst; in si_test_blit()
279 ssrc = (struct si_texture *)src; in si_test_blit()
Dsi_state.c671 struct si_texture* tex = (struct si_texture*) samp->views[unit]->texture; in si_check_blend_dst_sampler_noop()
2030 static unsigned si_tex_dim(struct si_screen *sscreen, struct si_texture *tex, unsigned view_target, in si_tex_dim()
2374 struct si_texture *tex = (struct si_texture *)surf->base.texture; in si_initialize_color_surface()
2539 struct si_texture *tex = (struct si_texture *)surf->base.texture; in si_init_depth_surface()
2681 struct si_texture *tex = (struct si_texture *)surf->texture; in si_update_fb_dirtiness_after_rendering()
2693 struct si_texture *tex = (struct si_texture *)surf->texture; in si_update_fb_dirtiness_after_rendering()
2706 struct si_texture *tex; in si_dec_framebuffer_counters()
2711 tex = (struct si_texture *)surf->base.texture; in si_dec_framebuffer_counters()
2717 void si_mark_display_dcc_dirty(struct si_context *sctx, struct si_texture *tex) in si_mark_display_dcc_dirty()
2739 si_mark_display_dcc_dirty(sctx, (struct si_texture *)state->cbufs[i]->texture); in si_update_display_dcc_dirty()
[all …]
Dsi_state.h50 struct si_texture;
481 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, struct si_texture *tex,
537 void si_mark_display_dcc_dirty(struct si_context *sctx, struct si_texture *tex);
Dsi_buffer.c48 struct si_texture *tex = (struct si_texture *)res; in si_init_resource_fields()
228 struct si_texture *tex = (struct si_texture *)buf; in si_resource_destroy()
Dmeson.build72 'si_texture.c',
Dsi_shaderlib_nir.c104 void *gfx9_create_clear_dcc_msaa_cs(struct si_context *sctx, struct si_texture *tex) in gfx9_create_clear_dcc_msaa_cs()
Dsi_debug.c597 struct si_texture *tex; in si_dump_framebuffer()
604 tex = (struct si_texture *)state->cbufs[i]->texture; in si_dump_framebuffer()
611 tex = (struct si_texture *)state->zsbuf->texture; in si_dump_framebuffer()
Dsi_compute.c1010 struct si_texture *tex = (struct si_texture *) in si_launch_grid()
Dsi_state_draw.cpp2486 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in si_draw()
/third_party/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.c1447 struct si_texture *luma = (struct si_texture *)((struct vl_video_buffer *)target)->resources[0]; in rvcn_dec_message_decode()
1448 struct si_texture *chroma = in rvcn_dec_message_decode()
1449 (struct si_texture *)((struct vl_video_buffer *)target)->resources[1]; in rvcn_dec_message_decode()
/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.gni3302 ../src/gallium/drivers/radeonsi/si_texture.c