nvk: Fix a Volta check

Fixes: e162c2e78e ("nvk: Use VM_BIND for contiguous heaps instead of copying")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34127>
This commit is contained in:
Faith Ekstrand 2025-03-14 16:23:56 -05:00 committed by Marge Bot
parent 90b2137ac5
commit 79294fb95a

View file

@ -39,7 +39,7 @@ nvk_push_dispatch_state_init(struct nvk_queue *queue, struct nv_push *p)
if (pdev->info.cls_compute == MAXWELL_COMPUTE_A)
P_IMMD(p, NVB0C0, SET_SELECT_MAXWELL_TEXTURE_HEADERS, V_TRUE);
if (pdev->info.cls_eng3d < VOLTA_COMPUTE_A) {
if (pdev->info.cls_compute < VOLTA_COMPUTE_A) {
uint64_t shader_base_addr =
nvk_heap_contiguous_base_address(&dev->shader_heap);