diff options
author | Timothy Arceri <[email protected]> | 2017-06-14 15:48:45 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-03-20 14:17:33 +1100 |
commit | b13b9eb432a3b67efb29ca25c3e244b467c3c4af (patch) | |
tree | ef3ec8099b53085ec8338ec17a3e11993d02325d | |
parent | 00910e3057588de3fe9b5dc2ae9263c2e4ba6cc4 (diff) |
mesa: add PackedDriverUniformStorage const
Will be used to determine whether to take packing code paths or not.
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 5ee27d9977f..08db8062ec8 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4132,6 +4132,9 @@ struct gl_constants /** GL_ARB_get_program_binary */ GLuint NumProgramBinaryFormats; + + /** Is the drivers uniform storage packed or padded to 16 bytes. */ + bool PackedDriverUniformStorage; }; |