File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -135,9 +135,11 @@ std::optional<std::string> tryParseProfile(StringRef Profile) {
135
135
SubArch = llvm::Triple::DXILSubArch_v1_7;
136
136
break ;
137
137
case 8 :
138
+ case OfflineLibMinor:
139
+ // Always consider minor version x as the latest supported minor version
138
140
SubArch = llvm::Triple::DXILSubArch_v1_8;
139
141
break ;
140
- default :
142
+ default :
141
143
// No DXIL Version corresponding to specified Shader Model version found
142
144
return std::nullopt;
143
145
}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ TEST(DxcModeTest, TargetProfileValidation) {
86
86
InMemoryFileSystem, Diags);
87
87
validateTargetProfile (" -Tas_6_7" , " dxilv1.7--shadermodel6.7-amplification" ,
88
88
InMemoryFileSystem, Diags);
89
- validateTargetProfile (" -Tlib_6_8 " , " dxilv1.8--shadermodel6.8 -library" ,
89
+ validateTargetProfile (" -Tlib_6_x " , " dxilv1.8--shadermodel6.15 -library" ,
90
90
InMemoryFileSystem, Diags);
91
91
92
92
// Invalid tests.
You can’t perform that action at this time.
0 commit comments