Will be used to determine whether to take packing code paths or not. --- 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 65f638b..ff9a814 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3990,20 +3990,23 @@ struct gl_constants bool NoPrimitiveBoundingBoxOutput; /** GL_ARB_sparse_buffer */ GLuint SparseBufferPageSize; /** Used as an input for sha1 generation in the on-disk shader cache */ unsigned char *dri_config_options_sha1; /** When drivers are OK with mapped buffers during draw and other calls. */ bool AllowMappedBuffersDuringExecution; + + /** Is the drivers uniform storage packed or padded to 4. */ + bool PackedDriverUniformStorage; }; /** * Enable flag for each OpenGL extension. Different device drivers will * enable different extensions at runtime. */ struct gl_extensions { GLboolean dummy; /* don't remove this! */ -- 2.9.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev