Remove dead ASTC code for GLES Surface::decodeASTC() was empty, and ENABLE_ASTC hard-coded to 0, so we never actually supported ASTC for OpenGL ES. We won't need it in the future since this legacy code is deprecated and set to be replaced by SwANGLE (which supports ASTC LDR at the moment). Also note ASTC LDR doesn't become mandatory until OpenGL ES 3.2, and this legacy code lacks compute shaders to even support ES 3.1. Bug: b/147536183 Change-Id: I61fe83214cfebe9f83bd49334474e095631af3e7 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/46350 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Tested-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/OpenGL/libGLES_CM/libGLES_CM.hpp b/src/OpenGL/libGLES_CM/libGLES_CM.hpp index 325578e..b2ab08d 100644 --- a/src/OpenGL/libGLES_CM/libGLES_CM.hpp +++ b/src/OpenGL/libGLES_CM/libGLES_CM.hpp
@@ -20,11 +20,11 @@ #include <EGL/egl.h> #include "Common/SharedLibrary.hpp" +#include "Renderer/Surface.hpp" namespace sw { class FrameBuffer; -enum Format : unsigned char; } namespace egl