[Mesa-dev] [PATCH v2] panfrost: Place the height value in the height field

Tomeu Vizoso tomeu.vizoso at collabora.com
Thu Jul 11 10:13:20 UTC 2019


In the mali_single_framebuffer descriptor.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>

v2: Remove unwanted chunks
---
 src/gallium/drivers/panfrost/pan_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index cb55dc66e799..b3545e1748a7 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -141,7 +141,7 @@ panfrost_emit_sfbd(struct panfrost_context *ctx, unsigned vertex_count)
 
         struct mali_single_framebuffer framebuffer = {
                 .width = MALI_POSITIVE(width),
-                .height = MALI_POSITIVE(width),
+                .height = MALI_POSITIVE(height),
                 .unknown2 = 0x1f,
                 .format = 0x30000000,
                 .clear_flags = 0x1000,
-- 
2.20.1



More information about the mesa-dev mailing list