Mesa (master): mesa: add new UseNIRGLSLLinker constant
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jan 6 23:11:26 UTC 2020
Module: Mesa
Branch: master
Commit: 8f2cab7767d2f0bcbb194f5c72bf89652f32e0f0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f2cab7767d2f0bcbb194f5c72bf89652f32e0f0
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Thu Jan 2 16:30:05 2020 +1100
mesa: add new UseNIRGLSLLinker constant
This will be used to disable some GLSL IR passes in following
patches.
Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
---
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 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;
More information about the mesa-commit
mailing list