diff options
author | Jordan Justen <[email protected]> | 2017-02-25 17:36:28 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2017-10-31 23:36:54 -0700 |
commit | 7f5204a0dbfc2c3ab240842f06d3afb2e7b9ed2c (patch) | |
tree | cdb07cc1b1789738c8c0c1352821095bf2668cb1 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 478a73fdfaf1fed57bc7f05e672f6728e27ab110 (diff) |
i965: Initialize sha1 hash of dri config options
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index eed42468b11..f141227bda7 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -816,6 +816,10 @@ brw_process_driconf_options(struct brw_context *brw) brw->dual_color_blend_by_location = driQueryOptionb(options, "dual_color_blend_by_location"); + + ctx->Const.dri_config_options_sha1 = ralloc_array(brw, unsigned char, 20); + driComputeOptionsSha1(&brw->screen->optionCache, + ctx->Const.dri_config_options_sha1); } GLboolean |