nir/glsl_to_nir: set bit_size on ssbo_load result
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 21 Jan 2016 12:23:55 +0000 (13:23 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 11 Apr 2016 06:29:27 +0000 (08:29 +0200)
commitfab5d4cd9582aa5289143876c26af23ff855f355
treea0e85ff2b285c3c8a64138589cf47b2f0e95ec33
parenta741378cb59e4263f909d73498ebf153375e6dcc
nir/glsl_to_nir: set bit_size on ssbo_load result

v2 (Sam):
- Add missing bit_size assignment when ssbo_load destination is a boolean.

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