aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-01-02 16:30:05 +1100
committerTimothy Arceri <[email protected]>2020-01-07 08:39:47 +1100
commit8f2cab7767d2f0bcbb194f5c72bf89652f32e0f0 (patch)
treede463469996b74b4f73c3d4318347f9a738329e9 /src
parent4caf3fc8df023ca5facdb4120c6a4344ddba7ab1 (diff)
mesa: add new UseNIRGLSLLinker constant
This will be used to disable some GLSL IR passes in following patches. Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 3 insertions, 0 deletions
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;