mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 02:30:18 +01:00
mesa: reorder gl_image_unit
reduces 40->32 but reduces use in context from 7680->6144. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
0ff4726a06
commit
2c016ed35f
1 changed files with 7 additions and 6 deletions
|
|
@ -4166,6 +4166,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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue