summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2021-07-20 20:33:07 +0200
committerGitHub <noreply@github.com>2021-07-20 20:33:07 +0200
commitf460bf937e2f8c6ef5a1e1c019a5513f706f09ed (patch)
treeff3dce686169dba83bbc187832df2d6705dcd374 /src
parentMerge pull request #6684 from ogniK5377/uuid-cpp20-new (diff)
parentgl_texture_cache: Workaround slow PBO downloads on radeonsi (diff)
downloadyuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar
yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.gz
yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.bz2
yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.lz
yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.xz
yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.tar.zst
yuzu-f460bf937e2f8c6ef5a1e1c019a5513f706f09ed.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h
index 25fe61566..cf3b789e3 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.h
+++ b/src/video_core/renderer_opengl/gl_texture_cache.h
@@ -122,7 +122,7 @@ private:
bool has_broken_texture_view_formats = false;
StagingBuffers upload_buffers{GL_MAP_WRITE_BIT, GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT};
- StagingBuffers download_buffers{GL_MAP_READ_BIT, GL_MAP_READ_BIT};
+ StagingBuffers download_buffers{GL_MAP_READ_BIT | GL_CLIENT_STORAGE_BIT, GL_MAP_READ_BIT};
OGLTexture null_image_1d_array;
OGLTexture null_image_cube_array;