Minor - Add Assets And Support Dual Screen

This commit is contained in:
2026-02-03 16:15:50 +01:00
parent 76132c2cbe
commit 7a3d9e54c4
1039 changed files with 149985 additions and 21327 deletions

View File

@@ -0,0 +1,22 @@
#ifndef UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED
#define UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED
#if (!defined(UNITY_COMPILER_DXC) && (defined(UNITY_PLATFORM_OSX) || defined(UNITY_PLATFORM_IOS))) || defined(SHADER_API_PS5)
#if defined(SHADER_API_PS5) || defined(SHADER_API_METAL)
#define SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER 1
// On Metal Foveated Rendering is currently not supported with DXC
#pragma warning (disable : 3568) // unknown pragma ignored
#pragma never_use_dxc metal
#pragma dynamic_branch _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER
#pragma warning (default : 3568) // restore unknown pragma ignored
#endif
#endif
#endif // UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED