@@ -2655,33 +2655,43 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
2655
2655
2656
2656
inline ImageOperandsMask operator |(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask (unsigned (a) | unsigned (b)); }
2657
2657
inline ImageOperandsMask operator &(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask (unsigned (a) & unsigned (b)); }
2658
+ inline ImageOperandsMask operator ^(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask (unsigned (a) ^ unsigned (b)); }
2658
2659
inline ImageOperandsMask operator ~(ImageOperandsMask a) { return ImageOperandsMask (~unsigned (a)); }
2659
2660
inline FPFastMathModeMask operator |(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask (unsigned (a) | unsigned (b)); }
2660
2661
inline FPFastMathModeMask operator &(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask (unsigned (a) & unsigned (b)); }
2662
+ inline FPFastMathModeMask operator ^(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask (unsigned (a) ^ unsigned (b)); }
2661
2663
inline FPFastMathModeMask operator ~(FPFastMathModeMask a) { return FPFastMathModeMask (~unsigned (a)); }
2662
2664
inline SelectionControlMask operator |(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask (unsigned (a) | unsigned (b)); }
2663
2665
inline SelectionControlMask operator &(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask (unsigned (a) & unsigned (b)); }
2666
+ inline SelectionControlMask operator ^(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask (unsigned (a) ^ unsigned (b)); }
2664
2667
inline SelectionControlMask operator ~(SelectionControlMask a) { return SelectionControlMask (~unsigned (a)); }
2665
2668
inline LoopControlMask operator |(LoopControlMask a, LoopControlMask b) { return LoopControlMask (unsigned (a) | unsigned (b)); }
2666
2669
inline LoopControlMask operator &(LoopControlMask a, LoopControlMask b) { return LoopControlMask (unsigned (a) & unsigned (b)); }
2670
+ inline LoopControlMask operator ^(LoopControlMask a, LoopControlMask b) { return LoopControlMask (unsigned (a) ^ unsigned (b)); }
2667
2671
inline LoopControlMask operator ~(LoopControlMask a) { return LoopControlMask (~unsigned (a)); }
2668
2672
inline FunctionControlMask operator |(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask (unsigned (a) | unsigned (b)); }
2669
2673
inline FunctionControlMask operator &(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask (unsigned (a) & unsigned (b)); }
2674
+ inline FunctionControlMask operator ^(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask (unsigned (a) ^ unsigned (b)); }
2670
2675
inline FunctionControlMask operator ~(FunctionControlMask a) { return FunctionControlMask (~unsigned (a)); }
2671
2676
inline MemorySemanticsMask operator |(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask (unsigned (a) | unsigned (b)); }
2672
2677
inline MemorySemanticsMask operator &(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask (unsigned (a) & unsigned (b)); }
2678
+ inline MemorySemanticsMask operator ^(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask (unsigned (a) ^ unsigned (b)); }
2673
2679
inline MemorySemanticsMask operator ~(MemorySemanticsMask a) { return MemorySemanticsMask (~unsigned (a)); }
2674
2680
inline MemoryAccessMask operator |(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask (unsigned (a) | unsigned (b)); }
2675
2681
inline MemoryAccessMask operator &(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask (unsigned (a) & unsigned (b)); }
2682
+ inline MemoryAccessMask operator ^(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask (unsigned (a) ^ unsigned (b)); }
2676
2683
inline MemoryAccessMask operator ~(MemoryAccessMask a) { return MemoryAccessMask (~unsigned (a)); }
2677
2684
inline KernelProfilingInfoMask operator |(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask (unsigned (a) | unsigned (b)); }
2678
2685
inline KernelProfilingInfoMask operator &(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask (unsigned (a) & unsigned (b)); }
2686
+ inline KernelProfilingInfoMask operator ^(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask (unsigned (a) ^ unsigned (b)); }
2679
2687
inline KernelProfilingInfoMask operator ~(KernelProfilingInfoMask a) { return KernelProfilingInfoMask (~unsigned (a)); }
2680
2688
inline RayFlagsMask operator |(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask (unsigned (a) | unsigned (b)); }
2681
2689
inline RayFlagsMask operator &(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask (unsigned (a) & unsigned (b)); }
2690
+ inline RayFlagsMask operator ^(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask (unsigned (a) ^ unsigned (b)); }
2682
2691
inline RayFlagsMask operator ~(RayFlagsMask a) { return RayFlagsMask (~unsigned (a)); }
2683
2692
inline FragmentShadingRateMask operator |(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask (unsigned (a) | unsigned (b)); }
2684
2693
inline FragmentShadingRateMask operator &(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask (unsigned (a) & unsigned (b)); }
2694
+ inline FragmentShadingRateMask operator ^(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask (unsigned (a) ^ unsigned (b)); }
2685
2695
inline FragmentShadingRateMask operator ~(FragmentShadingRateMask a) { return FragmentShadingRateMask (~unsigned (a)); }
2686
2696
2687
2697
} // end namespace spv
0 commit comments