radv: use 32bit va range for sparse descriptor buffers
Fixes:5c5735fd68
("radv: advertise VK_EXT_descriptor_buffer") Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26482> (cherry picked from commit059391b631
)
This commit is contained in:

committed by
Eric Engestrom

parent
fdf972e418
commit
ce68ed2d1c
@@ -204,7 +204,7 @@
|
||||
"description": "radv: use 32bit va range for sparse descriptor buffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "5c5735fd68168fd1e80d474df84dc819d7a1ad24",
|
||||
"notes": null
|
||||
|
@@ -90,6 +90,8 @@ radv_create_buffer(struct radv_device *device, const VkBufferCreateInfo *pCreate
|
||||
enum radeon_bo_flag flags = RADEON_FLAG_VIRTUAL;
|
||||
if (pCreateInfo->flags & VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT)
|
||||
flags |= RADEON_FLAG_REPLAYABLE;
|
||||
if (pCreateInfo->usage & VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT)
|
||||
flags |= RADEON_FLAG_32BIT;
|
||||
|
||||
uint64_t replay_address = 0;
|
||||
const VkBufferOpaqueCaptureAddressCreateInfo *replay_info =
|
||||
|
Reference in New Issue
Block a user