Merge remote-tracking branch 'origin/1.9' into 1.9
This commit is contained in:
@@ -535,6 +535,9 @@ bool GlobalSurfaceAtlasPass::Init()
|
|||||||
// Check platform support
|
// Check platform support
|
||||||
const auto device = GPUDevice::Instance;
|
const auto device = GPUDevice::Instance;
|
||||||
_supported = device->GetFeatureLevel() >= FeatureLevel::SM5 && device->Limits.HasCompute && device->Limits.HasTypedUAVLoad;
|
_supported = device->GetFeatureLevel() >= FeatureLevel::SM5 && device->Limits.HasCompute && device->Limits.HasTypedUAVLoad;
|
||||||
|
#if PLATFORM_APPLE_FAMILY
|
||||||
|
_supported = false; // Vulkan over Metal has some issues in complex scenes with DDGI
|
||||||
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -179,8 +179,7 @@ namespace Flax.Build
|
|||||||
using (new ProfileEventScope("GenerateProjects"))
|
using (new ProfileEventScope("GenerateProjects"))
|
||||||
{
|
{
|
||||||
// Pick the project format
|
// Pick the project format
|
||||||
HashSet<ProjectFormat> projectFormats = new HashSet<ProjectFormat>();
|
var projectFormats = new HashSet<ProjectFormat>();
|
||||||
|
|
||||||
if (Configuration.ProjectFormatVS2022)
|
if (Configuration.ProjectFormatVS2022)
|
||||||
projectFormats.Add(ProjectFormat.VisualStudio2022);
|
projectFormats.Add(ProjectFormat.VisualStudio2022);
|
||||||
if (Configuration.ProjectFormatVS2019)
|
if (Configuration.ProjectFormatVS2019)
|
||||||
@@ -195,7 +194,6 @@ namespace Flax.Build
|
|||||||
projectFormats.Add(ProjectFormat.VisualStudio2022);
|
projectFormats.Add(ProjectFormat.VisualStudio2022);
|
||||||
if (!string.IsNullOrEmpty(Configuration.ProjectFormatCustom))
|
if (!string.IsNullOrEmpty(Configuration.ProjectFormatCustom))
|
||||||
projectFormats.Add(ProjectFormat.Custom);
|
projectFormats.Add(ProjectFormat.Custom);
|
||||||
|
|
||||||
if (projectFormats.Count == 0)
|
if (projectFormats.Count == 0)
|
||||||
projectFormats.Add(Platform.BuildPlatform.DefaultProjectFormat);
|
projectFormats.Add(Platform.BuildPlatform.DefaultProjectFormat);
|
||||||
|
|
||||||
|
|||||||
@@ -553,6 +553,7 @@ namespace Flax.Build.Projects.VisualStudioCode
|
|||||||
{
|
{
|
||||||
var toolchain = platform.GetToolchain(architecture);
|
var toolchain = platform.GetToolchain(architecture);
|
||||||
var targetBuildOptions = Builder.GetBuildOptions(target, platform, toolchain, architecture, configuration, Globals.Root);
|
var targetBuildOptions = Builder.GetBuildOptions(target, platform, toolchain, architecture, configuration, Globals.Root);
|
||||||
|
targetBuildOptions.Flags |= NativeCpp.BuildFlags.GenerateProject;
|
||||||
var modules = Builder.CollectModules(rules, platform, target, targetBuildOptions, toolchain, architecture, configuration);
|
var modules = Builder.CollectModules(rules, platform, target, targetBuildOptions, toolchain, architecture, configuration);
|
||||||
foreach (var module in modules)
|
foreach (var module in modules)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user