From 34736a675aa14daec0d9be81bb8280584ac00bc5 Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Wed, 8 Nov 2023 13:49:49 +0100 Subject: [PATCH] Remove license notices from source files (#2401) * Remove license notices from source files * Add license notices for rangemap --- examples/async-update/main.rs | 9 --------- examples/basic-compute-shader/main.rs | 9 --------- examples/buffer-allocator/main.rs | 9 --------- examples/clear-attachments/main.rs | 9 --------- examples/debug/main.rs | 9 --------- examples/deferred/frame/ambient_lighting_system.rs | 9 --------- .../deferred/frame/directional_lighting_system.rs | 9 --------- examples/deferred/frame/mod.rs | 9 --------- examples/deferred/frame/point_lighting_system.rs | 9 --------- examples/deferred/frame/system.rs | 9 --------- examples/deferred/main.rs | 9 --------- examples/deferred/triangle_draw_system.rs | 9 --------- examples/dynamic-buffers/main.rs | 9 --------- examples/dynamic-local-size/main.rs | 9 --------- examples/image-self-copy-blit/main.rs | 9 --------- examples/image/main.rs | 9 --------- examples/immutable-sampler/main.rs | 9 --------- examples/indirect/main.rs | 9 --------- examples/instancing/main.rs | 9 --------- examples/interactive-fractal/app.rs | 9 --------- .../fractal_compute_pipeline.rs | 9 --------- examples/interactive-fractal/main.rs | 9 --------- .../interactive-fractal/pixels_draw_pipeline.rs | 9 --------- examples/interactive-fractal/place_over_frame.rs | 9 --------- examples/msaa-renderpass/main.rs | 9 --------- examples/multi-window-game-of-life/app.rs | 9 --------- examples/multi-window-game-of-life/game_of_life.rs | 9 --------- examples/multi-window-game-of-life/main.rs | 9 --------- examples/multi-window-game-of-life/pixels_draw.rs | 9 --------- examples/multi-window-game-of-life/render_pass.rs | 9 --------- examples/multi-window/main.rs | 9 --------- examples/multiview/main.rs | 9 --------- examples/occlusion-query/main.rs | 9 --------- examples/pipeline-caching/main.rs | 9 --------- examples/push-constants/main.rs | 9 --------- examples/push-descriptors/main.rs | 9 --------- examples/runtime-array/main.rs | 9 --------- examples/runtime-shader/main.rs | 9 --------- examples/self-copy-buffer/main.rs | 9 --------- examples/shader-include/main.rs | 9 --------- examples/shader-types-derive/main.rs | 9 --------- examples/shader-types-sharing/main.rs | 9 --------- examples/simple-particles/main.rs | 9 --------- examples/specialization-constants/main.rs | 9 --------- examples/teapot/main.rs | 9 --------- examples/teapot/model.rs | 9 --------- examples/tessellation/main.rs | 9 --------- examples/texture-array/main.rs | 9 --------- examples/triangle-v1_3/main.rs | 9 --------- examples/triangle/main.rs | 9 --------- vulkano-macros/src/derive_buffer_contents.rs | 9 --------- vulkano-macros/src/derive_vertex.rs | 9 --------- vulkano-macros/src/lib.rs | 9 --------- vulkano-shaders/src/codegen.rs | 9 --------- vulkano-shaders/src/structs.rs | 9 --------- vulkano-util/src/context.rs | 9 --------- vulkano-util/src/lib.rs | 9 --------- vulkano-util/src/renderer.rs | 9 --------- vulkano-util/src/window.rs | 9 --------- vulkano/autogen/errors.rs | 9 --------- vulkano/autogen/extensions.rs | 9 --------- vulkano/autogen/features.rs | 9 --------- vulkano/autogen/fns.rs | 9 --------- vulkano/autogen/formats.rs | 9 --------- vulkano/autogen/mod.rs | 9 --------- vulkano/autogen/properties.rs | 9 --------- vulkano/autogen/spirv_grammar.rs | 9 --------- vulkano/autogen/spirv_parse.rs | 9 --------- vulkano/autogen/spirv_reqs.rs | 9 --------- vulkano/autogen/version.rs | 9 --------- vulkano/build.rs | 9 --------- vulkano/src/acceleration_structure.rs | 9 --------- vulkano/src/buffer/allocator.rs | 9 --------- vulkano/src/buffer/mod.rs | 9 --------- vulkano/src/buffer/subbuffer.rs | 9 --------- vulkano/src/buffer/sys.rs | 9 --------- vulkano/src/buffer/usage.rs | 9 --------- vulkano/src/buffer/view.rs | 9 --------- vulkano/src/cache.rs | 9 --------- vulkano/src/command_buffer/allocator.rs | 9 --------- vulkano/src/command_buffer/auto/builder.rs | 9 --------- vulkano/src/command_buffer/auto/mod.rs | 9 --------- .../commands/acceleration_structure.rs | 9 --------- vulkano/src/command_buffer/commands/bind_push.rs | 9 --------- vulkano/src/command_buffer/commands/clear.rs | 9 --------- vulkano/src/command_buffer/commands/copy.rs | 9 --------- vulkano/src/command_buffer/commands/debug.rs | 9 --------- .../src/command_buffer/commands/dynamic_state.rs | 9 --------- vulkano/src/command_buffer/commands/mod.rs | 9 --------- vulkano/src/command_buffer/commands/pipeline.rs | 9 --------- vulkano/src/command_buffer/commands/query.rs | 9 --------- vulkano/src/command_buffer/commands/render_pass.rs | 9 --------- vulkano/src/command_buffer/commands/secondary.rs | 9 --------- vulkano/src/command_buffer/commands/sync.rs | 9 --------- vulkano/src/command_buffer/mod.rs | 9 --------- vulkano/src/command_buffer/pool.rs | 9 --------- vulkano/src/command_buffer/sys.rs | 9 --------- vulkano/src/command_buffer/traits.rs | 9 --------- vulkano/src/deferred.rs | 9 --------- vulkano/src/descriptor_set/allocator.rs | 9 --------- vulkano/src/descriptor_set/collection.rs | 9 --------- vulkano/src/descriptor_set/layout.rs | 9 --------- vulkano/src/descriptor_set/mod.rs | 9 --------- vulkano/src/descriptor_set/persistent.rs | 9 --------- vulkano/src/descriptor_set/pool.rs | 9 --------- vulkano/src/descriptor_set/sys.rs | 9 --------- vulkano/src/descriptor_set/update.rs | 9 --------- vulkano/src/device/mod.rs | 9 --------- vulkano/src/device/physical.rs | 9 --------- vulkano/src/device/private_data.rs | 9 --------- vulkano/src/device/queue.rs | 9 --------- vulkano/src/display.rs | 9 --------- vulkano/src/extensions.rs | 9 --------- vulkano/src/fns.rs | 9 --------- vulkano/src/format.rs | 9 --------- vulkano/src/image/aspect.rs | 9 --------- vulkano/src/image/layout.rs | 9 --------- vulkano/src/image/mod.rs | 9 --------- vulkano/src/image/sampler/mod.rs | 9 --------- vulkano/src/image/sampler/ycbcr.rs | 9 --------- vulkano/src/image/sys.rs | 9 --------- vulkano/src/image/usage.rs | 9 --------- vulkano/src/image/view.rs | 9 --------- vulkano/src/instance/debug.rs | 9 --------- vulkano/src/instance/layers.rs | 9 --------- vulkano/src/instance/mod.rs | 9 --------- vulkano/src/lib.rs | 9 --------- vulkano/src/library.rs | 9 --------- vulkano/src/macros.rs | 9 --------- vulkano/src/memory/allocator/layout.rs | 9 --------- vulkano/src/memory/allocator/mod.rs | 9 --------- vulkano/src/memory/allocator/suballocator.rs | 9 --------- vulkano/src/memory/device_memory.rs | 9 --------- vulkano/src/memory/mod.rs | 9 --------- vulkano/src/padded.rs | 9 --------- vulkano/src/pipeline/cache.rs | 9 --------- vulkano/src/pipeline/compute.rs | 9 --------- vulkano/src/pipeline/graphics/color_blend.rs | 9 --------- vulkano/src/pipeline/graphics/depth_stencil.rs | 9 --------- vulkano/src/pipeline/graphics/discard_rectangle.rs | 9 --------- vulkano/src/pipeline/graphics/input_assembly.rs | 9 --------- vulkano/src/pipeline/graphics/mod.rs | 9 --------- vulkano/src/pipeline/graphics/multisample.rs | 9 --------- vulkano/src/pipeline/graphics/rasterization.rs | 9 --------- vulkano/src/pipeline/graphics/subpass.rs | 9 --------- vulkano/src/pipeline/graphics/tessellation.rs | 9 --------- vulkano/src/pipeline/graphics/tests.rs | 9 --------- .../src/pipeline/graphics/vertex_input/buffers.rs | 9 --------- .../pipeline/graphics/vertex_input/collection.rs | 9 --------- .../pipeline/graphics/vertex_input/definition.rs | 9 --------- .../pipeline/graphics/vertex_input/impl_vertex.rs | 9 --------- vulkano/src/pipeline/graphics/vertex_input/mod.rs | 9 --------- .../src/pipeline/graphics/vertex_input/vertex.rs | 9 --------- vulkano/src/pipeline/graphics/viewport.rs | 9 --------- vulkano/src/pipeline/layout.rs | 9 --------- vulkano/src/pipeline/mod.rs | 9 --------- vulkano/src/query.rs | 9 --------- vulkano/src/range_map.rs | 14 ++++++++++++++ vulkano/src/range_set.rs | 9 --------- vulkano/src/render_pass/create.rs | 9 --------- vulkano/src/render_pass/framebuffer.rs | 9 --------- vulkano/src/render_pass/macros.rs | 9 --------- vulkano/src/render_pass/mod.rs | 9 --------- vulkano/src/shader/mod.rs | 9 --------- vulkano/src/shader/reflect.rs | 9 --------- vulkano/src/shader/spirv/mod.rs | 9 --------- vulkano/src/shader/spirv/specialization.rs | 9 --------- vulkano/src/swapchain/acquire_present.rs | 9 --------- vulkano/src/swapchain/mod.rs | 9 --------- vulkano/src/swapchain/surface.rs | 9 --------- vulkano/src/sync/event.rs | 9 --------- vulkano/src/sync/fence.rs | 9 --------- vulkano/src/sync/future/fence_signal.rs | 9 --------- vulkano/src/sync/future/join.rs | 9 --------- vulkano/src/sync/future/mod.rs | 9 --------- vulkano/src/sync/future/now.rs | 9 --------- vulkano/src/sync/future/semaphore_signal.rs | 9 --------- vulkano/src/sync/mod.rs | 9 --------- vulkano/src/sync/pipeline.rs | 9 --------- vulkano/src/sync/semaphore.rs | 9 --------- vulkano/src/tests.rs | 9 --------- vulkano/src/version.rs | 9 --------- 182 files changed, 14 insertions(+), 1629 deletions(-) diff --git a/examples/async-update/main.rs b/examples/async-update/main.rs index 5fa098de..2d826875 100644 --- a/examples/async-update/main.rs +++ b/examples/async-update/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2023 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example showcases how you can most effectively update a resource asynchronously, such that // your rendering or any other tasks can use the resource without any latency at the same time as // it's being updated. diff --git a/examples/basic-compute-shader/main.rs b/examples/basic-compute-shader/main.rs index 873687f0..1b4c19e0 100644 --- a/examples/basic-compute-shader/main.rs +++ b/examples/basic-compute-shader/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to use the compute capabilities of Vulkan. // // While graphics cards have traditionally been used for graphical operations, over time they have diff --git a/examples/buffer-allocator/main.rs b/examples/buffer-allocator/main.rs index 371f0c6c..39abf9f2 100644 --- a/examples/buffer-allocator/main.rs +++ b/examples/buffer-allocator/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2020 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Modified triangle example to show `SubbufferAllocator`. use std::{ diff --git a/examples/clear-attachments/main.rs b/examples/clear-attachments/main.rs index 1f92bf26..199a27d1 100644 --- a/examples/clear-attachments/main.rs +++ b/examples/clear-attachments/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::{error::Error, sync::Arc}; use vulkano::{ command_buffer::{ diff --git a/examples/debug/main.rs b/examples/debug/main.rs index dadf5152..ca5e5490 100644 --- a/examples/debug/main.rs +++ b/examples/debug/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use vulkano::{ device::{ physical::PhysicalDeviceType, Device, DeviceCreateInfo, DeviceExtensions, QueueCreateInfo, diff --git a/examples/deferred/frame/ambient_lighting_system.rs b/examples/deferred/frame/ambient_lighting_system.rs index 443a4547..307945da 100644 --- a/examples/deferred/frame/ambient_lighting_system.rs +++ b/examples/deferred/frame/ambient_lighting_system.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::sync::Arc; use vulkano::{ buffer::{Buffer, BufferCreateInfo, BufferUsage, Subbuffer}, diff --git a/examples/deferred/frame/directional_lighting_system.rs b/examples/deferred/frame/directional_lighting_system.rs index 67b1fa6d..658ebd51 100644 --- a/examples/deferred/frame/directional_lighting_system.rs +++ b/examples/deferred/frame/directional_lighting_system.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use cgmath::Vector3; use std::sync::Arc; use vulkano::{ diff --git a/examples/deferred/frame/mod.rs b/examples/deferred/frame/mod.rs index 35f5317f..4e69dc36 100644 --- a/examples/deferred/frame/mod.rs +++ b/examples/deferred/frame/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This module exposes what is needed in order to draw with a deferred rendering system. // // The main code is in the `system` module, while the other modules implement the different kinds diff --git a/examples/deferred/frame/point_lighting_system.rs b/examples/deferred/frame/point_lighting_system.rs index b8e89fdb..8602d713 100644 --- a/examples/deferred/frame/point_lighting_system.rs +++ b/examples/deferred/frame/point_lighting_system.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use cgmath::{Matrix4, Vector3}; use std::sync::Arc; use vulkano::{ diff --git a/examples/deferred/frame/system.rs b/examples/deferred/frame/system.rs index 7e36c04a..9b0ec5a6 100644 --- a/examples/deferred/frame/system.rs +++ b/examples/deferred/frame/system.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ ambient_lighting_system::AmbientLightingSystem, directional_lighting_system::DirectionalLightingSystem, diff --git a/examples/deferred/main.rs b/examples/deferred/main.rs index 48066a97..576bd39d 100644 --- a/examples/deferred/main.rs +++ b/examples/deferred/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Welcome to the deferred lighting example! // // The idea behind deferred lighting is to render the scene in two steps. diff --git a/examples/deferred/triangle_draw_system.rs b/examples/deferred/triangle_draw_system.rs index 083c68f2..601bdbbb 100644 --- a/examples/deferred/triangle_draw_system.rs +++ b/examples/deferred/triangle_draw_system.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::sync::Arc; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage, Subbuffer}, diff --git a/examples/dynamic-buffers/main.rs b/examples/dynamic-buffers/main.rs index 32338ca5..6b98c38a 100644 --- a/examples/dynamic-buffers/main.rs +++ b/examples/dynamic-buffers/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to use dynamic uniform buffers. // // Dynamic uniform and storage buffers store buffer data for different calls in one large buffer. diff --git a/examples/dynamic-local-size/main.rs b/examples/dynamic-local-size/main.rs index 8741fe7b..77ee3b52 100644 --- a/examples/dynamic-local-size/main.rs +++ b/examples/dynamic-local-size/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2020 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to define the compute shader local size layout at runtime through // specialization constants while considering the physical device properties. // diff --git a/examples/image-self-copy-blit/main.rs b/examples/image-self-copy-blit/main.rs index eac03953..072e3653 100644 --- a/examples/image-self-copy-blit/main.rs +++ b/examples/image-self-copy-blit/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::{error::Error, sync::Arc}; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage}, diff --git a/examples/image/main.rs b/examples/image/main.rs index 2fbe83c5..e2660396 100644 --- a/examples/image/main.rs +++ b/examples/image/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::{error::Error, sync::Arc}; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage}, diff --git a/examples/immutable-sampler/main.rs b/examples/immutable-sampler/main.rs index fd086473..54d7c977 100644 --- a/examples/immutable-sampler/main.rs +++ b/examples/immutable-sampler/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // An immutable sampler is a sampler that is integrated into the descriptor set layout (and thus // pipeline layout), instead of being written to an individual descriptor set. Consequently, all // descriptor sets with this layout will share the same sampler. diff --git a/examples/indirect/main.rs b/examples/indirect/main.rs index d528c01c..5f32403a 100644 --- a/examples/indirect/main.rs +++ b/examples/indirect/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2019 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Indirect draw example // // Indirect draw calls allow us to issue a draw without needing to know the number of vertices diff --git a/examples/instancing/main.rs b/examples/instancing/main.rs index 38867619..264a2890 100644 --- a/examples/instancing/main.rs +++ b/examples/instancing/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Welcome to the instancing example! // // This is a simple, modified version of the `triangle.rs` example that demonstrates how we can use diff --git a/examples/interactive-fractal/app.rs b/examples/interactive-fractal/app.rs index 2e9b12ea..3a04d5c6 100644 --- a/examples/interactive-fractal/app.rs +++ b/examples/interactive-fractal/app.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ fractal_compute_pipeline::FractalComputePipeline, place_over_frame::RenderPassPlaceOverFrame, }; diff --git a/examples/interactive-fractal/fractal_compute_pipeline.rs b/examples/interactive-fractal/fractal_compute_pipeline.rs index bc963efc..42555513 100644 --- a/examples/interactive-fractal/fractal_compute_pipeline.rs +++ b/examples/interactive-fractal/fractal_compute_pipeline.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use cgmath::Vector2; use rand::Rng; use std::sync::Arc; diff --git a/examples/interactive-fractal/main.rs b/examples/interactive-fractal/main.rs index cf49f7b0..38a936d0 100644 --- a/examples/interactive-fractal/main.rs +++ b/examples/interactive-fractal/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This is an example demonstrating an application with some more non-trivial functionality. // It should get you more up to speed with how you can use Vulkano. // diff --git a/examples/interactive-fractal/pixels_draw_pipeline.rs b/examples/interactive-fractal/pixels_draw_pipeline.rs index 139c0329..2ee8728b 100644 --- a/examples/interactive-fractal/pixels_draw_pipeline.rs +++ b/examples/interactive-fractal/pixels_draw_pipeline.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::sync::Arc; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage, Subbuffer}, diff --git a/examples/interactive-fractal/place_over_frame.rs b/examples/interactive-fractal/place_over_frame.rs index d232820a..25e9ab63 100644 --- a/examples/interactive-fractal/place_over_frame.rs +++ b/examples/interactive-fractal/place_over_frame.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::pixels_draw_pipeline::PixelsDrawPipeline; use std::sync::Arc; use vulkano::{ diff --git a/examples/msaa-renderpass/main.rs b/examples/msaa-renderpass/main.rs index 82792110..a71bdaa9 100644 --- a/examples/msaa-renderpass/main.rs +++ b/examples/msaa-renderpass/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Multisampling anti-aliasing example, using a render pass resolve. // // # Introduction to multisampling diff --git a/examples/multi-window-game-of-life/app.rs b/examples/multi-window-game-of-life/app.rs index 38f3a2c1..44e4a9d0 100644 --- a/examples/multi-window-game-of-life/app.rs +++ b/examples/multi-window-game-of-life/app.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ game_of_life::GameOfLifeComputePipeline, render_pass::RenderPassPlaceOverFrame, SCALING, WINDOW2_HEIGHT, WINDOW2_WIDTH, WINDOW_HEIGHT, WINDOW_WIDTH, diff --git a/examples/multi-window-game-of-life/game_of_life.rs b/examples/multi-window-game-of-life/game_of_life.rs index 7092f904..d44625e1 100644 --- a/examples/multi-window-game-of-life/game_of_life.rs +++ b/examples/multi-window-game-of-life/game_of_life.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::app::App; use cgmath::Vector2; use rand::Rng; diff --git a/examples/multi-window-game-of-life/main.rs b/examples/multi-window-game-of-life/main.rs index f43624b5..b1881eed 100644 --- a/examples/multi-window-game-of-life/main.rs +++ b/examples/multi-window-game-of-life/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // A multi windowed game of life application. You could use this to learn: // // - how to handle multiple window inputs, diff --git a/examples/multi-window-game-of-life/pixels_draw.rs b/examples/multi-window-game-of-life/pixels_draw.rs index 16445c5b..2d938436 100644 --- a/examples/multi-window-game-of-life/pixels_draw.rs +++ b/examples/multi-window-game-of-life/pixels_draw.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::app::App; use std::sync::Arc; use vulkano::{ diff --git a/examples/multi-window-game-of-life/render_pass.rs b/examples/multi-window-game-of-life/render_pass.rs index 5c527b26..892923f4 100644 --- a/examples/multi-window-game-of-life/render_pass.rs +++ b/examples/multi-window-game-of-life/render_pass.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{app::App, pixels_draw::PixelsDrawPipeline}; use std::sync::Arc; use vulkano::{ diff --git a/examples/multi-window/main.rs b/examples/multi-window/main.rs index 8da07b4a..ea039f9f 100644 --- a/examples/multi-window/main.rs +++ b/examples/multi-window/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Welcome to the triangle example! // // This is the only example that is entirely detailed. All the other examples avoid code diff --git a/examples/multiview/main.rs b/examples/multiview/main.rs index 6164f37a..724040a1 100644 --- a/examples/multiview/main.rs +++ b/examples/multiview/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates using the `VK_KHR_multiview` extension to render to multiple layers of // the framebuffer in one render pass. This can significantly improve performance in cases where // multiple perspectives or cameras are very similar like in virtual reality or other types of diff --git a/examples/occlusion-query/main.rs b/examples/occlusion-query/main.rs index 883523a7..d81c3894 100644 --- a/examples/occlusion-query/main.rs +++ b/examples/occlusion-query/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This is a modification of the triangle example, that demonstrates the basics of occlusion // queries. Occlusion queries allow you to query whether, and sometimes how many, pixels pass the // depth test in a range of draw calls. diff --git a/examples/pipeline-caching/main.rs b/examples/pipeline-caching/main.rs index b6b13c01..fdbb66cb 100644 --- a/examples/pipeline-caching/main.rs +++ b/examples/pipeline-caching/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to use pipeline caching. // // Using a `PipelineCache` can improve performance significantly, by checking if the requested diff --git a/examples/push-constants/main.rs b/examples/push-constants/main.rs index 789c515c..0cfb3311 100644 --- a/examples/push-constants/main.rs +++ b/examples/push-constants/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Push constants are a small bank of values written directly to the command buffer and accessible // in shaders. They allow the application to set values used in shaders without creating buffers or // modifying and binding descriptor sets for each update. As a result, they are expected to diff --git a/examples/push-descriptors/main.rs b/examples/push-descriptors/main.rs index bfbc479c..5bd2b618 100644 --- a/examples/push-descriptors/main.rs +++ b/examples/push-descriptors/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::{error::Error, sync::Arc}; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage}, diff --git a/examples/runtime-array/main.rs b/examples/runtime-array/main.rs index ae438a83..b73d94c3 100644 --- a/examples/runtime-array/main.rs +++ b/examples/runtime-array/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::{error::Error, io::Cursor, sync::Arc}; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage}, diff --git a/examples/runtime-shader/main.rs b/examples/runtime-shader/main.rs index 8a6a11b2..85360d6b 100644 --- a/examples/runtime-shader/main.rs +++ b/examples/runtime-shader/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates one way of preparing data structures and loading SPIRV shaders from // external source (file system). // diff --git a/examples/self-copy-buffer/main.rs b/examples/self-copy-buffer/main.rs index 19776e25..59517f82 100644 --- a/examples/self-copy-buffer/main.rs +++ b/examples/self-copy-buffer/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example is a copy of `basic-compute-shaders.rs`, but initalizes half of the input buffer // and then we use `copy_buffer_dimensions` to copy the first half of the input buffer to the // second half. diff --git a/examples/shader-include/main.rs b/examples/shader-include/main.rs index 6e591296..9b06b10d 100644 --- a/examples/shader-include/main.rs +++ b/examples/shader-include/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to use the standard and relative include directives within shader // source code. The boilerplate is taken from the "basic-compute-shader.rs" example, where most of // the boilerplate is explained. diff --git a/examples/shader-types-derive/main.rs b/examples/shader-types-derive/main.rs index ffc95a19..906aeeb7 100644 --- a/examples/shader-types-derive/main.rs +++ b/examples/shader-types-derive/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to put derives onto Rust structs generated from the shader types // through the `custom_derives` option of the `shader!` macro. diff --git a/examples/shader-types-sharing/main.rs b/examples/shader-types-sharing/main.rs index 33a7f4d6..777fef5f 100644 --- a/examples/shader-types-sharing/main.rs +++ b/examples/shader-types-sharing/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // This example demonstrates how to compile several shaders together using the `shader!` macro, // such that the macro doesn't generate unique shader types for each compiled shader, but generates // a common shareable set of Rust structs for the corresponding structs in the shaders. diff --git a/examples/simple-particles/main.rs b/examples/simple-particles/main.rs index 083b1053..13bcd75d 100644 --- a/examples/simple-particles/main.rs +++ b/examples/simple-particles/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // A minimal particle-sandbox to demonstrate a reasonable use-case for a device-local buffer. We // gain significant runtime performance by writing the inital vertex values to the GPU using a // staging buffer and then copying the data to a device-local buffer to be accessed solely by the diff --git a/examples/specialization-constants/main.rs b/examples/specialization-constants/main.rs index 5b087d03..8c61e070 100644 --- a/examples/specialization-constants/main.rs +++ b/examples/specialization-constants/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // TODO: Give a paragraph about what specialization are and what problems they solve. use std::sync::Arc; diff --git a/examples/teapot/main.rs b/examples/teapot/main.rs index c430a7cf..b93b26a7 100644 --- a/examples/teapot/main.rs +++ b/examples/teapot/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use self::model::{Normal, Position, INDICES, NORMALS, POSITIONS}; use cgmath::{Matrix3, Matrix4, Point3, Rad, Vector3}; use std::{error::Error, sync::Arc, time::Instant}; diff --git a/examples/teapot/model.rs b/examples/teapot/model.rs index 625f50cc..474b77c0 100644 --- a/examples/teapot/model.rs +++ b/examples/teapot/model.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use vulkano::{buffer::BufferContents, pipeline::graphics::vertex_input::Vertex}; #[derive(BufferContents, Vertex)] diff --git a/examples/tessellation/main.rs b/examples/tessellation/main.rs index 9de5d95e..8fbc6260 100644 --- a/examples/tessellation/main.rs +++ b/examples/tessellation/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Some relevant documentation: // // - Tessellation overview https://www.khronos.org/opengl/wiki/Tessellation diff --git a/examples/texture-array/main.rs b/examples/texture-array/main.rs index 8ac38356..20b87622 100644 --- a/examples/texture-array/main.rs +++ b/examples/texture-array/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::{error::Error, sync::Arc}; use vulkano::{ buffer::{Buffer, BufferContents, BufferCreateInfo, BufferUsage}, diff --git a/examples/triangle-v1_3/main.rs b/examples/triangle-v1_3/main.rs index 4e75973c..2d935d77 100644 --- a/examples/triangle-v1_3/main.rs +++ b/examples/triangle-v1_3/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Welcome to the triangle example! // // This is the only example that is entirely detailed. All the other examples avoid code diff --git a/examples/triangle/main.rs b/examples/triangle/main.rs index c005717e..77d45263 100644 --- a/examples/triangle/main.rs +++ b/examples/triangle/main.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // Welcome to the triangle example! // // This is the only example that is entirely detailed. All the other examples avoid code diff --git a/vulkano-macros/src/derive_buffer_contents.rs b/vulkano-macros/src/derive_buffer_contents.rs index 4b5a8872..15f8a751 100644 --- a/vulkano-macros/src/derive_buffer_contents.rs +++ b/vulkano-macros/src/derive_buffer_contents.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::bail; use proc_macro2::TokenStream; use quote::{quote, quote_spanned}; diff --git a/vulkano-macros/src/derive_vertex.rs b/vulkano-macros/src/derive_vertex.rs index c96408f2..faf9b569 100644 --- a/vulkano-macros/src/derive_vertex.rs +++ b/vulkano-macros/src/derive_vertex.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::bail; use proc_macro2::{Span, TokenStream}; use quote::quote; diff --git a/vulkano-macros/src/lib.rs b/vulkano-macros/src/lib.rs index a9b0507b..ebdd0985 100644 --- a/vulkano-macros/src/lib.rs +++ b/vulkano-macros/src/lib.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Macros for [`vulkano`]. //! //! [`vulkano`]: https://crates.io/crates/vulkano diff --git a/vulkano-shaders/src/codegen.rs b/vulkano-shaders/src/codegen.rs index ff4c57f7..038cc19c 100644 --- a/vulkano-shaders/src/codegen.rs +++ b/vulkano-shaders/src/codegen.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ structs::{self, TypeRegistry}, MacroInput, diff --git a/vulkano-shaders/src/structs.rs b/vulkano-shaders/src/structs.rs index 0604885d..e1319586 100644 --- a/vulkano-shaders/src/structs.rs +++ b/vulkano-shaders/src/structs.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{bail, codegen::Shader, LinAlgType, MacroInput}; use ahash::HashMap; use proc_macro2::{Span, TokenStream}; diff --git a/vulkano-util/src/context.rs b/vulkano-util/src/context.rs index a865ef23..7e99eaf7 100644 --- a/vulkano-util/src/context.rs +++ b/vulkano-util/src/context.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::sync::Arc; #[cfg(target_os = "macos")] use vulkano::instance::InstanceCreateFlags; diff --git a/vulkano-util/src/lib.rs b/vulkano-util/src/lib.rs index 8cc50974..b9c1a41d 100644 --- a/vulkano-util/src/lib.rs +++ b/vulkano-util/src/lib.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - #![allow(clippy::missing_safety_doc)] #![warn(rust_2018_idioms, rust_2021_compatibility)] diff --git a/vulkano-util/src/renderer.rs b/vulkano-util/src/renderer.rs index 3d566b60..db13f9dd 100644 --- a/vulkano-util/src/renderer.rs +++ b/vulkano-util/src/renderer.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{context::VulkanoContext, window::WindowDescriptor}; use ahash::HashMap; use std::sync::Arc; diff --git a/vulkano-util/src/window.rs b/vulkano-util/src/window.rs index 1a2556a4..f6d887e6 100644 --- a/vulkano-util/src/window.rs +++ b/vulkano-util/src/window.rs @@ -2,15 +2,6 @@ // Their licences: https://github.com/bevyengine/bevy/blob/main/LICENSE-MIT // https://github.com/bevyengine/bevy/blob/main/LICENSE-APACHE -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{context::VulkanoContext, renderer::VulkanoWindowRenderer}; use ahash::HashMap; use std::collections::hash_map::{Iter, IterMut}; diff --git a/vulkano/autogen/errors.rs b/vulkano/autogen/errors.rs index d5fe4e03..6cd8014c 100644 --- a/vulkano/autogen/errors.rs +++ b/vulkano/autogen/errors.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, VkRegistryData}; use heck::ToUpperCamelCase; use proc_macro2::{Ident, TokenStream}; diff --git a/vulkano/autogen/extensions.rs b/vulkano/autogen/extensions.rs index 8c46ac73..22f60f5d 100644 --- a/vulkano/autogen/extensions.rs +++ b/vulkano/autogen/extensions.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, IndexMap, RequiresOneOf, VkRegistryData}; use heck::ToSnakeCase; use once_cell::sync::Lazy; diff --git a/vulkano/autogen/features.rs b/vulkano/autogen/features.rs index 70a35ae2..689aa2d8 100644 --- a/vulkano/autogen/features.rs +++ b/vulkano/autogen/features.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, IndexMap, VkRegistryData}; use ahash::HashMap; use heck::ToSnakeCase; diff --git a/vulkano/autogen/fns.rs b/vulkano/autogen/fns.rs index b715bad0..b995ce0c 100644 --- a/vulkano/autogen/fns.rs +++ b/vulkano/autogen/fns.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, IndexMap, VkRegistryData}; use heck::{ToSnakeCase, ToUpperCamelCase}; use proc_macro2::{Ident, TokenStream}; diff --git a/vulkano/autogen/formats.rs b/vulkano/autogen/formats.rs index 4d419ab9..391940ab 100644 --- a/vulkano/autogen/formats.rs +++ b/vulkano/autogen/formats.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, IndexMap, RequiresOneOf, VkRegistryData}; use heck::ToSnakeCase; use once_cell::sync::Lazy; diff --git a/vulkano/autogen/mod.rs b/vulkano/autogen/mod.rs index 52aab061..3dcf7bfa 100644 --- a/vulkano/autogen/mod.rs +++ b/vulkano/autogen/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use self::spirv_grammar::SpirvGrammar; use ahash::HashMap; use once_cell::sync::Lazy; diff --git a/vulkano/autogen/properties.rs b/vulkano/autogen/properties.rs index b3e58bc9..4dae3b29 100644 --- a/vulkano/autogen/properties.rs +++ b/vulkano/autogen/properties.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, IndexMap, VkRegistryData}; use ahash::HashMap; use heck::ToSnakeCase; diff --git a/vulkano/autogen/spirv_grammar.rs b/vulkano/autogen/spirv_grammar.rs index 3087672c..a7847efc 100644 --- a/vulkano/autogen/spirv_grammar.rs +++ b/vulkano/autogen/spirv_grammar.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use serde::Deserialize; use serde_json::Value; use std::{ diff --git a/vulkano/autogen/spirv_parse.rs b/vulkano/autogen/spirv_parse.rs index 1c6457d0..8cf6bb25 100644 --- a/vulkano/autogen/spirv_parse.rs +++ b/vulkano/autogen/spirv_parse.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, SpirvGrammar}; use ahash::{HashMap, HashSet}; use heck::ToSnakeCase; diff --git a/vulkano/autogen/spirv_reqs.rs b/vulkano/autogen/spirv_reqs.rs index c7cfbf88..e672385f 100644 --- a/vulkano/autogen/spirv_reqs.rs +++ b/vulkano/autogen/spirv_reqs.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ spirv_grammar::{SpirvGrammar, SpirvKindEnumerant}, write_file, IndexMap, RequiresOneOf, VkRegistryData, diff --git a/vulkano/autogen/version.rs b/vulkano/autogen/version.rs index dfaec8bb..872c10ed 100644 --- a/vulkano/autogen/version.rs +++ b/vulkano/autogen/version.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{write_file, VkRegistryData}; use proc_macro2::{Literal, TokenStream}; use quote::quote; diff --git a/vulkano/build.rs b/vulkano/build.rs index fb15c97f..aa3c5529 100644 --- a/vulkano/build.rs +++ b/vulkano/build.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::env; mod autogen; diff --git a/vulkano/src/acceleration_structure.rs b/vulkano/src/acceleration_structure.rs index 2aa52f95..8f0c801a 100644 --- a/vulkano/src/acceleration_structure.rs +++ b/vulkano/src/acceleration_structure.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2023 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! An opaque data structure that is used to accelerate spatial queries on geometry data. //! //! Acceleration structures contain geometry data, arranged in such a way that the device can diff --git a/vulkano/src/buffer/allocator.rs b/vulkano/src/buffer/allocator.rs index 3e356cfa..a4c2eb99 100644 --- a/vulkano/src/buffer/allocator.rs +++ b/vulkano/src/buffer/allocator.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Efficiently suballocates buffers into smaller subbuffers. use super::{ diff --git a/vulkano/src/buffer/mod.rs b/vulkano/src/buffer/mod.rs index cb3d14e7..60d4e8a5 100644 --- a/vulkano/src/buffer/mod.rs +++ b/vulkano/src/buffer/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Location in memory that contains data. //! //! A Vulkan buffer is very similar to a buffer that you would use in programming languages in diff --git a/vulkano/src/buffer/subbuffer.rs b/vulkano/src/buffer/subbuffer.rs index baabbb71..bf97ea6e 100644 --- a/vulkano/src/buffer/subbuffer.rs +++ b/vulkano/src/buffer/subbuffer.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A subpart of a buffer. use super::{allocator::Arena, Buffer, BufferMemory}; diff --git a/vulkano/src/buffer/sys.rs b/vulkano/src/buffer/sys.rs index ab528573..ba14220d 100644 --- a/vulkano/src/buffer/sys.rs +++ b/vulkano/src/buffer/sys.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Low level implementation of buffers. //! //! This module contains low-level wrappers around the Vulkan buffer types. All diff --git a/vulkano/src/buffer/usage.rs b/vulkano/src/buffer/usage.rs index 083d2afb..7b575955 100644 --- a/vulkano/src/buffer/usage.rs +++ b/vulkano/src/buffer/usage.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::macros::vulkan_bitflags; vulkan_bitflags! { diff --git a/vulkano/src/buffer/view.rs b/vulkano/src/buffer/view.rs index 61cbf159..8d11ca81 100644 --- a/vulkano/src/buffer/view.rs +++ b/vulkano/src/buffer/view.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! View of a buffer, in order to use it as a uniform texel buffer or storage texel buffer. //! //! In order to use a buffer as a uniform texel buffer or a storage texel buffer, you have to diff --git a/vulkano/src/cache.rs b/vulkano/src/cache.rs index ce00d1b5..371fbed5 100644 --- a/vulkano/src/cache.rs +++ b/vulkano/src/cache.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use ahash::HashMap; use parking_lot::RwLock; use std::{ diff --git a/vulkano/src/command_buffer/allocator.rs b/vulkano/src/command_buffer/allocator.rs index a1122344..1c5ebcbc 100644 --- a/vulkano/src/command_buffer/allocator.rs +++ b/vulkano/src/command_buffer/allocator.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Traits and types for managing the allocation of command buffers and command pools. //! //! In Vulkano, creating a command buffer requires passing an implementation of the diff --git a/vulkano/src/command_buffer/auto/builder.rs b/vulkano/src/command_buffer/auto/builder.rs index 854ed727..f3d76689 100644 --- a/vulkano/src/command_buffer/auto/builder.rs +++ b/vulkano/src/command_buffer/auto/builder.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ CommandInfo, PrimaryAutoCommandBuffer, RenderPassCommand, Resource, ResourceUseRef2, SubmitState, diff --git a/vulkano/src/command_buffer/auto/mod.rs b/vulkano/src/command_buffer/auto/mod.rs index 9558869b..f2e87cfe 100644 --- a/vulkano/src/command_buffer/auto/mod.rs +++ b/vulkano/src/command_buffer/auto/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Contains `AutoCommandBufferBuilder` and the built types `PrimaryCommandBuffer` and //! `SecondaryCommandBuffer`. //! diff --git a/vulkano/src/command_buffer/commands/acceleration_structure.rs b/vulkano/src/command_buffer/commands/acceleration_structure.rs index 7821ab6c..829569c2 100644 --- a/vulkano/src/command_buffer/commands/acceleration_structure.rs +++ b/vulkano/src/command_buffer/commands/acceleration_structure.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2023 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ acceleration_structure::{ AccelerationStructure, AccelerationStructureBuildGeometryInfo, diff --git a/vulkano/src/command_buffer/commands/bind_push.rs b/vulkano/src/command_buffer/commands/bind_push.rs index 4ca61159..62865c6c 100644 --- a/vulkano/src/command_buffer/commands/bind_push.rs +++ b/vulkano/src/command_buffer/commands/bind_push.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ buffer::{BufferContents, BufferUsage, IndexBuffer, Subbuffer}, command_buffer::{ diff --git a/vulkano/src/command_buffer/commands/clear.rs b/vulkano/src/command_buffer/commands/clear.rs index a9443e31..2f2c90e4 100644 --- a/vulkano/src/command_buffer/commands/clear.rs +++ b/vulkano/src/command_buffer/commands/clear.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ buffer::{BufferContents, BufferUsage, Subbuffer}, command_buffer::{ diff --git a/vulkano/src/command_buffer/commands/copy.rs b/vulkano/src/command_buffer/commands/copy.rs index ca41e377..7f2c2cd2 100644 --- a/vulkano/src/command_buffer/commands/copy.rs +++ b/vulkano/src/command_buffer/commands/copy.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ buffer::{BufferUsage, Subbuffer}, command_buffer::{ diff --git a/vulkano/src/command_buffer/commands/debug.rs b/vulkano/src/command_buffer/commands/debug.rs index 9851fad9..c6ee281c 100644 --- a/vulkano/src/command_buffer/commands/debug.rs +++ b/vulkano/src/command_buffer/commands/debug.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ command_buffer::{ allocator::CommandBufferAllocator, sys::UnsafeCommandBufferBuilder, diff --git a/vulkano/src/command_buffer/commands/dynamic_state.rs b/vulkano/src/command_buffer/commands/dynamic_state.rs index 43286de8..ae216157 100644 --- a/vulkano/src/command_buffer/commands/dynamic_state.rs +++ b/vulkano/src/command_buffer/commands/dynamic_state.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ command_buffer::{ allocator::CommandBufferAllocator, sys::UnsafeCommandBufferBuilder, diff --git a/vulkano/src/command_buffer/commands/mod.rs b/vulkano/src/command_buffer/commands/mod.rs index d9508e1e..53a76c62 100644 --- a/vulkano/src/command_buffer/commands/mod.rs +++ b/vulkano/src/command_buffer/commands/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - pub(super) mod acceleration_structure; pub(super) mod bind_push; pub(super) mod clear; diff --git a/vulkano/src/command_buffer/commands/pipeline.rs b/vulkano/src/command_buffer/commands/pipeline.rs index d5d8aaeb..c6b4356b 100644 --- a/vulkano/src/command_buffer/commands/pipeline.rs +++ b/vulkano/src/command_buffer/commands/pipeline.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ acceleration_structure::AccelerationStructure, buffer::{view::BufferView, BufferUsage, Subbuffer}, diff --git a/vulkano/src/command_buffer/commands/query.rs b/vulkano/src/command_buffer/commands/query.rs index dbcee283..996fad07 100644 --- a/vulkano/src/command_buffer/commands/query.rs +++ b/vulkano/src/command_buffer/commands/query.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ buffer::{BufferUsage, Subbuffer}, command_buffer::{ diff --git a/vulkano/src/command_buffer/commands/render_pass.rs b/vulkano/src/command_buffer/commands/render_pass.rs index 08065927..b7a014ab 100644 --- a/vulkano/src/command_buffer/commands/render_pass.rs +++ b/vulkano/src/command_buffer/commands/render_pass.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ command_buffer::{ allocator::CommandBufferAllocator, diff --git a/vulkano/src/command_buffer/commands/secondary.rs b/vulkano/src/command_buffer/commands/secondary.rs index b4a5e21f..5611ec69 100644 --- a/vulkano/src/command_buffer/commands/secondary.rs +++ b/vulkano/src/command_buffer/commands/secondary.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ command_buffer::{ allocator::CommandBufferAllocator, diff --git a/vulkano/src/command_buffer/commands/sync.rs b/vulkano/src/command_buffer/commands/sync.rs index 3293c761..bb7f122f 100644 --- a/vulkano/src/command_buffer/commands/sync.rs +++ b/vulkano/src/command_buffer/commands/sync.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ command_buffer::{allocator::CommandBufferAllocator, sys::UnsafeCommandBufferBuilder}, device::{DeviceOwned, QueueFlags}, diff --git a/vulkano/src/command_buffer/mod.rs b/vulkano/src/command_buffer/mod.rs index 1b90a821..13106e2e 100644 --- a/vulkano/src/command_buffer/mod.rs +++ b/vulkano/src/command_buffer/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Recording commands to execute on the device. //! //! With Vulkan, to get the device to perform work, even relatively simple tasks, you must create a diff --git a/vulkano/src/command_buffer/pool.rs b/vulkano/src/command_buffer/pool.rs index 233df066..778bd97c 100644 --- a/vulkano/src/command_buffer/pool.rs +++ b/vulkano/src/command_buffer/pool.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Memory and resource pool for recording command buffers. //! //! A command pool holds and manages the memory of one or more command buffers. If you destroy a diff --git a/vulkano/src/command_buffer/sys.rs b/vulkano/src/command_buffer/sys.rs index 78898a26..f1e2b93d 100644 --- a/vulkano/src/command_buffer/sys.rs +++ b/vulkano/src/command_buffer/sys.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ allocator::{ CommandBufferAlloc, CommandBufferAllocator, CommandBufferBuilderAlloc, diff --git a/vulkano/src/command_buffer/traits.rs b/vulkano/src/command_buffer/traits.rs index 4cb6c92b..4b11c6e0 100644 --- a/vulkano/src/command_buffer/traits.rs +++ b/vulkano/src/command_buffer/traits.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ CommandBufferInheritanceInfo, CommandBufferResourcesUsage, CommandBufferState, CommandBufferSubmitInfo, CommandBufferUsage, SecondaryCommandBufferResourcesUsage, diff --git a/vulkano/src/deferred.rs b/vulkano/src/deferred.rs index 51195826..f48b2257 100644 --- a/vulkano/src/deferred.rs +++ b/vulkano/src/deferred.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2023 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Operations on the host that can be deferred. //! //! You typically pass a [`DeferredOperation`] object as part of a call to another function that diff --git a/vulkano/src/descriptor_set/allocator.rs b/vulkano/src/descriptor_set/allocator.rs index 32768897..3e917b0d 100644 --- a/vulkano/src/descriptor_set/allocator.rs +++ b/vulkano/src/descriptor_set/allocator.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! In the Vulkan API, descriptor sets must be allocated from *descriptor pools*. //! //! A descriptor pool holds and manages the memory of one or more descriptor sets. If you destroy a diff --git a/vulkano/src/descriptor_set/collection.rs b/vulkano/src/descriptor_set/collection.rs index 77eb4faa..b8d8edcd 100644 --- a/vulkano/src/descriptor_set/collection.rs +++ b/vulkano/src/descriptor_set/collection.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::descriptor_set::DescriptorSetWithOffsets; /// A collection of descriptor set objects. diff --git a/vulkano/src/descriptor_set/layout.rs b/vulkano/src/descriptor_set/layout.rs index 95dcae42..2eb9ec01 100644 --- a/vulkano/src/descriptor_set/layout.rs +++ b/vulkano/src/descriptor_set/layout.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Describes the layout of all descriptors within a descriptor set. //! //! When creating a new descriptor set, you must provide a *layout* object to create it from. diff --git a/vulkano/src/descriptor_set/mod.rs b/vulkano/src/descriptor_set/mod.rs index 0077db4a..44d4ab00 100644 --- a/vulkano/src/descriptor_set/mod.rs +++ b/vulkano/src/descriptor_set/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Bindings between shaders and the resources they access. //! //! # Overview diff --git a/vulkano/src/descriptor_set/persistent.rs b/vulkano/src/descriptor_set/persistent.rs index b4f30cd0..1f9165f6 100644 --- a/vulkano/src/descriptor_set/persistent.rs +++ b/vulkano/src/descriptor_set/persistent.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A simple, immutable descriptor set that is expected to be long-lived. //! //! Creating a persistent descriptor set allocates from a pool, and can't be modified once created. diff --git a/vulkano/src/descriptor_set/pool.rs b/vulkano/src/descriptor_set/pool.rs index f21b19cc..ea6cc64d 100644 --- a/vulkano/src/descriptor_set/pool.rs +++ b/vulkano/src/descriptor_set/pool.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ descriptor_set::{ layout::{DescriptorSetLayout, DescriptorSetLayoutCreateFlags, DescriptorType}, diff --git a/vulkano/src/descriptor_set/sys.rs b/vulkano/src/descriptor_set/sys.rs index 53d13f56..6a84ab0c 100644 --- a/vulkano/src/descriptor_set/sys.rs +++ b/vulkano/src/descriptor_set/sys.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Low-level descriptor set. use super::{ diff --git a/vulkano/src/descriptor_set/update.rs b/vulkano/src/descriptor_set/update.rs index b71ef425..fef7b6d8 100644 --- a/vulkano/src/descriptor_set/update.rs +++ b/vulkano/src/descriptor_set/update.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ allocator::DescriptorSetAlloc, layout::{DescriptorSetLayout, DescriptorType}, diff --git a/vulkano/src/device/mod.rs b/vulkano/src/device/mod.rs index 74d64de7..f18d1f6b 100644 --- a/vulkano/src/device/mod.rs +++ b/vulkano/src/device/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Communication channel with a physical device. //! //! The `Device` is one of the most important objects of Vulkan. Creating a `Device` is required diff --git a/vulkano/src/device/physical.rs b/vulkano/src/device/physical.rs index fecb16c6..984cf0d1 100644 --- a/vulkano/src/device/physical.rs +++ b/vulkano/src/device/physical.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::QueueFamilyProperties; use crate::{ buffer::{ExternalBufferInfo, ExternalBufferProperties}, diff --git a/vulkano/src/device/private_data.rs b/vulkano/src/device/private_data.rs index b29e6d90..3dbf6383 100644 --- a/vulkano/src/device/private_data.rs +++ b/vulkano/src/device/private_data.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2023 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Store user-defined data associated with Vulkan objects. //! //! A private data slot allows you to associate an arbitrary `u64` value with any device-owned diff --git a/vulkano/src/device/queue.rs b/vulkano/src/device/queue.rs index 38039314..28e1f1e7 100644 --- a/vulkano/src/device/queue.rs +++ b/vulkano/src/device/queue.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{Device, DeviceOwned, QueueCreateFlags}; use crate::{ command_buffer::{CommandBufferSubmitInfo, SemaphoreSubmitInfo, SubmitInfo}, diff --git a/vulkano/src/display.rs b/vulkano/src/display.rs index 4aff1695..3389b2c0 100644 --- a/vulkano/src/display.rs +++ b/vulkano/src/display.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Control and use of display devices (e.g. monitors). //! //! A `Display` represents a display device, which is usually a monitor but can also be something diff --git a/vulkano/src/extensions.rs b/vulkano/src/extensions.rs index 6199ad55..6117a27c 100644 --- a/vulkano/src/extensions.rs +++ b/vulkano/src/extensions.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use bytemuck::cast_slice; /// Properties of an extension in the loader or a physical device. diff --git a/vulkano/src/fns.rs b/vulkano/src/fns.rs index bae0ea80..4043ab41 100644 --- a/vulkano/src/fns.rs +++ b/vulkano/src/fns.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::ffi::{c_void, CStr}; // Generated by build.rs diff --git a/vulkano/src/format.rs b/vulkano/src/format.rs index 64d9c10e..1f7e98c0 100644 --- a/vulkano/src/format.rs +++ b/vulkano/src/format.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! All the formats supported by Vulkan. //! //! A format is mostly used to describe the texel data of an image. However, formats also show up in diff --git a/vulkano/src/image/aspect.rs b/vulkano/src/image/aspect.rs index 889c0a18..99451f70 100644 --- a/vulkano/src/image/aspect.rs +++ b/vulkano/src/image/aspect.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2020 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::macros::vulkan_bitflags_enum; vulkan_bitflags_enum! { diff --git a/vulkano/src/image/layout.rs b/vulkano/src/image/layout.rs index e35931a0..f1526f5c 100644 --- a/vulkano/src/image/layout.rs +++ b/vulkano/src/image/layout.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::ImageAspect; use crate::macros::vulkan_enum; diff --git a/vulkano/src/image/mod.rs b/vulkano/src/image/mod.rs index 1acc0fa3..2f158c53 100644 --- a/vulkano/src/image/mod.rs +++ b/vulkano/src/image/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Image storage (1D, 2D, 3D, arrays, etc.) and image views. //! //! An *image* is a region of memory whose purpose is to store multi-dimensional data. Its diff --git a/vulkano/src/image/sampler/mod.rs b/vulkano/src/image/sampler/mod.rs index 55a74280..da0160aa 100644 --- a/vulkano/src/image/sampler/mod.rs +++ b/vulkano/src/image/sampler/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! How to retrieve data from a sampled image within a shader. //! //! When you retrieve data from a sampled image, you have to pass the coordinates of the pixel you diff --git a/vulkano/src/image/sampler/ycbcr.rs b/vulkano/src/image/sampler/ycbcr.rs index 38365f46..80ebcd14 100644 --- a/vulkano/src/image/sampler/ycbcr.rs +++ b/vulkano/src/image/sampler/ycbcr.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Conversion from sampled YCbCr image data to RGB shader data. //! //! A sampler YCbCr conversion is an object that assists a sampler when converting from YCbCr diff --git a/vulkano/src/image/sys.rs b/vulkano/src/image/sys.rs index d6a0e57a..c982e045 100644 --- a/vulkano/src/image/sys.rs +++ b/vulkano/src/image/sys.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Low-level implementation of images. //! //! This module contains low-level wrappers around the Vulkan image types. All diff --git a/vulkano/src/image/usage.rs b/vulkano/src/image/usage.rs index e62ea0dc..e0f0bcbb 100644 --- a/vulkano/src/image/usage.rs +++ b/vulkano/src/image/usage.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::macros::vulkan_bitflags; vulkan_bitflags! { diff --git a/vulkano/src/image/view.rs b/vulkano/src/image/view.rs index c0850f7a..07a5d98c 100644 --- a/vulkano/src/image/view.rs +++ b/vulkano/src/image/view.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Image views. //! //! This module contains types related to image views. An image view wraps around an image and diff --git a/vulkano/src/instance/debug.rs b/vulkano/src/instance/debug.rs index 97867b7f..e961e00e 100644 --- a/vulkano/src/instance/debug.rs +++ b/vulkano/src/instance/debug.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Debug messenger called by intermediate layers or by the driver. //! //! When working on an application, it is recommended to register a debug messenger. For example if diff --git a/vulkano/src/instance/layers.rs b/vulkano/src/instance/layers.rs index 3ea264b8..f3170ec0 100644 --- a/vulkano/src/instance/layers.rs +++ b/vulkano/src/instance/layers.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::Version; use std::ffi::CStr; diff --git a/vulkano/src/instance/mod.rs b/vulkano/src/instance/mod.rs index 18acc45d..d6ff16ab 100644 --- a/vulkano/src/instance/mod.rs +++ b/vulkano/src/instance/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! API entry point. //! //! The first thing to do after loading the Vulkan library is to create an `Instance` object. diff --git a/vulkano/src/lib.rs b/vulkano/src/lib.rs index 34445296..9c28c8a2 100644 --- a/vulkano/src/lib.rs +++ b/vulkano/src/lib.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - #![doc(html_logo_url = "https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png")] //! Safe and rich Rust wrapper around the Vulkan API. //! diff --git a/vulkano/src/library.rs b/vulkano/src/library.rs index 4fe7f457..4cad4dcd 100644 --- a/vulkano/src/library.rs +++ b/vulkano/src/library.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Vulkan library loading system. //! //! Before Vulkano can do anything, it first needs to find a library containing an implementation diff --git a/vulkano/src/macros.rs b/vulkano/src/macros.rs index ac511cc9..8cb9a55c 100644 --- a/vulkano/src/macros.rs +++ b/vulkano/src/macros.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - macro_rules! vulkan_bitflags { { $(#[doc = $ty_doc:literal])* diff --git a/vulkano/src/memory/allocator/layout.rs b/vulkano/src/memory/allocator/layout.rs index bca396aa..722a0873 100644 --- a/vulkano/src/memory/allocator/layout.rs +++ b/vulkano/src/memory/allocator/layout.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::align_up; use crate::{macros::try_opt, memory::DeviceAlignment, DeviceSize, NonZeroDeviceSize}; use std::{ diff --git a/vulkano/src/memory/allocator/mod.rs b/vulkano/src/memory/allocator/mod.rs index ebcea340..905cf4e3 100644 --- a/vulkano/src/memory/allocator/mod.rs +++ b/vulkano/src/memory/allocator/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! In Vulkan, suballocation of [`DeviceMemory`] is left to the application, because every //! application has slightly different needs and one can not incorporate an allocator into the //! driver that would perform well in all cases. Vulkano stays true to this sentiment, but aims to diff --git a/vulkano/src/memory/allocator/suballocator.rs b/vulkano/src/memory/allocator/suballocator.rs index 6b52ca05..99b7f80c 100644 --- a/vulkano/src/memory/allocator/suballocator.rs +++ b/vulkano/src/memory/allocator/suballocator.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Suballocators are used to divide a *region* into smaller *suballocations*. //! //! See also [the parent module] for details about memory allocation in Vulkan. diff --git a/vulkano/src/memory/device_memory.rs b/vulkano/src/memory/device_memory.rs index 404948f5..903d9d56 100644 --- a/vulkano/src/memory/device_memory.rs +++ b/vulkano/src/memory/device_memory.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{DedicatedAllocation, DedicatedTo, DeviceAlignment}; use crate::{ device::{Device, DeviceOwned}, diff --git a/vulkano/src/memory/mod.rs b/vulkano/src/memory/mod.rs index 4fd9c872..e6ec0ddf 100644 --- a/vulkano/src/memory/mod.rs +++ b/vulkano/src/memory/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Device memory allocation and memory pools. //! //! By default, memory allocation is automatically handled by the vulkano library when you create diff --git a/vulkano/src/padded.rs b/vulkano/src/padded.rs index 5d78b48f..3efadf64 100644 --- a/vulkano/src/padded.rs +++ b/vulkano/src/padded.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A newtype wrapper for enforcing correct alignment for external types. use crate::buffer::{BufferContents, BufferContentsLayout}; diff --git a/vulkano/src/pipeline/cache.rs b/vulkano/src/pipeline/cache.rs index 33c9d1ba..65311fab 100644 --- a/vulkano/src/pipeline/cache.rs +++ b/vulkano/src/pipeline/cache.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Cache the pipeline objects to disk for faster reloads. //! //! A pipeline cache is an opaque type that allow you to cache your graphics and compute diff --git a/vulkano/src/pipeline/compute.rs b/vulkano/src/pipeline/compute.rs index e5b5ae49..205795ee 100644 --- a/vulkano/src/pipeline/compute.rs +++ b/vulkano/src/pipeline/compute.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A pipeline that performs general-purpose operations. //! //! A compute pipeline takes buffers and/or images as both inputs and outputs. It operates diff --git a/vulkano/src/pipeline/graphics/color_blend.rs b/vulkano/src/pipeline/graphics/color_blend.rs index 1120e0b0..b0c250c4 100644 --- a/vulkano/src/pipeline/graphics/color_blend.rs +++ b/vulkano/src/pipeline/graphics/color_blend.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Configures how the color output of the fragment shader is written to the attachment. //! //! # Blending in details diff --git a/vulkano/src/pipeline/graphics/depth_stencil.rs b/vulkano/src/pipeline/graphics/depth_stencil.rs index 9c5f8b9c..e7ff0a4d 100644 --- a/vulkano/src/pipeline/graphics/depth_stencil.rs +++ b/vulkano/src/pipeline/graphics/depth_stencil.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Configures the operation of the depth, stencil and depth bounds tests. //! //! The depth test passes of fails depending on how the depth value of each fragment compares diff --git a/vulkano/src/pipeline/graphics/discard_rectangle.rs b/vulkano/src/pipeline/graphics/discard_rectangle.rs index 2bfd2489..1fda8b01 100644 --- a/vulkano/src/pipeline/graphics/discard_rectangle.rs +++ b/vulkano/src/pipeline/graphics/discard_rectangle.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A test to discard pixels that would be written to certain areas of a framebuffer. //! //! The discard rectangle test is similar to, but separate from the scissor test. diff --git a/vulkano/src/pipeline/graphics/input_assembly.rs b/vulkano/src/pipeline/graphics/input_assembly.rs index 0965e0c3..3141a67f 100644 --- a/vulkano/src/pipeline/graphics/input_assembly.rs +++ b/vulkano/src/pipeline/graphics/input_assembly.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Configures how input vertices are assembled into primitives. use crate::{ diff --git a/vulkano/src/pipeline/graphics/mod.rs b/vulkano/src/pipeline/graphics/mod.rs index ced82d4a..62adc856 100644 --- a/vulkano/src/pipeline/graphics/mod.rs +++ b/vulkano/src/pipeline/graphics/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A pipeline that performs graphics processing operations. //! //! Unlike a compute pipeline, which performs general-purpose work, a graphics pipeline is geared diff --git a/vulkano/src/pipeline/graphics/multisample.rs b/vulkano/src/pipeline/graphics/multisample.rs index d6889953..5b9750b9 100644 --- a/vulkano/src/pipeline/graphics/multisample.rs +++ b/vulkano/src/pipeline/graphics/multisample.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Generates multiple fragments per framebuffer pixel when rasterizing. This can be used for //! anti-aliasing. diff --git a/vulkano/src/pipeline/graphics/rasterization.rs b/vulkano/src/pipeline/graphics/rasterization.rs index e0167e25..3b2738cc 100644 --- a/vulkano/src/pipeline/graphics/rasterization.rs +++ b/vulkano/src/pipeline/graphics/rasterization.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Configures how primitives should be converted into collections of fragments. use crate::{ diff --git a/vulkano/src/pipeline/graphics/subpass.rs b/vulkano/src/pipeline/graphics/subpass.rs index eb9f6f9f..ee989a2d 100644 --- a/vulkano/src/pipeline/graphics/subpass.rs +++ b/vulkano/src/pipeline/graphics/subpass.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ command_buffer::{CommandBufferInheritanceRenderingInfo, RenderingInfo}, device::Device, diff --git a/vulkano/src/pipeline/graphics/tessellation.rs b/vulkano/src/pipeline/graphics/tessellation.rs index f33d9876..1d3ce50f 100644 --- a/vulkano/src/pipeline/graphics/tessellation.rs +++ b/vulkano/src/pipeline/graphics/tessellation.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Subdivides primitives into smaller primitives. use crate::{ diff --git a/vulkano/src/pipeline/graphics/tests.rs b/vulkano/src/pipeline/graphics/tests.rs index ebe8395c..39c5d84c 100644 --- a/vulkano/src/pipeline/graphics/tests.rs +++ b/vulkano/src/pipeline/graphics/tests.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! This module contains the unit tests of `GraphicsPipeline`. #![cfg(test)] diff --git a/vulkano/src/pipeline/graphics/vertex_input/buffers.rs b/vulkano/src/pipeline/graphics/vertex_input/buffers.rs index a13ee613..e740697e 100644 --- a/vulkano/src/pipeline/graphics/vertex_input/buffers.rs +++ b/vulkano/src/pipeline/graphics/vertex_input/buffers.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::VertexBufferDescription; use crate::{ pipeline::graphics::vertex_input::{Vertex, VertexDefinition, VertexInputState}, diff --git a/vulkano/src/pipeline/graphics/vertex_input/collection.rs b/vulkano/src/pipeline/graphics/vertex_input/collection.rs index cb209f44..0243027c 100644 --- a/vulkano/src/pipeline/graphics/vertex_input/collection.rs +++ b/vulkano/src/pipeline/graphics/vertex_input/collection.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::buffer::Subbuffer; use std::mem; diff --git a/vulkano/src/pipeline/graphics/vertex_input/definition.rs b/vulkano/src/pipeline/graphics/vertex_input/definition.rs index 6be99d37..56ec598d 100644 --- a/vulkano/src/pipeline/graphics/vertex_input/definition.rs +++ b/vulkano/src/pipeline/graphics/vertex_input/definition.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{ VertexBufferDescription, VertexInputAttributeDescription, VertexInputBindingDescription, }; diff --git a/vulkano/src/pipeline/graphics/vertex_input/impl_vertex.rs b/vulkano/src/pipeline/graphics/vertex_input/impl_vertex.rs index 431c843f..fc951c77 100644 --- a/vulkano/src/pipeline/graphics/vertex_input/impl_vertex.rs +++ b/vulkano/src/pipeline/graphics/vertex_input/impl_vertex.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::format::Format; /// Implements the `Vertex` trait on a struct. diff --git a/vulkano/src/pipeline/graphics/vertex_input/mod.rs b/vulkano/src/pipeline/graphics/vertex_input/mod.rs index 3331b520..8765a1af 100644 --- a/vulkano/src/pipeline/graphics/vertex_input/mod.rs +++ b/vulkano/src/pipeline/graphics/vertex_input/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Configures how data from vertex buffers is read into vertex shader input locations. //! //! The vertex input stage is the stage where data is read from a buffer and fed into the vertex diff --git a/vulkano/src/pipeline/graphics/vertex_input/vertex.rs b/vulkano/src/pipeline/graphics/vertex_input/vertex.rs index fb500aa4..10a97ee9 100644 --- a/vulkano/src/pipeline/graphics/vertex_input/vertex.rs +++ b/vulkano/src/pipeline/graphics/vertex_input/vertex.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::VertexInputRate; use crate::{buffer::BufferContents, format::Format}; use std::collections::HashMap; diff --git a/vulkano/src/pipeline/graphics/viewport.rs b/vulkano/src/pipeline/graphics/viewport.rs index ae2ba712..b4140413 100644 --- a/vulkano/src/pipeline/graphics/viewport.rs +++ b/vulkano/src/pipeline/graphics/viewport.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Configures the area of the framebuffer that pixels will be written to. //! //! There are two different concepts to determine where things will be drawn: diff --git a/vulkano/src/pipeline/layout.rs b/vulkano/src/pipeline/layout.rs index a1e53e39..95523ec7 100644 --- a/vulkano/src/pipeline/layout.rs +++ b/vulkano/src/pipeline/layout.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! The layout of descriptor sets and push constants used by a pipeline. //! //! # Overview diff --git a/vulkano/src/pipeline/mod.rs b/vulkano/src/pipeline/mod.rs index 9c40b85d..2ad4ffef 100644 --- a/vulkano/src/pipeline/mod.rs +++ b/vulkano/src/pipeline/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Describes a processing operation that will execute on the Vulkan device. //! //! In Vulkan, before you can add a draw or a compute command to a command buffer you have to diff --git a/vulkano/src/query.rs b/vulkano/src/query.rs index 9b7d8242..76056aa6 100644 --- a/vulkano/src/query.rs +++ b/vulkano/src/query.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Gather information about rendering, held in query pools. //! //! In Vulkan, queries are not created individually. Instead you manipulate **query pools**, which diff --git a/vulkano/src/range_map.rs b/vulkano/src/range_map.rs index be8757af..89bd2b94 100644 --- a/vulkano/src/range_map.rs +++ b/vulkano/src/range_map.rs @@ -1,3 +1,17 @@ +// Most of the code in this module comes from the rangemap crate, which is licensed under either of +// - Apache License, Version 2.0 +// (https://github.com/jeffparsons/rangemap/blob/master/LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0) +// - MIT (https://github.com/jeffparsons/rangemap/blob/master/LICENSE-MIT or +// http://opensource.org/licenses/MIT) +// at your option. +// +// The following changes were made: +// - The `RangeStartWrapper` used as key was changed into just the start that's used as the key, +// and the end is stored in the value (in `Entry`) instead. +// - A `RangeMap::split_at` method was added. +// - Some parts we don't need were removed. + #![allow(dead_code)] use std::{ diff --git a/vulkano/src/range_set.rs b/vulkano/src/range_set.rs index d5f91541..ed632163 100644 --- a/vulkano/src/range_set.rs +++ b/vulkano/src/range_set.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use std::ops::Range; /// A set of ordered types. diff --git a/vulkano/src/render_pass/create.rs b/vulkano/src/render_pass/create.rs index 7f3688af..636e1264 100644 --- a/vulkano/src/render_pass/create.rs +++ b/vulkano/src/render_pass/create.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2022 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{AttachmentDescription, AttachmentReference, RenderPass, RenderPassCreateInfo}; use crate::{ device::Device, diff --git a/vulkano/src/render_pass/framebuffer.rs b/vulkano/src/render_pass/framebuffer.rs index a78a1d2b..0ca5d433 100644 --- a/vulkano/src/render_pass/framebuffer.rs +++ b/vulkano/src/render_pass/framebuffer.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::RenderPass; use crate::{ device::{Device, DeviceOwned, DeviceOwnedDebugWrapper}, diff --git a/vulkano/src/render_pass/macros.rs b/vulkano/src/render_pass/macros.rs index e1efb482..7b734ae3 100644 --- a/vulkano/src/render_pass/macros.rs +++ b/vulkano/src/render_pass/macros.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - /// Builds a `RenderPass` object whose template parameter is of indeterminate type. #[macro_export] macro_rules! single_pass_renderpass { diff --git a/vulkano/src/render_pass/mod.rs b/vulkano/src/render_pass/mod.rs index ce0c77c0..d71a8f9f 100644 --- a/vulkano/src/render_pass/mod.rs +++ b/vulkano/src/render_pass/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Description of the steps of the rendering process, and the images used as input or output. //! //! # Render passes and framebuffers diff --git a/vulkano/src/shader/mod.rs b/vulkano/src/shader/mod.rs index 41f05f5e..3d6faf80 100644 --- a/vulkano/src/shader/mod.rs +++ b/vulkano/src/shader/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A program that is run on the device. //! //! In Vulkan, shaders are grouped in *shader modules*. Each shader module is built from SPIR-V diff --git a/vulkano/src/shader/reflect.rs b/vulkano/src/shader/reflect.rs index 98438fab..14b937d2 100644 --- a/vulkano/src/shader/reflect.rs +++ b/vulkano/src/shader/reflect.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Extraction of information from SPIR-V modules, that is needed by the rest of Vulkano. use super::DescriptorBindingRequirements; diff --git a/vulkano/src/shader/spirv/mod.rs b/vulkano/src/shader/spirv/mod.rs index d0d558e8..2db062c3 100644 --- a/vulkano/src/shader/spirv/mod.rs +++ b/vulkano/src/shader/spirv/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2021 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Parsing and analysis utilities for SPIR-V shader binaries. //! //! This can be used to inspect and validate a SPIR-V module at runtime. The `Spirv` type does some diff --git a/vulkano/src/shader/spirv/specialization.rs b/vulkano/src/shader/spirv/specialization.rs index f6fcd43d..6937a985 100644 --- a/vulkano/src/shader/spirv/specialization.rs +++ b/vulkano/src/shader/spirv/specialization.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2023 The Vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::shader::{ spirv::{Decoration, Id, IdInfo, Instruction, SpecConstantInstruction}, SpecializationConstant, diff --git a/vulkano/src/swapchain/acquire_present.rs b/vulkano/src/swapchain/acquire_present.rs index 33e4fb47..80bc50b9 100644 --- a/vulkano/src/swapchain/acquire_present.rs +++ b/vulkano/src/swapchain/acquire_present.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{PresentMode, Swapchain}; use crate::{ buffer::Buffer, diff --git a/vulkano/src/swapchain/mod.rs b/vulkano/src/swapchain/mod.rs index 20eee86d..e5ca04ac 100644 --- a/vulkano/src/swapchain/mod.rs +++ b/vulkano/src/swapchain/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Link between Vulkan and a window and/or the screen. //! //! Before you can draw on the screen or a window, you have to create two objects: diff --git a/vulkano/src/swapchain/surface.rs b/vulkano/src/swapchain/surface.rs index fc14c6f4..357b9322 100644 --- a/vulkano/src/swapchain/surface.rs +++ b/vulkano/src/swapchain/surface.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{FullScreenExclusive, PresentGravityFlags, PresentScalingFlags, Win32Monitor}; use crate::{ cache::OnceCache, diff --git a/vulkano/src/sync/event.rs b/vulkano/src/sync/event.rs index 2eeda99e..6bbc9b49 100644 --- a/vulkano/src/sync/event.rs +++ b/vulkano/src/sync/event.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! An event provides fine-grained synchronization within a single queue, or from the host to a //! queue. //! diff --git a/vulkano/src/sync/fence.rs b/vulkano/src/sync/fence.rs index f69f74dd..0a9ae972 100644 --- a/vulkano/src/sync/fence.rs +++ b/vulkano/src/sync/fence.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A fence provides synchronization between the device and the host, or between an external source //! and the host. //! diff --git a/vulkano/src/sync/future/fence_signal.rs b/vulkano/src/sync/future/fence_signal.rs index 7b5b950b..67dcdf32 100644 --- a/vulkano/src/sync/future/fence_signal.rs +++ b/vulkano/src/sync/future/fence_signal.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{AccessCheckError, GpuFuture}; use crate::{ buffer::Buffer, diff --git a/vulkano/src/sync/future/join.rs b/vulkano/src/sync/future/join.rs index bf3d0c53..a827ae99 100644 --- a/vulkano/src/sync/future/join.rs +++ b/vulkano/src/sync/future/join.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{AccessCheckError, GpuFuture, SubmitAnyBuilder}; use crate::{ buffer::Buffer, diff --git a/vulkano/src/sync/future/mod.rs b/vulkano/src/sync/future/mod.rs index 2537aef6..1ba8685e 100644 --- a/vulkano/src/sync/future/mod.rs +++ b/vulkano/src/sync/future/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Represents an event that will happen on the GPU in the future. //! //! Whenever you ask the GPU to start an operation by using a function of the vulkano library (for diff --git a/vulkano/src/sync/future/now.rs b/vulkano/src/sync/future/now.rs index 0cb4076c..e14b4add 100644 --- a/vulkano/src/sync/future/now.rs +++ b/vulkano/src/sync/future/now.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{AccessCheckError, GpuFuture, SubmitAnyBuilder}; use crate::{ buffer::Buffer, diff --git a/vulkano/src/sync/future/semaphore_signal.rs b/vulkano/src/sync/future/semaphore_signal.rs index 61246ed8..f3e69e01 100644 --- a/vulkano/src/sync/future/semaphore_signal.rs +++ b/vulkano/src/sync/future/semaphore_signal.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use super::{queue_present, AccessCheckError, GpuFuture, SubmitAnyBuilder}; use crate::{ buffer::Buffer, diff --git a/vulkano/src/sync/mod.rs b/vulkano/src/sync/mod.rs index ef309506..6a89de18 100644 --- a/vulkano/src/sync/mod.rs +++ b/vulkano/src/sync/mod.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! Synchronization on the GPU. //! //! Just like for CPU code, you have to ensure that buffers and images are not accessed mutably by diff --git a/vulkano/src/sync/pipeline.rs b/vulkano/src/sync/pipeline.rs index 73269fc7..a1b2e130 100644 --- a/vulkano/src/sync/pipeline.rs +++ b/vulkano/src/sync/pipeline.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2017 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - use crate::{ buffer::Buffer, descriptor_set::layout::DescriptorType, diff --git a/vulkano/src/sync/semaphore.rs b/vulkano/src/sync/semaphore.rs index c9af330c..47cd9ee9 100644 --- a/vulkano/src/sync/semaphore.rs +++ b/vulkano/src/sync/semaphore.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - //! A semaphore provides synchronization between multiple queues, with non-command buffer //! commands on the same queue, or between the device and an external source. //! diff --git a/vulkano/src/tests.rs b/vulkano/src/tests.rs index d8b6ebbd..0481e14a 100644 --- a/vulkano/src/tests.rs +++ b/vulkano/src/tests.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - #![cfg(test)] /// Creates an instance or returns if initialization fails. diff --git a/vulkano/src/version.rs b/vulkano/src/version.rs index 48713375..a530fa4a 100644 --- a/vulkano/src/version.rs +++ b/vulkano/src/version.rs @@ -1,12 +1,3 @@ -// Copyright (c) 2016 The vulkano developers -// Licensed under the Apache License, Version 2.0 -// or the MIT -// license , -// at your option. All files in the project carrying such -// notice may not be copied, modified, or distributed except -// according to those terms. - // The `Version` object is reexported from the `instance` module. use std::{