Query which shader disassembly formats require a pipeline

* This allows us to be a bit more friendly in the UI when we don't have a
  particular pipeline associated with a shader.
This commit is contained in:
baldurk
2020-09-01 14:03:59 +01:00
parent 6b2f763bfa
commit 83f7a26ee9
19 changed files with 65 additions and 25 deletions
+2 -1
View File
@@ -520,10 +520,11 @@ values are implementation dependent but will always include a default target fir
native disassembly of the shader. Further options may be available for additional diassembly views
or hardware-specific ISA formats.
:param bool withPipeline: More disassembly may be available when a pipeline is specified.
:return: The list of disassembly targets available.
:rtype: ``list`` of ``str``
)");
virtual rdcarray<rdcstr> GetDisassemblyTargets() = 0;
virtual rdcarray<rdcstr> GetDisassemblyTargets(bool withPipeline) = 0;
DOCUMENT(R"(Retrieve the disassembly for a given shader, for the given disassembly target.