freedreno/a6xx: Mark tex and samp descriptors for dumping

Fixes: c1aaef71da ("freedreno/a6xx: Make tex/samp descriptors a normal BO")
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37129>
This commit is contained in:
Rob Clark 2025-09-01 14:59:29 -07:00 committed by Marge Bot
parent 39d8dcabf2
commit c6aba9abfa

View file

@ -610,6 +610,7 @@ build_texture_state(struct fd_context *ctx, mesa_shader_stage type,
FD_BO_GPUREADONLY | FD_BO_HINT_COMMAND,
"samp desc");
uint32_t *buf = (uint32_t *)fd_bo_map(samp_desc);
fd_bo_mark_for_dump(samp_desc);
for (unsigned i = 0; i < tex->num_samplers; i++) {
static const struct fd6_sampler_stateobj dummy_sampler = {};
@ -628,6 +629,7 @@ build_texture_state(struct fd_context *ctx, mesa_shader_stage type,
FD_BO_GPUREADONLY | FD_BO_HINT_COMMAND,
"tex desc");
uint32_t *buf = (uint32_t *)fd_bo_map(tex_desc);
fd_bo_mark_for_dump(tex_desc);
for (unsigned i = 0; i < tex->num_textures; i++) {
const struct fd6_pipe_sampler_view *view;