Skip to content

Commit 2666ce7

Browse files
committed
Simplify enabling capabilities for image Dim
A lot of these capabilities implied another of the enabling capabilities so didn't really serve their intended purpose. Remove them to simplify this section of the grammar. This affects one table in the spec and a corresponding spec change will clarify that this makes no change to the meaning or scope of these capabilities.
1 parent 1feaf44 commit 2666ce7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

include/spirv/unified1/spirv.core.grammar.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11032,12 +11032,11 @@
1103211032
{
1103311033
"enumerant" : "1D",
1103411034
"value" : 0,
11035-
"capabilities" : [ "Sampled1D", "Image1D" ]
11035+
"capabilities" : [ "Sampled1D" ]
1103611036
},
1103711037
{
1103811038
"enumerant" : "2D",
11039-
"value" : 1,
11040-
"capabilities" : [ "Shader", "Kernel", "ImageMSArray" ]
11039+
"value" : 1
1104111040
},
1104211041
{
1104311042
"enumerant" : "3D",
@@ -11046,17 +11045,17 @@
1104611045
{
1104711046
"enumerant" : "Cube",
1104811047
"value" : 3,
11049-
"capabilities" : [ "Shader", "ImageCubeArray" ]
11048+
"capabilities" : [ "Shader" ]
1105011049
},
1105111050
{
1105211051
"enumerant" : "Rect",
1105311052
"value" : 4,
11054-
"capabilities" : [ "SampledRect", "ImageRect" ]
11053+
"capabilities" : [ "SampledRect" ]
1105511054
},
1105611055
{
1105711056
"enumerant" : "Buffer",
1105811057
"value" : 5,
11059-
"capabilities" : [ "SampledBuffer", "ImageBuffer" ]
11058+
"capabilities" : [ "SampledBuffer" ]
1106011059
},
1106111060
{
1106211061
"enumerant" : "SubpassData",

0 commit comments

Comments
 (0)