Also add capability StorageImageWriteWithoutFormat.
They only affect validation rules.
## CHANGES (for tools hackers)
* Update to 1.0 Rev2 headers, syntax tables.
+ * Support new capabilities `GeometryStream`, `StorageImageReadWithoutFormat`,
+ and `StorageImageWriteWithoutFormat`.
* Update some capabilities to 1.0 Rev2 rules.
* Support `OpSpecConstantOp`.
The opcode operand uses the opcode name, but without the `Op` prefix.
Required to complete 1.0 support:
* Changes related to capabilities:
* Check changes in dependencies on capabilities since 0.99 Rev32.
- * `GeometryStream`.
- * `StorageImageReadWithoutFormat`, `StorageImageWriteWithoutFormat`.
* Update values related to the Generator Magic Number. Its meaning has
changed.
CASE_CAP(InterpolationFunction, Shader),
CASE_CAP(TransformFeedback, Shader),
CASE_CAP(GeometryStreams, Geometry),
+ CASE_CAP(StorageImageReadWithoutFormat, Shader),
+ CASE_CAP(StorageImageWriteWithoutFormat, Shader),
};
#undef CASE
#undef CASE_CAP
#define LIBSPIRV_SPIRV_DEFINITION_H_
// A bit mask representing a set of capabilities.
-// Currently there are 54 distinct capabilities, so 64 bits
+// Currently there are 57 distinct capabilities, so 64 bits
// should be enough.
typedef uint64_t spv_capability_mask_t;
CASE1(CAPABILITY, CapabilityInterpolationFunction, Shader),
CASE1(CAPABILITY, CapabilityTransformFeedback, Shader),
CASE1(CAPABILITY, CapabilityGeometryStreams, Geometry),
+ CASE1(CAPABILITY, CapabilityStorageImageReadWithoutFormat, Shader),
+ CASE1(CAPABILITY, CapabilityStorageImageWriteWithoutFormat, Shader),
}));
#undef CASE0