Metal: Support for Storage Buffers. #104870

Closed
Thomas Dinges wants to merge 1 commits from (deleted):metal-ssbo into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Thomas Dinges 49bd2fe155 Metal: Support for Storage Buffers.
Adds support for SSBOs to the Metal backend. Also includes small compilation fixes for EEVEE Next shaders which are now compiled under build time testing.

One requirement being explicit address space tagging on reference types pased into functions which write to SSBOs, if an SSBO buffer reference is passed. Previously, all reference types were treated as being within thread address space.

For testing and stability, storage buffer feature flag remains disabled on macOS, however, this can now be toggled in mtl_backend for testing of future work.

Authored by Apple: Michael Parkin-White

Ref #96261
2023-02-17 12:45:19 +01:00