We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ab96a commit 3746b60Copy full SHA for 3746b60
clang/lib/Driver/ToolChains/HLSL.cpp
@@ -250,7 +250,7 @@ SmallString<1024> getSpirvExtArg(ArrayRef<std::string> SpvExtensionArgs) {
250
}
251
252
bool isValidSPIRVExtensionName(const std::string &str) {
253
- std::regex pattern("dxc|DXC|KHR|SPV_[a-zA-Z0-9_]+");
+ std::regex pattern("dxc|DXC|khr|KHR|SPV_[a-zA-Z0-9_]+");
254
return std::regex_match(str, pattern);
255
256
0 commit comments