Mesa (main): freedreno/a6xx: Flip on copy_image

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 17 19:52:06 UTC 2021


Module: Mesa
Branch: main
Commit: fff2aa46a7be9cd3af7a22c812e86de58455ce3f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fff2aa46a7be9cd3af7a22c812e86de58455ce3f

Author: Rob Clark <robdclark at chromium.org>
Date:   Sun Jun 13 13:38:00 2021 -0700

freedreno/a6xx: Flip on copy_image

Now that we have the rest of format "casting" sharp edges sorted, flip
on copy_image and gles32.

Unfortunately it adds back to piglit xfails (but at least that is more
than offset by my previous round of piglit fixes, and these are pretty
much all things we know had issues based on corresponding nv_copy_image
tests).

Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11402>

---

 .../drivers/freedreno/ci/piglit-freedreno-a630-fails.txt    | 13 ++++++++++++-
 src/gallium/drivers/freedreno/freedreno_screen.c            |  3 +++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/ci/piglit-freedreno-a630-fails.txt b/src/gallium/drivers/freedreno/ci/piglit-freedreno-a630-fails.txt
index 60ba4a3538d..20757c46db3 100644
--- a/src/gallium/drivers/freedreno/ci/piglit-freedreno-a630-fails.txt
+++ b/src/gallium/drivers/freedreno/ci/piglit-freedreno-a630-fails.txt
@@ -15,7 +15,6 @@ glx at glx-query-drawable-glx_fbconfig_id-window,Fail
 glx at glx-swap-pixmap-bad,Fail
 glx at glx-visuals-depth -pixmap,Crash
 glx at glx-visuals-stencil -pixmap,Crash
-shaders at glsl-bug-110796,Fail
 shaders at glsl-fs-fogscale,Fail
 shaders at glsl-fs-fogscale@gs-out and fs,Fail
 shaders at point-vertex-id divisor,Crash
@@ -211,6 +210,7 @@ spec at arb_texture_rg@texwrap formats-int bordercolor-swizzled at GL_RG32UI- swizzled
 spec at arb_texture_rg@texwrap formats-int bordercolor-swizzled at GL_RG8I- swizzled- border color only,Fail
 spec at arb_texture_rg@texwrap formats-int bordercolor-swizzled at GL_RG8UI- swizzled- border color only,Fail
 spec at arb_texture_view@bug-layers-image,Crash
+spec at arb_texture_view@mipgen,Fail
 spec at arb_texture_view@rendering-layers-image,Fail
 spec at arb_texture_view@rendering-layers-image at layers rendering of image1DArray,Fail
 spec at arb_texture_view@rendering-layers-image at layers rendering of imageCubeArray,Fail
@@ -309,6 +309,17 @@ spec at ext_texture_snorm@fbo-blending-formats at GL_INTENSITY8_SNORM,Fail
 spec at ext_texture_snorm@fbo-blending-formats at GL_INTENSITY_SNORM,Fail
 spec at ext_texture_snorm@fbo-blending-formats at GL_LUMINANCE8_SNORM,Fail
 spec at ext_texture_snorm@fbo-blending-formats at GL_LUMINANCE_SNORM,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_ALPHA16_SNORM,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_ALPHA16_SNORM NPOT,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_INTENSITY16_SNORM,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_INTENSITY16_SNORM NPOT,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_LUMINANCE16_ALPHA16_SNORM,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_LUMINANCE16_ALPHA16_SNORM NPOT,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_LUMINANCE16_SNORM,Fail
+spec at ext_texture_snorm@fbo-generatemipmap-formats at GL_LUMINANCE16_SNORM NPOT,Fail
+spec at ext_texture_snorm@multisample-formats 2 gl_ext_texture_snorm,Fail
+spec at ext_texture_snorm@multisample-formats 4 gl_ext_texture_snorm,Fail
 spec at ext_texture_snorm@texwrap formats bordercolor-swizzled,Fail
 spec at ext_texture_snorm@texwrap formats bordercolor-swizzled at GL_R16_SNORM- swizzled- border color only,Fail
 spec at ext_texture_snorm@texwrap formats bordercolor-swizzled at GL_R8_SNORM- swizzled- border color only,Fail
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 0054c738ea4..cfd368db2e4 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -207,6 +207,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_NIR_COMPACT_ARRAYS:
       return 1;
 
+   case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS:
+      return is_a6xx(screen);
+
    case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY:
    case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY:
    case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:



More information about the mesa-commit mailing list