Pinned Loading
-
metal_compute.swift
metal_compute.swift 1///
2/// This is a very simple command line application to work out how
3/// to just run a compute program on the Metal GPU. It's not safe,
4/// and will crash without warning if anything goes wrong, but I
5/// was just trying to get the bare minimum thing working.
-
metal_image.swift
metal_image.swift 1///
2/// This is a 'single' function way to get a UIImage from a Metal shader
3/// You still need to set up an MTLibrary in your app, but you should be
4/// able to fairly readily drop this into a standard XCode app and as long
5/// as you have the vertex and fragment shaders compiled into the library
-
simple return for a postcode test
simple return for a postcode test 1return "some string";
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.