Skip to content

Commit 537218d

Browse files
AlexeySachkovAlexeySotkin
authored andcommitted
Fix build
Fixed an error caused by interference of 7cd1a3b and 584329f
1 parent 3aa4db6 commit 537218d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SPIRV/libSPIRV/SPIRVInstruction.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,8 +3101,8 @@ class SPIRVVariableLengthArrayINTELInstBase : public SPIRVInstTemplateBase {
31013101
SPIRVCapVec getRequiredCapability() const override {
31023102
return getVec(CapabilityVariableLengthArrayINTEL);
31033103
}
3104-
SPIRVExtSet getRequiredExtensions() const override {
3105-
return getSet(ExtensionID::SPV_INTEL_variable_length_array);
3104+
llvm::Optional<ExtensionID> getRequiredExtension() const override {
3105+
return ExtensionID::SPV_INTEL_variable_length_array;
31063106
}
31073107
};
31083108
#define _SPIRV_OP(x, ...) \

0 commit comments

Comments
 (0)