#
…

2024-01-02

01:12kidplayer666 has quit [Quit: Connection closed for inactivity]
01:35possiblemeatball has quit [Quit: Quit]
01:47possiblemeatball has joined #asahi-gpu
03:54jeisom has quit [Ping timeout: 480 seconds]
04:19marvin24_ has joined #asahi-gpu
04:19pbsds has quit [Quit: The Lounge - https://thelounge.chat]
04:20pbsds has joined #asahi-gpu
04:22marvin24 has quit [Ping timeout: 480 seconds]
04:45alyssaella-0: fascinating
04:45alyssai509vcb: casting at the level of formats input/output to the copy
04:45alyssanothing in shader code
04:47alyssautil_format_is_compressed()
04:48i509vcbYeah oof sorry my temp disable of compressed formats is not good
04:52alyssaall good :)
04:52alyssamesa has lotsa helpers
04:58chadmedread that in a jar jar binks voice ^
04:58i509vcbI'm sure I've written far worse code when I was 12
05:50possiblemeatball has quit [Quit: Quit]
06:19i509vcbalyssa: I think the sfloat issue is what you mentioned, now to generalize a solution for it...
06:20i509vcbI guess I'll be writing new helpers so that I have a way to get a format with a different numeric type
06:23i509vcbAlthough I might not have it figured out yet
06:30i509vcbentirely different formats I've yet to figure out a pattern
06:33i509vcbsrc_format == VK_FORMAT_B8G8R8A8_UNORM && dst_format == VK_FORMAT_R32_SFLOAT works though with the hackery (with UINT instead in the dst change)
08:19kidplayer666 has joined #asahi-gpu
10:39kidplayer666 has quit [Quit: Connection closed for inactivity]
11:17crabbedhaloablut has quit [Remote host closed the connection]
11:18crabbedhaloablut has joined #asahi-gpu
12:05kidplayer666 has joined #asahi-gpu
13:45nimprod3l has joined #asahi-gpu
14:09jeisom has joined #asahi-gpu
14:10cr1901 has quit [Read error: Connection reset by peer]
14:10cr1901 has joined #asahi-gpu
14:13jix has quit [Quit: quit]
14:14jix has joined #asahi-gpu
14:20nimprod3l has quit [Quit: Leaving]
15:00possiblemeatball has joined #asahi-gpu
15:02john-cabaj has joined #asahi-gpu
15:07tertu has quit [Quit: so long...]
15:10tertu has joined #asahi-gpu
15:47john-cabaj has quit [Quit: john-cabaj]
15:47john-cabaj has joined #asahi-gpu
17:45alyssautil_format might have something
17:46AnuthaDev has joined #asahi-gpu
19:07kaazoo has joined #asahi-gpu
20:16kaazoo has quit [Quit: Leaving.]
20:19kaazoo has joined #asahi-gpu
20:20kaazoo has quit [Remote host closed the connection]
20:20kaazoo has joined #asahi-gpu
21:01kaazoo has quit [Quit: Leaving.]
21:21anders_2 has joined #asahi-gpu
21:28anders__2 has quit [Ping timeout: 480 seconds]
21:28AnuthaDev has quit []
21:31crabbedhaloablut has quit [Read error: Connection reset by peer]
21:32crabbedhaloablut has joined #asahi-gpu
21:57possiblemeatball has quit [Quit: Quit]
22:32i509vcbAny ideas why R16 doesn't work with the casting but R32 does? (Yes the code is horrible) https://gitlab.freedesktop.org/i509VCB/mesa/-/blob/i5-vkCmdCopy/src/vulkan/runtime/vk_meta_copy.c#L510
22:43c10l has quit [Remote host closed the connection]
22:43c10l has joined #asahi-gpu
22:59alyssai509vcb: Snorm has a similar problem, decode+encode snorm is lossy
23:00alyssadue to ambiguous representation of -1.0
23:00alyssaso snorm needs to be cast to e.g. uint/sint
23:00alyssagenerally speaking, uint, sint, and unorm are safe for copies
23:00alyssasnorm and float are unsafe
23:00alyssalearned this the hard way recently
23:42i509vcb(checking with a color picker, these are the same)
23:42i509vcbI think this is the a8b8g8r8_norm to r16g16_sfloat copy test
23:43i509vcb /s/norm/snorm
23:43i509vcbI did try casting both ends to sint and nothing changed
23:43i509vcbAnd uint attempts did the same
…