From 6602d0401c23211af122f4ef5a86acf5dd9665e7 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 17 Feb 2017 10:16:16 +1100 Subject: st/mesa/glsl: build string of dri options and use as input to building sha for shaders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/mesa/main/mtypes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main') 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; }; -- cgit v1.2.3