Mesa (master): mesa: add PackedDriverUniformStorage const
Timothy Arceri
tarceri at kemper.freedesktop.org
Tue Mar 20 03:24:30 UTC 2018
Module: Mesa
Branch: master
Commit: b13b9eb432a3b67efb29ca25c3e244b467c3c4af
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b13b9eb432a3b67efb29ca25c3e244b467c3c4af
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Wed Jun 14 15:48:45 2017 +1000
mesa: add PackedDriverUniformStorage const
Will be used to determine whether to take packing code paths or not.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/mesa/main/mtypes.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 5ee27d9977..08db8062ec 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;
};
More information about the mesa-commit
mailing list