summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-02-17 10:16:16 +1100
committerTimothy Arceri <[email protected]>2017-02-17 11:18:43 +1100
commit6602d0401c23211af122f4ef5a86acf5dd9665e7 (patch)
treecc98dc21d0d7438c2be32cdb49667bee81fbe81a /src/mesa/main
parented6153012167fc7176a23f23ee4cccce9cbaee4a (diff)
st/mesa/glsl: build string of dri options and use as input to building sha for shaders
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main')
-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 12d68ab360d..118d7bc64ff 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3773,6 +3773,9 @@ struct gl_constants
/** GL_OES_primitive_bounding_box */
bool NoPrimitiveBoundingBoxOutput;
+
+ /** Used as an input for sha1 generation in the on-disk shader cache */
+ unsigned char *dri_config_options_sha1;
};