mirror of
https://github.com/ilyakooo0/metal-metaballs.git
synced 2024-09-11 10:35:56 +03:00
Made it run
This commit is contained in:
parent
88b21444a7
commit
88193fbd39
@ -161,13 +161,13 @@
|
|||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastSwiftUpdateCheck = 0720;
|
LastSwiftUpdateCheck = 0720;
|
||||||
LastUpgradeCheck = 1010;
|
LastUpgradeCheck = 1020;
|
||||||
ORGANIZATIONNAME = "Vinicius Vendramini";
|
ORGANIZATIONNAME = "Vinicius Vendramini";
|
||||||
TargetAttributes = {
|
TargetAttributes = {
|
||||||
242686831C63B72A00D62456 = {
|
242686831C63B72A00D62456 = {
|
||||||
CreatedOnToolsVersion = 7.2;
|
CreatedOnToolsVersion = 7.2;
|
||||||
DevelopmentTeam = 8J63JZYYHZ;
|
DevelopmentTeam = 8J63JZYYHZ;
|
||||||
LastSwiftMigration = 1010;
|
LastSwiftMigration = 1020;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -176,6 +176,7 @@
|
|||||||
developmentRegion = English;
|
developmentRegion = English;
|
||||||
hasScannedForEncodings = 0;
|
hasScannedForEncodings = 0;
|
||||||
knownRegions = (
|
knownRegions = (
|
||||||
|
English,
|
||||||
en,
|
en,
|
||||||
Base,
|
Base,
|
||||||
);
|
);
|
||||||
@ -289,6 +290,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
CLANG_CXX_LIBRARY = "libc++";
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
@ -345,6 +347,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
CLANG_CXX_LIBRARY = "libc++";
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
@ -401,8 +404,7 @@
|
|||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = vinivendra.PixelImage;
|
PRODUCT_BUNDLE_IDENTIFIER = vinivendra.PixelImage;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_SWIFT3_OBJC_INFERENCE = On;
|
SWIFT_VERSION = 5.0;
|
||||||
SWIFT_VERSION = 4.2;
|
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
@ -416,8 +418,7 @@
|
|||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = vinivendra.PixelImage;
|
PRODUCT_BUNDLE_IDENTIFIER = vinivendra.PixelImage;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_SWIFT3_OBJC_INFERENCE = On;
|
SWIFT_VERSION = 5.0;
|
||||||
SWIFT_VERSION = 4.2;
|
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
@ -45,6 +45,7 @@ import ChameleonFramework
|
|||||||
width: width,
|
width: width,
|
||||||
height: height,
|
height: height,
|
||||||
mipmapped: false)
|
mipmapped: false)
|
||||||
|
textureDescriptor.usage = .shaderWrite
|
||||||
|
|
||||||
let texture1 =
|
let texture1 =
|
||||||
context.device.makeTexture(descriptor: textureDescriptor)
|
context.device.makeTexture(descriptor: textureDescriptor)
|
||||||
@ -62,9 +63,7 @@ import ChameleonFramework
|
|||||||
|
|
||||||
state = .ending
|
state = .ending
|
||||||
|
|
||||||
let userInteractiveQueue =
|
DispatchQueue.main.async { () -> Void in
|
||||||
DispatchQueue.global(qos: DispatchQoS.QoSClass.userInteractive)
|
|
||||||
userInteractiveQueue.async { () -> Void in
|
|
||||||
let computeContext = self.activeComputeContext
|
let computeContext = self.activeComputeContext
|
||||||
swap(&self.activeComputeContext, &self.idleComputeContext)
|
swap(&self.activeComputeContext, &self.idleComputeContext)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user