diff options
author | Jason Ekstrand <[email protected]> | 2017-08-22 16:53:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-03-07 12:13:47 -0800 |
commit | 9812fce60b6ffbcd136b66bfb609143449ad3f7c (patch) | |
tree | fde13b6279321f095490fa3b74fc8564052d3564 /src/compiler/spirv/spirv_to_nir.c | |
parent | 974daec495eae05b3c3179cd6c131a65ff2efcc7 (diff) |
spirv: Add subgroup ballot support
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 4d2c1533d24..38a1df9fd21 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3296,6 +3296,11 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, spv_check_supported(subgroup_basic, cap); break; + case SpvCapabilitySubgroupBallotKHR: + case SpvCapabilityGroupNonUniformBallot: + spv_check_supported(subgroup_ballot, cap); + break; + case SpvCapabilityVariablePointersStorageBuffer: case SpvCapabilityVariablePointers: spv_check_supported(variable_pointers, cap); |