Commit d8c4b5fb by Alexey Knyazev Committed by Commit Bot

Expose ASTC 2D on OpenGL

Bug: angleproject:4372 Change-Id: Ic1800ac10b12547ca9816f7ad9dfd62f83f227c0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2033066 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
parent 9e774041
...@@ -1105,7 +1105,7 @@ void GenerateCaps(const FunctionsGL *functions, ...@@ -1105,7 +1105,7 @@ void GenerateCaps(const FunctionsGL *functions,
extensions->setTextureExtensionSupport(*textureCapsMap); extensions->setTextureExtensionSupport(*textureCapsMap);
extensions->textureCompressionASTCHDRKHR = extensions->textureCompressionASTCHDRKHR =
extensions->textureCompressionASTCLDRKHR && extensions->textureCompressionASTCLDRKHR &&
functions->hasGLESExtension("GL_KHR_texture_compression_astc_hdr"); functions->hasExtension("GL_KHR_texture_compression_astc_hdr");
extensions->elementIndexUintOES = functions->standard == STANDARD_GL_DESKTOP || extensions->elementIndexUintOES = functions->standard == STANDARD_GL_DESKTOP ||
functions->isAtLeastGLES(gl::Version(3, 0)) || functions->isAtLeastGLES(gl::Version(3, 0)) ||
functions->hasGLESExtension("GL_OES_element_index_uint"); functions->hasGLESExtension("GL_OES_element_index_uint");
......
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