From b13b9eb432a3b67efb29ca25c3e244b467c3c4af Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 14 Jun 2017 15:48:45 +1000 Subject: [PATCH] mesa: add PackedDriverUniformStorage const MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Will be used to determine whether to take packing code paths or not. Reviewed-by: Nicolai Hähnle Reviewed-by: Marek Olšák --- 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 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; }; -- 2.30.2