Mesa (main): Revert "virgl: Cache depth and stencil buffers"
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 3 17:09:51 UTC 2021
Module: Mesa
Branch: main
Commit: a8e75bb73c6f8ce94c4f598a2f4763b12188991c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8e75bb73c6f8ce94c4f598a2f4763b12188991c
Author: Lepton Wu <lepton at chromium.org>
Date: Wed Jun 2 18:00:06 2021 -0700
Revert "virgl: Cache depth and stencil buffers"
This reverts commit d245d7b6b8bb75622dd43fb845f60d55ad3ebc89.
It broke various dEQP EGL tests because the reused resource
at host side could have a different sample_count with what we want.
The example of tests get broken:
dEQP-EGL.functional.color_clears.single_context.gles2.rgba8888_window
Signed-off-by: Lepton Wu <lepton at chromium.org>
Reviewed-by: Rohan Garg <rohan.garg at collabora.com>
Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11152>
---
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
index 1dd7b001925..dfa145a73f7 100644
--- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
+++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
@@ -63,7 +63,6 @@ static inline boolean can_cache_resource(uint32_t bind)
bind == VIRGL_BIND_VERTEX_BUFFER ||
bind == VIRGL_BIND_CUSTOM ||
bind == VIRGL_BIND_STAGING ||
- bind == VIRGL_BIND_DEPTH_STENCIL ||
bind == 0;
}
More information about the mesa-commit
mailing list