diff --git a/test-data/function.wgsl b/test-data/function.wgsl deleted file mode 100644 index 6e92dd5f43..0000000000 --- a/test-data/function.wgsl +++ /dev/null @@ -1,9 +0,0 @@ -fn test_function(test: f32) -> f32 { - return test; -} - -[[stage(vertex)]] -fn main() -> void { - var foo: f32 = distance(0.0, 1.0); - var test: f32 = test_function(1.0); -} diff --git a/test-data/quad.param.ron b/test-data/quad.param.ron deleted file mode 100644 index 25747c1694..0000000000 --- a/test-data/quad.param.ron +++ /dev/null @@ -1,7 +0,0 @@ -( - spv_capabilities: [ Shader ], - mtl_bindings: { - (stage: Fragment, group: 0, binding: 0): (texture: Some(0)), - (stage: Fragment, group: 0, binding: 1): (sampler: Some(0)), - } -) diff --git a/test-data/quad.wgsl b/test-data/quad.wgsl deleted file mode 100644 index 16cbd2698a..0000000000 --- a/test-data/quad.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -# vertex -const c_scale: f32 = 1.2; -[[location(0)]] var a_pos : vec2; -[[location(1)]] var a_uv : vec2; -[[location(0)]] var v_uv : vec2; -[[builtin(position)]] var o_position : vec4; - -[[stage(vertex)]] -fn main() -> void { - v_uv = a_uv; - o_position = vec4(c_scale * a_pos, 0.0, 1.0); - return; -} - -# fragment -[[location(0)]] var v_uv : vec2; -[[group(0), binding(0)]] var u_texture : texture_sampled_2d; -[[group(0), binding(1)]] var u_sampler : sampler; -[[location(0)]] var o_color : vec4; - -[[stage(fragment)]] -fn main() -> void { - o_color = textureSample(u_texture, u_sampler, v_uv); - return; -} diff --git a/test-data/simple.param.ron b/test-data/simple.param.ron deleted file mode 100644 index 55250e1e77..0000000000 --- a/test-data/simple.param.ron +++ /dev/null @@ -1,4 +0,0 @@ -( - spv_capabilities: [ Shader ], - mtl_bindings: { } -) diff --git a/test-data/simple.wgsl b/test-data/simple.wgsl deleted file mode 100644 index 21bb517e34..0000000000 --- a/test-data/simple.wgsl +++ /dev/null @@ -1,13 +0,0 @@ -# vertex -[[builtin(position)]] var o_position : vec4; - -[[stage(vertex)]] -fn main() -> void { - o_position = vec4(1.0, 1.0, 1.0, 1.0); - - if (1 == 1) { - var a: f32 = 1.0; - } - - return; -}