summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2019-07-11 12:12:16 +0200
committerTomeu Vizoso <[email protected]>2019-07-11 15:06:47 +0200
commit82ee48e5ef74599e0d8ac019dd7b0964a8ef1f4f (patch)
tree6f95a261fe0ff987cadb2b2635369f987718790c
parent022b1f419075b9cfb2b68b8231ab66bf57318334 (diff)
panfrost: Place the height value in the height field
In the mali_single_framebuffer descriptor. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> v2: Remove unwanted chunks
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index cb55dc66e79..b3545e1748a 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,