#
#asahi-gpu · 2021-12-14 20:10
alyssa`if (foo) { gl_SampleMask = 0; } gl_SampleMask = 1;`
#asahi-gpu · 2021-12-14 20:10
alyssa`if (foo) { discard(); }` is implemented as
#asahi-gpu · 2021-12-14 20:10
alyssaSo now the discard sequence isn't so mysterious, it's getting lowered to sample mask writes
#asahi-gpu · 2021-12-14 20:07
alyssaan immediate one, I mean
#asahi-gpu · 2021-12-14 20:07
alyssaright so bits [16, ???] are a sample mask
#asahi-gpu · 2021-12-14 20:06
alyssawith the exact same sequence of ops as comes after the else, hah!
#asahi-gpu · 2021-12-14 20:05
alyssaAh ha. Yep yep. TODO.discard is also used to write out a sample mask of 0x1
#asahi-gpu · 2021-12-14 20:01
alyssaer coverage masks I mean
#asahi-gpu · 2021-12-14 20:01
alyssaNow, discard is closely related to alpha-to-coverage ... if Metal supports that, it's my next thing to look at
#asahi-gpu · 2021-12-14 20:00
alyssaNotice, curiously, discard() gets executed /twice/
#asahi-gpu · 2021-12-14 20:00
alyssahttps://backtick.town/~bloom/discard.txt
#asahi-gpu · 2021-12-14 20:00
alyssaasm looks like this
#asahi-gpu · 2021-12-14 20:00
alyssahttps://backitkc.town/~bloom/discard.txt
#asahi-gpu · 2021-12-14 19:53
alyssaIt's kinda messy on AGX, not sure why
#asahi-gpu · 2021-12-14 19:53
alyssais looking at discard;
#asahi-gpu · 2021-12-10 16:34
Methodmy b
#asahi-gpu · 2021-12-10 16:34
Methodoh shit, thought i was in off topic
#asahi-gpu · 2021-12-10 16:32
jnbig yikes indeed, but this is #asahi-gpu
#asahi-gpu · 2021-12-10 16:31
Methodhttps://twitter.com/MalwareTechBlog/status/1469289471463944198
#asahi-gpu · 2021-12-10 16:30
Methodthats a big yikes...
#asahi-gpu · 2021-12-10 16:30
Methody'all see the log4j bug
#asahi-gpu · 2021-11-18 11:04
kode54yeah, oops
#asahi-gpu · 2021-11-18 11:04
FireFox317but this is #asahi-gpu :P
#asahi-gpu · 2021-11-18 11:04
kode54it just sounded like it would be quite helpful to running it regularly
#asahi-gpu · 2021-11-18 11:03
kode54interesting
#asahi-gpu · 2021-11-18 11:03
kode54ah
#asahi-gpu · 2021-11-18 11:00
FireFox317kode54, its not required tho
#asahi-gpu · 2021-11-18 10:59
kode54still following everything, though
#asahi-gpu · 2021-11-18 10:59
kode54but at this point, I'm not really interested in toying with a system that requires a full time serial cable connected to another machine
#asahi-gpu · 2021-11-18 10:58
kode54it's usable with an unaccelerated desktop, according to the devs who are eating their own dogfood
#asahi-gpu · 2021-11-18 08:17
easontekjust checking, is asahi bare metal with no gpu accel bootable rn?
#asahi-gpu · 2021-11-14 14:26
psydroid[m]1opticron, yeah, there are lots of possibilities when things settle down
#asahi-gpu · 2021-11-14 13:40
opticronpsydroid[m]1, probably, but that's really what the ANE is for and it wouldn't make much sense to run ML on the GPU when the ANE is available
#asahi-gpu · 2021-11-14 12:54
psydroid[m]1when the GPU support is done, will it also be usable for speeding up things like machine learning?
#asahi-gpu · 2021-11-14 01:31
sajattack[m]thanks for the information
#asahi-gpu · 2021-11-14 00:29
alyssathis is how a one-pony project can happen at all in open source (this would be virtually impossible doing it the closed way)
#asahi-gpu · 2021-11-14 00:28
alyssathe calculus for open source drivers is very different from closed src,
#asahi-gpu · 2021-11-14 00:28
alyssaso it's moot
#asahi-gpu · 2021-11-14 00:28
alyssain practice, Mesa has already done the hard parts of mapping from opengl to a low level api (Gallium)
#asahi-gpu · 2021-11-14 00:27
alyssaif we were doing opengl from scratch, then sure
#asahi-gpu · 2021-11-13 23:36
sajattack[m]But I also thought that perhaps something lower level (like vulkan) would have a more direct mapping to the hardware, hence the question
#asahi-gpu · 2021-11-13 23:33
sajattack[m]So I can see how simpler is better
#asahi-gpu · 2021-11-13 23:31
sajattack[m]My main exposure to graphics programming is the Sony PSP which is like OGL 1.2 with quirks
#asahi-gpu · 2021-11-13 23:30
sajattack[m]Yep
#asahi-gpu · 2021-11-13 23:30
alyssanot apples-to-apples but you get the point
#asahi-gpu · 2021-11-13 23:29
alyssavulkan spec is 1000+ pages
#asahi-gpu · 2021-11-13 23:29
alyssagles2 spec is 200 pages
#asahi-gpu · 2021-11-13 23:29
sajattack[m]I see
#asahi-gpu · 2021-11-13 23:29
alyssait's a much tinier api, yes.
#asahi-gpu · 2021-11-13 23:29
sajattack[m]Is gles just easier to port than something like vulkan?

plus ›