marcan 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
<bloom>
Looks the hardware has support for triangle fans and maybe quads.
<bloom>
It's just Metal that doesn't bother advertising. We'll need to, though.
<chrisf>
i wonder whether the gl-on-metal thing does some costly emulation to stick within what metal gives you, or cheats?
<bloom>
chrisf: I assume it cheats.
<bloom>
but am not yet setup to check that.
<bloom>
chrisf: I have a demo with multiple draws working.
<bloom>
Deliciously simple.
<bloom>
Much simpler than Mali, probably much lower overhead too.
<bloom>
chrisf: Nothing like a 17 byte struct... sigh.
<bloom>
D'OH!
<bloom>
unk2 === the encoder
<bloom>
cmd_* === the command buffer
<bloom>
in metal speak
<bloom>
if I want to know the hw distinction I should just read the mtl docs :-p
<bloom>
or something of that ilk
<chrisf>
hmmn, ok
<chrisf>
i assumed the encoder just spat stuff out into the command buffer as it went
<bloom>
in that case, unk2 is the command buffer
<bloom>
cmd_* is conceptually ... not
<bloom>
but not sure what it could be then.
<chrisf>
do we think there's loop-over-tiles type stuff in cmd_* ?
<bloom>
Possibly, but there's still a lot magic for compute-only.
* bloom
evidently hit her head capacity
<chrisf>
would be interesting to see whether we can provoke that unk6 to be something other than identity+1
<bloom>
hmm?
<bloom>
which unk6?
<bloom>
oh, that..
<bloom>
yeah, idk
phiologe has quit [Ping timeout: 250 seconds]
phiologe has joined #asahi-gpu
odmir has quit [Remote host closed the connection]
phiologe has quit [Ping timeout: 250 seconds]
phiologe has joined #asahi-gpu
Augur[m] has quit [Quit: Idle for 30+ days]
pg12_ has quit [Quit: pg12_]
pg12 has joined #asahi-gpu
pg12 has quit [Remote host closed the connection]
pg12 has joined #asahi-gpu
odmir has joined #asahi-gpu
odmir has quit [Ping timeout: 240 seconds]
odmir has joined #asahi-gpu
odmir has quit [Ping timeout: 260 seconds]
Stary has joined #asahi-gpu
Stary has quit [Changing host]
odmir has joined #asahi-gpu
odmir has quit [Remote host closed the connection]