mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
nvk: Put CB0 in VRAM
This improves frame rates in The Witness by about 2%. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30033>
This commit is contained in:
parent
68f1df5ebb
commit
a342379c56
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ nvk_queue_state_update(struct nvk_device *dev,
|
|||
|
||||
struct nvkmd_mem *push_mem;
|
||||
VkResult result = nvkmd_dev_alloc_mapped_mem(dev->nvkmd, &dev->vk.base,
|
||||
256 * 4, 0, NVKMD_MEM_GART,
|
||||
256 * 4, 0, NVKMD_MEM_LOCAL,
|
||||
NVKMD_MEM_MAP_WR, &push_mem);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue