diff options
author | Dave Airlie <[email protected]> | 2015-03-20 17:01:55 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-03-21 08:14:21 +1000 |
commit | 2c016ed35fff36e39a457db8efbc82ec90d4f5da (patch) | |
tree | f46562bb49f43555de68ac03044618293ae3a5a7 /src/mesa | |
parent | 0ff4726a0632b9c15d349cd05070b57fd61f1f98 (diff) |
mesa: reorder gl_image_unit
reduces 40->32
but reduces use in context from 7680->6144.
Acked-by: Brian Paul <[email protected]>
Reviewed-by: Alex Deucher [email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index f8f21d849ea..42075aa7ffe 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4167,6 +4167,13 @@ struct gl_image_unit GLboolean Layered; /** + * GL_TRUE if the state of this image unit is valid and access from + * the shader is allowed. Otherwise loads from this unit should + * return zero and stores should have no effect. + */ + GLboolean _Valid; + + /** * Layer of the texture object bound to this unit, or zero if the * whole level is bound. */ @@ -4190,12 +4197,6 @@ struct gl_image_unit */ mesa_format _ActualFormat; - /** - * GL_TRUE if the state of this image unit is valid and access from - * the shader is allowed. Otherwise loads from this unit should - * return zero and stores should have no effect. - */ - GLboolean _Valid; }; /** |