From: Samuel Iglesias Gonsálvez Date: Mon, 16 Nov 2015 09:23:42 +0000 (+0100) Subject: nir: reduce memory footprint of glsl_struct_field's precision X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a96afaced8d4498e3f24ff1e201b4569fd03d55d;p=mesa.git nir: reduce memory footprint of glsl_struct_field's precision Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Tapani Pälli --- diff --git a/src/glsl/nir/glsl_types.h b/src/glsl/nir/glsl_types.h index d841a3277db..2d44059cca5 100644 --- a/src/glsl/nir/glsl_types.h +++ b/src/glsl/nir/glsl_types.h @@ -837,7 +837,7 @@ struct glsl_struct_field { /** * Precision qualifier */ - unsigned precision; + unsigned precision:2; /** * Image qualifiers, applicable to buffer variables defined in shader