[Mesa-dev] [PATCH 09/68] i965: add new sha1 field to context struct

Timothy Arceri timothy.arceri at collabora.com
Wed Jun 1 06:22:50 UTC 2016


From: Carl Worth <cworth at cworth.org>

Signed-off-by: Timothy Arceri <timothy.arceri at collabora.com>
---
 src/mesa/drivers/dri/i965/brw_context.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 4b22201..3859599 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1010,6 +1010,8 @@ struct brw_context
    const struct gl_fragment_program *fragment_program;
    const struct gl_compute_program *compute_program;
 
+   unsigned char binary_sha1[20];
+
    /**
     * Number of samples in ctx->DrawBuffer, updated by BRW_NEW_NUM_SAMPLES so
     * that we don't have to reemit that state every time we change FBOs.
-- 
2.5.5



More information about the mesa-dev mailing list