diff options
author | Dave Airlie <[email protected]> | 2017-09-03 19:53:07 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-09-06 06:12:12 +1000 |
commit | cff02d214f5c0efec595b4b596bcb42c3e236fe6 (patch) | |
tree | c65b674224006290374230bd322ab4d3e8b36c2e | |
parent | 7f952eb9314488a37f76a123067ba6b71b91ae88 (diff) |
mesa/bindless: reorder gl_bindless_image gl_bindless_sampler.
This makes these use 16-bytes instead of 24-bytes.
Reviewed-by: Thomas Helland <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/mesa/main/mtypes.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 19135673dcb..ac75ee553f7 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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; }; |