summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-12-03 16:15:58 +0100
committerMarge Bot <emma+marge@anholt.net>2021-12-06 13:02:30 +0000
commit7fa60cd7ce93ed0aedf26abb6b6ba4db0938b910 (patch)
tree4e97b15c536b4c03e58ca15c3243772c0f5ba0c6 /src/gallium
parent555f93cdcd9e8f41b860513bcfedc85076f98ff0 (diff)
virgl: Disable cache for VIRGL_BIND_SAMPLER_VIEW
this currently makes the dEQP-GLES31.functional.image_load_store.buffer.image_size.readonly_12 test fail when used simultaneously with other tests that lead to hitting the cache. For instance the combination of: dEQP-GLES31.functional.image_load_store.buffer.atomic.or_r32i_result dEQP-GLES31.functional.image_load_store.buffer.atomic.or_r32i_return_value dEQP-GLES31.functional.image_load_store.buffer.image_size.readonly_12 results in a failure of the readonly_12 test. Deflag dEQP-GLES31.functional.image_load_store.buffer.image_size.{read,write}only_12 as flakes. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14045>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/virgl/ci/virgl-gl-flakes.txt3
-rw-r--r--src/gallium/drivers/virgl/ci/virgl-gles-flakes.txt3
-rw-r--r--src/gallium/winsys/virgl/drm/virgl_drm_winsys.c1
3 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/virgl/ci/virgl-gl-flakes.txt b/src/gallium/drivers/virgl/ci/virgl-gl-flakes.txt
index d5c22fa62cc..a40530cf5d9 100644
--- a/src/gallium/drivers/virgl/ci/virgl-gl-flakes.txt
+++ b/src/gallium/drivers/virgl/ci/virgl-gl-flakes.txt
@@ -5,9 +5,6 @@ KHR-GL30.shaders30.glsl_constructors.bvec4_from_mat4x3_vs
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/4651
KHR-GL31.transform_feedback.capture_special_interleaved_test
-dEQP-GLES31.functional.image_load_store.buffer.image_size.writeonly_12
-dEQP-GLES31.functional.image_load_store.buffer.image_size.readonly_12
-
dEQP-GLES2.functional.clipping.point.wide_point_clip
dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_center
dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_corner
diff --git a/src/gallium/drivers/virgl/ci/virgl-gles-flakes.txt b/src/gallium/drivers/virgl/ci/virgl-gles-flakes.txt
index d5c22fa62cc..a40530cf5d9 100644
--- a/src/gallium/drivers/virgl/ci/virgl-gles-flakes.txt
+++ b/src/gallium/drivers/virgl/ci/virgl-gles-flakes.txt
@@ -5,9 +5,6 @@ KHR-GL30.shaders30.glsl_constructors.bvec4_from_mat4x3_vs
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/4651
KHR-GL31.transform_feedback.capture_special_interleaved_test
-dEQP-GLES31.functional.image_load_store.buffer.image_size.writeonly_12
-dEQP-GLES31.functional.image_load_store.buffer.image_size.readonly_12
-
dEQP-GLES2.functional.clipping.point.wide_point_clip
dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_center
dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_corner
diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
index 6bb14d7271d..d762542113a 100644
--- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
+++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
@@ -67,7 +67,6 @@ static inline boolean can_cache_resource(uint32_t bind)
bind == VIRGL_BIND_CUSTOM ||
bind == VIRGL_BIND_STAGING ||
bind == VIRGL_BIND_DEPTH_STENCIL ||
- bind == VIRGL_BIND_SAMPLER_VIEW ||
bind == VIRGL_BIND_RENDER_TARGET ||
bind == 0;
}