mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 08:10:32 +01:00
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:
parent
39d8dcabf2
commit
c6aba9abfa
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue