nvk: Fix compute class comparison in dispatch indirect

This works by coincidence rather than design.

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34910>
(cherry picked from commit bd7777aee6)
This commit is contained in:
Dave Airlie 2025-04-15 07:02:42 +10:00 committed by Eric Engestrom
parent c966a7abe4
commit 05f249ca93
2 changed files with 2 additions and 2 deletions

View file

@ -2084,7 +2084,7 @@
"description": "nvk: Fix compute class comparison in dispatch indirect",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -512,7 +512,7 @@ nvk_CmdDispatchIndirect(VkCommandBuffer commandBuffer,
}
struct nv_push *p;
if (nvk_cmd_buffer_compute_cls(cmd) >= TURING_A) {
if (nvk_cmd_buffer_compute_cls(cmd) >= TURING_COMPUTE_A) {
p = nvk_cmd_buffer_push(cmd, 14);
P_IMMD(p, NVC597, SET_MME_DATA_FIFO_CONFIG, FIFO_SIZE_SIZE_4KB);
P_1INC(p, NV9097, CALL_MME_MACRO(NVK_MME_DISPATCH_INDIRECT));