mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# g++-12 fails on some very innocent code... excluding it for now
|
compiler: [clang++-13, clang++-14, clang++-15, g++-10, g++-11, g++-12]
|
||||||
compiler: [clang++-13, clang++-14, clang++-15, g++-10, g++-11]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include <regex>
|
#include <regex>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
|
using namespace std::literals;
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
std::vector<std::pair<std::string, size_t>> filterNumbers( std::vector<std::string> const & names );
|
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 );
|
std::vector<std::string> commands = selectCommandsByHandle( feature.requireData, handleData.commands, listedCommands );
|
||||||
if ( !commands.empty() )
|
if ( !commands.empty() )
|
||||||
{
|
{
|
||||||
str += "\n //=== " + feature.name + " ===\n";
|
str += "\n //=== "s + feature.name + " ===\n";
|
||||||
for ( auto const & command : commands )
|
for ( auto const & command : commands )
|
||||||
{
|
{
|
||||||
auto commandIt = m_commands.find( command );
|
auto commandIt = m_commands.find( command );
|
||||||
assert( commandIt != m_commands.end() );
|
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