st/mesa: expose conservative_depth if GLSL 1.3 is supported
It's not yet, but it can be enabled by the override environment variable.
This commit is contained in:
parent
95aa0e5d84
commit
047363a07b
|
@ -263,6 +263,12 @@ void st_init_extensions(struct st_context *st)
|
||||||
ctx->Const.GLSLVersion = 120;
|
ctx->Const.GLSLVersion = 120;
|
||||||
_mesa_override_glsl_version(st->ctx);
|
_mesa_override_glsl_version(st->ctx);
|
||||||
|
|
||||||
|
/* Extensions that only depend on the GLSL version:
|
||||||
|
*/
|
||||||
|
if (ctx->Const.GLSLVersion >= 130) {
|
||||||
|
ctx->Extensions.ARB_conservative_depth = GL_TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extensions that are supported by all Gallium drivers:
|
* Extensions that are supported by all Gallium drivers:
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue