anv: allocate RT scratch in local memory
Like a 100x (not joking) improvement. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17674>
This commit is contained in:
parent
dd781c1ccb
commit
1aa4a91dbf
|
@ -1087,7 +1087,7 @@ void anv_CmdSetRayTracingPipelineStackSizeKHR(
|
|||
struct anv_bo *new_bo;
|
||||
VkResult result = anv_device_alloc_bo(device, "RT scratch",
|
||||
rt->scratch.layout.total_size,
|
||||
0, /* alloc_flags */
|
||||
ANV_BO_ALLOC_LOCAL_MEM,
|
||||
0, /* explicit_address */
|
||||
&new_bo);
|
||||
if (result != VK_SUCCESS) {
|
||||
|
|
Loading…
Reference in New Issue