nir: use ballot_bit_size when lowering ballot_bitfield_extract
authorDaniel Schürmann <daniel.schuermann@campus.tu-berlin.de>
Fri, 13 Apr 2018 13:05:24 +0000 (15:05 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 13 Apr 2018 22:52:22 +0000 (00:52 +0200)
commit54937d820d97f5459c2249b6c358428f18245985
treec10a4798dda44a0a7fc86838131159287a2d98f0
parent4d802df3aac353970aae93699223fb15b24f8408
nir: use ballot_bit_size when lowering ballot_bitfield_extract

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir_lower_subgroups.c