@castano@mastodon.gamedev.place
Post #2381626
2026-04-11 02:38 UTC
I thought aliasing buffers and compressed textures in order to write to them was a very bad idea, but after playing with it, it actually seems fine?
https://www.ludicon.com/castano/blog/2026/04/writing-to-compressed-textures-in-metal/
Replies (3)
-
@demofox@mastodon.gamedev.place 2026-04-11 02:52
@castano@mastodon.gamedev.place that's neat. Hack the planet
-
@rygorous@mastodon.gamedev.place 2026-04-11 02:57
@castano@mastodon.gamedev.place really depends on the particulars of the GPU architecture, namely, whether the parts that read/write those have private non-coherent caches or not :)
-
@floooh@mastodon.gamedev.place 2026-04-11 08:29
@castano@mastodon.gamedev.place nice trick, I wonder if allocating two resources in the same place is a feature or a loophole ;)