From 83fe01e27487a1bbbb43f25a0f875d983f426843 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Mon, 26 Nov 2018 06:34:38 -0700 Subject: [PATCH] SPV: non-functional: update to latest headers. --- SPIRV/spirv.hpp | 6 +++++- glslang/Include/revision.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SPIRV/spirv.hpp b/SPIRV/spirv.hpp index 25b5ce9e99..72e577a146 100644 --- a/SPIRV/spirv.hpp +++ b/SPIRV/spirv.hpp @@ -26,13 +26,14 @@ // the Binary Section of the SPIR-V specification. // Enumeration tokens for SPIR-V, in various styles: -// C, C++, C++11, JSON, Lua, Python +// C, C++, C++11, JSON, Lua, Python, C# // // - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL // - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL // - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL // - Lua will use tables, e.g.: spv.SourceLanguage.GLSL // - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL'] +// - C# will use enum classes in the Specification class located in the "Spv" namespace, e.g.: Spv.Specification.SourceLanguage.GLSL // // Some tokens act like mask values, which can be OR'd together, // while others are mutually exclusive. The mask-like ones have @@ -512,7 +513,9 @@ enum BuiltIn { BuiltInMeshViewIndicesNV = 5281, BuiltInBaryCoordNV = 5286, BuiltInBaryCoordNoPerspNV = 5287, + BuiltInFragSizeEXT = 5292, BuiltInFragmentSizeNV = 5292, + BuiltInFragInvocationCountEXT = 5293, BuiltInInvocationsPerPixelNV = 5293, BuiltInLaunchIdNV = 5319, BuiltInLaunchSizeNV = 5320, @@ -770,6 +773,7 @@ enum Capability { CapabilityImageFootprintNV = 5282, CapabilityFragmentBarycentricNV = 5284, CapabilityComputeDerivativeGroupQuadsNV = 5288, + CapabilityFragmentDensityEXT = 5291, CapabilityShadingRateNV = 5291, CapabilityGroupNonUniformPartitionedNV = 5297, CapabilityShaderNonUniformEXT = 5301, diff --git a/glslang/Include/revision.h b/glslang/Include/revision.h index a1acb25119..dcd5260760 100644 --- a/glslang/Include/revision.h +++ b/glslang/Include/revision.h @@ -1,3 +1,3 @@ // This header is generated by the make-revision script. -#define GLSLANG_PATCH_LEVEL 2992 +#define GLSLANG_PATCH_LEVEL 2997