Created
September 26, 2021 18:05
-
-
Save MasDennis/98560732d315a1472d7148797a7ab20a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let device = MTLCreateSystemDefaultDevice() | |
let library = device.makeDefaultLibrary() | |
let postProcessingKernel = library.makeFunction(name: "inverseColorKernel") | |
let pipelineState = try? device.makeComputePipelineState(function: postProcessingKernel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment