#asahi-gpu · 2023-08-17 21:27
alyssai509vcb: becuase that doesn't actually handle it#asahi-gpu · 2023-08-17 20:54
alyssai509vcb: https://dougallj.github.io/applegpu/docs.html#asahi-gpu · 2023-08-17 20:28
alyssa.#asahi-gpu · 2023-08-17 20:26
alyssa(it could be written by some other compute shader, you can't read it from the cpu)#asahi-gpu · 2023-08-17 20:25
alyssano, indirect the app passes the count in gpu memory#asahi-gpu · 2023-08-17 20:23
alyssa4. num_workgroups turns into a read from those uniform registers#asahi-gpu · 2023-08-17 20:23
alyssa3. That GPU address is mapped to uniform registers for any shader that reads num_workgroups#asahi-gpu · 2023-08-17 20:23
alyssa2. Now regardless of direct or indirect, we have a GPU address to the workgroup count in the common format#asahi-gpu · 2023-08-17 20:22
alyssa1. For direct dispatch, I upload the workgroup count to GPU memory at dispatch time.#asahi-gpu · 2023-08-17 20:22
alyssathe way I handle this in gallium is..#asahi-gpu · 2023-08-17 20:17
alyssayou don't (in general) know the number of workgroups on the cpu#asahi-gpu · 2023-08-17 20:17
alyssai509vcb: the nontriviality is CmdDispatchIndirect#asahi-gpu · 2023-08-17 19:49
alyssanot sure what the Right way is#asahi-gpu · 2023-08-17 19:49
alyssai509vcb: I use multi-user.target instead of graphical.target and start (sway in my case most of the time) manually from the tty on boot, so then the pkill returns the tty#asahi-gpu · 2023-08-17 17:10
alyssarebase agxv i mean#asahi-gpu · 2023-08-17 17:10
alyssawhich i was going to do next week#asahi-gpu · 2023-08-17 17:10
alyssaalthough that has uapi bumpage#asahi-gpu · 2023-08-17 17:10
alyssagpu/rust-wip branch anyway#asahi-gpu · 2023-08-17 17:04
alyssaI thought it's in what we ship#asahi-gpu · 2023-08-17 16:54
alyssa3D can be up to 8192 depth#asahi-gpu · 2023-08-17 16:54
alyssaMary: arrays can have up to 2048 layers#asahi-gpu · 2023-08-17 16:04
alyssasample shading is hard but already works, just waiting to be released.#asahi-gpu · 2023-08-17 16:04
alyssa*GLES#asahi-gpu · 2023-08-17 16:04
alyssabut the GL extension depends on geometry shaders for silly historical reasons#asahi-gpu · 2023-08-17 16:04
alyssacubemap arrays are easy#asahi-gpu · 2023-08-17 16:02
alyssathe GL driver, I kinda did all the easy stuff and now it's just the hard stuff left :p#asahi-gpu · 2023-08-17 16:02
alyssaalthough I would encourage new developers to focus on Vulkan, there's a lot more low-hanging fruit there for both bugs and features#asahi-gpu · 2023-08-17 16:01
alyssaiyes: based on the PIPE_CAPs in agx_pipe.c#asahi-gpu · 2023-08-17 14:43
alyssaiirc#asahi-gpu · 2023-08-17 14:43
alyssathat's doxygen#asahi-gpu · 2023-08-17 14:21
alyssahttps://docs.mesa3d.org/gallium/index.html#asahi-gpu · 2023-08-17 14:21
alyssahttps://docs.mesa3d.org/vulkan/index.html#asahi-gpu · 2023-08-17 14:20
alyssahttps://docs.mesa3d.org/nir/index.html#asahi-gpu · 2023-08-17 14:20
alyssaa bit#asahi-gpu · 2023-08-17 14:03
alyssac is terrifying#asahi-gpu · 2023-08-17 14:03
alyssayou will not :3#asahi-gpu · 2023-08-17 03:48
alyssalina and i are experts :~)#asahi-gpu · 2023-08-17 03:48
alyssathe broken branch hot potato#asahi-gpu · 2023-08-17 03:47
alyssa:~)#asahi-gpu · 2023-08-17 03:47
alyssaor sometimes the other way around#asahi-gpu · 2023-08-17 03:47
alyssalina writes kernel code without being able to test, i write mesa code and find the kernel is broken, lina debugs kernel with my mesa branch, i fix my mesa branch once the kernel is fixed because whoops i also wrote buggy mesa code#asahi-gpu · 2023-08-17 03:47
alyssai509vcb: welcome to how the kernel driver is built#asahi-gpu · 2023-08-17 02:25
alyssaOof#asahi-gpu · 2023-08-17 02:24
alyssaapparently i have that too, that's neat#asahi-gpu · 2023-08-17 02:11
alyssahaven't had to reboot in months, lina's kernel is rock solid <3#asahi-gpu · 2023-08-17 02:11
alyssaI regularly have to ssh in and pkill sway and that's enough to fix#asahi-gpu · 2023-08-17 02:11
alyssaIt might be#asahi-gpu · 2023-08-17 02:10
alyssawhen I was doing Mesa on macOS, i got macOS to fail in all sorts of creative ways..#asahi-gpu · 2023-08-17 02:10
alyssagreat#asahi-gpu · 2023-08-17 02:10
alyssayeah the process isolation on these things isn't.. grat