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>
(cherry picked from commit 79294fb95a)
This commit is contained in:
Faith Ekstrand 2025-03-14 16:23:56 -05:00 committed by Eric Engestrom
parent c84a792c96
commit c0de23e92e
2 changed files with 2 additions and 2 deletions

View file

@ -2294,7 +2294,7 @@
"description": "nvk: Fix a Volta check",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "e162c2e78e8681865b3ae249de3e9dc9a1a18429",
"notes": null

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