#
#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:03
iyesOut of curiosity, alyssa , based on your judgement, how hard are cubemap array textures? Sample rate shading?
#asahi-gpu · 2023-08-17 16:02
iyesI still want to learn how things work, though
#asahi-gpu · 2023-08-17 16:02
i509vcbfor extensions
#asahi-gpu · 2023-08-17 16:02
i509vcbI think some parts of gallium also check the screen vtable as well
#asahi-gpu · 2023-08-17 16:02
iyesHahah, understandable
#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 16:01
iyesHow does mesa know what GL extensions to advertise as supported (say, in glxinfo output)? What exactly in the source code of a given driver (say, in our case asahi) results in a given extension to be reported as supported/available?
#asahi-gpu · 2023-08-17 15:51
iyesThat makes sense, that user-facing apis like UBOs/VBOs/SSBOs/etc would be backed by common code for gpu buffers more generally.
#asahi-gpu · 2023-08-17 15:50
iyesOh! *facepalms*
#asahi-gpu · 2023-08-17 15:49
i509vcbbuffer object
#asahi-gpu · 2023-08-17 15:48
iyesOr I guess, a "BO" more generally?
#asahi-gpu · 2023-08-17 15:48
iyesWhat is an agx_bo ?
#asahi-gpu · 2023-08-17 14:43
alyssaiirc
#asahi-gpu · 2023-08-17 14:43
alyssathat's doxygen
#asahi-gpu · 2023-08-17 14:27
iyesI guess no such thing exists here. It's fine. I got LSP with clangd working, and I can navigate around the source code easily from my text editor. I'll try to study things that way.
#asahi-gpu · 2023-08-17 14:26
iyesYea I looked at those things, but they seem to be incomplete and human written. In Rust projects (and C/C++ projects that use something like Doxygen), it's so nice to able to learn a codebase by using a web browser to search around and click around to explore all the different functions, structs, etc. :)
#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:12
iyesOr am I too spoiled by rust's nice dev tools and having unreasonable expectations here? :D
#asahi-gpu · 2023-08-17 14:10
iyesDoes mesa have any sort of browse-able API docs generated from the source code itself? something similar to what rustdoc/docs.rs for rust projects?
#asahi-gpu · 2023-08-17 14:07
rosefromthedead"you're in for a world of pain :3"
#asahi-gpu · 2023-08-17 14:07
rosefromthedeadhahahah
#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 14:02
iyesLol after not having worked with C for years, only Rust, reading mesa source code now (studying NIR apis) and seeing all the various pointers to different structs everywhere, is filling me with dread and paranoia. :D Everything feels so fragile! I guess I'll get used to it...
#asahi-gpu · 2023-08-17 12:46
iyesOh! Okay!
#asahi-gpu · 2023-08-17 12:45
_jannau__iyes: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/wikis/home#how-can-i-contribute-to-an-existing-project-or-create-a-new-one
#asahi-gpu · 2023-08-17 12:34
iyesSo I made an account on FDO gitlab, but I can't fork asahi/mesa? It says project limit reached. Do I need some special permissions on my account? How am I going to be able to hack on the source code and make MRs if I can't fork?
#asahi-gpu · 2023-08-17 03:49
i509vcbThe assert I hit has this ominous "We can only have one timeline mode" comment
#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
i509vcbhowever other drivers seem to do fine with null at [2] and [1] being the timeline sync type
#asahi-gpu · 2023-08-17 03:47
alyssai509vcb: welcome to how the kernel driver is built
#asahi-gpu · 2023-08-17 03:45
i509vcbIt's possible I don't exactly know what to do with the vk_sync stuff
#asahi-gpu · 2023-08-17 03:45
i509vcbI also tested with setting sync_types[1] to &device->sync_timeline_type.sync and then putting NULL at [2] but that just fails on an assert in common code
#asahi-gpu · 2023-08-17 03:44
i509vcbdEQP-VK.synchronization.basic.timeline_semaphore.* all hang I believe
#asahi-gpu · 2023-08-17 03:43
i509vcbhttps://gitlab.freedesktop.org/i509VCB/mesa/-/commits/agxv/timeline-semaphore
#asahi-gpu · 2023-08-17 03:40
i509vcbGive me a min and I'll push my current agxv branch so you can look at that
#asahi-gpu · 2023-08-17 03:39
linaIf you have a branch/testcase I can use to try it I can look at it tomorrow ^^

plus ›