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/mesa/main/shaderapi.c | |
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/mesa/main/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 2c11e4d5bb6..91b1f4940ea 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -1071,7 +1071,7 @@ set_shader_source(struct gl_shader *sh, const GLchar *source) */ _mesa_shader_spirv_data_reference(&sh->spirv_data, NULL); - if (sh->CompileStatus == compile_skipped && !sh->FallbackSource) { + if (sh->CompileStatus == COMPILE_SKIPPED && !sh->FallbackSource) { /* If shader was previously compiled back-up the source in case of cache * fallback. */ @@ -1114,7 +1114,7 @@ _mesa_compile_shader(struct gl_context *ctx, struct gl_shader *sh) /* If the user called glCompileShader without first calling * glShaderSource, we should fail to compile, but not raise a GL_ERROR. */ - sh->CompileStatus = compile_failure; + sh->CompileStatus = COMPILE_FAILURE; } else { if (ctx->_Shader->Flags & GLSL_DUMP) { _mesa_log("GLSL source for %s shader %d:\n", |