#asahi-gpu · 2023-01-05 19:42
TellowKrinkleAhh okay#asahi-gpu · 2023-01-05 19:42
alyssawell, public Metal#asahi-gpu · 2023-01-05 19:41
alyssaTellowKrinkle: no custom border colours in metal#asahi-gpu · 2023-01-05 19:41
TellowKrinkleIf border color depends on the texture format, does that mean it's not part of the sampler? Since those are separate from textures in Metal#asahi-gpu · 2023-01-05 19:32
alyssa(incorrect rounding of border colours)#asahi-gpu · 2023-01-05 19:27
alyssa aaaaand that's probably a bug in the apple driver....#asahi-gpu · 2023-01-05 14:06
alyssai am apparently unable to use GL to check rgb9e5#asahi-gpu · 2023-01-05 14:01
alyssaso just straight up half floats#asahi-gpu · 2023-01-05 14:01
alyssar11g11b10: (0x3800, 0x3400, 0x3000, 0x3266) and (0x0, 0x3c00, 0x3c00, 0x3c00)#asahi-gpu · 2023-01-05 13:58
alyssa(3, 1, 3, 7) and (f, f, f, 0)#asahi-gpu · 2023-01-05 13:58
alyssamoving on, RGBA4#asahi-gpu · 2023-01-05 13:57
alyssaoh duh because GL is backwards and this is actually A1BGR5 this whole time right yes ok#asahi-gpu · 2023-01-05 13:56
alyssa(1f, 1f, 1f, 0)#asahi-gpu · 2023-01-05 13:56
alyssalet's also do one that's (0.0, 1.0, 1.0, 1.0):#asahi-gpu · 2023-01-05 13:55
alyssa(0x1f, 0x1f, 0x0, 0x1)#asahi-gpu · 2023-01-05 13:55
alyssa(1.0, 0.0, 1.0, 1.0) then#asahi-gpu · 2023-01-05 13:55
alyssano that hits the opaque white case#asahi-gpu · 2023-01-05 13:54
alyssasecond border colour will be (1.0, 1.0, 1.0, 1.0)#asahi-gpu · 2023-01-05 13:54
alyssano that still doesn't track#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 06:55
marcanno, that's bg_color in the DCP swap if you then reduce the plane size along with it :p#asahi-gpu · 2023-01-05 06:48
dottedmagalyssa: Is "border colour 3" the same as ZX Spectrum's "BORDER 3" that draws a nice thick magenta border around the actually drawable area? :)#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.