From 8f2cab7767d2f0bcbb194f5c72bf89652f32e0f0 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 2 Jan 2020 16:30:05 +1100 Subject: mesa: add new UseNIRGLSLLinker constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will be used to disable some GLSL IR passes in following patches. Reviewed-by: Alejandro PiƱeiro --- src/mesa/main/mtypes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3