From: Timothy Arceri Date: Thu, 2 Jan 2020 05:30:05 +0000 (+1100) Subject: mesa: add new UseNIRGLSLLinker constant X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f2cab7767d2f0bcbb194f5c72bf89652f32e0f0;p=mesa.git mesa: add new UseNIRGLSLLinker constant This will be used to disable some GLSL IR passes in following patches. Reviewed-by: Alejandro PiƱeiro --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index e17ae1fa519..3b3e7ddb8de 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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;