mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02: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> (cherry picked from commitb164ee0d7b)
This commit is contained in:
parent
03082e84c5
commit
1ab727add7
2 changed files with 3 additions and 1 deletions
|
|
@ -625,7 +625,7 @@
|
|||
"description": "panfrost: Set dirty state in set_shader_buffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c34b760b9f99ecbf1218e7b612a32ce43c7283bf"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -667,6 +667,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…
Add table
Reference in a new issue