mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-08 13:40:08 +00:00
Add g++12 for ubuntu builds. (#1914)
This commit is contained in:
parent
630d8da8c6
commit
6f72ceca51
3
.github/workflows/ci-ubuntu.yml
vendored
3
.github/workflows/ci-ubuntu.yml
vendored
@ -15,8 +15,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
# g++-12 fails on some very innocent code... excluding it for now
|
||||
compiler: [clang++-13, clang++-14, clang++-15, g++-10, g++-11]
|
||||
compiler: [clang++-13, clang++-14, clang++-15, g++-10, g++-11, g++-12]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include <regex>
|
||||
#include <sstream>
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
namespace
|
||||
{
|
||||
std::vector<std::pair<std::string, size_t>> filterNumbers( std::vector<std::string> const & names );
|
||||
@ -7991,12 +7993,12 @@ std::string VulkanHppGenerator::generateHandleEmpty( HandleData const & handleDa
|
||||
std::vector<std::string> commands = selectCommandsByHandle( feature.requireData, handleData.commands, listedCommands );
|
||||
if ( !commands.empty() )
|
||||
{
|
||||
str += "\n //=== " + feature.name + " ===\n";
|
||||
str += "\n //=== "s + feature.name + " ===\n";
|
||||
for ( auto const & command : commands )
|
||||
{
|
||||
auto commandIt = m_commands.find( command );
|
||||
assert( commandIt != m_commands.end() );
|
||||
str += "\n" + generateCommand( commandIt->first, commandIt->second, 0, false, false );
|
||||
str += "\n"s + generateCommand( commandIt->first, commandIt->second, 0, false, false );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user