nir: fix deref offset builder
authorDave Airlie <airlied@redhat.com>
Mon, 18 Nov 2019 22:26:54 +0000 (08:26 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Nov 2019 18:37:41 +0000 (04:37 +1000)
commitcce07ea83523a8e6b0924fdc9a09050600a3e8bf
treefb41e8556bb2257ee74f238d61804ef97d6daae7
parent7325f6ac987d295b101372bffcb98799251fe678
nir: fix deref offset builder

Use the correct bit size

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_deref.c