summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2015-11-16 10:23:42 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2015-11-17 10:36:41 +0100
commita96afaced8d4498e3f24ff1e201b4569fd03d55d (patch)
tree210b21f267fa75fc0a1a58766830fbd2d22f3707 /src/glsl
parentf4f30ad730b7dafaadafda63344012203543894c (diff)
nir: reduce memory footprint of glsl_struct_field's precision
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/glsl_types.h2
1 files changed, 1 insertions, 1 deletions
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