#
…

2022-12-19

00:44swaggie has joined #asahi-gpu
00:52swaggie has quit [Ping timeout: 480 seconds]
00:57cylm_ has quit [Ping timeout: 480 seconds]
02:14swaggie has joined #asahi-gpu
02:22swaggie has quit [Ping timeout: 480 seconds]
02:43* alyssadebugs texture buffers
03:03alyssaok, got the basic functionality working
03:08alyssa Passed: 405/405 (100.0%)
03:08alyssathat's nice, but no tests in that section for the actually hard part.
03:11alyssapiglit has the tests
03:21marcanalyssa: I haven't pushed last night's package out to most users, I can hold off if you think it regresses something
03:22alyssamarcan: ack, please do
03:22marcanplease hold off?
03:22alyssaI don't know if it regresses any actual workloads (i.e. anything that can be hit without overriding versions/extensions)
03:22alyssabut I know it regresses gles3 stuff which means it's possible big gl 2 is regressed too, i haven't done enough testing to know
03:23alyssaI worked out a solution that I'm working on
03:23alyssabut it's a pretty big feature
03:23marcan(that said, "push it and see if anyone complains" *is* a valid strategy for mesa-asahi-edge, JFYI)
03:23alyssanot multisampling big, but
03:25swaggie has joined #asahi-gpu
04:27alyssabuffer textures working, including with rgb32 support
04:27alyssahonestly a little horrifying
04:49alyssaTest case 'dEQP-GLES3.functional.pbo.native.clears'..
04:49alyssaUnhandled intrinsic image_store
04:49alyssaoh you've got to be kidding me.
04:55pthariensflame has joined #asahi-gpu
04:55pthariensflame has quit []
07:38bcrumb has joined #asahi-gpu
07:57bcrumb has quit [Quit: WeeChat 3.7.1]
08:15bcrumb has joined #asahi-gpu
08:17bcrumb has quit []
08:24bcrumb has joined #asahi-gpu
08:24bcrumb has quit []
08:27bcrumb has joined #asahi-gpu
09:05Dcow has joined #asahi-gpu
09:08SSJ_GZ has joined #asahi-gpu
09:09bcrumb has quit [Quit: WeeChat 3.7.1]
09:14Dcow has quit [Ping timeout: 480 seconds]
09:32bcrumb has joined #asahi-gpu
09:40bcrumb has quit [Quit: WeeChat 3.7.1]
10:11swaggie has quit [Remote host closed the connection]
10:12swaggie has joined #asahi-gpu
10:17Dcow has joined #asahi-gpu
10:25Dcow has quit [Ping timeout: 480 seconds]
10:26swaggie has quit [Ping timeout: 480 seconds]
10:46swaggie has joined #asahi-gpu
11:10Dcow has joined #asahi-gpu
11:15swaggie has quit [Ping timeout: 480 seconds]
11:16pjakobsson_ has joined #asahi-gpu
11:18pjakobsson has quit [Ping timeout: 480 seconds]
12:05bcrumb has joined #asahi-gpu
12:07cylm_ has joined #asahi-gpu
12:09bcrumb has quit []
12:15linaalyssa: Nice! ^^
13:07swaggie has joined #asahi-gpu
13:16swaggie has quit [Ping timeout: 480 seconds]
14:45alyssaif you squash that into asahi/main it should be good enough to ship
14:45alyssabut not even compile tested
14:50c10l has quit [Ping timeout: 480 seconds]
15:08swaggie has joined #asahi-gpu
15:16swaggie has quit [Ping timeout: 480 seconds]
15:32c10l has joined #asahi-gpu
15:38LinuxM1 has joined #asahi-gpu
15:39swaggie has joined #asahi-gpu
15:41bcrumb has joined #asahi-gpu
15:44bcrumb has quit []
15:47swaggie has quit [Ping timeout: 480 seconds]
16:11swaggie has joined #asahi-gpu
16:16marcanalyssa: I squashed it into the last commit, hope that's what you wanted :p
16:19swaggie has quit [Ping timeout: 480 seconds]
16:20marcanpushed to asahi-dev
16:35alyssasounds good
16:41LinuxM1 has quit [Quit: Leaving]
16:41alyssa 1c: 0509400a00c81200 device_load.TODO 0, i32, x, r1, u0_u1, r2, unsigned, lsl 2, 0, 0, 4, 0
16:41alyssai wonder why metal is generating this alternate load in this case
16:42alyssaconstant address space, fragment shader, within uniform control flow
16:42bcrumb has joined #asahi-gpu
16:42alyssaalso interestingly metal is not inserting jmp_exec_any branches despite memory access in here, hmhmhmhm
16:42swaggie has joined #asahi-gpu
16:43bcrumb has quit []
16:43alyssasame in device space
16:44alyssathis is for
16:44alyssaif (uniform) { load } else { texture }
16:44alyssaif I drop the texture, it uses a regular device_load, and it uses a jmp_exec_none
16:44alyssaI wonder if there's some sort of predication interaction here
16:45alyssaif I drop the load and leave only the texture, I do get a jmp_exec_none
16:47alyssaif I have
16:47alyssaif (uniform) { load } else { load, load }
16:47alyssathe "if" uses a device_load.TODO with no jmp_exec_none
16:47alyssathe "else" uses 2 device_loads with jmp_exec_none
16:48alyssathe TODO version is just the version that unsets bit 26
16:50bcrumb has joined #asahi-gpu
16:51swaggie has quit [Ping timeout: 480 seconds]
16:55alyssaalso, no uniform branching. bleh
16:57alyssa2c: 3185020a0062210020000000 texture_sample 0, 0b00, 0b01100, 0b0, 0b00000, x, 0b01, r1, 0, ts0, ss0, tex_2d, r1_r2, 2, 314
16:57alyssainteresting way of doing lod(0) in a frag shader, yes
16:57alyssa2c: 3185020a0062210020000000 texture_sample 0, 0b00, 0b01100, 0b0, 0b00000, x, 0b01, r1, 0, ts0, ss0, tex_2d, r1_r2, 2, 314
16:57alyssaand lod 1, apparently
16:58alyssa"Alyssa, that's the same instruction"
17:00alyssaoh maybe it's getting the lod from a uniform
17:00alyssavalue is 10, maybe that's really u5l
17:02alyssayep, that's it.
17:02alyssalevel is provided as a half-float within uniform u5l
17:02alyssaok, easy enough to handle
17:07alyssaok, that's one mystery down
17:09alyssalikewise for texture_load, the level is passed in a 16-bit int uniform.
17:09alyssawhich means our current txf implementation is broken. gg.
17:15swaggie has joined #asahi-gpu
17:23swaggie has quit [Ping timeout: 480 seconds]
17:42bcrumb has quit [Quit: WeeChat 3.7.1]
18:20WindowPain_ has joined #asahi-gpu
18:25WindowPain has quit [Ping timeout: 480 seconds]
19:31alyssa has quit [Quit: leaving]
19:34bcrumb has joined #asahi-gpu
19:39swaggie has joined #asahi-gpu
19:48swaggie has quit [Ping timeout: 480 seconds]
20:20bcrumb has quit [Quit: WeeChat 3.7.1]
20:53swaggie has joined #asahi-gpu
21:08chengsun has joined #asahi-gpu
21:13chengsun_ has quit [Ping timeout: 480 seconds]
21:52MajorBiscuit has joined #asahi-gpu
21:56swaggie has quit [Ping timeout: 480 seconds]
22:20WindowPain_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:20WindowPain has joined #asahi-gpu
22:49SSJ_GZ has quit [Ping timeout: 480 seconds]
23:06swaggie has joined #asahi-gpu
…