#asahi-gpu · 2023-01-04 23:56
alyssasampler, 7fff 3fff 1fff ffff#asahi-gpu · 2023-01-04 23:55
alyssaborder colour 3 is definitely for custom#asahi-gpu · 2023-01-04 23:50
alyssaGL_CLAMP in hardware on agx (wrap=4) wat?!#asahi-gpu · 2023-01-02 17:54
alyssalina: Are you planning to review !20446?#asahi-gpu · 2022-12-30 18:05
alyssanot images#asahi-gpu · 2022-12-30 18:05
alyssakarolherbst: I have patches for ssbo's#asahi-gpu · 2022-12-30 15:37
alyssa:+1:#asahi-gpu · 2022-12-30 15:26
alyssaimho getting the UAPI right (especially sync) is far more important right now#asahi-gpu · 2022-12-30 15:26
alyssaMaybe hold off on this until we figure out what we want to do for panfrost and then copy that some stream ;)#asahi-gpu · 2022-12-30 15:26
alyssahttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20215#asahi-gpu · 2022-12-30 15:25
alyssalina: we're working on similar stuff at $WORK for panfrost#asahi-gpu · 2022-12-30 15:25
alyssasounds good#asahi-gpu · 2022-12-30 02:28
alyssaas usual#asahi-gpu · 2022-12-30 02:28
alyssai was wondering and then forgot#asahi-gpu · 2022-12-30 02:28
alyssathanks for checking that :)#asahi-gpu · 2022-12-30 02:27
alyssai wasn't sure what the max was#asahi-gpu · 2022-12-30 02:27
alyssawill fix that in the rewrite. thanks for letting me know#asahi-gpu · 2022-12-30 02:26
alyssalina: brrrr okay, that tracks.#asahi-gpu · 2022-12-29 23:07
alyssaMm, 2.5fps with exclusive ubershaders running at 4K :p#asahi-gpu · 2022-12-29 19:06
alyssaOK#asahi-gpu · 2022-12-29 19:06
alyssaHmmm#asahi-gpu · 2022-12-29 18:52
alyssabut I have the patches to make it so :p#asahi-gpu · 2022-12-29 18:52
alyssaI still don't understand *why* Vulkan wants that so bad#asahi-gpu · 2022-12-29 18:51
alyssaawesome#asahi-gpu · 2022-12-29 17:53
alyssacan push arbitrary ranges of GPU memory#asahi-gpu · 2022-12-29 17:52
alyssabut yeah#asahi-gpu · 2022-12-29 17:52
alyssaif you use libwrap.dylib, the pointers will be dumped#asahi-gpu · 2022-12-29 17:52
alyssasee "USC Uniform" in mesa/src/asahi/lib/cmdbuf.xml#asahi-gpu · 2022-12-29 17:52
alyssaTellowKrinkle: USC load uniform commands#asahi-gpu · 2022-12-29 17:15
alyssaI'd ask jekstrand to chime in but he's on vacation#asahi-gpu · 2022-12-29 17:06
alyssabut. I did write the patches last night to convert the compiler + GL over to the new model. giving you a heads up that you'll need to add some code to VK when this lands and you rebase#asahi-gpu · 2022-12-29 17:06
alyssaIt's not clear to me why this is better for VK seeing as I don't work on VK yet#asahi-gpu · 2022-12-29 17:06
alyssaand the GL and VK drivers get to (independently and completely) control the layouts#asahi-gpu · 2022-12-29 17:05
alyssathen the compiler has no knowledge of any special sysvals. It just translates load_preamble instructions 1:1 to hardware uniform registers#asahi-gpu · 2022-12-29 17:04
alyssaHe argues that what should actually happen is that the driver preprocesses the NIR before the compiler sees it, with a little NIR pass to lower system values to load_uniform/load_preamble instructions, and the driver internally keeps track of what it wants to upload#asahi-gpu · 2022-12-29 17:04
alyssaIt also turns out that it isn't great for GL either but I digress#asahi-gpu · 2022-12-29 17:03
alyssawhereas VK would want to do certain things in a different way maybe, e.g. descriptor sets instead of open coding binding tables#asahi-gpu · 2022-12-29 17:03
alyssaso in effect I'm hardcoding GLisms into the compiler and then VK would have to pretend to be GL#asahi-gpu · 2022-12-29 17:03
alyssaThe issue being the layout is compiler-driven, even though the dettails are all driver-specific#asahi-gpu · 2022-12-29 17:02
alyssaApparently, this works well enough for GL, but is bad for Vulkan aparently#asahi-gpu · 2022-12-29 17:01
alyssa- driver needs to upload those uniforms in the layout the compiler decided#asahi-gpu · 2022-12-29 17:01
alyssa- compiler passes back a list of uniforms that the driver needs to upload in a certain layout#asahi-gpu · 2022-12-29 17:01
alyssa- compiler translates those to moves of magic uniforms#asahi-gpu · 2022-12-29 17:01
alyssa- lots of high level system values in the NIR e.g. nir_load_ubo_base_agx#asahi-gpu · 2022-12-29 17:00
alyssaella-0: by the way, jekstrand complained about the following code pattern I have in Asahi (and Panfrost):#asahi-gpu · 2022-12-29 15:03
alyssasparkles#asahi-gpu · 2022-12-29 15:03
alyssaella-0: sprakles#asahi-gpu · 2022-12-28 21:18
alyssa;p#asahi-gpu · 2022-12-28 21:18
alyssawas running softpipe#asahi-gpu · 2022-12-28 21:18
alyssaoh I was wondering why my shiny new M1 was feeling so slow