mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-12 19:54:33 +08:00
panfrost: Set dirty state in set_shader_buffers
Otherwise the pointer (which is uploaded as a sysval) won't be updated
when a new SSBO is bound.
Fixes: c34b760b9f
("panfrost: Dirty track constant buffers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250>
This commit is contained in:
parent
cb8c47b15e
commit
b164ee0d7b
@ -670,6 +670,8 @@ panfrost_set_shader_buffers(
|
||||
|
||||
util_set_shader_buffers_mask(ctx->ssbo[shader], &ctx->ssbo_mask[shader],
|
||||
buffers, start, count);
|
||||
|
||||
ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_SSBO;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user