mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
nvk: Do not set INVALIDATE_SKED_CACHES pre-MaxwellB
The other two uses of this are behind guards but we forgot this one. Fixes:976f22a5da("nvk: Implement CmdProcess/ExecuteGeneratedCommandsEXT") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33716> (cherry picked from commit58218c7349)
This commit is contained in:
parent
7013ebec5d
commit
1f2143eea6
2 changed files with 5 additions and 2 deletions
|
|
@ -1824,7 +1824,7 @@
|
|||
"description": "nvk: Do not set INVALIDATE_SKED_CACHES pre-MaxwellB",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "976f22a5da30c503b05e2873e4d265fb0d4ecb07",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1011,6 +1011,8 @@ nvk_CmdExecuteGeneratedCommandsEXT(VkCommandBuffer commandBuffer,
|
|||
VK_FROM_HANDLE(nvk_cmd_buffer, cmd, commandBuffer);
|
||||
VK_FROM_HANDLE(nvk_indirect_commands_layout, layout,
|
||||
info->indirectCommandsLayout);
|
||||
struct nvk_device *dev = nvk_cmd_buffer_device(cmd);
|
||||
const struct nvk_physical_device *pdev = nvk_device_physical(dev);
|
||||
|
||||
if (!isPreprocessed) {
|
||||
nvk_cmd_flush_process_state(cmd, info);
|
||||
|
|
@ -1022,7 +1024,8 @@ nvk_CmdExecuteGeneratedCommandsEXT(VkCommandBuffer commandBuffer,
|
|||
.constant = CONSTANT_TRUE,
|
||||
.flush_data = FLUSH_DATA_TRUE,
|
||||
});
|
||||
P_IMMD(p, NVB1C0, INVALIDATE_SKED_CACHES, 0);
|
||||
if (pdev->info.cls_eng3d >= MAXWELL_COMPUTE_B)
|
||||
P_IMMD(p, NVB1C0, INVALIDATE_SKED_CACHES, 0);
|
||||
__push_immd(p, SUBC_NV9097, NV906F_SET_REFERENCE, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue