From 30f41c02aec763d32e62351452da9ef582bc3472 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 6 Mar 2026 13:30:59 -0800 Subject: Move contrib libraries to contrib repo --- contrib/SDL-3.2.8/test/testgpu/cube.metal | 38 ------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 contrib/SDL-3.2.8/test/testgpu/cube.metal (limited to 'contrib/SDL-3.2.8/test/testgpu/cube.metal') diff --git a/contrib/SDL-3.2.8/test/testgpu/cube.metal b/contrib/SDL-3.2.8/test/testgpu/cube.metal deleted file mode 100644 index eaf7175..0000000 --- a/contrib/SDL-3.2.8/test/testgpu/cube.metal +++ /dev/null @@ -1,38 +0,0 @@ -#include -using namespace metal; - -struct VSOutput -{ - float4 color [[user(locn0)]]; - float4 position [[position]]; -}; - -#ifdef VERTEX - -struct UBO -{ - float4x4 modelViewProj; -}; - -struct VSInput -{ - float3 position [[attribute(0)]]; - float3 color [[attribute(1)]]; -}; - -vertex VSOutput vs_main(VSInput input [[stage_in]], constant UBO& ubo [[buffer(0)]]) -{ - VSOutput output; - output.color = float4(input.color, 1.0); - output.position = ubo.modelViewProj * float4(input.position, 1.0); - return output; -} - -#else - -fragment float4 fs_main(VSOutput input [[stage_in]]) -{ - return input.color; -} - -#endif \ No newline at end of file -- cgit v1.2.3