nir: add missing GLSL_TYPE_DOUBLE case in type_size()
authorBrian Paul <brianp@vmware.com>
Thu, 19 Feb 2015 16:25:42 +0000 (09:25 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 19 Feb 2015 22:36:59 +0000 (15:36 -0700)
commit2f5597787c83aab069e53b3c7cad8acf8c91626c
tree430723258dd9bd0b0a6c242ffeec1475e6d2c33a
parent62a8883f32f8a4c8c7d85390d4b17986e4018edf
nir: add missing GLSL_TYPE_DOUBLE case in type_size()

To silence compiler warning about unhandled switch case.
v2: move GLSL_TYPE_DOUBLE to the "not reached" section, per Ilia.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/nir/nir_lower_io.c