Commit cff02d21 authored by Dave Airlie's avatar Dave Airlie

mesa/bindless: reorder gl_bindless_image gl_bindless_sampler.

This makes these use 16-bytes instead of 24-bytes.
Reviewed-by: Thomas Helland's avatarThomas Helland <thomashelland90@gmail.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 7f952eb9
......@@ -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;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment