nir/gather_info: Move setting uses_64bit out of the switch
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 7 Jun 2019 23:03:10 +0000 (18:03 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 23 Jul 2019 18:40:41 +0000 (13:40 -0500)
commit41ab92a327c63bdf97edee356e46246f4ff306bc
tree23a810d5b9838b6966b55586d3f57473dd404b5f
parent0e6cb481fa203573bd1e27cea1f314b842b72e9c
nir/gather_info: Move setting uses_64bit out of the switch

Otherwise, as we add things to the switch, we're going to forget and add
some 64-bit op at some point in the future and it'll stop getting
flagged.  There's no reason why we can't do the check for derivatives.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_gather_info.c