From cacdba45553a0e39e0213cacd02fbc158e986701 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 1 Aug 2017 19:01:43 -0700 Subject: [PATCH] [Metaballs] Remove sampling kernel from Metal file --- Metaballs/Shaders.metal | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Metaballs/Shaders.metal b/Metaballs/Shaders.metal index f914070..47b0bbb 100644 --- a/Metaballs/Shaders.metal +++ b/Metaballs/Shaders.metal @@ -14,13 +14,6 @@ typedef struct { float radius; } Ball; -kernel void -sampleFieldKernel(const device Ball* metaballs [[buffer(0)]], - device float* samples [[buffer(1)]], - uint2 gid [[thread_position_in_grid]]) -{ - // TODO: Compute a sample for this pixel given the field data, and write it to the out texture. -} typedef struct { float2 position;