mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-05 12:30:40 +02:00
freedreno: Add extra assert
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23470>
This commit is contained in:
parent
537994bb32
commit
e527bd7986
1 changed files with 5 additions and 1 deletions
|
|
@ -768,7 +768,11 @@ fd6_texture_state(struct fd_context *ctx, enum pipe_shader_type type)
|
|||
if (!tex->textures[i])
|
||||
continue;
|
||||
|
||||
state->view_rsc_seqno[i] = fd_resource(tex->textures[i]->texture)->seqno;
|
||||
struct fd_resource *rsc = fd_resource(tex->textures[i]->texture);
|
||||
|
||||
assert(rsc->dirty & FD_DIRTY_TEX);
|
||||
|
||||
state->view_rsc_seqno[i] = rsc->seqno;
|
||||
}
|
||||
|
||||
state->key = key;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue