mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
mesa/bindless: reorder gl_bindless_image gl_bindless_sampler.
This makes these use 16-bytes instead of 24-bytes. Reviewed-by: Thomas Helland <thomashelland90@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
7f952eb931
commit
cff02d214f
1 changed files with 6 additions and 6 deletions
|
|
@ -2000,12 +2000,12 @@ struct gl_bindless_sampler
|
|||
/** Texture unit (set by glUniform1()). */
|
||||
GLubyte unit;
|
||||
|
||||
/** Texture Target (TEXTURE_1D/2D/3D/etc_INDEX). */
|
||||
gl_texture_index target;
|
||||
|
||||
/** Whether this bindless sampler is bound to a unit. */
|
||||
GLboolean bound;
|
||||
|
||||
/** Texture Target (TEXTURE_1D/2D/3D/etc_INDEX). */
|
||||
gl_texture_index target;
|
||||
|
||||
/** Pointer to the base of the data. */
|
||||
GLvoid *data;
|
||||
};
|
||||
|
|
@ -2018,12 +2018,12 @@ struct gl_bindless_image
|
|||
/** Image unit (set by glUniform1()). */
|
||||
GLubyte unit;
|
||||
|
||||
/** Access qualifier (GL_READ_WRITE, GL_READ_ONLY, GL_WRITE_ONLY) */
|
||||
GLenum access;
|
||||
|
||||
/** Whether this bindless image is bound to a unit. */
|
||||
GLboolean bound;
|
||||
|
||||
/** Access qualifier (GL_READ_WRITE, GL_READ_ONLY, GL_WRITE_ONLY) */
|
||||
GLenum access;
|
||||
|
||||
/** Pointer to the base of the data. */
|
||||
GLvoid *data;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue