Dario b962b38e74 Check for Vulkan Memory Model support and make it a variant. hace 2 días
..
README.md 2d0165574d Add Metal support for macOS (arm64) and iOS hace 11 meses
SCsub 5230f6c60c Apple: Use image atomic operations on supported Apple hardware hace 3 semanas
inflection_map.h 324512e11c Style: Replace header guards with `#pragma once` hace 4 meses
metal_device_properties.h 338816236b Metal: Remove invalid assumption for image atomic operations hace 2 semanas
metal_device_properties.mm 338816236b Metal: Remove invalid assumption for image atomic operations hace 2 semanas
metal_objects.h 5230f6c60c Apple: Use image atomic operations on supported Apple hardware hace 3 semanas
metal_objects.mm 5230f6c60c Apple: Use image atomic operations on supported Apple hardware hace 3 semanas
metal_utils.h 8c8d6de3e7 Apple: Add pthread implementation of `Thread` class hace 3 meses
pixel_formats.h 207a2b6472 Core: Integrate warning suppression macro helpers hace 3 meses
pixel_formats.mm 47971c0a27 Introduce 'visionos' platform derived from 'apple_embedded' hace 2 meses
rendering_context_driver_metal.h 7d93119353 Renderer: Eliminates `String` allocations for all labels in the renderer hace 2 meses
rendering_context_driver_metal.mm bdbc97ecbb Metal: Use correct environment variable to generate labels hace 3 semanas
rendering_device_driver_metal.h 5a30a7e7cd Add shader baker to project exporter. hace 2 meses
rendering_device_driver_metal.mm b962b38e74 Check for Vulkan Memory Model support and make it a variant. hace 1 día
rendering_shader_container_metal.h 5a30a7e7cd Add shader baker to project exporter. hace 2 meses
rendering_shader_container_metal.mm 5230f6c60c Apple: Use image atomic operations on supported Apple hardware hace 3 semanas
sha256_digest.h 5a30a7e7cd Add shader baker to project exporter. hace 2 meses

README.md

Metal Rendering Device

This document aims to describe the Metal rendering device implementation in Godot.

Future work / ideas

  • Use placement heaps
  • Explicit hazard tracking
  • MetalFX upscaling support?

Acknowledgments

The Metal rendering owes a lot to the work of the MoltenVK project, which is a Vulkan implementation on top of Metal. In accordance with the Apache 2.0 license, the following copyright notices have been included where applicable:

/**************************************************************************/
/*                                                                        */
/* Portions of this code were derived from MoltenVK.                      */
/*                                                                        */
/* Copyright (c) 2015-2023 The Brenwill Workshop Ltd.                     */
/* (http://www.brenwill.com)                                              */
/*                                                                        */
/* Licensed under the Apache License, Version 2.0 (the "License");        */
/* you may not use this file except in compliance with the License.       */
/* You may obtain a copy of the License at                                */
/*                                                                        */
/*     http://www.apache.org/licenses/LICENSE-2.0                         */
/*                                                                        */
/* Unless required by applicable law or agreed to in writing, software    */
/* distributed under the License is distributed on an "AS IS" BASIS,      */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        */
/* implied. See the License for the specific language governing           */
/* permissions and limitations under the License.                         */
/**************************************************************************/