#
✕ nick:i509vcb
#asahi-gpu · 2023-03-20 00:24
i509vcb(Or wherever this stuff lives)
#asahi-gpu · 2023-03-20 00:24
i509vcbIf I wanted to test the gpu driver on the literal edge, where is the kernel branch that I would to build to run mesa/main with the new ABI?
#asahi-gpu · 2023-03-07 06:08
i509vcbbytemuck does have some safety notes that might be worth considering even though you seem to be rolling your own type -> bytes conversion: https://docs.rs/bytemuck/1.13.1/bytemuck/trait.Pod.html
#asahi-gpu · 2023-03-07 04:28
i509vcb(I partially want to see Vulkan so I can yeet the EGL code in my compositor)
#asahi-gpu · 2023-03-07 04:27
i509vcbI get that it is not your priority right now, but nothing wrong with trying to make it work in parallel
#asahi-gpu · 2023-03-07 04:26
i509vcbI personally don't want to bug ella right now until some of the buffer and image copy stuff is pushed in (probably some local changes). But I will stick around and try to help with Vulkan if possible
#asahi-gpu · 2023-03-07 04:24
i509vcbHmm neat, so assuming no bugs it should be effectively automatic to have VK_KHR_timeline_semaphore
#asahi-gpu · 2023-03-07 03:37
i509vcb(Although I'd like to try my hand at some vulkan stuff for agx but don't want to cause 2 efforts for it)
#asahi-gpu · 2023-03-07 03:36
i509vcbI'm wondering is the next release going to support GLES 3.0? I have seen a lot of the commit history showing compute related stuff.
#asahi-gpu · 2023-03-07 03:03
i509vcb /s/believe/does
#asahi-gpu · 2023-03-07 03:02
i509vcbNot sure if it is implemented right now, but I believe the hardware supports enough to implement timeline support for DRM sync objects?
#asahi-gpu · 2023-03-03 00:02
i509vcb(I have noticed a lot of references to powervr in the driver talk of course)
#asahi-gpu · 2023-03-03 00:02
i509vcbI was wondering if a description of the entire rendering pipeline in the hardware is somewhere. There is this article from powervr that describes the USC part of it: https://blog.imaginationtech.com/a-look-at-the-powervr-graphics-architecture-tile-based-rendering/
#asahi-gpu · 2023-03-02 22:44
i509vcbI've poked around the mesa driver and I am wondering what does PPP mean?
#asahi-gpu · 2023-02-14 06:11
i509vcbI am interested in trying to see if I *could* help with agxv, but I guess I am a bit unfamiliar with the hardware and I imagine some stuff is probably blocking larger open contribution on that
#asahi-gpu · 2023-02-14 06:10
i509vcbhey ella-0, I recall hearing you have gotten vkcube to "work" on agxv. vkcube obviously requires WSI and agxv is probably some time away from working wsi so I imagine that showcase was probably from some fork of vkcube. I was wondering if you had the vkcube fork somewhere (if it even exists) to experiment with?
#asahi-gpu · 2022-10-05 15:07
i509VCBI'm hoping the vulkan driver project comes around soon. Although I imagine I will probably be doing driver grunt work in it
#asahi-gpu · 2022-10-02 22:17
i509VCBYou can mark it as a bitfield enum, but you have to name all the types... https://docs.rs/bindgen/0.60.1/bindgen/struct.Builder.html#method.bitfield_enum
#asahi-gpu · 2022-10-02 22:17
i509VCBAlthough bitflags are a bit out of it: https://docs.rs/bindgen/0.60.1/bindgen/struct.Builder.html#method.rustified_enum
#asahi-gpu · 2022-10-02 22:16
i509VCBIsn't there an option to generate rust enums in bindgen?
#asahi-gpu · 2022-10-02 22:13
i509VCBThe author seems to exist still, I guess it could be brought back up
#asahi-gpu · 2022-10-02 22:13
i509VCBWell the open pull request is my metric of that
#asahi-gpu · 2022-10-02 22:12
i509VCBlooks abandoned sadly
#asahi-gpu · 2022-10-02 22:11
i509VCBan int <-> enum derive macro sounds interesting
#asahi-gpu · 2022-10-02 22:11
i509VCBsure I get don't want more ticking timebombs that explode when you forget to update little things.
#asahi-gpu · 2022-10-02 22:08
i509VCBOr `impl From<u32> for Option<TheEnum>` could be another option
#asahi-gpu · 2022-10-02 22:06
i509VCB(repr(C) is an example, could be repr(u32) or whatever_
#asahi-gpu · 2022-10-02 22:06
i509VCBThat way you can just do self.enum_value as u32
#asahi-gpu · 2022-10-02 22:06
i509VCBOr something like this: https://gist.github.com/i509VCB/d0ffc8ad1f061a220b60b1ef24af63a0
#asahi-gpu · 2022-10-02 22:04
i509VCBI'd think TryFrom implementation that returns an Err given an invalid value would make more sense
#asahi-gpu · 2022-10-02 21:56
i509VCBbincode v2 moved away from serde (but still supports it) because it's a binary format
#asahi-gpu · 2022-10-02 21:55
i509VCBserde is also a little awkward to deal with when regarding binary formats
#asahi-gpu · 2022-10-02 21:53
i509VCBderive in serde does work, but it can be a little too heavy in some use cases
#asahi-gpu · 2022-10-02 21:52
i509VCBI'm not sure where we are so I may sound lost
#asahi-gpu · 2022-10-02 21:52
i509VCBso you are looking at putting rust in nir?
#asahi-gpu · 2022-10-02 21:51
i509VCBwhy would mesa need to depend on serde specifically? I'm guessing there is some need somewhere to manage json or xml?
#asahi-gpu · 2022-10-02 21:50
i509VCBI am kind of on the train of "the standard library is where libraries go to die". You need to be very selective of what goes in.