Add program cache transform feedback workaround.
On Qualcomm devices, they don't seem to correctly save transform
feedback info. Work around this by disabling caching on these devices.
This mirrors a Chromium workaround.
BUG=angleproject:2088
Change-Id: I6496d2fb6a03788379a6968bcd5eb3a9cb9d15d4
Reviewed-on: https://chromium-review.googlesource.com/549981
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/libANGLE/Program.h b/src/libANGLE/Program.h
index 5cbb8ff..1b30b4d 100644
--- a/src/libANGLE/Program.h
+++ b/src/libANGLE/Program.h
@@ -356,7 +356,7 @@
void *binary,
GLsizei bufSize,
GLsizei *length) const;
- GLint getBinaryLength() const;
+ GLint getBinaryLength(const Context *context) const;
void setBinaryRetrievableHint(bool retrievable);
bool getBinaryRetrievableHint() const;