#asahi-gpu · 2022-12-21 09:15
linamkurz: Sorry about that, it's fixed now! ^^#asahi-gpu · 2022-12-20 21:47
alyssabloody hell#asahi-gpu · 2022-12-20 21:13
alyssapray tell, metal, how do I get a linear MTLTextureType2DArray#asahi-gpu · 2022-12-20 21:13
alyssaLinear texture: must be of type MTLTextureType2D or linear MTLTextureType2DArray, textureType (MTLTextureType1DArray) disallowed#asahi-gpu · 2022-12-20 20:01
mkurzmarcan: Lina updated the GPU tracker issue (https://github.com/AsahiLinux/linux/issues/72), but linked to the same kwin issue twice ("... plus KWin bug, plus core Mesa bug...") She didn't link to the Mesa bug actually.#asahi-gpu · 2022-12-20 04:31
alyssabrain#asahi-gpu · 2022-12-20 04:22
TellowKrinkleSo far, it seems that if the input is smooth, doing anything other than just converting it to a uint removes the .TODO. But if the input is flat, I can do all sorts of math on it and it stays .TODO. Can't possibly imagine what such a flag would be useful for...#asahi-gpu · 2022-12-20 04:14
alyssatruly an RNG#asahi-gpu · 2022-12-20 04:04
TellowKrinklebuffer[uint(smooth.x) * 8 + 0] * buffer[uint(smooth.y) * 8 + 2] => device_load#asahi-gpu · 2022-12-20 04:03
TellowKrinklebuffer[uint(smooth.x) * 8 + 0] * buffer[uint(smooth.x) * 8 + 2] => "device_load"#asahi-gpu · 2022-12-20 04:02
TellowKrinklebuffer[uint(smooth.x)] * buffer[uint(smooth.y)] => "device_load.TODO"#asahi-gpu · 2022-12-20 04:01
TellowKrinkleOkay I was able to get the TODO with smooth input#asahi-gpu · 2022-12-20 03:59
TellowKrinklealyssa: Good to know#asahi-gpu · 2022-12-20 03:56
alyssahttps://social.treehouse.systems/@alyssa/109543986229229672#asahi-gpu · 2022-12-20 03:56
alyssaTellowKrinkle: I was getting it with uint(smooth input)#asahi-gpu · 2022-12-20 03:55
TellowKrinkleOkay the ".TODO" seems to only be added if the input comes from a flat interpolated input?#asahi-gpu · 2022-12-20 03:55
alyssathis is going on Spot The Bug#asahi-gpu · 2022-12-20 03:54
alyssaUnrelated to any of the magic, just a pure academic error#asahi-gpu · 2022-12-20 03:54
alyssaI found my bug#asahi-gpu · 2022-12-20 03:54
alyssa__builtin_ffs();#asahi-gpu · 2022-12-20 03:11
alyssathat's.. unlikely but i'm running out of ideas#asahi-gpu · 2022-12-20 03:11
alyssaunless i have some unrelated bug where the VS is now faster causing me to lose some other race condition#asahi-gpu · 2022-12-20 03:06
alyssaand ... yeah, this seems like a normal state of affairs, let's play supertuxkart instead#asahi-gpu · 2022-12-20 03:06
alyssaand inexplicable deqp fails on linux#asahi-gpu · 2022-12-20 03:05
alyssaso we have 2 random magic bits with no discernible pattern#asahi-gpu · 2022-12-20 03:05
alyssabut other than nothing#asahi-gpu · 2022-12-20 03:05
alyssathat seems potentially more interesting#asahi-gpu · 2022-12-20 03:05
alyssafor the FS, unk 2 is set in the FS when loads and unset when no loads#asahi-gpu · 2022-12-20 03:04
alyssadifferent uniforms obviosuly#asahi-gpu · 2022-12-20 03:04
alyssauses way more regs obviously#asahi-gpu · 2022-12-20 03:04
alyssafor the VS, unk2 is 1 on the no buffer load case and 2 on the 3 load case#asahi-gpu · 2022-12-20 03:04
alyssain terms of data structure changes#asahi-gpu · 2022-12-20 03:03
alyssamaybe it's some sort of cache hint, idk#asahi-gpu · 2022-12-20 03:01
alyssa}#asahi-gpu · 2022-12-20 03:01
alyssa }#asahi-gpu · 2022-12-20 03:01
alyssa return false;#asahi-gpu · 2022-12-20 03:01
alyssa } else {#asahi-gpu · 2022-12-20 03:01
alyssa return true;#asahi-gpu · 2022-12-20 03:01
alyssa if (setting_the_bit_would_fuck_with_alyssa_more_than_not_setting_it()) {#asahi-gpu · 2022-12-20 03:01
alyssabool APPLE_PROPRIETARY_COMPILER_should_set_random_bit(void) {#asahi-gpu · 2022-12-20 03:00
alyssai honestly think the logic is just#asahi-gpu · 2022-12-20 03:00
alyssathere now i got it with a signed index#asahi-gpu · 2022-12-20 03:00
alyssa3 different buffers, same idx, but an UNSIGNED index and I get the .TODO on the first#asahi-gpu · 2022-12-20 02:59
alyssasigned index, 3 different buffers, same idx#asahi-gpu · 2022-12-20 02:59
alyssauh why don't i get it for this vector.#asahi-gpu · 2022-12-20 02:59
alyssaright, wasn't for scalar loads, only vector#asahi-gpu · 2022-12-20 02:58
alyssauh#asahi-gpu · 2022-12-20 02:58
alyssanow i'm not getting the .TODO in the frag shader either#asahi-gpu · 2022-12-20 02:57
alyssano side effects..#asahi-gpu · 2022-12-20 02:57
TellowKrinkleBTW on that fragment shader one, were you doing anything with side effects (e.g. writing to device memory)? I can only get the .TODO if I do that and I don't also add "[[early_fragment_tests]]"