Merge pull request #14859 from unknownbrackets/vertexcache-gles

GLES: Re-enable vertex cache
This commit is contained in:
Henrik Rydgård 2021-10-19 08:02:03 +02:00 committed by GitHub
commit c75784351b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,9 +352,6 @@ void DrawEngineGLES::DoFlush() {
if (g_Config.bSoftwareSkinning && (lastVType_ & GE_VTYPE_WEIGHT_MASK))
useCache = false;
// TEMPORARY
useCache = false;
if (useCache) {
u32 id = dcid_ ^ gstate.getUVGenMode(); // This can have an effect on which UV decoder we need to use! And hence what the decoded data will look like. See #9263
vai = vai_.Get(id);