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 commit b164ee0d7b)
This commit is contained in:
Icecream95 2022-02-15 20:24:01 +13:00 committed by Dylan Baker
parent 03082e84c5
commit 1ab727add7
2 changed files with 3 additions and 1 deletions

View file

@ -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"
},

View file

@ -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