asahi: Fix random *2
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 22 Jun 2021 02:10:27 +0000 (22:10 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 5 Jul 2021 20:56:04 +0000 (20:56 +0000)
Accidentally committed at some point.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11718>

src/gallium/drivers/asahi/magic.c

index 66057ff..58e9375 100644 (file)
@@ -203,7 +203,7 @@ demo_cmdbuf(uint64_t *buf, size_t size,
     * the clear_ .. bbox maybe */
    EMIT32(cmdbuf, 0);
    EMIT32(cmdbuf, 0);
-   EMIT32(cmdbuf, width * 2); // can increase up to 16384
+   EMIT32(cmdbuf, width); // can increase up to 16384
    EMIT32(cmdbuf, height);
 
    EMIT32(cmdbuf, 1);