Skip to content

Commit

Permalink
Remove Kernel from ConstantSampler enum values
Browse files Browse the repository at this point in the history
These can only be used with OpConstantSampler, so they are naturally
restricted from being used in places where they're not supported.
  • Loading branch information
gnl21 committed Sep 13, 2023
1 parent d790ced commit 44e698b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/spirv/unified1/spirv.core.grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -11741,31 +11741,26 @@
{
"enumerant" : "None",
"value" : 0,
"capabilities" : [ "Kernel" ],
"version": "1.0"
},
{
"enumerant" : "ClampToEdge",
"value" : 1,
"capabilities" : [ "Kernel" ],
"version": "1.0"
},
{
"enumerant" : "Clamp",
"value" : 2,
"capabilities" : [ "Kernel" ],
"version": "1.0"
},
{
"enumerant" : "Repeat",
"value" : 3,
"capabilities" : [ "Kernel" ],
"version": "1.0"
},
{
"enumerant" : "RepeatMirrored",
"value" : 4,
"capabilities" : [ "Kernel" ],
"version": "1.0"
}
]
Expand All @@ -11777,13 +11772,11 @@
{
"enumerant" : "Nearest",
"value" : 0,
"capabilities" : [ "Kernel" ],
"version": "1.0"
},
{
"enumerant" : "Linear",
"value" : 1,
"capabilities" : [ "Kernel" ],
"version": "1.0"
}
]
Expand Down

0 comments on commit 44e698b

Please sign in to comment.