Skip to content

Instantly share code, notes, and snippets.

Jay Kint icosahedron

Block or report user

Report or block icosahedron

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
icosahedron / Shaders.metal
Last active Oct 20, 2019
Metal Compute Shader from Command Line
View Shaders.metal
//-*- mode: c++ -*-
// build:
// See
#include <metal_stdlib>
kernel void square(const device float* input [[buffer(0)]],
device float* output [[buffer(1)]],
metal::uint id [[thread_position_in_grid]]) {
output[id] = input[id] * input[id];

Keybase proof

I hereby claim:

  • I am icosahedron on github.
  • I am icosahedron ( on keybase.
  • I have a public key whose fingerprint is 12B1 8EE4 C935 EEDC B2E7 4E98 540B F860 0C09 4E3C

To claim this, I am signing this object:

You can’t perform that action at this time.