diff options
author | amhagan <aaron.hagan@amd.com> | 2019-07-14 16:36:10 -0400 |
---|---|---|
committer | amhagan <aaron.hagan@amd.com> | 2019-07-16 15:08:59 -0400 |
commit | 5bc5041bd250262cd4350371aed17af4a88eb7c9 (patch) | |
tree | 28f81ab9625d8397a8c82d4dd4ffbaf69f6b0ce9 /include/spirv/unified1/spirv.hpp11 | |
parent | 45c2cc37276d69e5b257507d97fd90d2a5684ccc (diff) | |
download | SPIRV-Headers-5bc5041bd250262cd4350371aed17af4a88eb7c9.tar.gz |
Add SPV_KHR_shader_clock to spirv-headers
Diffstat (limited to 'include/spirv/unified1/spirv.hpp11')
-rw-r--r-- | include/spirv/unified1/spirv.hpp11 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 257f77c..0faa67b 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -809,6 +809,7 @@ enum class Capability : unsigned { FragmentMaskAMD = 5010, StencilExportEXT = 5013, ImageReadWriteLodAMD = 5015, + ShaderClockKHR = 5055, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, @@ -1219,6 +1220,7 @@ enum class Op : unsigned { OpGroupSMaxNonUniformAMD = 5007, OpFragmentMaskFetchAMD = 5011, OpFragmentFetchAMD = 5012, + OpReadClockKHR = 5056, OpImageSampleFootprintNV = 5283, OpGroupNonUniformPartitionNV = 5296, OpWritePackedPrimitiveIndices4x8NV = 5299, @@ -1751,6 +1753,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; case Op::OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break; case Op::OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break; + case Op::OpReadClockKHR: *hasResult = true; *hasResultType = true; break; case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break; case Op::OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break; case Op::OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break; |