mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 15:19:14 +00:00
Update replay proxy to use new serialisation mechanism
This commit is contained in:
28 files changed
+1585
-3127
No files matched your search
@@ -882,6 +882,12 @@ different to the above, and lets the UI make decisions e.g. to flip rendering of
|
||||
with software rendering, or with some functionality disabled due to lack of support.
|
||||
)");
|
||||
bool degraded;
|
||||
|
||||
DOCUMENT(R"(``True`` if the driver mutates shader reflection structures from event to event.
|
||||
Currently this is only true for OpenGL where the superfluous indirect in the binding model must be
|
||||
worked around by re-sorting bindings.
|
||||
)");
|
||||
bool shadersMutable;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(APIProperties);
|
||||
|
||||
@@ -203,7 +203,7 @@ struct ShaderDebugState
|
||||
|
||||
DOCUMENT(
|
||||
"Indexable temporary variables for this shader as a list of :class:`ShaderValue` lists.");
|
||||
rdcarray<rdcarray<ShaderVariable> > indexableTemps;
|
||||
rdcarray<ShaderVariable> indexableTemps;
|
||||
|
||||
DOCUMENT(R"(The next instruction to be executed after this state. The initial state before any
|
||||
shader execution happened will have ``nextInstruction == 0``.)");
|
||||
@@ -228,7 +228,7 @@ struct ShaderDebugTrace
|
||||
Each entry in this list corresponds to a constant block with the same index in the
|
||||
:data:`ShaderBindpointMapping.ConstantBlocks` list, which can be used to look up the metadata.
|
||||
)");
|
||||
rdcarray<rdcarray<ShaderVariable> > cbuffers;
|
||||
rdcarray<ShaderVariable> cbuffers;
|
||||
|
||||
DOCUMENT(R"(A list of :class:`ShaderDebugState` states representing the state after each
|
||||
instruction was executed
|
||||
@@ -451,16 +451,42 @@ able to be read from and written to arbitrarily.
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(ShaderResource);
|
||||
|
||||
DOCUMENT("Contains a single flag used at compile-time on a shader.");
|
||||
struct ShaderCompileFlag
|
||||
{
|
||||
DOCUMENT("The name of the compile flag.");
|
||||
rdcstr Name;
|
||||
|
||||
DOCUMENT("The value of the compile flag.");
|
||||
rdcstr Value;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(ShaderCompileFlag);
|
||||
|
||||
DOCUMENT("Contains the information about the compilation environment of a shader");
|
||||
struct ShaderCompileFlags
|
||||
{
|
||||
DOCUMENT(R"(A list of tuples, where each tuple is a pair of flagName, flagValue.
|
||||
DOCUMENT(R"(A list of :class:`ShaderCompileFlag`.
|
||||
|
||||
Each entry is an API or compiler specific flag used to compile this shader originally.
|
||||
)");
|
||||
rdcarray<rdcpair<rdcstr, rdcstr> > flags;
|
||||
rdcarray<ShaderCompileFlag> flags;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(ShaderCompileFlags);
|
||||
|
||||
DOCUMENT("Contains a source file available in a debug-compiled shader.");
|
||||
struct ShaderSourceFile
|
||||
{
|
||||
DOCUMENT("The filename of this source file.");
|
||||
rdcstr Filename;
|
||||
|
||||
DOCUMENT("The actual contents of the file.");
|
||||
rdcstr Contents;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(ShaderSourceFile);
|
||||
|
||||
DOCUMENT(R"(Contains the information about a shader contained within API-specific debugging
|
||||
information attached to the shader.
|
||||
|
||||
@@ -472,11 +498,11 @@ struct ShaderDebugChunk
|
||||
DOCUMENT("A :class:`ShaderCompileFlags` containing the flags used to compile this shader.");
|
||||
ShaderCompileFlags compileFlags;
|
||||
|
||||
DOCUMENT(R"(A list of tuples, where each tuple is a pair of filename, source code.
|
||||
DOCUMENT(R"(A list of :class:`ShaderSourceFile`.
|
||||
|
||||
The first entry in the list is always the file where the entry point is.
|
||||
)");
|
||||
rdcarray<rdcpair<rdcstr, rdcstr> > files;
|
||||
rdcarray<ShaderSourceFile> files;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(ShaderDebugChunk);
|
||||
|
||||
Reference in new issue
Block a user