2022-06-19
01:07darkapex has joined #asahi-gpu
01:24chadmed has joined #asahi-gpu
01:38yunilina: It looks like 16-bit pixel formats use 128x64 tiles, and 64-bit pixel formats use 64x32 tiles.
02:33PhilippvK has quit [Ping timeout: 480 seconds]
07:09bisko has joined #asahi-gpu
07:21bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:29c10l has quit [Quit: Bye o/]
09:33c10l has joined #asahi-gpu
10:50c10l has quit [Quit: Bye o/]
10:54c10l has joined #asahi-gpu
13:17chadmed has quit [Ping timeout: 480 seconds]
13:18chadmed has joined #asahi-gpu
13:40MajorBiscuit has joined #asahi-gpu
15:24jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]
15:30jakebot6 has joined #asahi-gpu
16:07MajorBiscuit has quit [Quit: WeeChat 3.5]
17:13yunidEQP-GLES2.functional.texture.specification.teximage2d_align.2d_rgba8888_47_1 presents an interesting problem
17:23yuniSo for the size calculation, the width/height are both rounded up to powers of two, giving 64x32
17:24yuniAfter rounding up to a power of a two, we get 64x32, and then the minor axis used directly is 32
17:25alyssa has joined #asahi-gpu
17:31yuniI have a hack that splits out the cases, which fixes the test. But I think I'm missing the bigger picture
17:49* Ella[m]uploaded an image: (5KiB) < https://matrix.org/_matrix/media/r0/download/chat.iglunix.org/19lUY3C850Ma2YgbgSYLHuQKfrS54f1z/image.png >
17:50alethkit has joined #asahi-gpu
17:54yuniThe layout code is being moved to src/asahi/layout, so when that's working and merged you'll be able to use for VK
17:55yuniAnd every time I think I understand how the twiddling works, the hardware throws another a curveball at me.
17:57Ella[m]alyssa: i have a very old commit is at https://gitlab.freedesktop.org/Ella-0/mesa/-/tree/agxv
17:59alyssaWould appreciate getting a peak -- there are lots of ways to screw up driver dev and maybe I can keep you from going down a bad path or two
18:00Ella[m]the only other driver dev experience i've had is with relatively small contributions to v3dv
18:01Ella[m]oh well this is embarrassing. last time i pushed was from my linux install. I don't even have my ssh keys on macos
18:06Ella[m]<alyssa> "Would appreciate getting a peak..." <- ight https://gitlab.freedesktop.org/Ella-0/mesa/-/tree/agxv-mega-wip
18:10alyssaYou have the idea of "CPU jobs" for copies and such...? I know it's not implemented but I have bad news -- that won't work even if it is implemented.
18:12alyssaUnlike in OpenGL (where the driver can "stop the world" at any time, split the render pass, and do some work on the CPU, and ping pong back), Vulkan really requires everything to happen on the GPU (except where the API specifically happens on the CPU)
18:12alyssaElla[m]: Also, to actually implement those copies and things, there's a bit of talk around building a "vk_blitter" like we have u_blitter in gallium, but this is nontrivial unfortunately :(
18:13alyssathere's also maybe hardware support for some(?) blits and copies, lina thinks she saw something relevant in the kernel, but I haven't looked at all because on the gl side I don't really care
18:17Ella[m]alyssa: oh cool, i think i was gonna do something similar to what v3dv has (which i think some of the other drivers also have) with meta pipelines blitting (v3dv_meta_copy, v3dv_meta_clear, ...) i'll poke around a bit to see if i come across any hardware support for this stuff tho.
18:17alyssafor panvk, I'd really like the v3dv meta pipeline approach to be generalized to common code
18:17alyssarealistically if that's an option for agxv you'll want that for the first draft of the driver at least, more pressing matters.
18:22Ella[m]yup i'll probably do that at first :) idk first thing is getting my triangle thingy to render properly.
18:22* Ella[m]uploaded an image: (10KiB) < https://matrix.org/_matrix/media/r0/download/chat.iglunix.org/KPNeJia5GXgPVj4h9NEowyOzDKiKxpjw/image.png >
18:47alyssa has quit [Quit: Lost terminal]
21:42yuyichao has joined #asahi-gpu
21:45LunaFoxgirlVT has joined #asahi-gpu
22:18LunaFoxgirlVT has quit [Quit: Leaving]
22:31manawyrm has joined #asahi-gpu