nir/loop_analyze: use nir_const_value.b for boolean results, not u32
authorKarol Herbst <kherbst@redhat.com>
Tue, 2 Apr 2019 12:12:06 +0000 (14:12 +0200)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commite72beacb95f072051576c196ba68c5819efa6adb
treeb7827f8bd826423cb31f6264745bbcd0814eedcb
parent10602db78cae1b86aca4d9b8b7303537521a713d
nir/loop_analyze: use nir_const_value.b for boolean results, not u32

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_loop_analyze.c