| 2312 | } |
| 2313 | |
| 2314 | SyncAccessSupport parseSyncAccessSupport( tinyxml2::XMLElement const * element ) |
| 2315 | { |
| 2316 | int const line = element->GetLineNum(); |
| 2317 | std::map<std::string, std::string> attributes = getAttributes( element ); |
| 2318 | checkAttributes( "vk.xml", line, attributes, { { "stage", {} } }, {} ); |
| 2319 | checkElements( "vk.xml", line, getChildElements( element ), {}, {} ); |
| 2320 | |
| 2321 | SyncAccessSupport syncSupport{ .xmlLine = line }; |
| 2322 | for ( auto const & attribute : attributes ) |
| 2323 | { |
| 2324 | if ( attribute.first == "stage" ) |
| 2325 | { |
| 2326 | syncSupport.stages = tokenize( attribute.second, "," ); |
| 2327 | // CHECK: stages after extensions |
| 2328 | } |
| 2329 | } |
| 2330 | |
| 2331 | return syncSupport; |
| 2332 | } |
| 2333 | |
| 2334 | SyncPipeline parseSyncPipeline( tinyxml2::XMLElement const * element ) |
| 2335 | { |
no test coverage detected