lavapipe: Set minAccelerationStructureScratchOffsetAlignment to 8

The 128 alignment was copied from RADV (which does not need it). 8 bytes
should be enough.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31365>
This commit is contained in:
Konstantin Seurer 2024-09-25 17:23:12 +02:00 committed by Marge Bot
parent 4cb8ecd47c
commit 8aa314d3e1

View file

@ -1197,7 +1197,7 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie
.maxPerStageDescriptorUpdateAfterBindAccelerationStructures = MAX_DESCRIPTORS,
.maxDescriptorSetAccelerationStructures = MAX_DESCRIPTORS,
.maxDescriptorSetUpdateAfterBindAccelerationStructures = MAX_DESCRIPTORS,
.minAccelerationStructureScratchOffsetAlignment = 128,
.minAccelerationStructureScratchOffsetAlignment = 8,
/* VK_EXT_legacy_vertex_attributes */
.nativeUnalignedPerformance = true,