mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
nvk/meta: Restore set_sizes[0]
Fixes:af3e7ba105("nvk: Stash descriptor set sizes") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29147> (cherry picked from commitc834644c4e)
This commit is contained in:
parent
0a312787cd
commit
d68141bd68
2 changed files with 2 additions and 1 deletions
|
|
@ -484,7 +484,7 @@
|
|||
"description": "nvk/meta: Restore set_sizes[0]",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "af3e7ba1057e122c9ccd6d0f09b233ca8278af28",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ nvk_meta_end(struct nvk_cmd_buffer *cmd,
|
|||
{
|
||||
if (save->desc0) {
|
||||
cmd->state.gfx.descriptors.sets[0] = save->desc0;
|
||||
cmd->state.gfx.descriptors.set_sizes[0] = save->desc0->size;
|
||||
cmd->state.gfx.descriptors.root.sets[0] = nvk_descriptor_set_addr(save->desc0);
|
||||
cmd->state.gfx.descriptors.sets_dirty |= BITFIELD_BIT(0);
|
||||
cmd->state.gfx.descriptors.push_dirty &= ~BITFIELD_BIT(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue