diff options
author | Jason Fielder <jason_apple> | 2022-06-27 12:41:04 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-06-27 12:45:49 +0300 |
commit | 9130a60d3d833718c932d3f971b746ba253734bc (patch) | |
tree | daa060bb87ee0bf52c96699aea103ea78e29caa7 /source/blender/gpu/CMakeLists.txt | |
parent | 7b6b740ace1e56a8217fb44ed9fd3cf0c0a324f4 (diff) |
MTLCommandBufferState for coordinating GPU workload submission and render pass coordination.
MTLFrameBuffer has been implemented to support creation of RenderCommandEncoders, along with supporting functionality in the Metal Context.
Optimisation stubs for GPU_framebuffer_bind_ext has been added, which enables specific assignment of attachment load-store ops at the bind level, rather than on a framebuffer object as a whole.
Begin and end frame markers are used to encapsulate frame boundaries for explicit workload submission. This is required for explicit APIs where implicit flushing of work does not occur.
Ref T96261
Reviewed By: fclem
Maniphest Tasks: T96261
Differential Revision: https://developer.blender.org/D15027
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r-- | source/blender/gpu/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index cadc2c4445b..d8ed74390f4 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -188,7 +188,9 @@ set(OPENGL_SRC set(METAL_SRC metal/mtl_backend.mm metal/mtl_context.mm + metal/mtl_command_buffer.mm metal/mtl_debug.mm + metal/mtl_framebuffer.mm metal/mtl_state.mm metal/mtl_texture.mm metal/mtl_texture_util.mm @@ -198,6 +200,7 @@ set(METAL_SRC metal/mtl_common.hh metal/mtl_context.hh metal/mtl_debug.hh + metal/mtl_framebuffer.hh metal/mtl_state.hh metal/mtl_texture.hh ) |