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>
This commit is contained in:
Dave Airlie 2025-04-15 07:02:42 +10:00 committed by Marge Bot
parent 693b55a4af
commit bd7777aee6

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));