diff options
author | Dave Airlie <[email protected]> | 2017-09-03 21:12:17 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-09-06 06:13:22 +1000 |
commit | ef660abdd565f8389230bb006d8e21c1d0ab8360 (patch) | |
tree | 4b1fcd9a236b7c1f8768b8c62f69c69bbdb27efe /src/mesa/main | |
parent | 449ac347dd32cbe64c320c3f7e0522505235bec6 (diff) |
mesa/mtypes: repack gl_shader_program_data.
This reduces the size from 144 bytes to 128 bytes.
Reviewed-by: Thomas Helland <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 2dab5942ca6..d44897b2b05 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2853,9 +2853,9 @@ struct gl_shader_program_data struct gl_uniform_storage *UniformStorage; unsigned NumUniformBlocks; - struct gl_uniform_block *UniformBlocks; - unsigned NumShaderStorageBlocks; + + struct gl_uniform_block *UniformBlocks; struct gl_uniform_block *ShaderStorageBlocks; struct gl_active_atomic_buffer *AtomicBuffers; @@ -2873,13 +2873,13 @@ struct gl_shader_program_data * lands we should switch to using the cache_fallback support. */ bool skip_cache; + GLboolean Validated; /** List of all active resources after linking. */ struct gl_program_resource *ProgramResourceList; unsigned NumProgramResourceList; enum gl_link_status LinkStatus; /**< GL_LINK_STATUS */ - GLboolean Validated; GLchar *InfoLog; unsigned Version; /**< GLSL version used for linking */ |