MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / GetAccessContext

Function GetAccessContext

layers/sync/sync_command_buffer.h:435–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435static inline CommandBufferAccessContext *GetAccessContext(vvl::CommandBuffer &cb) {
436 return &static_cast<CommandBufferSubState *>(cb.SubState(LayerObjectTypeSyncValidation))->access_context;
437}
438static inline const CommandBufferAccessContext *GetAccessContext(const vvl::CommandBuffer &cb) {
439 return &static_cast<const CommandBufferSubState *>(cb.SubState(LayerObjectTypeSyncValidation))->access_context;
440}

Calls 1

SubStateMethod · 0.80

Tested by

no test coverage detected