diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-15 18:35:34 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | 487010a0998ca7363f32678206c6be7b1dfaead4 (patch) | |
tree | 321f0d21519fade26cf59b1a0bce12864e6077d2 /src/mesa | |
parent | 74eab1c62fd37ca172b912f66add030043a59c92 (diff) |
mesa/main: require EXT_texture_type_2_10_10_10_REV for gles3
OpenGL ES 3.0 require this functionality, so we should also test for it
to avoid incorrectly exposing a too high GLES version.
On desktop, this has been required since all the way back in OpenGL 1.2
anyway.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/version.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 610ba2f08c5..b3c68bb865c 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -522,7 +522,8 @@ compute_version_es2(const struct gl_extensions *extensions, extensions->ARB_uniform_buffer_object && extensions->EXT_texture_snorm && extensions->NV_primitive_restart && - extensions->OES_depth_texture_cube_map); + extensions->OES_depth_texture_cube_map && + extensions->EXT_texture_type_2_10_10_10_REV); const bool es31_compute_shader = consts->MaxComputeWorkGroupInvocations >= 128; const bool ver_3_1 = (ver_3_0 && |