mesa: add PackedDriverUniformStorage const
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 14 Jun 2017 05:48:45 +0000 (15:48 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 20 Mar 2018 03:17:33 +0000 (14:17 +1100)
Will be used to determine whether to take packing code paths or not.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/mtypes.h

index 5ee27d9977f021229a841f88287f760a85b5d448..08db8062ec8e628ea244f618bd5d9b0a4c74f69e 100644 (file)
@@ -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;
 };