Metal: Storage buffer and explicit bind location support #107175

Merged
Clément Foucault merged 4 commits from Jason-Fielder/blender:MetalSSBO_Support_Apr20 into main 2023-05-03 11:46:36 +02:00

4 Commits

Author SHA1 Message Date
fc721a398a Address reviewers comments
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
2023-05-03 11:00:04 +02:00
3e8c1c00cc Apply clang-format 2023-05-02 18:41:04 +02:00
d3f983ac78 Merge branch 'main' into MetalSSBO_Support_Apr20
# Conflicts:
#	source/blender/gpu/metal/mtl_context.mm
2023-05-02 18:31:05 +02:00
3b9da30474 Metal: Storage buffer and explicit bind location support
Adds support for Storage buffers, including changes to the resource
binding model to ensure explicit resource bind locations are supported
for all resource types.

Storage buffer support also includes required changes for shader
source generation and SSBO wrapper support for other resource
types such as GPUVertBuf, GPUIndexBuf and GPUUniformBuf.

Authored by Apple: Michael Parkin-White
2023-04-20 14:53:43 +01:00