2021-04-04
00:03solarkraft has quit [Quit: Bye!]
02:07phiologe has quit [Ping timeout: 250 seconds]
02:08phiologe has joined #asahi-gpu
02:24eric_engestrom has quit [*.net *.split]
02:24davidrysk[m] has quit [*.net *.split]
02:24skg has quit [*.net *.split]
02:25eric_engestrom has joined #asahi-gpu
02:25skg has joined #asahi-gpu
02:28solarkraft has joined #asahi-gpu
02:28davidrysk[m] has joined #asahi-gpu
02:31DarkShadow44Still working on load/store emulator... Anyone knows a proper RGB<->sRGB implementation?
02:31DarkShadow44dougall: You use a table, did you only get that through brute force testing?
02:32DarkShadow44bloom: load/store allow the data format "SRGBA8", and I have no idea how to convert that properly
02:32DarkShadow44ideally, I'd want exactly the same behavior as the GPU
02:32bloomDarkShadow44: https://cgit.freedesktop.org/mesa/mesa/tree/src/util/format_srgb.py and https://cgit.freedesktop.org/mesa/mesa/tree/src/util/format_srgb.h is mesa's impl
02:35DarkShadow44bloom: For my shader emulator that I use for testing: https://github.com/DarkShadow44/AsahiLinux-gpu/blob/asmtool/asmtool/asmtool/emulator.c
02:35DarkShadow44thank you
02:37solarkraft has quit [Quit: Bye!]
02:38DarkShadow44yeah, those instructions are pretty complex and it helps me to understand what exactly happens ^^
02:38DarkShadow44latest adventure: arbitrary precision floats, 10 and 11 bits of size? Why I don't know, but it's interesting
02:40DarkShadow44bloom: first thing I did was change the macOS keybindings :D
02:40DarkShadow44I can't stand their defaults
02:41DarkShadow44snrkt?
02:42DarkShadow44btw, my end goal would be having regression tests and an emulator to run full shaders (their bytecode) on the CPU
02:43DarkShadow44not quite sure how useful that would be eventually, but currently I just wanna xD
02:49DarkShadow44bloom: What does that mean, swizzle?
02:56DarkShadow44Isn't that more fitting inside a shader, why does a framebuffer need that?
02:56odmir has quit [Remote host closed the connection]
02:57DarkShadow44ah, that does make sense
03:02neunon has quit [Quit: ZNC 1.8.2 - https://znc.in]
03:02neunon has joined #asahi-gpu
03:36dougallDarkShadow44: yeah, that table was just generated by asking the gpu to convert all 256 values
04:04odmir has joined #asahi-gpu
04:06chrisfDarkShadow44, R10G10B11 unsigned float is actually pretty useful -- "almost as good" as RGBA16F for a color target, but only 32 bits
04:08odmir has quit [Ping timeout: 245 seconds]
09:00RiniaOk_yama[m] has quit [Quit: Idle for 30+ days]
10:24thestr4ng3r has quit [Quit: ZNC 1.8.1 - https://znc.in]
10:24thestr4ng3r has joined #asahi-gpu
10:29Lockna[m] has joined #asahi-gpu
12:48tomtastic has quit [Quit: ZNC - https://znc.in]
13:00tomtastic has joined #asahi-gpu
13:39Necrosporus has quit [Read error: Connection reset by peer]
13:40Necrosporus has joined #asahi-gpu
16:10wicast has quit [Ping timeout: 250 seconds]
16:11wicast has joined #asahi-gpu
16:15DarkShadow44dougall: FWIW, I implemented it with the mesa code and adjusted the tests to ignore small floating point differences
16:36bloomDarkShadow44: although if dougall has grabbed the table, why not just use dougall's table..?
16:38DarkShadow44It's easier to reverse the calculation without a table
16:38DarkShadow44after all, I need both directions
16:39DarkShadow44bloom: mesa has two functions without a table as well, that's AFAIK how srgb is defined
18:25DarkShadow44Finally should have a solid base for emulating load/store - all known formats should work properly now
18:25DarkShadow44Should get easier from here on, next comes integer operations and bitops
20:39mxw39 has quit [Quit: Konversation terminated!]
20:40mxw39 has joined #asahi-gpu
20:43mxw39 has quit [Remote host closed the connection]
20:44mxw39 has joined #asahi-gpu
20:45mxw39 has quit [Remote host closed the connection]
20:45mxw39 has joined #asahi-gpu
20:55mxw39 has quit [Remote host closed the connection]
20:56mxw39 has joined #asahi-gpu
21:01mxw39 has quit [Remote host closed the connection]
21:01mxw39 has joined #asahi-gpu
21:02mxw39 has quit [Client Quit]
21:02mxw39 has joined #asahi-gpu
21:08mxw39 has quit [Quit: Konversation terminated!]
21:08mxw39 has joined #asahi-gpu
21:55odmir has joined #asahi-gpu
21:56odmir has joined #asahi-gpu
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:02yrlf has joined #asahi-gpu
22:08ChanServ has quit [shutting down]
22:13ChanServ has joined #asahi-gpu
23:44balrog has quit [Quit: Bye]
23:45bpye has quit [Ping timeout: 240 seconds]
23:52bpye has joined #asahi-gpu
23:57balrog has joined #asahi-gpu