summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2021-11-21 20:44:10 -0500
committerMarge Bot <emma+marge@anholt.net>2021-11-22 17:44:59 +0000
commit43f94ee9f115660ba7ceffdc07dd269b876eb4b0 (patch)
tree163939e1192b60378c3e1f219788077e2db0fd62
parentc87967bf179ffad7345ef31481981817d5b9be51 (diff)
freedreno/a5xx: add missing L8A8_UNORM format to support TBOs
Fixes arb_texture_buffer_object-formats test. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13906>
-rw-r--r--src/freedreno/ci/freedreno-a530-fails.txt4
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_format.c1
2 files changed, 1 insertions, 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@arb_occlusion_query@occlusion_query_order,Fail
spec@arb_point_sprite@arb_point_sprite-interactions 1.0,Fail
spec@arb_separate_shader_objects@400 combinations by location,Fail
spec@arb_separate_shader_objects@400 combinations by name,Fail
-spec@arb_texture_buffer_object@formats (fs- arb),Fail
-spec@arb_texture_buffer_object@formats (fs- arb)@GL_LUMINANCE8_ALPHA8,Fail
-spec@arb_texture_buffer_object@formats (vs- arb),Fail
-spec@arb_texture_buffer_object@formats (vs- arb)@GL_LUMINANCE8_ALPHA8,Fail
spec@arb_texture_rectangle@1-1-linear-texture,Fail
spec@arb_timer_query@query gl_timestamp,Fail
spec@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),