mesa: Add a flag for forcing all GLSL extensions to "warn".
NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -114,6 +114,9 @@ _mesa_glsl_parse_state::_mesa_glsl_parse_state(struct gl_context *ctx,
|
||||
}
|
||||
|
||||
this->supported_version_string = supported;
|
||||
|
||||
if (ctx->Const.ForceGLSLExtensionsWarn)
|
||||
_mesa_glsl_process_extension("all", NULL, "warn", NULL, this);
|
||||
}
|
||||
|
||||
const char *
|
||||
|
Reference in New Issue
Block a user