diff --git a/.references/spirv b/.references/spirv index 5943b50..46df6db 100644 --- a/.references/spirv +++ b/.references/spirv @@ -1 +1 @@ -db5a00f +f013f08 diff --git a/spirv/unified1/NonSemanticVkspReflection.h b/spirv/unified1/NonSemanticVkspReflection.h index 331a3d9..e50ae48 100644 --- a/spirv/unified1/NonSemanticVkspReflection.h +++ b/spirv/unified1/NonSemanticVkspReflection.h @@ -33,7 +33,7 @@ extern "C" { #endif enum { - NonSemanticVkspReflectionRevision = 2, + NonSemanticVkspReflectionRevision = 3, NonSemanticVkspReflectionRevision_BitWidthPadding = 0x7fffffff }; diff --git a/spirv/unified1/spirv.h b/spirv/unified1/spirv.h index b58eac5..c834df6 100644 --- a/spirv/unified1/spirv.h +++ b/spirv/unified1/spirv.h @@ -1786,6 +1786,7 @@ typedef enum SpvOp_ { SpvOpUntypedPtrAccessChainKHR = 4423, SpvOpUntypedInBoundsPtrAccessChainKHR = 4424, SpvOpUntypedArrayLengthKHR = 4425, + SpvOpUntypedPrefetchKHR = 4426, SpvOpSubgroupAllKHR = 4428, SpvOpSubgroupAnyKHR = 4429, SpvOpSubgroupAllEqualKHR = 4430, @@ -2541,6 +2542,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpUntypedPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case SpvOpUntypedInBoundsPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case SpvOpUntypedArrayLengthKHR: *hasResult = true; *hasResultType = true; break; + case SpvOpUntypedPrefetchKHR: *hasResult = false; *hasResultType = false; break; case SpvOpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; case SpvOpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; case SpvOpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; @@ -4334,6 +4336,7 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpUntypedPtrAccessChainKHR: return "OpUntypedPtrAccessChainKHR"; case SpvOpUntypedInBoundsPtrAccessChainKHR: return "OpUntypedInBoundsPtrAccessChainKHR"; case SpvOpUntypedArrayLengthKHR: return "OpUntypedArrayLengthKHR"; + case SpvOpUntypedPrefetchKHR: return "OpUntypedPrefetchKHR"; case SpvOpSubgroupAllKHR: return "OpSubgroupAllKHR"; case SpvOpSubgroupAnyKHR: return "OpSubgroupAnyKHR"; case SpvOpSubgroupAllEqualKHR: return "OpSubgroupAllEqualKHR"; diff --git a/spirv/unified1/spirv.hpp b/spirv/unified1/spirv.hpp index 5690ada..c057d71 100644 --- a/spirv/unified1/spirv.hpp +++ b/spirv/unified1/spirv.hpp @@ -1782,6 +1782,7 @@ enum Op { OpUntypedPtrAccessChainKHR = 4423, OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, + OpUntypedPrefetchKHR = 4426, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, @@ -2537,6 +2538,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpUntypedPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case OpUntypedInBoundsPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case OpUntypedArrayLengthKHR: *hasResult = true; *hasResultType = true; break; + case OpUntypedPrefetchKHR: *hasResult = false; *hasResultType = false; break; case OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; case OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; case OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; @@ -4330,6 +4332,7 @@ inline const char* OpToString(Op value) { case OpUntypedPtrAccessChainKHR: return "OpUntypedPtrAccessChainKHR"; case OpUntypedInBoundsPtrAccessChainKHR: return "OpUntypedInBoundsPtrAccessChainKHR"; case OpUntypedArrayLengthKHR: return "OpUntypedArrayLengthKHR"; + case OpUntypedPrefetchKHR: return "OpUntypedPrefetchKHR"; case OpSubgroupAllKHR: return "OpSubgroupAllKHR"; case OpSubgroupAnyKHR: return "OpSubgroupAnyKHR"; case OpSubgroupAllEqualKHR: return "OpSubgroupAllEqualKHR"; diff --git a/spirv/unified1/spirv.hpp11 b/spirv/unified1/spirv.hpp11 index 0e621b5..1c336a7 100644 --- a/spirv/unified1/spirv.hpp11 +++ b/spirv/unified1/spirv.hpp11 @@ -1782,6 +1782,7 @@ enum class Op : unsigned { OpUntypedPtrAccessChainKHR = 4423, OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, + OpUntypedPrefetchKHR = 4426, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, @@ -2537,6 +2538,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpUntypedPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case Op::OpUntypedInBoundsPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case Op::OpUntypedArrayLengthKHR: *hasResult = true; *hasResultType = true; break; + case Op::OpUntypedPrefetchKHR: *hasResult = false; *hasResultType = false; break; case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; @@ -4330,6 +4332,7 @@ inline const char* OpToString(Op value) { case OpUntypedPtrAccessChainKHR: return "OpUntypedPtrAccessChainKHR"; case OpUntypedInBoundsPtrAccessChainKHR: return "OpUntypedInBoundsPtrAccessChainKHR"; case OpUntypedArrayLengthKHR: return "OpUntypedArrayLengthKHR"; + case OpUntypedPrefetchKHR: return "OpUntypedPrefetchKHR"; case OpSubgroupAllKHR: return "OpSubgroupAllKHR"; case OpSubgroupAnyKHR: return "OpSubgroupAnyKHR"; case OpSubgroupAllEqualKHR: return "OpSubgroupAllEqualKHR";