2023-03-29
00:11nsklaus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:12nsklaus has joined #asahi-gpu
00:20nsklaus has quit [Ping timeout: 480 seconds]
00:33Urriellu has quit [Ping timeout: 480 seconds]
00:55rosefromthedead has quit [Remote host closed the connection]
01:27user982492 has joined #asahi-gpu
01:45Urriellu has joined #asahi-gpu
02:06flibitijibibo has quit [Ping timeout: 480 seconds]
02:25stipa is now known as Guest9190
02:26stipa has joined #asahi-gpu
02:29bluetail308 has joined #asahi-gpu
02:31Guest9190 has quit [Ping timeout: 480 seconds]
02:33bluetail30 has quit [Ping timeout: 480 seconds]
02:35bluetail30 has joined #asahi-gpu
02:39bluetail308 has quit [Ping timeout: 480 seconds]
03:03seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:04seeeath has joined #asahi-gpu
03:42i509vcbPixel Data Master (PDM) is the hardware which dispatches fragment shaders? (I'd think fragment since that sounds most similar to pixel)
03:48Urriellu has quit [Ping timeout: 480 seconds]
03:49stipa is now known as Guest9199
03:49stipa has joined #asahi-gpu
03:49Guest9199 has quit [Read error: Connection reset by peer]
04:08linaFrom what alyssa told me, AGX/PowerVR does not support *fragment* shaders, it only supports pixel shaders, that's why it's called PDM ^^
04:13i509vcbWhat specifically makes a pixel shader a pixel shader? A lot of sources I found seem to conflate fragment and pixel shaders
04:13i509vcb> The three pipelines the kernel sees they TA, 3D, and CP, and they map to VDM, PDM, CDM
04:15cylm has joined #asahi-gpu
04:18Urriellu has joined #asahi-gpu
04:51user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:55bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:44x56_ has quit [Ping timeout: 480 seconds]
05:51seeeath_ has joined #asahi-gpu
05:52skippypaws_ has joined #asahi-gpu
05:52ella-0_ has joined #asahi-gpu
05:52d4ve_ has joined #asahi-gpu
05:52coder_kalyan_ has joined #asahi-gpu
05:52amada95_ has joined #asahi-gpu
05:52handlerug_ has joined #asahi-gpu
05:52alethkit_ has joined #asahi-gpu
05:53balrog_ has joined #asahi-gpu
05:54urriellu_ has joined #asahi-gpu
05:54Graypup__ has joined #asahi-gpu
05:54Method has joined #asahi-gpu
05:56alyssa_ has joined #asahi-gpu
05:56Urriellu has quit [resistance.oftc.net larich.oftc.net]
05:56alyssa has quit [resistance.oftc.net larich.oftc.net]
05:56seeeath has quit [resistance.oftc.net larich.oftc.net]
05:56Z750 has quit [resistance.oftc.net larich.oftc.net]
05:56amada95 has quit [resistance.oftc.net larich.oftc.net]
05:56d4ve has quit [resistance.oftc.net larich.oftc.net]
05:56handlerug has quit [resistance.oftc.net larich.oftc.net]
05:56coder_kalyan has quit [resistance.oftc.net larich.oftc.net]
05:56balrog has quit [resistance.oftc.net larich.oftc.net]
05:56alethkit has quit [resistance.oftc.net larich.oftc.net]
05:56ella-0 has quit [resistance.oftc.net larich.oftc.net]
05:56skippypaws has quit [resistance.oftc.net larich.oftc.net]
05:56Graypup_ has quit [resistance.oftc.net larich.oftc.net]
05:56skippypaws_ is now known as skippypaws
05:56Method_ has quit [resistance.oftc.net larich.oftc.net]
05:56JTL has quit [resistance.oftc.net larich.oftc.net]
05:56JTL has joined #asahi-gpu
05:56d4ve_ is now known as d4ve
05:56amada95_ is now known as amada95
05:56Z750 has joined #asahi-gpu
05:56coder_kalyan_ is now known as coder_kalyan
05:57handlerug_ is now known as handlerug
05:57alethkit_ is now known as alethkit
05:57Graypup_ has joined #asahi-gpu
05:57balrog has joined #asahi-gpu
05:57Urriellu has joined #asahi-gpu
05:57Method_ has joined #asahi-gpu
05:57ella-0 has joined #asahi-gpu
05:57balrog has quit [Max SendQ exceeded]
05:57Method_ has quit [Ping timeout: 480 seconds]
05:57Urriellu has quit [Ping timeout: 480 seconds]
05:57Graypup_ has quit [Ping timeout: 480 seconds]
05:57ella-0 has quit [Ping timeout: 480 seconds]
06:13karolherbst_ has joined #asahi-gpu
06:13karolherbst has quit [Ping timeout: 480 seconds]
07:42cylm has quit [Read error: Connection reset by peer]
07:52i509vcb has quit [Quit: Connection closed for inactivity]
07:55bluetail30 has quit []
07:56bluetail has joined #asahi-gpu
08:04urriellu_ has quit [Ping timeout: 480 seconds]
08:04nyilas has joined #asahi-gpu
08:37bisko has joined #asahi-gpu
09:41mkurz has quit [Quit: Konversation terminated!]
09:42nsklaus has joined #asahi-gpu
09:43mkurz has joined #asahi-gpu
10:55yuka has quit [Remote host closed the connection]
10:55yuka has joined #asahi-gpu
11:37flibitijibibo has joined #asahi-gpu
11:54rpirea has joined #asahi-gpu
12:05nsklaus has quit [Quit: Textual IRC Client: www.textualapp.com]
12:16mini_ has quit [Quit: ZNC closing...]
12:17mini_ has joined #asahi-gpu
12:20rosefromthedead has joined #asahi-gpu
12:26tabby_ has joined #asahi-gpu
12:31rpirea has quit [Quit: rpirea]
12:32rpirea has joined #asahi-gpu
12:56karolherbst has joined #asahi-gpu
13:04karolherbst_ has quit [Ping timeout: 480 seconds]
13:08kujeger has joined #asahi-gpu
13:26bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:36balrog_ has quit []
13:37balrog has joined #asahi-gpu
13:45seeeath_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:45seeeath has joined #asahi-gpu
13:54bisko has joined #asahi-gpu
13:56nsklaus has joined #asahi-gpu
13:57rpirea has quit [Quit: rpirea]
13:57rpirea has joined #asahi-gpu
14:30thunfisch has quit [Quit: frrrp!]
14:38tabby_ has quit [Ping timeout: 480 seconds]
14:50mini0n has joined #asahi-gpu
14:57bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:01mini0n has quit []
15:14possiblemeatball has joined #asahi-gpu
15:31alyssa_ has quit []
15:32rpirea has quit [Quit: rpirea]
15:32alyssa has joined #asahi-gpu
15:33rpirea has joined #asahi-gpu
15:42tabby_ has joined #asahi-gpu
15:44flibitijibibo has quit [Quit: Leaving]
15:44rosefromthedead has quit [Ping timeout: 480 seconds]
15:59nsklaus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:03nsklaus has joined #asahi-gpu
16:32seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:32seeeath has joined #asahi-gpu
16:48i509vcb has joined #asahi-gpu
16:52urriellu_ has joined #asahi-gpu
16:52bisko has joined #asahi-gpu
17:20tabby_ has quit [Ping timeout: 480 seconds]
17:36possiblemeatball has quit [Quit: Quit]
17:44javier_varez_ has joined #asahi-gpu
18:13possiblemeatball has joined #asahi-gpu
18:57possiblemeatball has quit [Ping timeout: 480 seconds]
19:54javier_varez_ has quit [Quit: Connection closed for inactivity]
20:24nyilas has quit [Remote host closed the connection]
20:32i509vcbalyssa: I assume you saw my questions from last night? (too stingy to pay for always online for the bouncer)
20:35alyssaactually not sorry i need to get out of my canadian habit of saying sorry when i'm not sorry
20:43picroc has joined #asahi-gpu
21:00zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
21:03zzywysm has joined #asahi-gpu
21:22rpirea has quit [Quit: rpirea]
21:23rpirea has joined #asahi-gpu
21:24alyssalina: I forgot we had these docs, worth a read https://docs.mesa3d.org/gallium/buffermapping.html?highlight=buffer
21:28rpirea has quit [Quit: rpirea]
21:28rpirea has joined #asahi-gpu
21:43amarioguy has joined #asahi-gpu
22:11alyssa 03:42 <i509vcb> Pixel Data Master (PDM) is the hardware which dispatches fragment shaders? (I'd think fragment since that sounds most similar to pixel)
22:11alyssa 04:13 <i509vcb> What specifically makes a pixel shader a pixel shader? A lot of sources I found seem to conflate fragment and pixel shaders
22:13alyssaand then you can either evaluate the fragment shader once per pixel (outputting the same colour to all samples) or once per sample (different colours per sample)
22:14alyssathat is, the fragment is either a pixel or a sample depending on whether (per-)sample shading is used
22:14alyssa(What controls whether the fragment shader is invokved for every sample? Depends on the API, lots of different reasons it might happen. Kind of an ugly point in GL/Vulkan.)
22:15alyssaYou compile a fragment shader and then there's a bit in the command stream that controls whether the hw invokes it once per pixel or once per sample
22:15alyssaHow can that possibly implement sample shading, you ask? (And Metal does support sample shading)
22:16alyssaWell, the "store colour" instruction also takes a mask of samples that it should apply to
22:17alyssaIf sample shading is NOT used, this is easy -- just set all the masks to "all samples" and it'll work regardless of the sample count
22:18alyssaIf sample shading IS used, the compiler (or driver) has to build a pixel shader that loops over all the samples and executes the fragment shader once per sample
22:19alyssaIf there are calculations that don't depend on the sample ID, only the pixel, then they can happen just once and get shared for all the samples
22:20alyssaand that doesn't require any special hardware, that happens automatically with standard compiler optimizations (either global code motion or loop unrolling with constant subexpression elimination)
22:53rpirea has quit [Quit: rpirea]
22:57nsklaus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:57rpirea has joined #asahi-gpu
23:33rpirea has quit [Quit: rpirea]
23:34rpirea has joined #asahi-gpu
23:58cylm has joined #asahi-gpu