mesa: Expose EXT_texture_query_lod and add support for its use shaders

EXT_texture_query_lod provides the same functionality for GLES like
the ARB extension with the same name for GL.

v2: Set ES 3.0 as minimum GLES version as required by the extension

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Gert Wollny
2019-02-25 19:12:07 +01:00
parent 7dc2f47882
commit 3214f20914
4 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -405,7 +405,8 @@ static bool
texture_query_lod(const _mesa_glsl_parse_state *state)
{
return state->stage == MESA_SHADER_FRAGMENT &&
state->ARB_texture_query_lod_enable;
(state->ARB_texture_query_lod_enable ||
state->EXT_texture_query_lod_enable);
}
static bool