mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
radv/rra: Get rid of annoying memory aliasing warning
Such cursed behavior is almost non existent in practise. When capturing a Doom Eternal, this warning spams the output for no reason. The warning is also unnecessary since we copy acceleration structures right after building them now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20047>
This commit is contained in:
parent
e2b7e478a5
commit
7fe515f6d4
1 changed files with 0 additions and 4 deletions
|
|
@ -185,10 +185,6 @@ rra_CreateAccelerationStructureKHR(VkDevice _device,
|
|||
RADV_FROM_HANDLE(radv_acceleration_structure, structure, *pAccelerationStructure);
|
||||
simple_mtx_lock(&device->rra_trace.data_mtx);
|
||||
|
||||
if (_mesa_hash_table_u64_search(device->rra_trace.accel_struct_vas, structure->va) != NULL)
|
||||
fprintf(stderr, "radv: Memory aliasing between acceleration structures detected. RRA "
|
||||
"captures might not work correctly.\n");
|
||||
|
||||
struct radv_rra_accel_struct_data *data = malloc(sizeof(struct radv_rra_accel_struct_data));
|
||||
if (!data) {
|
||||
result = VK_ERROR_OUT_OF_HOST_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue