Add support for GL_EXT_YUV_target

This commit is contained in:
nicebyte 2019-01-24 12:12:20 -08:00
parent 2cf6613a0d
commit c28369b75f
13 changed files with 3861 additions and 3573 deletions

View file

@ -3006,6 +3006,9 @@ void TParseContext::samplerCheck(const TSourceLoc& loc, const TType& type, const
requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
}
}
if (type.getSampler().yuv) {
requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
}
if (type.getQualifier().storage == EvqUniform)
return;