diff options
author | Ian Romanick <[email protected]> | 2011-10-31 14:04:10 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-11-03 13:36:00 -0700 |
commit | 22af08b410f47227ea27b06cce097ccbe0130540 (patch) | |
tree | ddcc63205210f7f1a35863b7823b128b0a1d7192 /src | |
parent | 46173f907979af0b753befdcf6992e19d8453951 (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/ir.h | 16 |
1 files 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 @@ -356,14 +356,6 @@ public: /*@}*/ /** - * \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? * * If the location is explicitly set in the shader, it \b cannot be changed @@ -373,6 +365,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 * * The precise meaning of this field depends on the nature of the variable. |