Skip to content

Commit 77e856e

Browse files
compile successfully
1 parent edcf703 commit 77e856e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

lib/SPIRV/libSPIRV/SPIRVInstruction.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4480,22 +4480,21 @@ class SPIRVTernaryBitwiseFunctionINTELInst : public SPIRVInstTemplateBase {
44804480
_SPIRV_OP(BitwiseFunction, true, 7)
44814481
#undef _SPIRV_OP
44824482

4483-
} // namespace SPIRV
4484-
44854483
class SPIRVPredicatedIOINTELInst : public SPIRVInstTemplateBase {
44864484
public:
44874485
std::optional<ExtensionID> getRequiredExtension() const override {
44884486
return ExtensionID::SPV_INTEL_predicated_io;
44894487
}
44904488
SPIRVCapVec getRequiredCapability() const override {
4491-
return getVec(CapabilityPredicatedIOINTEL);
4489+
return getVec(internal::CapabilityPredicatedIOINTEL);
44924490
}
44934491
};
44944492

44954493
#define _SPIRV_OP(x, ...) \
4496-
typedef SPIRVInstTemplate<SPIRVPredicatedIOINTELInst, Op##x##INTEL, __VA_ARGS__> \
4494+
typedef SPIRVInstTemplate<SPIRVPredicatedIOINTELInst, internal::Op##x##INTEL, __VA_ARGS__> \
44974495
SPIRV##x##INTEL;
44984496
_SPIRV_OP(PredicatedLoad, true, 5)
44994497
_SPIRV_OP(PredicatedStore, true, 3)
45004498
#undef _SPIRV_OP
4499+
} // namespace SPIRV
45014500
#endif // SPIRV_LIBSPIRV_SPIRVINSTRUCTION_H

lib/SPIRV/libSPIRV/SPIRVOpCodeEnumInternal.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ _SPIRV_OP_INTERNAL(ConvertHandleToSamplerINTEL,
4141
internal::ConvertHandleToSamplerINTEL)
4242
_SPIRV_OP_INTERNAL(ConvertHandleToSampledImageINTEL,
4343
internal::ConvertHandleToSampledImageINTEL)
44+
_SPIRV_OP_INTERNAL(PredicatedLoadINTEL,
45+
internal::OpPredicatedLoadINTEL)
46+
_SPIRV_OP_INTERNAL(PredicatedStoreINTEL,
47+
internal::OpPredicatedStoreINTEL)

0 commit comments

Comments
 (0)