mirror of
https://github.com/RPCSX/SPIRV-Tools.git
synced 2025-03-06 02:07:15 +00:00
Support capabilities StorageImageReadWithoutFormat
Also add capability StorageImageWriteWithoutFormat. They only affect validation rules.
This commit is contained in:
parent
df3ea3c5de
commit
5f7ed91e18
@ -27,6 +27,8 @@ information.
|
||||
## 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.
|
||||
@ -313,8 +315,6 @@ done so previously, CMake will detect the existence of
|
||||
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.
|
||||
|
||||
|
@ -1002,6 +1002,8 @@ static const spv_operand_desc_t capabilityInfoEntries[] = {
|
||||
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
|
||||
|
@ -28,7 +28,7 @@
|
||||
#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;
|
||||
|
||||
|
@ -608,6 +608,8 @@ INSTANTIATE_TEST_CASE_P(
|
||||
CASE1(CAPABILITY, CapabilityInterpolationFunction, Shader),
|
||||
CASE1(CAPABILITY, CapabilityTransformFeedback, Shader),
|
||||
CASE1(CAPABILITY, CapabilityGeometryStreams, Geometry),
|
||||
CASE1(CAPABILITY, CapabilityStorageImageReadWithoutFormat, Shader),
|
||||
CASE1(CAPABILITY, CapabilityStorageImageWriteWithoutFormat, Shader),
|
||||
}));
|
||||
|
||||
#undef CASE0
|
||||
|
Loading…
x
Reference in New Issue
Block a user