Mesa (main): freedreno/a5xx: add missing L8A8_UNORM format to support TBOs
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 22 18:08:46 UTC 2021
Module: Mesa
Branch: main
Commit: 43f94ee9f115660ba7ceffdc07dd269b876eb4b0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43f94ee9f115660ba7ceffdc07dd269b876eb4b0
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sun Nov 21 20:44:10 2021 -0500
freedreno/a5xx: add missing L8A8_UNORM format to support TBOs
Fixes arb_texture_buffer_object-formats test.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13906>
---
src/freedreno/ci/freedreno-a530-fails.txt | 4 ----
src/gallium/drivers/freedreno/a5xx/fd5_format.c | 1 +
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/freedreno/ci/freedreno-a530-fails.txt b/src/freedreno/ci/freedreno-a530-fails.txt
index e4432f05dc7..30b5dff236e 100644
--- a/src/freedreno/ci/freedreno-a530-fails.txt
+++ b/src/freedreno/ci/freedreno-a530-fails.txt
@@ -318,10 +318,6 @@ spec at arb_occlusion_query@occlusion_query_order,Fail
spec at arb_point_sprite@arb_point_sprite-interactions 1.0,Fail
spec at arb_separate_shader_objects@400 combinations by location,Fail
spec at arb_separate_shader_objects@400 combinations by name,Fail
-spec at arb_texture_buffer_object@formats (fs- arb),Fail
-spec at arb_texture_buffer_object@formats (fs- arb)@GL_LUMINANCE8_ALPHA8,Fail
-spec at arb_texture_buffer_object@formats (vs- arb),Fail
-spec at arb_texture_buffer_object@formats (vs- arb)@GL_LUMINANCE8_ALPHA8,Fail
spec at arb_texture_rectangle@1-1-linear-texture,Fail
spec at arb_timer_query@query gl_timestamp,Fail
spec at arb_timer_query@timestamp-get,Fail
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_format.c b/src/gallium/drivers/freedreno/a5xx/fd5_format.c
index 69b47bb97b9..d51fbb262ac 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_format.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_format.c
@@ -130,6 +130,7 @@ static struct fd5_format formats[PIPE_FORMAT_COUNT] = {
_T(L8A8_UINT, 8_8_UINT, NONE, WZYX),
_T(L8A8_SINT, 8_8_SINT, NONE, WZYX),
+ _T(L8A8_UNORM, 8_8_UNORM, NONE, WZYX),
_T(B5G6R5_UNORM, 5_6_5_UNORM, R5G6B5_UNORM, WXYZ),
_T(B5G5R5A1_UNORM, 5_5_5_1_UNORM, R5G5B5A1_UNORM, WXYZ),
More information about the mesa-commit
mailing list