diff options
author | Timothy Arceri <[email protected]> | 2019-01-19 10:45:07 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-01-19 10:45:07 +1100 |
commit | 860a9e4849cfcab7ab0b80ab87864815b442c405 (patch) | |
tree | f8c397157e6f1299cb434c16f0594d148183498f /src/compiler/glsl/glsl_parser_extras.cpp | |
parent | 5486c9d526f393eff4b189e0e0a44eafeedf4407 (diff) |
Revert "glsl: be much more aggressive when skipping shader compilation"
This reverts commit 64b8c86d37ebb1e1d286c69d642d52b7bcf051d3.
Reverting for now as it was causing some segfaults.
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index 655399a8128..200df7759bb 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -2155,15 +2155,6 @@ _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader, delete state->symbols; ralloc_free(state); - - if (ctx->Cache) { - char sha1_buf[41]; - disk_cache_put_key(ctx->Cache, shader->sha1); - if (ctx->_Shader->Flags & GLSL_CACHE_INFO) { - _mesa_sha1_format(sha1_buf, shader->sha1); - fprintf(stderr, "marking shader: %s\n", sha1_buf); - } - } } } /* extern "C" */ |