1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Stuart Carnie
7caa039183 Metal: Ensure texture_create_from_extension returns correct pixel format 2024-12-03 05:45:50 +11:00
Thaddeus Crews
2dbf195af5 Merge pull request #98983 from nikitalita/patch-2
Prevent stack-use-after-scope in rendering_device_driver_metal.mm
2024-11-18 09:23:33 -06:00
Stuart Carnie
9c2ca820f2 Metal: Ensure position invariance is captured from SPIRV-Cross
Closes #99029
2024-11-15 14:06:32 +11:00
mrsaturnsan
376c6c0c7d Use afterMinimumDuration to correct frame pacing 2024-11-12 21:19:38 -06:00
nikitalita
78895c709c Prevent stack-use-after-scope in rendering_device_driver_metal.mm 2024-11-09 00:07:33 -06:00
Stuart Carnie
3dac3887e9 Metal: Multiview support
* Adds support for multiview
* Returns native handles for more driver resources
2024-11-06 05:37:35 +11:00
Stuart Carnie
83ac274e25 Metal: Performance improvements and bug fixes 2024-10-20 11:15:13 +11:00
Clay John
e7c39efdb1 Merge pull request #97309 from kroketio/metal-expose-device-handle
Metal: expose MTLDevice
2024-10-07 11:00:53 -06:00
Sander
e9c85be76f Metal: expose DRIVER_RESOURCE_LOGICAL_DEVICE for get_resource_native_handle() 2024-09-22 03:19:06 +03:00
Sander
0ad1820b1a Metal: implement texture_create_from_extension
Parameters p_type, p_format, p_array_layers, p_depth_stencil are
ignored - MTLTexture (and the callee) already have this information
and is only relevant when reinterpreting or remaping the texture in
different ways.
2024-09-22 02:32:37 +03:00
Stuart Carnie
4b02c9bb0a Metal: Use correct operator to ensure all specialisation constants are applied
Fixes #96077
2024-08-28 20:07:19 +10:00
Stuart Carnie
6de70e6b8a Metal: Minor improvements to #96052; update logger subsystem name 2024-08-27 05:47:06 +10:00
Stuart Carnie
2ef1ef63a5 Metal: Improve startup times by using concurrent shader compilation APIs 2024-08-25 09:05:58 +10:00
Stuart Carnie
bbc7962fe2 Metal: fix artefacts for mobile render method and return false for multi-view support 2024-08-22 21:34:53 +10:00
Matias N. Goldberg
364f916f3f Add debug utilities for Vulkan
Features:
- Debug-only tracking of objects by type. See
get_driver_allocs_by_object_type et al.
 - Debug-only Breadcrumb info for debugging GPU crashes and device lost
 - Performance report per frame from get_perf_report
- Some VMA calls had to be modified in order to insert the necessary
memory callbacks

Functionality marked as "debug-only" is only available in debug or dev
builds.

Misc fixes:
 - Early break optimization in RenderingDevice::uniform_set_create

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
2024-08-21 23:48:08 +02:00
Stuart Carnie
2d0165574d Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00