Skip to content

Commit ac8a2c0

Browse files
committed
* work around broken Intel code to fix clang 20 compilation
1 parent d396181 commit ac8a2c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/spirv/unified1/spirv.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@ enum LoopControlMask {
725725
LoopControlMaxInterleavingINTELMask = 0x00200000,
726726
LoopControlSpeculatedIterationsINTELMask = 0x00400000,
727727
LoopControlNoFusionINTELMask = 0x00800000,
728+
LoopControlMask_WORK_AROUND_BROKEN_INTEL_CODE = 0x7FFFFFFF
728729
};
729730

730731
enum FunctionControlShift {
@@ -811,6 +812,7 @@ enum MemoryAccessMask {
811812
MemoryAccessMakePointerVisibleKHRMask = 0x00000010,
812813
MemoryAccessNonPrivatePointerMask = 0x00000020,
813814
MemoryAccessNonPrivatePointerKHRMask = 0x00000020,
815+
MemoryAccessMask_WORK_AROUND_BROKEN_INTEL_CODE = 0x7FFFFFFF
814816
};
815817

816818
enum Scope {

0 commit comments

Comments
 (0)