mesa: change gl_compile_status enums to uppercase
To follow the convention of other enums. Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user