#asahi-gpu · 2022-12-22 01:53
alyssafor an empty VS with rast discard, the program has the unk51 at the end#asahi-gpu · 2022-12-22 01:53
alyssalina: ^^#asahi-gpu · 2022-12-22 01:53
alyssaiff there is a store in the VS#asahi-gpu · 2022-12-22 01:52
alyssaoh, and bit 8 of word 99 of IOGPU Graphics is set#asahi-gpu · 2022-12-22 01:52
alyssano fragment shader, unsure how that's unbound here#asahi-gpu · 2022-12-22 01:51
alyssanew bit in Cull 2 enabled#asahi-gpu · 2022-12-22 01:51
alyssa(like a depth only pass)#asahi-gpu · 2022-12-22 01:51
alyssano colour output is enabled in the frag control 2#asahi-gpu · 2022-12-22 01:50
alyssabitmask 0x30 of VDM State Vertex Unknown is now set#asahi-gpu · 2022-12-22 01:50
alyssaoutput select is false all the way through, identifying them as the position trivially.#asahi-gpu · 2022-12-22 01:50
alyssaThere are 4 outputs identified, oddly#asahi-gpu · 2022-12-22 01:50
alyssain between the store and the stop#asahi-gpu · 2022-12-22 01:50
alyssa51000080#asahi-gpu · 2022-12-22 01:49
alyssaexcept for a magic "TODO.unk51"#asahi-gpu · 2022-12-22 01:49
alyssaI have a simple store shader, it looks like what's expected..#asahi-gpu · 2022-12-22 01:49
alyssawhich will be convenient for transform feedback, although there's no great way to expose in GL#asahi-gpu · 2022-12-22 01:48
alyssaLooking into rasterizer discard + vertex shader side effects#asahi-gpu · 2022-12-21 20:37
alyssayeah let's not do that.#asahi-gpu · 2022-12-21 20:37
alyssaoh I see why the panfrost code is silly#asahi-gpu · 2022-12-21 20:33
alyssapanfrost's code here is dumb but I really don't want to copy it#asahi-gpu · 2022-12-21 20:33
alyssaHmmm I wonder if I should be too clever for my own good#asahi-gpu · 2022-12-21 20:15
marcanjannau: I think only 0-2 are supposed to work?#asahi-gpu · 2022-12-21 19:46
jannauwonderful, using surface[3] results in black screen on t6001#asahi-gpu · 2022-12-21 19:37
alyssaeveryone's least favourite GL feature#asahi-gpu · 2022-12-21 19:37
alyssatransform feedback!#asahi-gpu · 2022-12-21 19:37
alyssalet's do uhhh#asahi-gpu · 2022-12-21 19:36
jannaufix confirmed. what an annoying bug#asahi-gpu · 2022-12-21 19:35
alyssamarcan: nini#asahi-gpu · 2022-12-21 19:32
marcansleeps#asahi-gpu · 2022-12-21 19:31
marcanI guess it's possible we're missing some swap flags to make the colorspace properly effective? dunno, maybe I should see if I can find the iBoot swap struct in RAM too...#asahi-gpu · 2022-12-21 19:29
marcanFWIW iBoot maps the EOTFs 1->13, 2->16 and the colorspaces 1->0, 2->12, 3->9#asahi-gpu · 2022-12-21 19:28
marcanso maybe it's a firmware bug?#asahi-gpu · 2022-12-21 19:28
marcanbut as far as I can tell in iboot it works with all planes, though I *think* I saw it glitch into bad colors at some point but I couldn't reproduce...#asahi-gpu · 2022-12-21 19:27
jannauI was testing the same with colorspace = 2#asahi-gpu · 2022-12-21 19:27
marcanI guess I should switch to 12.3 to double check...#asahi-gpu · 2022-12-21 19:27
marcanbut I don't understand why it works in iBoot with what I believe is surface 0 (unless this changed in a newer firmware, I'm looking at an old one)#asahi-gpu · 2022-12-21 19:27
marcanjannau: this works: https://github.com/AsahiLinux/linux/commit/8704b6589b7d611a448190eeff5e1a15fc807381#asahi-gpu · 2022-12-21 19:26
marcanjannau: colorspace=12#asahi-gpu · 2022-12-21 19:22
jannauno surface[1] has still off colors for me with xfer_func = 13, colorspace = 2#asahi-gpu · 2022-12-21 19:21
alyssaruh roh#asahi-gpu · 2022-12-21 19:20
marcanyes, we talked about that on the fedora channel#asahi-gpu · 2022-12-21 19:19
jannaurustc 1.66 is too new for rust4linux / asahi (yes I know 1.62 is the blessed version but 1.65 was working)#asahi-gpu · 2022-12-21 19:07
marcanbut iBoot nominally uses surface 0, I *think*, though there is some weird allocation-ish stuff that might have me confused#asahi-gpu · 2022-12-21 19:07
jannaudcp_iboot.py with 'IBootLayerInfo.colorspace = Colorimetry.DCIP3' looks similar#asahi-gpu · 2022-12-21 19:07
marcansomehow.#asahi-gpu · 2022-12-21 19:07
marcanjannau: it works on surface 1. it does not work on surface 0.#asahi-gpu · 2022-12-21 19:06
marcan... oh ffs.#asahi-gpu · 2022-12-21 19:03
marcan... so why isn't it working in the main dcp?#asahi-gpu · 2022-12-21 19:03
marcanbut also, the colorspace stuff is working properly in iboot#asahi-gpu · 2022-12-21 19:03
marcanif I change the bounding box, the apple alpha mask shows up