1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
clayjohn
35100396e4 Validate varying count when compiling shaders
This avoids crashing on devices when a number of varyings greater than the device limit is used.

For now this accurately prints an error when compiling the shader, but the error text only pops up in the editor if the number of user varyings is above the limit.
2025-02-13 15:07:15 -08:00
Stuart Carnie
01b4fd3522 Metal: enable GPU buffer address support 2025-01-16 06:10:50 +11:00
Stuart Carnie
9fc39ae321 Metal: Use retained references; shared pixel format code
Most important is a fix for an occasional crash due to a use-after-free
bug.

A number of API availability declarations were updated to include tvOS.

The code is now simplified and generic for all platforms, which makes
way for future tvOS support.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-01-12 07:11:22 +11:00
Stuart Carnie
11dc4f2e5e Metal: Add MetalFX upscaling support
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-06 06:03:18 -07:00
Stuart Carnie
952cd796ff Metal: Support Apple4 GPUs (2017 era iOS devices)
Closes #99682
2024-12-18 09:14:38 -07:00
Stuart Carnie
2d0165574d Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00