#asahi-gpu · 2023-02-11 20:03
alyssathe annoyance there is that it would then add overhead to all GL apps#asahi-gpu · 2023-02-11 20:03
alyssaTempted to just go the shader variant + lower_clip_halfz route since it would be parity with Zink#asahi-gpu · 2023-02-11 20:02
alyssaFor native GL, the flush is a bit cleaner but would require caution to ensure we don't flush unnecessarily with stuff like u_blitter#asahi-gpu · 2023-02-11 20:01
alyssaAnd then Zink on top of a VK_EXT_depth_clip_control driver will end up creating pipeline variants#asahi-gpu · 2023-02-11 20:00
alyssaFor VK_EXT_depth_clip_control, the bit is pipeline state. Flushing isn't an option but there's no dynamic state needed: just fix the [0, 1] clip space by default and insert the fix up code for Zink.#asahi-gpu · 2023-02-11 20:00
alyssaHonestly unsure which approach I hate least (shader variants, dynamic state, flushing)#asahi-gpu · 2023-02-11 19:54
alyssa"Because this bit is render pass state, we can’t use it to change the clip space between draws. That’s okay for baseline OpenGL and Vulkan, but it prevents us from efficiently implementing the ARB_clip_control and VK_EXT_depth_clip_control extensions. There are at least three (inefficient) implementations."#asahi-gpu · 2023-02-11 19:53
alyssawrote up the issue ad nauseum there#asahi-gpu · 2023-02-11 19:53
alyssahttps://rosenzweig.io/blog/asahi-gpu-part-6.html#asahi-gpu · 2023-02-11 19:52
alyssawhich isn't hard but there are two ways to square the circle and they both suck#asahi-gpu · 2023-02-11 19:52
alyssamostly blocked on clip control#asahi-gpu · 2023-02-11 19:49
alyssaonce 4K pages are supported by the gpu driver, I'll probably give FEX + Wine + Nine a whirl#asahi-gpu · 2023-02-11 19:11
alyssadhewg: nine support isn't going to be hard, I'm just waiting for the page size mess to get sorted#asahi-gpu · 2023-02-11 19:10
alyssaThanks ^^#asahi-gpu · 2023-02-11 19:10
alyssalina: Posted some stuff from this week https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests?scope=all&state=opened&milestone_title=Needs%20review&label_name[]=asahi#asahi-gpu · 2023-02-07 15:14
alyssawell, more like vulkan with features removed but yes#asahi-gpu · 2023-02-07 15:13
alyssaChaosPrincess: not exactly wrong...#asahi-gpu · 2023-02-07 15:13
alyssaeric_engestrom: No, I mean the literal same spec text#asahi-gpu · 2023-02-07 15:07
alyssa(There's more I didn't post)#asahi-gpu · 2023-02-07 15:07
alyssaeric_engestrom: exact same wording for piles of functions alike? xP#asahi-gpu · 2023-02-07 01:26
alyssawho plagiarised who? (-:#asahi-gpu · 2023-02-07 01:26
alyssai gotta say reading the metal shading language spec side-by-side with the glsl spec is entertaining#asahi-gpu · 2023-02-04 02:37
alyssa:)#asahi-gpu · 2023-02-04 02:37
alyssawe're not doing it, mesa is#asahi-gpu · 2023-02-04 02:37
alyssaor rather#asahi-gpu · 2023-02-04 02:37
alyssaWe're doing it properly#asahi-gpu · 2023-02-04 02:21
alyssahopefully the only one :D#asahi-gpu · 2023-02-04 02:21
alyssaThis is the 1 difference we know about so far#asahi-gpu · 2023-02-04 02:16
alyssathe bug only happens for GL_TEXTURE_3D#asahi-gpu · 2023-02-04 02:16
alyssa(top patch)#asahi-gpu · 2023-02-04 02:16
alyssalina: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21114#asahi-gpu · 2023-02-04 02:16
alyssalina: You did :)#asahi-gpu · 2023-02-03 23:42
alyssa:D#asahi-gpu · 2023-02-03 23:42
alyssasupporting me in spirit?#asahi-gpu · 2023-02-03 23:42
alyssai mean i know you're asleep but#asahi-gpu · 2023-02-03 23:42
alyssalina: thanks for your help#asahi-gpu · 2023-02-03 23:42
alyssaGot it :~)#asahi-gpu · 2023-02-03 23:37
alyssayeah ok i think I got it#asahi-gpu · 2023-02-03 23:34
alyssaaha yes ok#asahi-gpu · 2023-02-03 23:33
alyssaOh I see the actual bug here#asahi-gpu · 2023-02-03 23:28
alyssaright, still off by one somewhere#asahi-gpu · 2023-02-03 23:28
alyssaalthough that doesn't actually fix my deqp..#asahi-gpu · 2023-02-03 23:24
alyssabasically, when page-aligned layers is turned off (but depth > 1 and mipmapping is enabled), we need to align to the "full" miptree, even if layout->levels is < max mip level(width, height, depth)#asahi-gpu · 2023-02-03 23:23
alyssa^^ that test case (crafted manually) needs to pass#asahi-gpu · 2023-02-03 23:23
alyssalina: https://rosenzweig.io/0001-WIP-ail-Add-test-case-for-small-cube-maps-with-parti.patch#asahi-gpu · 2023-02-03 23:23
alyssatbh#asahi-gpu · 2023-02-03 23:23
alyssalina: Might need to pass this one off to you tb#asahi-gpu · 2023-02-03 23:08
alyssa:q#asahi-gpu · 2023-02-03 23:00
alyssaeven though the 4 mip levels end up at AA0#asahi-gpu · 2023-02-03 23:00
alyssathis is interesting, it's rounding the layers up to C80