| 539 | |
| 540 | template< typename ObjectT > |
| 541 | static void stRegisterObject( GraphContext & context |
| 542 | , std::string const & name |
| 543 | , ObjectT object ) |
| 544 | { |
| 545 | using MyTraits = DebugTypeTraits< ObjectT >; |
| 546 | context.doRegisterObject( uint64_t( object ) |
| 547 | #if VK_EXT_debug_utils |
| 548 | , uint32_t( MyTraits::UtilsValue ) |
| 549 | #elif VK_EXT_debug_marker |
| 550 | , uint32_t( MyTraits::ReportValue ) |
| 551 | #endif |
| 552 | , name |
| 553 | , MyTraits::Name ); |
| 554 | } |
| 555 | |
| 556 | template< typename ObjectT > |
| 557 | static void stRegisterObjectName( GraphContext & context |
nothing calls this directly
no test coverage detected