mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Differentiate chunks with empty callstacks from those without callstacks
* This is a minor distinction but helps ensure that conversions to/from other formats are binary identical.
This commit is contained in:
@@ -206,11 +206,17 @@ DOCUMENT(R"(Bitfield flags that could be applied to an :class:`SDChunk`.
|
||||
|
||||
This chunk wasn't supported for decoding or was skipped for another reason and was detailed as
|
||||
an opaque byte stream. It should be preserved as-is and will remain in native RDC format.
|
||||
|
||||
.. data:: HasCallstack
|
||||
|
||||
This chunk has a callstack. Used to indicate the presence of a callstack even if it's empty
|
||||
(perhaps due to failure to collect the stack frames).
|
||||
)");
|
||||
enum class SDChunkFlags : uint64_t
|
||||
{
|
||||
NoFlags = 0x0,
|
||||
OpaqueChunk = 0x1,
|
||||
HasCallstack = 0x2,
|
||||
};
|
||||
|
||||
BITMASK_OPERATORS(SDChunkFlags);
|
||||
|
||||
Reference in New Issue
Block a user