nir: fix bit_size in lower indirect derefs.
authorDave Airlie <airlied@redhat.com>
Fri, 26 Apr 2019 02:50:11 +0000 (12:50 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Apr 2019 02:59:43 +0000 (12:59 +1000)
commitd946cbe9f54a1b733e0bdec2423ae47d408114fb
treef9b4b2d9dce758bfccb56ff4cc67c17385b93763
parent529ace788762e91165f11942ea39305116b64c7a
nir: fix bit_size in lower indirect derefs.

This fixes a case where we are expecting 64-bit but generate
32-bit consts and validate gets angry.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/nir/nir_lower_indirect_derefs.c