From 549d78f77f6c5a13332f660c0ff9d5e0fd13ead8 Mon Sep 17 00:00:00 2001 From: Dejan Mircevski Date: Thu, 21 Apr 2016 17:16:32 -0400 Subject: [PATCH] Bump kCapabilitiesMaxValue for v1.1. --- source/spirv_definition.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/spirv_definition.h b/source/spirv_definition.h index 088ae96..fd2e28b 100644 --- a/source/spirv_definition.h +++ b/source/spirv_definition.h @@ -34,7 +34,7 @@ #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) // A bit mask representing a set of capabilities. -// Currently there are 57 distinct capabilities, so 64 bits +// Currently there are 60 distinct capabilities, so 64 bits // should be enough. typedef uint64_t spv_capability_mask_t; @@ -45,10 +45,10 @@ typedef uint64_t spv_capability_mask_t; #define SPV_CAPABILITY_AS_MASK(capability) \ (spv_capability_mask_t(1) << (capability)) -// Min/max capability IDs. +// Min/max capability IDs. TODO(dekimir): move this into context. enum { kCapabilitiesMinValue = SpvCapabilityMatrix, - kCapabilitiesMaxValue = SpvCapabilityMultiViewport + kCapabilitiesMaxValue = SpvCapabilityPipeStorage }; // Applies f to every capability present in a mask. -- 2.7.4