mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-21 19:20:07 +00:00
test
This commit is contained in:
parent
7326b967a5
commit
da215f10c9
@ -3,4 +3,5 @@ Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
DerivePointerAlignment: false
|
||||
SortIncludes: true
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
...
|
||||
|
@ -188,7 +188,7 @@ function(spvtools_default_compile_options TARGET)
|
||||
target_compile_options(${TARGET} PRIVATE ${SPIRV_WARNINGS})
|
||||
|
||||
if (${COMPILER_IS_LIKE_GNU})
|
||||
target_compile_options(${TARGET} PRIVATE -std=c++11 -fno-exceptions)
|
||||
target_compile_options(${TARGET} PRIVATE -std=c++17 -fno-exceptions)
|
||||
target_compile_options(${TARGET} PRIVATE
|
||||
-Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion
|
||||
-Wno-sign-conversion)
|
||||
|
@ -52,7 +52,9 @@ void FeatureManager::RemoveExtension(Extension ext) {
|
||||
}
|
||||
|
||||
void FeatureManager::AddCapability(SpvCapability cap) {
|
||||
if (capabilities_.Contains(cap)) return;
|
||||
if (capabilities_.Contains(cao))
|
||||
// toto
|
||||
return;
|
||||
|
||||
capabilities_.Add(cap);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user