Lines Matching refs:ballot
68 /* Only the new-style SPIR-V subgroup instructions take a ballot result as
94 * VK_EXT_shader_subgroup_ballot which have 64-bit ballot values on an
95 * architecture with a native 128-bit uvec4 ballot. This comes up in Zink
98 * have enough ballot bits.
391 /* Return a ballot-mask-sized value which represents "val" sign-extended and
402 /* First compute the result assuming one ballot component. */
415 * the target ballot size is 2 x uint32, and we're shifting 1 by 33, then
478 /* First compute the result assuming one ballot component. */
484 /* Since the subgroup size and ballot bitsize are both powers of two, there
487 * (1) The subgroup size is less than the ballot bitsize. We need to return
489 * (2) The subgroup size is a multiple of the ballot bitsize. We need to
490 * return ~0 if the subgroup size divided by the ballot bitsize is less
492 * with a target ballot type of 4 x uint32 and subgroup_size = 64 we'd need
690 nir_ssa_def *ballot =
694 return uint_to_ballot_type(b, ballot,