From 8c041f4bf3cef472738246ef978ad0be3c28e798 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 15 Nov 2021 18:39:31 -0500 Subject: [PATCH] freedreno/a5xx: re-express buffer textures more logically Instead of treating it as 2 bits to enable, make BUFFER a type (and extend the bitfield width), and then add a separate BUFFER bit (ostensibly to perform the width/height concatenation but who knows). Signed-off-by: Ilia Mirkin Part-of: --- src/freedreno/registers/adreno/a5xx.xml | 6 +++--- src/gallium/drivers/freedreno/a5xx/fd5_image.c | 2 +- src/gallium/drivers/freedreno/a5xx/fd5_texture.c | 2 +- src/gallium/drivers/freedreno/a5xx/fd5_texture.h | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/freedreno/registers/adreno/a5xx.xml b/src/freedreno/registers/adreno/a5xx.xml index 2b0b31a1f21..13f2f98833a 100644 --- a/src/freedreno/registers/adreno/a5xx.xml +++ b/src/freedreno/registers/adreno/a5xx.xml @@ -2893,6 +2893,7 @@ different border-color states per texture.. Looks something like: + @@ -2918,13 +2919,12 @@ different border-color states per texture.. Looks something like: b31 is probably the 'BUFFER' bit.. it is the one that changes behavior of texture in dEQP-GLES31.functional.texture.texture_buffer.render.as_fragment_texture.buffer_size_131071 --> - + Pitch in bytes (so actually stride) - - +