From 22af08b410f47227ea27b06cce097ccbe0130540 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 31 Oct 2011 14:04:10 -0700 Subject: [PATCH] glsl: Put all bitfields in ir_variable together for better packing The diff looks weird because ir_variable::depth_layout was between the last two bitfields in the structure. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke Acked-by: Paul Berry --- src/glsl/ir.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 404d4cffa91..abbf4556978 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -355,14 +355,6 @@ public: unsigned pixel_center_integer:1; /*@}*/ - /** - * \brief Layout qualifier for gl_FragDepth. - * - * This is not equal to \c ir_depth_layout_none if and only if this - * variable is \c gl_FragDepth and a layout qualifier is specified. - */ - ir_depth_layout depth_layout; - /** * Was the location explicitly set in the shader? * @@ -372,6 +364,14 @@ public: */ unsigned explicit_location:1; + /** + * \brief Layout qualifier for gl_FragDepth. + * + * This is not equal to \c ir_depth_layout_none if and only if this + * variable is \c gl_FragDepth and a layout qualifier is specified. + */ + ir_depth_layout depth_layout; + /** * Storage location of the base of this variable * -- 2.30.2