#
…

2023-09-04

00:37alyssa has quit [Quit: alyssa]
01:23ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:29alyssa has joined #asahi-gpu
01:34thevar1able_ has quit [Remote host closed the connection]
01:34thevar1able_ has joined #asahi-gpu
01:35thevar1able_ has quit [Remote host closed the connection]
01:39thevar1able_ has joined #asahi-gpu
02:04ourdumbfuture has joined #asahi-gpu
02:04jnn has joined #asahi-gpu
02:08jn has quit [Ping timeout: 480 seconds]
02:21ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:27lena6 has quit [Ping timeout: 480 seconds]
02:33crabbedhaloablut has joined #asahi-gpu
02:41Mary has quit [Quit: The Lounge - https://thelounge.chat]
02:41Mary has joined #asahi-gpu
03:02jeisom has quit [Ping timeout: 480 seconds]
04:13cr1901 has quit [Read error: Connection reset by peer]
04:15cr1901 has joined #asahi-gpu
06:11lena6 has joined #asahi-gpu
06:22kdwk has joined #asahi-gpu
06:27cylm has joined #asahi-gpu
06:46cylm has quit [Quit: WeeChat 4.0.4]
07:43bisko has joined #asahi-gpu
08:31cylm_ has quit [Read error: Connection reset by peer]
08:47i509vcb has quit [Quit: Connection closed for inactivity]
10:09lena6 has quit [Remote host closed the connection]
10:09lena6 has joined #asahi-gpu
10:28chadmed_ is now known as chadmed
10:31ourdumbfuture has joined #asahi-gpu
10:43grange_c68 has quit [Quit: Ping timeout (120 seconds)]
10:43grange_c68 has joined #asahi-gpu
10:54ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:09ourdumbfuture has joined #asahi-gpu
11:53jeisom has joined #asahi-gpu
12:10jeisom has quit [Remote host closed the connection]
12:10jeisom has joined #asahi-gpu
12:44as400 has quit [Remote host closed the connection]
12:46as400 has joined #asahi-gpu
12:57ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:10ourdumbfuture has joined #asahi-gpu
13:33bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:37ourdumbfuture has quit [Read error: Connection reset by peer]
13:41ourdumbfuture has joined #asahi-gpu
13:45ourdumbfuture has quit []
13:58eric_engestromella-0, alyssa, (lina if you have an opinion): I'm going to request a VK_DRIVER_ID_* for asahi/agxv; do you prefer VK_DRIVER_ID_MESA_ASAHI or VK_DRIVER_ID_MESA_AGXV (or something else?)
13:58bisko has joined #asahi-gpu
14:30ourdumbfuture has joined #asahi-gpu
14:54darkapex has quit [Remote host closed the connection]
14:54darkapex has joined #asahi-gpu
14:56ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:56bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:59MaryI would say AGXV on my side
15:04zalyx0 has quit [Quit: later alligator]
15:05alyssa3Cneutral
15:05eric_engestromsounds good :)
15:05eric_engestromI'll wait 24h to give a chance to everyone regardless of their timezone :)
15:23zalyx0 has joined #asahi-gpu
15:26linaWhatever works! ^^
15:32zalyx0 has quit [Quit: later alligator]
15:35zalyx0 has joined #asahi-gpu
15:35alyssaVK_DRIVER_ID_MESA_CATGIRLZ_NYA it is
15:38MaryVK_DRIVER_ID_MESA_NYASAHI
15:38alyssamary gets it
15:41ella-0eric_engestrom: VK_DRIVER_ID_MESA_AGXV is more inline with the other drivers so that I guess
16:00* linamay or may not have plans to teach another catgirl programming...
16:00linaOur numbers will only grow~
16:05ChaosPrincess has quit [Quit: ChaosPrincess]
16:07ChaosPrincess has joined #asahi-gpu
16:30zkrx has quit [Ping timeout: 480 seconds]
16:42nyx_o has joined #asahi-gpu
16:54ourdumbfuture has joined #asahi-gpu
16:58possiblemeatball has joined #asahi-gpu
17:14possiblemeatball has quit [Quit: Quit]
17:21possiblemeatball has joined #asahi-gpu
17:30i509vcb has joined #asahi-gpu
17:34ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:15i509vcbalyssa: for lowering all texture/image instructions to bindless, panvk appears to do something similar to that?
18:15i509vcb(Descriptor set accesses pretty much)
18:16alyssapanvk does not do that, no
18:16i509vcbokay red herring then
18:17alyssaI think you want something roughly like:
18:17alyssa* Each descriptor set gets an array of texture/image descriptors associated with it.
18:18alyssaIdeally, this is indexed directly by the BINDING (and multiplied by a stride of AGX_TEXTURE_LENGTH == 24 bytes)
18:18alyssaAlternatively you can compact things per-descriptor set and fix up when lowering the shader
18:18alyssaThat might be better for cache efficiency maybe, idk
18:19alyssaAnyway, the texture descriptor array is per-descriptor set and uploaded
18:19stipa has quit [Read error: Connection reset by peer]
18:19stipa has joined #asahi-gpu
18:19alyssa* agx_root_sysvals[] gains a pointer to the texture desc array for each set
18:20alyssa* Image instructions in the shader are lowered to bindless, where the bindless handle is (uniform index for the descriptor set, offset for the binding * 24)
18:20alyssaoh, umm, scratch what I said about agx_root_sysvals
18:21alyssaagx_root_sysvals doesn't get this array, you need to special case it unfortunately
18:21alyssamanually assigning uniforms
18:21alyssaProbably I should figure out a way to avoid that.
18:22alyssaI probably need to change how this works in the compiler don't I.
18:23ourdumbfuture has joined #asahi-gpu
18:27i509vcbI can see that I'd need to upload the texture descriptors when descriptor sets are bound
18:27i509vcb> I probably need to change how this works in the compiler don't I
18:27i509vcbI am entirely lost there
18:28alyssaCurrently we're representing a bindless table at uniform u0_u1 with a literal constant #0 in the shader
18:28alyssawhich hard-requires the driver to fix the uniform layout, and is different from how we handle every other uniform
18:29alyssaI don't have a great alternative right now
18:29alyssathe issue is that the base address MUST come from a uniform, it CANNOT come from registers
18:29i509vcbI can just shift everything since how I redid the sysvals the sysval pointer is placed at it's location via a defined constant
18:30alyssaI mean, I probably need to redo this anyway for $SECRET_PROJECT, just not sure what the right way is yet.
18:35alyssa18:29 @alyssa | the issue is that the base address MUST come from a uniform, it CANNOT come from registers
18:35alyssathis means at a fundamental level nir_opt_preamble can't be used to push the address
18:35alyssasince it's an optional opt pass
18:35alyssaso.. I guess the way it works now is the right way, it's just kinda ugly
18:37crabbedhaloablut has quit []
18:40i509vcbHmm I guess I need to take a sidequest on why AGX_META_OP_CLEAR handling in agxv is uploading a uniform
18:41alyssaclear colour
18:42i509vcbdoes the clear color have to appear in a uniform reg?
18:45sawyer has joined #asahi-gpu
18:48i509vcb> nir_load_preamble(b, nr, 32, 4 + (rt * 8))
18:48i509vcbHmm it seems that agx_meta just happens to work, moving the sysvals up to u2_u3 breaks because of the hardcoded uniform locations
18:50i509vcbhmm no ignore that
18:50i509vcbnope double ignore
18:50i509vcbthe .base is implied
18:52i509vcbI guess I need to add a way to tell agx_meta to offset where it loads the clear color
18:57i509vcbAh agx_meta_key has a reserved preamble, so I don't need that
18:58i509vcbhmm but the load still doesn't consider that
18:58ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:59i509vcbs/load/clear
19:02krishbin has joined #asahi-gpu
19:05krishbin has quit []
19:07ourdumbfuture has joined #asahi-gpu
19:10krishbin has joined #asahi-gpu
19:22krishbin has quit []
19:22krishbin has joined #asahi-gpu
19:31possiblemeatball has quit [Quit: Quit]
19:32krishbin has quit []
19:32krishbin has joined #asahi-gpu
19:46krishbin has quit []
19:46krishbin has joined #asahi-gpu
19:47crabbedhaloablut has joined #asahi-gpu
19:57crabbedhaloablut has quit []
20:10maximbaz2 has joined #asahi-gpu
20:11Emantor_ has joined #asahi-gpu
20:11jole_ has joined #asahi-gpu
20:11aleasto- has joined #asahi-gpu
20:11le0n_ has joined #asahi-gpu
20:13pldtf has quit [Remote host closed the connection]
20:13alethkit has quit [Remote host closed the connection]
20:13rosefromthedead has quit [Remote host closed the connection]
20:13ella-0 has quit [Remote host closed the connection]
20:13d4ve has quit [Remote host closed the connection]
20:13okt has quit [Remote host closed the connection]
20:13amada95 has quit [Remote host closed the connection]
20:13coder_kalyan has quit [Remote host closed the connection]
20:13dorkbutt_ has quit [Read error: Connection reset by peer]
20:13handlerug has quit [Write error: connection closed]
20:13tsujp has quit [Write error: connection closed]
20:13akspecs has quit [Read error: Connection reset by peer]
20:13Leftas7 has quit [Read error: Connection reset by peer]
20:13aleasto has quit [Read error: Connection reset by peer]
20:13Emantor has quit [Read error: Connection reset by peer]
20:13maximbaz has quit [Read error: Connection reset by peer]
20:13leftas has joined #asahi-gpu
20:13c10l1 has quit [Remote host closed the connection]
20:13jole has quit [Read error: No route to host]
20:13maximbaz2 is now known as maximbaz
20:13d4ve has joined #asahi-gpu
20:13handlerug has joined #asahi-gpu
20:13coder_kalyan has joined #asahi-gpu
20:13amada95 has joined #asahi-gpu
20:13alethkit has joined #asahi-gpu
20:13ella-0 has joined #asahi-gpu
20:13pldtf has joined #asahi-gpu
20:13akspecs has joined #asahi-gpu
20:13tsujp has joined #asahi-gpu
20:13okt has joined #asahi-gpu
20:13rosefromthedead has joined #asahi-gpu
20:13dorkbutt has joined #asahi-gpu
20:13c10l1 has joined #asahi-gpu
20:14lena6 has quit [Ping timeout: 480 seconds]
20:16le0n has quit [Ping timeout: 480 seconds]
20:46sawyer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:52jeisom has quit [Ping timeout: 480 seconds]
21:17chadmed has quit [Ping timeout: 480 seconds]
21:48sawyer has joined #asahi-gpu
22:18balrog has quit [Quit: Bye]
22:23balrog has joined #asahi-gpu
22:26blazra has quit [Quit: Ping timeout (120 seconds)]
22:26blazra has joined #asahi-gpu
22:33ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:35dottedmag has quit [Quit: QUIT]
22:36i509vcbalyssa: did the uuid stuff accidentally vanish from asahi/main during a rebase?
22:36alyssaNot intentionally..
22:36dottedmag has joined #asahi-gpu
22:37* alyssawonders how that happened
22:39blazra6 has joined #asahi-gpu
22:39alyssabizarre.
22:40blazra has quit [Read error: Connection reset by peer]
22:40blazra6 is now known as blazra
22:41ourdumbfuture has joined #asahi-gpu
22:49alyssa has quit [Quit: alyssa]
22:50alyssa has joined #asahi-gpu
22:54alyssa has quit []
22:55alyssa has joined #asahi-gpu
23:03kdwk has quit [Remote host closed the connection]
23:35ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:45jeisom has joined #asahi-gpu
23:46ourdumbfuture has joined #asahi-gpu
23:57ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
…