@gfxstrand@social.treehouse.systems
Post #2290667
2026-05-08 05:59 UTC
@dotstdy@mastodon.social Oh, we do look at the decorations and try to apply them. We just flip them first.
Replies (1)
-
@dotstdy@mastodon.social 2026-05-08 06:02
@gfxstrand@social.treehouse.systems It looks at some decorations (like read only). But it doesn't care about the implicit restrict decoration which an external resource has according to spir-v. So it behaves as if you're in OpenCL memory model mode at all times. Likewise there's a question about materializing pointers in the shader, since iirc there's not really any option in shader languages to say "this pointer doesn't alias even though I just materialized it" (other than read only) (or to say the reverse)