mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-05 06:11:05 +00:00
Report and handle source-level entry point name from exported name
* The compiler could compile an entry point "foo" into an export "bar". We use the exported name in most places as that's guaranteed to be unique by the API and used for cross-referencing, but when recompiling we pass the original source name as in the debug info.
This commit is contained in:
@@ -1440,6 +1440,13 @@ The first entry in the list is always the file where the entry point is.
|
||||
)");
|
||||
rdcarray<ShaderSourceFile> files;
|
||||
|
||||
DOCUMENT(R"(The name of the entry point in the source code, not necessarily the same as the
|
||||
entry point name exported to the API.
|
||||
|
||||
:type: str
|
||||
)");
|
||||
rdcstr entrySourceName;
|
||||
|
||||
DOCUMENT(R"(The source location of the first executable line or the entry point.
|
||||
|
||||
.. note::
|
||||
|
||||
Reference in New Issue
Block a user