Allow SubgroupSize and SubgroupLocalInvocationId with SubgroupBallotKHR
authorLei Zhang <antiagainst@google.com>
Tue, 13 Feb 2018 17:29:01 +0000 (12:29 -0500)
committerLei Zhang <antiagainst@google.com>
Tue, 13 Feb 2018 17:35:52 +0000 (12:35 -0500)
commit3269e64ab3891cec5a3cb22755cb70bea82b260d
tree4ba61d6f5bb68fcac09e621d45d104e6a8e4df09
parente0282aa7d54631502b4af567a85d3b6565fd5464
Allow SubgroupSize and SubgroupLocalInvocationId with SubgroupBallotKHR

As specified in https://www.khronos.org/registry/spir-v/extensions/KHR/SPV_KHR_shader_ballot.html:

```
(Add the SubgroupBallotKHR capability to SubgroupSize.)
(Add the SubgroupBallotKHR capability to SubgroupLocalInvocationId.)
```
include/spirv/1.0/spirv.core.grammar.json
include/spirv/1.1/spirv.core.grammar.json
include/spirv/1.2/spirv.core.grammar.json
include/spirv/unified1/spirv.core.grammar.json