ChanServ changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yrlf has joined #asahi-gpu
<alyssa>
for (struct {int v ## i, block * v} = { 0, num_preds(blk) ? *(index(&blk->preds, block *, 0) : NULL}; v ## i < num_preds(blk); v = *(index(&blk->preds, block *, (v ## i)++))
<alyssa>
is this sinful
<alyssa>
aww clang won't compile it even though gcc will, booooo
<marcan>
that looks pretty cursed
<alyssa>
look i just want to iterate the contents of an array of pointers ;-p
<alyssa>
actually even simpler case
<alyssa>
you have an array
<alyssa>
int *foo
<alyssa>
of length len
<alyssa>
and want a macro that iterates the contents of foo, i.e.
<alyssa>
foreach_int(foo, x) { something with x, an int }
phiologe has joined #asahi-gpu
<alyssa>
no namespace pollution, type safety, working break/continue, standards compliance
<alyssa>
(pick 3 out of 4...)
PhilippvK has quit [Ping timeout: 480 seconds]
<alyssa>
i guess index with an int and it works, but...
user982492 has joined #asahi-gpu
<alyssa>
4:16 for a deqp-gles2 run... I guess that's a bit better but still way too high cause of the hangs
<alyssa>
ah but I can configure the timeout. and 60s is definitely not the one to choose
<alyssa>
(for reference, this is just over 90 seconds on my Mali-G52 board with Panfrost ... so the M1 should be able to do it in under a minute easily when things are working properly.)
<alyssa>
lowering the timeout to 15s gets the total runtime down to 2:29 at least
<alyssa>
(instead of 4:16. I much prefer that lol)
<alyssa>
2:56 without a baseline because of flake detection
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-gpu
pyropeter2 has joined #asahi-gpu
pyropeter1 has quit [Ping timeout: 480 seconds]
user982492 has quit [Read error: Connection reset by peer]
user982492_ has joined #asahi-gpu
<rowang077[m]>
Does anyone know what kind of graphics API support would be needed to run a compositor? For example if I look at picom(https://github.com/yshui/picom) it doesn't specify whether for example full openGL is needed or openGLES2 is enough.
<chadmed>
GLES is usually enough for most features of the mainstream compositors to work properly
kgarrington has joined #asahi-gpu
kgarrington has quit [Remote host closed the connection]
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-gpu
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Telvana has quit []
Telvana has joined #asahi-gpu
MajorBiscuit has joined #asahi-gpu
bisko has joined #asahi-gpu
bisko has quit [Ping timeout: 480 seconds]
mhawk[m] has joined #asahi-gpu
nyx_o has joined #asahi-gpu
lina has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-gpu
MajorBiscuit has quit [Quit: WeeChat 3.4]
user982492 has joined #asahi-gpu
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qdot has joined #asahi-gpu
user982492 has joined #asahi-gpu
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]