mesa: add new UseNIRGLSLLinker constant

This will be used to disable some GLSL IR passes in following
patches.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
Timothy Arceri 2020-01-02 16:30:05 +11:00
parent 4caf3fc8df
commit 8f2cab7767
1 changed files with 3 additions and 0 deletions

View File

@ -4141,6 +4141,9 @@ struct gl_constants
/** Is the drivers uniform storage packed or padded to 16 bytes. */
bool PackedDriverUniformStorage;
/** Does the driver make use of the NIR based GLSL linker */
bool UseNIRGLSLLinker;
/** Wether or not glBitmap uses red textures rather than alpha */
bool BitmapUsesRed;