| 139 | static MockVulkanAPI* sInstance; |
| 140 | |
| 141 | const VkBaseOutStructure* GetStructure(const void* pNext, VkStructureType type) |
| 142 | { |
| 143 | const VkBaseOutStructure *p = static_cast<const VkBaseOutStructure*>(pNext); |
| 144 | while (p != nullptr) { |
| 145 | if (p->sType == type) return p; |
| 146 | p = p->pNext; |
| 147 | } |
| 148 | return nullptr; |
| 149 | } |
| 150 | |
| 151 | void CheckChainedStructs(const void* pNext, const std::vector<VulkanStructData>& expectedStructs) |
| 152 | { |
nothing calls this directly
no outgoing calls
no test coverage detected