diff --git a/tests/ui/arch/mesh_shader_output_lines.rs b/tests/ui/arch/mesh_shader_output_lines.rs index f8dfa1ba68..e2e83694c1 100644 --- a/tests/ui/arch/mesh_shader_output_lines.rs +++ b/tests/ui/arch/mesh_shader_output_lines.rs @@ -24,4 +24,4 @@ pub fn main( positions[1] = Vec4::new(0.5, 0.5, 0.0, 1.0); indices[0] = UVec2::new(0, 1); -} \ No newline at end of file +} diff --git a/tests/ui/arch/mesh_shader_output_points.rs b/tests/ui/arch/mesh_shader_output_points.rs index 8d6befd7dd..1cc7662ca9 100644 --- a/tests/ui/arch/mesh_shader_output_points.rs +++ b/tests/ui/arch/mesh_shader_output_points.rs @@ -23,4 +23,4 @@ pub fn main( positions[0] = Vec4::new(-0.5, 0.5, 0.0, 1.0); indices[0] = 0; -} \ No newline at end of file +} diff --git a/tests/ui/arch/mesh_shader_output_triangles.rs b/tests/ui/arch/mesh_shader_output_triangles.rs index 9a80575777..289f1faf62 100644 --- a/tests/ui/arch/mesh_shader_output_triangles.rs +++ b/tests/ui/arch/mesh_shader_output_triangles.rs @@ -25,4 +25,4 @@ pub fn main( positions[2] = Vec4::new(0.0, -0.5, 0.0, 1.0); indices[0] = UVec3::new(0, 1, 2); -} \ No newline at end of file +} diff --git a/tests/ui/arch/mesh_shader_payload.rs b/tests/ui/arch/mesh_shader_payload.rs index 7aaaf03fa1..3fdf11f683 100644 --- a/tests/ui/arch/mesh_shader_payload.rs +++ b/tests/ui/arch/mesh_shader_payload.rs @@ -9,7 +9,7 @@ use spirv_std::spirv; pub struct Payload { pub first: f32, pub second: f32, - pub third: f32 + pub third: f32, } #[spirv(mesh_ext( @@ -21,7 +21,7 @@ pub struct Payload { pub fn main( #[spirv(position)] positions: &mut [Vec4; 3], #[spirv(primitive_triangle_indices_ext)] indices: &mut [UVec3; 1], - #[spirv(task_payload_workgroup_ext)] payload: &Payload + #[spirv(task_payload_workgroup_ext)] payload: &Payload, ) { unsafe { set_mesh_outputs_ext(3, 1); @@ -32,4 +32,4 @@ pub fn main( positions[2] = payload.third * Vec4::new(0.0, -0.5, 0.0, 1.0); indices[0] = UVec3::new(0, 1, 2); -} \ No newline at end of file +} diff --git a/tests/ui/arch/task_shader.rs b/tests/ui/arch/task_shader.rs index cd3d9dfaf7..ea23516869 100644 --- a/tests/ui/arch/task_shader.rs +++ b/tests/ui/arch/task_shader.rs @@ -2,12 +2,12 @@ // only-vulkan1.2 // compile-flags: -Ctarget-feature=+MeshShadingEXT,+ext:SPV_EXT_mesh_shader -use spirv_std::spirv; use spirv_std::arch::emit_mesh_tasks_ext; +use spirv_std::spirv; #[spirv(task_ext(threads(1)))] pub fn main() { unsafe { emit_mesh_tasks_ext(1, 2, 3); } -} \ No newline at end of file +} diff --git a/tests/ui/arch/task_shader_payload.rs b/tests/ui/arch/task_shader_payload.rs index 1652677a2b..64fe37d314 100644 --- a/tests/ui/arch/task_shader_payload.rs +++ b/tests/ui/arch/task_shader_payload.rs @@ -2,12 +2,12 @@ // only-vulkan1.2 // compile-flags: -Ctarget-feature=+MeshShadingEXT,+ext:SPV_EXT_mesh_shader -use spirv_std::spirv; use spirv_std::arch::emit_mesh_tasks_ext; +use spirv_std::spirv; pub struct Payload { pub first: u32, - pub second: i32 + pub second: i32, } #[spirv(task_ext(threads(1)))] @@ -18,4 +18,4 @@ pub fn main(#[spirv(task_payload_workgroup_ext)] payload: &mut Payload) { unsafe { emit_mesh_tasks_ext(3, 4, 5); } -} \ No newline at end of file +}