Skip to content

Commit fc7d246

Browse files
authored
Remove Kernel from ConstantSampler enum values (KhronosGroup#378)
These can only be used with OpConstantSampler, so they are naturally restricted from being used in places where they're not supported.
1 parent a8af2ce commit fc7d246

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11741,31 +11741,26 @@
1174111741
{
1174211742
"enumerant" : "None",
1174311743
"value" : 0,
11744-
"capabilities" : [ "Kernel" ],
1174511744
"version": "1.0"
1174611745
},
1174711746
{
1174811747
"enumerant" : "ClampToEdge",
1174911748
"value" : 1,
11750-
"capabilities" : [ "Kernel" ],
1175111749
"version": "1.0"
1175211750
},
1175311751
{
1175411752
"enumerant" : "Clamp",
1175511753
"value" : 2,
11756-
"capabilities" : [ "Kernel" ],
1175711754
"version": "1.0"
1175811755
},
1175911756
{
1176011757
"enumerant" : "Repeat",
1176111758
"value" : 3,
11762-
"capabilities" : [ "Kernel" ],
1176311759
"version": "1.0"
1176411760
},
1176511761
{
1176611762
"enumerant" : "RepeatMirrored",
1176711763
"value" : 4,
11768-
"capabilities" : [ "Kernel" ],
1176911764
"version": "1.0"
1177011765
}
1177111766
]
@@ -11777,13 +11772,11 @@
1177711772
{
1177811773
"enumerant" : "Nearest",
1177911774
"value" : 0,
11780-
"capabilities" : [ "Kernel" ],
1178111775
"version": "1.0"
1178211776
},
1178311777
{
1178411778
"enumerant" : "Linear",
1178511779
"value" : 1,
11786-
"capabilities" : [ "Kernel" ],
1178711780
"version": "1.0"
1178811781
}
1178911782
]

0 commit comments

Comments
 (0)