#
✕ nick:alyssa
#asahi-dev · 2023-03-04 02:02
alyssaand via DXVK and VKD3D get the suite of Direct3D apis
#asahi-dev · 2023-03-04 02:02
alyssaVulkan 1.3, GL 4.5, OpenCL, whatever
#asahi-dev · 2023-03-04 02:02
alyssaeven if we have to do some really silly things to get there, we'll be able to implement modern APIs on this chip
#asahi-dev · 2023-03-04 02:02
alyssayep :)
#asahi-dev · 2023-03-04 02:01
alyssabut it works out, I mean, the gears spin really fast
#asahi-dev · 2023-03-04 02:01
alyssaWe do something stupid things in the GL driver, we're gonna do some other stupid things in the VK driver, and yeah, Apple does some stupid things in the Metal driver
#asahi-dev · 2023-03-04 02:00
alyssa:p
#asahi-dev · 2023-03-04 02:00
alyssaAGX is its own API
#asahi-dev · 2023-03-04 02:00
alyssaLol
#asahi-dev · 2023-03-04 02:00
alyssanot GL, not VK, not D3D, and no, not Metal.
#asahi-dev · 2023-03-04 01:59
alyssanone of the APIs map closely to the hardware
#asahi-dev · 2023-03-04 01:59
alyssahonestly? AGX is a special snowflake of an architecture
#asahi-dev · 2023-03-04 01:57
alyssaand hopefully get AGXV far enough along that Zink+AGXV is also at GL 3.3 :^)
#asahi-dev · 2023-03-04 01:56
alyssanot planning to plough through tess, GL 3.3 is the point when I switch gears to Vulkan
#asahi-dev · 2023-03-04 01:56
alyssanot impossible, hell Metal does it, but suck
#asahi-dev · 2023-03-04 01:56
alyssatess is going to suuuuck
#asahi-dev · 2023-03-04 01:56
alyssaGL 4.0 will be blocked on tessellation though
#asahi-dev · 2023-03-04 01:55
alyssawhich is why I'm kinda motivated to just plough through geometry shaders and get us to GL 3.3 even though GS will suck
#asahi-dev · 2023-03-04 01:55
alyssayep
#asahi-dev · 2023-03-04 01:53
alyssa:~)
#asahi-dev · 2023-03-04 01:53
alyssa"How's performance? Great, because I haven't tested it"
#asahi-dev · 2023-03-04 01:53
alyssato quote robher
#asahi-dev · 2023-03-04 01:50
alyssaspent way too long on the commit message lmao
#asahi-dev · 2023-03-04 01:50
alyssathis is the guiding principle for code like https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21672
#asahi-dev · 2023-03-04 01:50
alyssachadmed: as for brute force... my philosophy for GL/VK features right now is "just implement em all, whatever the cost, because if you don't implement them games won't work, but if you do the hardware is so fricking fast that it'll be just fine"
#asahi-dev · 2023-03-04 01:50
alyssayeah, and Mali Chromebooks are a serious gaming platform too (~:
#asahi-dev · 2023-03-04 01:50
alyssahahaha
#asahi-dev · 2023-03-04 01:49
alyssabut maybe hardware raytracing in M3
#asahi-dev · 2023-03-04 01:49
alyssaAFAICT, that won't come in M3 though
#asahi-dev · 2023-03-04 01:49
alyssagiven that they're committing to the bit
#asahi-dev · 2023-03-04 01:48
alyssaI sorta expect that a future GPU (maybe M4) will redo the geometry pipeline to allow implementing mesh more efficiently
#asahi-dev · 2023-03-04 01:48
alyssathe M1 GPU's whole deal seems to be "just throw a shitton of compute power at it" >.>
#asahi-dev · 2023-03-04 01:47
alyssayeah, I mean
#asahi-dev · 2023-03-04 01:46
alyssabut I took a sneak peek and yeah it doesn't look pretty
#asahi-dev · 2023-03-04 01:46
alyssaI haven't installed 13.x yet so I haven't seen it in action
#asahi-dev · 2023-03-04 01:46
alyssaYep
#asahi-dev · 2023-03-04 01:44
alyssaand with indirect draws, that # isn't known at draw call time
#asahi-dev · 2023-03-04 01:44
alyssabut lowering those to compute (sanely) requires a temporary buffer sized according to the # of vertices drawn
#asahi-dev · 2023-03-04 01:43
alyssastill no geom/tess/mesh support in hw
#asahi-dev · 2023-03-04 01:43
alyssayepyep
#asahi-dev · 2023-03-04 01:43
alyssachadmed: by "primitives" i mean "a hack to let compute kernels dynamically allocate memory"
#asahi-dev · 2023-03-04 01:19
alyssawell. "properly"
#asahi-dev · 2023-03-04 01:19
alyssawhich introduces the primitives needed to implement geometry/tessellation/mesh shaders properly
#asahi-dev · 2023-03-04 01:18
alyssachadmed: down the line I think I'm going to want 13.x firmware for AGX
#asahi-dev · 2023-02-16 16:23
alyssaOh well
#asahi-dev · 2023-02-16 16:23
alyssaBoo :(
#asahi-dev · 2023-02-16 16:17
alyssaand then there's less pressure on the CPU scheduler
#asahi-dev · 2023-02-16 16:17
alyssahopefully once lina works out the bugs with the sync code this will be fixed
#asahi-dev · 2023-02-16 16:17
alyssawhich is what you get if the CPU and GPU aren't running in parallel
#asahi-dev · 2023-02-16 16:17
alyssachadmed: I think a big problem are workloads that are bursty, like, no CPU activity followed by a spike and then no activity

plus ›