From e03622e50fcebbcc32b2fd403b1a729c73cb49d5 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 13 Aug 2020 15:19:07 -0400 Subject: [PATCH] panfrost: Set STRIDE_4BYTE_ALIGNED_ONLY It isn't clear to me why, but this breaks in some cases (such as some dEQP cases where the blob does a translate too). This reverts commit 9f2997dad061ee38e06f654f524dffbffc5b2a4b. Signed-off-by: Alyssa Rosenzweig Cc: mesa-stable Reviewed-by: Tomeu Vizoso Part-of: --- .gitlab-ci/deqp-panfrost-t860-fails.txt | 1 - src/gallium/drivers/panfrost/pan_screen.c | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/deqp-panfrost-t860-fails.txt b/.gitlab-ci/deqp-panfrost-t860-fails.txt index 9b4218b7b98..8e5d0678b61 100644 --- a/.gitlab-ci/deqp-panfrost-t860-fails.txt +++ b/.gitlab-ci/deqp-panfrost-t860-fails.txt @@ -42,4 +42,3 @@ dEQP-GLES3.functional.fbo.msaa.4_samples.stencil_index8 dEQP-GLES3.functional.fence_sync.client_wait_sync_finish dEQP-GLES3.functional.draw.random.156 dEQP-GLES3.functional.draw.random.208 -dEQP-GLES3.functional.vertex_arrays.single_attribute.strides.int2_10_10_10.user_ptr_stride17_components4_quads256 diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 9942ea8e1af..b595362169e 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -191,6 +191,10 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_CONDITIONAL_RENDER: return is_gl3; + /* TODO: Where does this req come from in practice? */ + case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY: + return 1; + case PIPE_CAP_MAX_TEXTURE_2D_SIZE: return 4096; case PIPE_CAP_MAX_TEXTURE_3D_LEVELS: -- 2.30.2