Damus
note130lzd...
Andrew Zonenberg profile picture
Since the vast majority of libscopehal shaders are memory bound, if I can manage to fuse several shaders into a single one and keep the intermediate results in registers, there should be a massive improvement in performance.

Fusing just two consecutive 1:1 shaders will halve the memory bandwidth requirement of the pairing.
1
Josh Simmons · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqqv5atqz9k9c54q8c28kra6sfata0wk7w7x5gkrnde8vmxe5gt00q8mmv7s welcome to raytracing shaders! (Beware the compile time explosion if they become too large)