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
Clément Foucault fc721a398a Address reviewers comments
buildbot/vexp-code-patch-coordinator Build done. Details
2023-05-03 11:00:04 +02:00
Clément Foucault 3e8c1c00cc Apply clang-format 2023-05-02 18:41:04 +02:00
Clément Foucault d3f983ac78 Merge branch 'main' into MetalSSBO_Support_Apr20
# Conflicts:
#	source/blender/gpu/metal/mtl_context.mm
2023-05-02 18:31:05 +02:00
Michael Parkin-White 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