-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LightMetal - Add+Use TRACE_FUNCTION_ENTRY() macro to prevent recursiv…
…e host API tracing - Add TRACE_FUNCTION_ENTRY() at the very start of function that is traced with TRACE_FUNCTION_CALL() to increment scope guard counter. - Really liked single macro usage per trace function, but some APIs like EnqueueProgram() and CreateDevice() (not currently traced, maybe one day) call other host APIs - Can't bundle with existing TRACE_FUNCTION_CALL() macro because sometimes it's called at end of traced function (when it needs to capture the return object) rather than beginning
- Loading branch information
Showing
3 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters