diff options
author | Vikram Kushwaha <vkushwaha@nvidia.com> | 2020-07-19 15:29:04 -0700 |
---|---|---|
committer | Vikram Kushwaha <vkushwaha@nvidia.com> | 2020-07-19 15:29:04 -0700 |
commit | 7083cb52e1812201c2d5641306fcbca639c9560f (patch) | |
tree | ed0707f7eba8eab54bf85ead8c3cdaf065f9a5a8 /include/spirv/unified1/spirv.h | |
parent | 308bd07424350a6000f35a77b5f85cd4f3da319e (diff) | |
download | SPIRV-Headers-7083cb52e1812201c2d5641306fcbca639c9560f.tar.gz |
Add changes for SPV_EXT_shader_atomic_float
Diffstat (limited to 'include/spirv/unified1/spirv.h')
-rw-r--r-- | include/spirv/unified1/spirv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index 449d199..25db3b8 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -976,6 +976,8 @@ typedef enum SpvCapability_ { SpvCapabilityFPGAKernelAttributesINTEL = 5897, SpvCapabilityBlockingPipesINTEL = 5945, SpvCapabilityFPGARegINTEL = 5948, + SpvCapabilityAtomicFloat32AddEXT = 6033, + SpvCapabilityAtomicFloat64AddEXT = 6034, SpvCapabilityMax = 0x7fffffff, } SpvCapability; @@ -1588,6 +1590,7 @@ typedef enum SpvOp_ { SpvOpRayQueryGetWorldRayOriginKHR = 6030, SpvOpRayQueryGetIntersectionObjectToWorldKHR = 6031, SpvOpRayQueryGetIntersectionWorldToObjectKHR = 6032, + SpvOpAtomicFAddEXT = 6035, SpvOpMax = 0x7fffffff, } SpvOp; @@ -2149,6 +2152,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break; case SpvOpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break; case SpvOpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break; + case SpvOpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break; } } #endif /* SPV_ENABLE_UTILITY_CODE */ |