mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Fix D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS serialisation
This commit is contained in:
@@ -1920,7 +1920,9 @@ void DoSerialise(SerialiserType &ser, D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCT
|
||||
}
|
||||
}
|
||||
|
||||
SERIALISE_ELEMENT_ARRAY(tempDescs, el.NumDescs).Named("ppGeometryDescs");
|
||||
// not using SERIALISE_ELEMENT_ARRAY so we can deliberately avoid allocation and so that the
|
||||
// array isn't immediately freed
|
||||
ser.Serialise("ppGeometryDescs"_lit, tempDescs, el.NumDescs, SerialiserFlags::NoFlags);
|
||||
|
||||
if(ser.IsReading())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user