radv/rt: Remove RADV_OFFSET_UNUSED
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

RADV_OFFSET_UNUSED became unused, itself.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39985>
This commit is contained in:
Natalie Vock 2026-03-28 16:30:25 +01:00
parent 579feda38b
commit 1f9bc71051

View file

@ -54,8 +54,6 @@ static const uint32_t leaf_spv[] = {
#include "bvh/radv_leaf.spv.h"
};
#define RADV_OFFSET_UNUSED 0xffffffff
struct acceleration_structure_layout {
uint32_t geometry_info_offset;
uint32_t leaf_node_offsets_offset;
@ -147,8 +145,6 @@ radv_get_acceleration_structure_layout(struct radv_device *device,
if (device->rra_trace.accel_structs) {
accel_struct->geometry_info_offset = offset;
offset += sizeof(struct radv_accel_struct_geometry_info) * state->build_info->geometryCount;
} else {
accel_struct->geometry_info_offset = RADV_OFFSET_UNUSED;
}
/* On GFX12, we need additional space for leaf node offsets since they do not have the same