#asahi-gpu · 2023-01-05 13:53
alyssaso ABGR#asahi-gpu · 2023-01-05 13:53
alyssawith an extra BGR snuck in the swizzle somewhere#asahi-gpu · 2023-01-05 13:52
alyssaOh the intenral channels is A1R5G5B5#asahi-gpu · 2023-01-05 13:52
alyssathis one I understand considerably less#asahi-gpu · 2023-01-05 13:51
alyssaRGB5A1: (6, 3, 7, 0)#asahi-gpu · 2023-01-05 13:50
alyssasRGB8: "#asahi-gpu · 2023-01-05 13:49
alyssasRGB8_A8: (0x7ff, 0x3ff, 0x1ff, 0x33)#asahi-gpu · 2023-01-05 13:48
alyssaRGBA8: (0x7f, 0x3f, 0x1f, 0x33)#asahi-gpu · 2023-01-05 13:45
alyssacolour is (0.5, 0.25, 0.125, 0.2) in all#asahi-gpu · 2023-01-05 13:44
alyssaas for border colour encoding#asahi-gpu · 2023-01-05 02:44
alyssaalthough seemingly Metal is not actually doing custom border colours so I am I guess missing some other magic#asahi-gpu · 2023-01-05 02:44
alyssa9 samplers is indeed the cutoff#asahi-gpu · 2023-01-05 02:43
alyssathis does lend credence to the enum theory#asahi-gpu · 2023-01-05 02:42
alyssaFS, 16 samplers, extended: 28#asahi-gpu · 2023-01-05 02:40
alyssametal only gives me 16 samplers, boo#asahi-gpu · 2023-01-05 02:32
alyssanext question is what metal does with 24 samplers (-:#asahi-gpu · 2023-01-05 02:32
alyssanot sure I can get anything other than 24 for extended#asahi-gpu · 2023-01-05 02:26
alyssaFS, 8 samplers, extended: (8, 24)#asahi-gpu · 2023-01-05 02:25
alyssaVS, no samplers, extended: (256, 24)#asahi-gpu · 2023-01-05 02:24
alyssaFS, 5 samplers, extended: (8, 24)#asahi-gpu · 2023-01-05 02:23
alyssaFS, 5 samplers, compact: (8, 8)#asahi-gpu · 2023-01-05 02:22
alyssaFS, 4 samplers, compact: (8, 4)#asahi-gpu · 2023-01-05 02:21
alyssaFS, 2 samplers, compact: (8, 4)#asahi-gpu · 2023-01-05 02:21
alyssa(!)#asahi-gpu · 2023-01-05 02:20
alyssaVS, no samplers, compact: (256, 32)#asahi-gpu · 2023-01-05 02:08
alyssamaybe sampler state reg count is actually an enum or something#asahi-gpu · 2023-01-05 02:05
alyssabut I don't see one#asahi-gpu · 2023-01-05 02:02
alyssaa bit in the USC sampler state packet would be the logical place.#asahi-gpu · 2023-01-05 01:49
alyssai'm definitely missing something.#asahi-gpu · 2023-01-05 01:45
alyssaso if it's a "total bytes" thing we're missing a factor of 2 (12 instead of 24)#asahi-gpu · 2023-01-05 01:45
alyssathe sampler descriptor is either 8 bytes or 24 bytes depending if there are border colours or not#asahi-gpu · 2023-01-05 01:43
alyssastill ss0/ss1 in the shader#asahi-gpu · 2023-01-05 01:42
alyssathe relevant count goes from 4->24 when going from 2 compact samplers to effectively 2 extended ones#asahi-gpu · 2023-01-05 01:41
alyssaoh hmhmhm#asahi-gpu · 2023-01-05 01:39
alyssaand 4->24 in another case, uh#asahi-gpu · 2023-01-05 01:38
alyssa"Sampler state register count" goes 32 -> 24 with border colour on 1 of 2 samplers ?!#asahi-gpu · 2023-01-05 01:37
alyssaunclear what determines which#asahi-gpu · 2023-01-05 01:37
alyssathe "USC bind sampler" command binds either compact (no border colour) or extended (with border colour) samplers#asahi-gpu · 2023-01-05 01:37
alyssaooookay#asahi-gpu · 2023-01-05 01:02
alyssaHm#asahi-gpu · 2023-01-05 00:34
alyssawhy am I getting page faults with custom border colours.#asahi-gpu · 2023-01-05 00:00
alyssaannoying for Direct3D#asahi-gpu · 2023-01-05 00:00
alyssafor GL#asahi-gpu · 2023-01-05 00:00
alyssayeah ok I think this is reasonable#asahi-gpu · 2023-01-04 23:59
alyssathough it seems to still apply the API swizzle specified maybe#asahi-gpu · 2023-01-04 23:57
alyssawhat a delight#asahi-gpu · 2023-01-04 23:57
alyssaso the custom border colour is packed in the actual format#asahi-gpu · 2023-01-04 23:57
alyssargba16 unorm texture#asahi-gpu · 2023-01-04 23:57
alyssaah lol#asahi-gpu · 2023-01-04 23:56
alyssathose.. aren't floats are they..