Commit ebbd34a4 authored by Ilia Mirkin's avatar Ilia Mirkin

st/mesa: avoid exposing EXT_texture_integer for pre-GLSL 1.30

For drivers building up to GL(ES)3, only expose the actual extension if
the API will let it be used (e.g. via overrides/debug flags that enable
higher versions).
Signed-off-by: Ilia Mirkin's avatarIlia Mirkin <>
Reviewed-by: default avatarMarek Olšák <>
parent 4907c313
......@@ -696,6 +696,9 @@ void st_init_extensions(struct pipe_screen *screen,
extensions->EXT_shader_integer_mix = GL_TRUE;
/* Integer textures make no sense before GLSL 1.30 */
extensions->EXT_texture_integer = GL_FALSE;
consts->UniformBooleanTrue = consts->NativeIntegers ? ~0 : fui(1.0f);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment