From fff2aa46a7be9cd3af7a22c812e86de58455ce3f Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 13 Jun 2021 13:38:00 -0700 Subject: [PATCH] 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 Part-of: --- .../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 60ba4a3..20757c4 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@glx-query-drawable-glx_fbconfig_id-window,Fail glx@glx-swap-pixmap-bad,Fail glx@glx-visuals-depth -pixmap,Crash glx@glx-visuals-stencil -pixmap,Crash -shaders@glsl-bug-110796,Fail shaders@glsl-fs-fogscale,Fail shaders@glsl-fs-fogscale@gs-out and fs,Fail shaders@point-vertex-id divisor,Crash @@ -211,6 +210,7 @@ spec@arb_texture_rg@texwrap formats-int bordercolor-swizzled@GL_RG32UI- swizzled spec@arb_texture_rg@texwrap formats-int bordercolor-swizzled@GL_RG8I- swizzled- border color only,Fail spec@arb_texture_rg@texwrap formats-int bordercolor-swizzled@GL_RG8UI- swizzled- border color only,Fail spec@arb_texture_view@bug-layers-image,Crash +spec@arb_texture_view@mipgen,Fail spec@arb_texture_view@rendering-layers-image,Fail spec@arb_texture_view@rendering-layers-image@layers rendering of image1DArray,Fail spec@arb_texture_view@rendering-layers-image@layers rendering of imageCubeArray,Fail @@ -309,6 +309,17 @@ spec@ext_texture_snorm@fbo-blending-formats@GL_INTENSITY8_SNORM,Fail spec@ext_texture_snorm@fbo-blending-formats@GL_INTENSITY_SNORM,Fail spec@ext_texture_snorm@fbo-blending-formats@GL_LUMINANCE8_SNORM,Fail spec@ext_texture_snorm@fbo-blending-formats@GL_LUMINANCE_SNORM,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_ALPHA16_SNORM,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_ALPHA16_SNORM NPOT,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_INTENSITY16_SNORM,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_INTENSITY16_SNORM NPOT,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_LUMINANCE16_ALPHA16_SNORM,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_LUMINANCE16_ALPHA16_SNORM NPOT,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_LUMINANCE16_SNORM,Fail +spec@ext_texture_snorm@fbo-generatemipmap-formats@GL_LUMINANCE16_SNORM NPOT,Fail +spec@ext_texture_snorm@multisample-formats 2 gl_ext_texture_snorm,Fail +spec@ext_texture_snorm@multisample-formats 4 gl_ext_texture_snorm,Fail spec@ext_texture_snorm@texwrap formats bordercolor-swizzled,Fail spec@ext_texture_snorm@texwrap formats bordercolor-swizzled@GL_R16_SNORM- swizzled- border color only,Fail spec@ext_texture_snorm@texwrap formats bordercolor-swizzled@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 0054c73..cfd368d 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: -- 2.7.4