meta: Don't use GLSL 1.30 shader on OpenGL ES 2
Fixes GLES2 CoverageGL conformance test. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
@@ -3100,7 +3100,7 @@ setup_glsl_generate_mipmap(struct gl_context *ctx,
|
||||
|
||||
mem_ctx = ralloc_context(NULL);
|
||||
|
||||
if (ctx->Const.GLSLVersion < 130) {
|
||||
if (ctx->API == API_OPENGLES2 || ctx->Const.GLSLVersion < 130) {
|
||||
const char *fs_template;
|
||||
const char *extension_mode;
|
||||
|
||||
|
Reference in New Issue
Block a user