#
✕ nick:chrisf
#asahi-gpu · 2021-04-01 16:26
chrisfdesktop composition will eventually move over to vulkan. it's an area where the extra control does help
#asahi-gpu · 2021-04-01 16:24
chrisfa lot of mesa is C, but it's mixed
#asahi-gpu · 2021-04-01 16:18
chrisfneobrain: for my part in this, definitely bringing up vulkan first
#asahi-gpu · 2021-03-27 00:22
chrisfand so `mask` is always in play in the examples i have
#asahi-gpu · 2021-03-27 00:21
chrisfoh, i guess the reason i might not have seen short load/store is i dont have examples of the packed cases
#asahi-gpu · 2021-03-27 00:18
chrisfapple does appear willing to spend area making things not suck
#asahi-gpu · 2021-03-27 00:17
chrisftradeoffs
#asahi-gpu · 2021-03-27 00:16
chrisfif you can show it does work then great
#asahi-gpu · 2021-03-27 00:15
chrisfthere's always stuff that doesnt work
#asahi-gpu · 2021-03-27 00:14
chrisfi would be careful about things that you never see the metal compiler do -- they may well not actually work in silicon
#asahi-gpu · 2021-03-27 00:13
chrisfah, `L` is always that, i see the note up the top now.
#asahi-gpu · 2021-03-27 00:12
chrisfactually i dont think ive seen a non-8-byte load or store
#asahi-gpu · 2021-03-27 00:11
chrisfwhat is this `L` bit?
#asahi-gpu · 2021-03-27 00:11
chrisfive never seen the metal compiler do that though
#asahi-gpu · 2021-03-27 00:10
chrisfit's an interesting theory
#asahi-gpu · 2021-03-27 00:09
chrisfyep
#asahi-gpu · 2021-03-27 00:06
chrisfyeah, i agree that's what it is then :)
#asahi-gpu · 2021-03-27 00:06
chrisfaha
#asahi-gpu · 2021-03-27 00:06
chrisfi had mapped out the bottom 2 bits of F as `size` but it makes sense if the packed formats use the rest
#asahi-gpu · 2021-03-27 00:05
chrisfah
#asahi-gpu · 2021-03-27 00:04
chrisfthe `u` fields may just be `unknown field X`
#asahi-gpu · 2021-03-27 00:00
chrisfDarkShadow44, where's the packed format field?
#asahi-gpu · 2021-03-26 23:56
chrisfDarkShadow44, ask dougall_ :)
#asahi-gpu · 2021-03-25 20:55
chrisfin the short term i guess it doesnt matter if you go in slightly odd directions as long as it turns "?" bits into things we understand
#asahi-gpu · 2021-03-25 20:49
chrisfyou need something like this. just no *additional* layer
#asahi-gpu · 2021-03-25 20:48
chrisfyour instructions-as-structs model isnt wildly off
#asahi-gpu · 2021-03-25 20:44
chrisfor at least "not another layer beyond what we will need as the backend ir"
#asahi-gpu · 2021-03-25 20:42
chrisfDarkShadow44: id encourage you to enhance things that exist rather than building yet another one, if you can
#asahi-gpu · 2021-03-23 21:34
chrisfthe good news is that it probably doesnt hold many fiddly secrets
#asahi-gpu · 2021-03-23 21:34
chrisfthe good news is that it probably doesnt hold many fiddly secrets
#asahi-gpu · 2021-03-23 21:32
chrisfmarcan and others are going to have fun when we eventually need a linux one. not my area, but i hope it's possible to get under the existing driver and trace the mmio etc
#asahi-gpu · 2021-03-23 21:32
chrisfmarcan and others are going to have fun when we eventually need a linux one. not my area, but i hope it's possible to get under the existing driver and trace the mmio etc
#asahi-gpu · 2021-03-23 21:31
chrisfthere is a kernel driver, yes
#asahi-gpu · 2021-03-23 21:31
chrisfthere is a kernel driver, yes
#asahi-gpu · 2021-03-23 21:25
chrisfgraphics command stream has plenty of dragons
#asahi-gpu · 2021-03-23 21:25
chrisfgraphics command stream has plenty of dragons
#asahi-gpu · 2021-03-23 21:25
chrisfso you've figured out command stream for compute-only?
#asahi-gpu · 2021-03-23 21:25
chrisfso you've figured out command stream for compute-only?
#asahi-gpu · 2021-03-23 21:23
chrisfnot trivial but also doesnt look like it will be completely horrible :)
#asahi-gpu · 2021-03-23 21:23
chrisfnot trivial but also doesnt look like it will be completely horrible :)
#asahi-gpu · 2021-03-23 21:19
chrisfwe "just" have to lower it to the isa
#asahi-gpu · 2021-03-23 21:19
chrisfwe "just" have to lower it to the isa
#asahi-gpu · 2021-03-23 21:18
chrisfwe'll get already-inlined NIR
#asahi-gpu · 2021-03-23 21:18
chrisfwe'll get already-inlined NIR
#asahi-gpu · 2021-03-23 21:17
chrisffor real driver we probably wont even have much of a convention -- mesa approach is generally "inline the universe"
#asahi-gpu · 2021-03-23 21:17
chrisffor real driver we probably wont even have much of a convention -- mesa approach is generally "inline the universe"
#asahi-gpu · 2021-03-23 21:13
chrisfi havent looked in detail at the calling convention, if you want to figure it out, great
#asahi-gpu · 2021-03-23 21:13
chrisfi havent looked in detail at the calling convention, if you want to figure it out, great
#asahi-gpu · 2021-03-23 21:12
chrisfDarkShadow44: some other rando function may have different values in every lane
#asahi-gpu · 2021-03-23 21:12
chrisfDarkShadow44: some other rando function may have different values in every lane

plus ›