mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-06 14:58:28 +02:00
radv/rt: Remove RADV_OFFSET_UNUSED
RADV_OFFSET_UNUSED became unused, itself. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39985>
This commit is contained in:
parent
579feda38b
commit
1f9bc71051
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue