diff options
author | Brian Paul <[email protected]> | 2018-01-25 12:43:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-26 13:52:48 -0700 |
commit | aff5d9c256d471de1722dbfcacdc09faa260799b (patch) | |
tree | 2bac71800d18593b7e48887aba2a00289dd99cea /src/compiler/glsl/shader_cache.cpp | |
parent | d9832f1fc45aa5fcf5eb5e206603265ae9bfa12a (diff) |
mesa: change gl_compile_status enums to uppercase
To follow the convention of other enums.
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/compiler/glsl/shader_cache.cpp')
-rw-r--r-- | src/compiler/glsl/shader_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/shader_cache.cpp b/src/compiler/glsl/shader_cache.cpp index 5e1682b351c..bdc045e1db6 100644 --- a/src/compiler/glsl/shader_cache.cpp +++ b/src/compiler/glsl/shader_cache.cpp @@ -258,7 +258,7 @@ shader_cache_read_program_metadata(struct gl_context *ctx, */ char sha1_buf[41]; for (unsigned i = 0; i < prog->NumShaders; i++) { - if (prog->Shaders[i]->CompileStatus == compiled_no_opts) { + if (prog->Shaders[i]->CompileStatus == COMPILED_NO_OPTS) { disk_cache_put_key(cache, prog->Shaders[i]->sha1); if (ctx->_Shader->Flags & GLSL_CACHE_INFO) { _mesa_sha1_format(sha1_buf, prog->Shaders[i]->sha1); |