From 4ff78407f717f311011a6c4fb939757b36fa7835 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 17 Nov 2023 17:44:29 -0400 Subject: [PATCH] asahi: Sync heap size Hot fix... gpu alloc needs bigger reworks but that's probably not going to happen until tess is done & we can see the whole picture. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/shaders/geometry.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/lib/shaders/geometry.cl b/src/asahi/lib/shaders/geometry.cl index ab9fb0a8838..4c3eb9c01d7 100644 --- a/src/asahi/lib/shaders/geometry.cl +++ b/src/asahi/lib/shaders/geometry.cl @@ -176,7 +176,7 @@ libagx_build_gs_draw(global struct agx_geometry_params *p, bool indexed, descriptor[3] = 0; /* start instance */ } - if (state->heap_bottom > 1024 * 1024) { + if (state->heap_bottom > 1024 * 1024 * 128) { global uint *foo = (global uint *)(uintptr_t)0xdeadbeef; *foo = 0x1234; }