#
…

2021-10-28

00:04alexstore06 has quit [Remote host closed the connection]
00:19yuyichao_ has joined #asahi-gpu
00:20alexstore06 has joined #asahi-gpu
00:41nsklaus_ has quit [Ping timeout: 480 seconds]
00:47nsklaus_ has joined #asahi-gpu
00:56user982492 has joined #asahi-gpu
01:05alexstore06 has quit [Remote host closed the connection]
01:31alexstore06 has joined #asahi-gpu
01:34alexstore06 has quit [Remote host closed the connection]
02:08PhilippvK has joined #asahi-gpu
02:11phiologe has quit [Ping timeout: 480 seconds]
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi-gpu
03:05alexstore06 has joined #asahi-gpu
03:14alexstor_ has joined #asahi-gpu
03:15alexstore06 has quit [Remote host closed the connection]
04:36alexstor_ has quit [Ping timeout: 480 seconds]
05:59alexstore06 has joined #asahi-gpu
06:25user982492 has quit [Read error: Connection reset by peer]
06:25user982492_ has joined #asahi-gpu
06:46alexstore06 has quit [Ping timeout: 480 seconds]
06:56user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:08user982492 has joined #asahi-gpu
07:25jacoxon has joined #asahi-gpu
07:28darkapex has joined #asahi-gpu
07:46user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:48crucifix has joined #asahi-gpu
08:52alexstore06 has joined #asahi-gpu
09:33darkapex1 has joined #asahi-gpu
09:35alexstore06 has quit [Ping timeout: 480 seconds]
09:38darkapex has quit [Ping timeout: 480 seconds]
09:57darkapex has joined #asahi-gpu
10:02darkapex1 has quit [Ping timeout: 480 seconds]
10:16RasmusEneman[m] has joined #asahi-gpu
10:35alexstore06 has joined #asahi-gpu
10:38amw has quit [Ping timeout: 480 seconds]
10:57amw has joined #asahi-gpu
10:57rkt has joined #asahi-gpu
11:11alexstore06 has quit [Ping timeout: 480 seconds]
11:32alexstore06 has joined #asahi-gpu
11:37alexstor_ has joined #asahi-gpu
11:39darkapex1 has joined #asahi-gpu
11:40alexstore06 has quit [Ping timeout: 480 seconds]
11:43darkapex2 has joined #asahi-gpu
11:44darkapex has quit [Ping timeout: 480 seconds]
11:48darkapex1 has quit [Ping timeout: 480 seconds]
12:06alexstore06 has joined #asahi-gpu
12:12alexstor_ has quit [Ping timeout: 480 seconds]
13:05aleasto has joined #asahi-gpu
13:23jbowen has joined #asahi-gpu
13:29yuyichao has joined #asahi-gpu
13:29yuyichao_ has quit [Ping timeout: 480 seconds]
13:43os has quit [Quit: The Lounge - https://thelounge.chat]
13:45os has joined #asahi-gpu
13:48phire has joined #asahi-gpu
13:55yuyichao has quit [Ping timeout: 480 seconds]
14:31rkt has quit [Quit: rkt]
14:42yuyichao has joined #asahi-gpu
15:31alexstore06 has quit [Remote host closed the connection]
15:48alexstore06 has joined #asahi-gpu
15:58alexstor_ has joined #asahi-gpu
16:03alexstore06 has quit [Ping timeout: 480 seconds]
16:13alexstor_ has quit [Remote host closed the connection]
16:14alexstore06 has joined #asahi-gpu
17:38darkapex3 has joined #asahi-gpu
17:39nsklaus_ has quit [Quit: WeeChat 3.2]
17:40darkapex2 has quit [Ping timeout: 480 seconds]
18:05alyssa has joined #asahi-gpu
18:06alyssaCurious if AGX supports indirection on the constant (uniform) file
18:06alyssarereading the Metal optimization guide suggests "maybe, if you hint the compiler just right"
18:06yuyichao_ has joined #asahi-gpu
18:06alyssaconstant T &arr [[buffer(0)]]
18:06alyssatypedef struct { data[8] } T
18:06alyssasomething like that
18:08alyssathere will be magic bits for HSR, [[early_fragment_tests]] may help identify which
18:09alexstore06 has left #asahi-gpu [Leaving...]
18:09yuyichao has quit [Ping timeout: 480 seconds]
18:10alexstore06 has joined #asahi-gpu
18:20yuyichao has joined #asahi-gpu
18:22jacoxon has quit []
18:22jacoxon has joined #asahi-gpu
18:25yuyichao_ has quit [Ping timeout: 480 seconds]
18:29yuyichao has quit [Ping timeout: 480 seconds]
18:31minecrell has quit [Read error: Connection reset by peer]
18:31yuyichao has joined #asahi-gpu
18:33minecrell has joined #asahi-gpu
18:38alexstore06 has quit [Quit: Leaving...]
18:48yuyichao has quit [Ping timeout: 480 seconds]
18:57nsklaus has joined #asahi-gpu
19:15X-Scale` has joined #asahi-gpu
19:20X-Scale has quit [Ping timeout: 480 seconds]
19:24jacoxon has quit []
20:00amw has quit [Ping timeout: 480 seconds]
20:18radex has quit [Read error: Connection reset by peer]
20:23X-Scale has joined #asahi-gpu
20:26user982492 has joined #asahi-gpu
20:28X-Scale` has quit [Ping timeout: 480 seconds]
20:51aleasto has quit [Quit: Konversation terminated!]
20:52aleasto has joined #asahi-gpu
20:57aleasto has quit [Quit: Konversation terminated!]
21:02aleasto has joined #asahi-gpu
21:04nsklaus has quit [Read error: Connection reset by peer]
21:04nsklaus has joined #asahi-gpu
21:04nsklaus has quit []
21:14user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:55jbowen has quit [Quit: leaving]
21:58crucifix has quit [Quit: Leaving]
22:02user982492 has joined #asahi-gpu
22:22phirealyssa: oh, I didn't know GPU/compilers had problems doing indirection on the constant/uniform file. I rely a lot on that in dolphin's ubershader
22:26phirethen again, the upershaders were more bound on indexing into the dynamic register file.
22:28phirebecause some shader ISAs simply don't support it, and their drivers will instead put the array you were dynamic indexing out into main memory, and preformance tanked
22:50alyssaphire: There are two issues being mixed up here (and in the Apple presentation I dug up)
22:51alyssaOne is literally doing a load from constant/uniform memory, and the other is pushing the uniform to a dedicated uniform register / push constant / fast access uniform / register-mapped uniform
22:51alyssaAny reasonable ISA can do indirection on the former, I don't know if AGX can do indirection on the latter
22:52alyssaThe former is still fast (since it'll be hot in cache) but performing a memory load is inherently more expensive than a pushed uniform that can be accessed anywhere for free
22:53alyssaI don't believe AGX can do dynamic indexing of the register file.
22:58aleasto has quit [Quit: Konversation terminated!]
23:18lucifer178[m] has joined #asahi-gpu
23:37phireI was only using uniform indexing into the register file. When I was talking to an Apple driver engineer back in like 2015, it didn't support it
23:39phireafter talking with me, they actually expermented with an optimsation pass that converted unform indirection of small arrays into if/else trees (which I was expermenting with manually to speed up Nvidia GPUs
…