mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 14:10:11 +01:00
ref_vk: fix unused var declaration
This commit is contained in:
parent
f66ad420eb
commit
735bfbb8db
@ -349,7 +349,7 @@ static qboolean createOrUpdateAccelerationStructure(VkCommandBuffer cmdbuf, cons
|
||||
|
||||
build_info.dstAccelerationStructure = *args->p_accel;
|
||||
build_info.scratchData.deviceAddress = g_rtx.scratch_buffer_addr + g_rtx.frame.scratch_offset;
|
||||
uint32_t scratch_offset_initial = g_rtx.frame.scratch_offset;
|
||||
//uint32_t scratch_offset_initial = g_rtx.frame.scratch_offset;
|
||||
g_rtx.frame.scratch_offset += scratch_buffer_size;
|
||||
g_rtx.frame.scratch_offset = ALIGN_UP(g_rtx.frame.scratch_offset, vk_core.physical_device.properties_accel.minAccelerationStructureScratchOffsetAlignment);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user