Skip to content

Commit

Permalink
Fix gcc downstream compiler optimization level corresponding to Optim…
Browse files Browse the repository at this point in the history
…izationLevel::Maximal (shader-slang#6137)
  • Loading branch information
spking11 authored Jan 21, 2025
1 parent 6812245 commit 4c2c085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/compiler-core/slang-gcc-compiler-util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static SlangResult _parseGCCFamilyLine(
}
case OptimizationLevel::Maximal:
{
cmdLine.addArg("-O4");
cmdLine.addArg("-O3");
break;
}
default:
Expand Down

0 comments on commit 4c2c085

Please sign in to comment.