mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-26 00:34:19 +00:00
Merge pull request #143 from tomaka/unused-imports
Fix unused imports in vulkano-shaders
This commit is contained in:
commit
9b105deea3
@ -67,22 +67,38 @@ pub fn reflect<R>(name: &str, mut spirv: R) -> Result<String, Error>
|
|||||||
|
|
||||||
let mut output = String::new();
|
let mut output = String::new();
|
||||||
output.push_str(r#"
|
output.push_str(r#"
|
||||||
|
#[allow(unused_imports)]
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use std::vec::IntoIter as VecIntoIter;
|
use std::vec::IntoIter as VecIntoIter;
|
||||||
|
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::device::Device;
|
use vulkano::device::Device;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::DescriptorDesc;
|
use vulkano::descriptor::descriptor::DescriptorDesc;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::DescriptorDescTy;
|
use vulkano::descriptor::descriptor::DescriptorDescTy;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::DescriptorBufferDesc;
|
use vulkano::descriptor::descriptor::DescriptorBufferDesc;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::DescriptorImageDesc;
|
use vulkano::descriptor::descriptor::DescriptorImageDesc;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::DescriptorImageDescDimensions;
|
use vulkano::descriptor::descriptor::DescriptorImageDescDimensions;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::DescriptorImageDescArray;
|
use vulkano::descriptor::descriptor::DescriptorImageDescArray;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor::ShaderStages;
|
use vulkano::descriptor::descriptor::ShaderStages;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor_set::DescriptorSet;
|
use vulkano::descriptor::descriptor_set::DescriptorSet;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor_set::UnsafeDescriptorSet;
|
use vulkano::descriptor::descriptor_set::UnsafeDescriptorSet;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::descriptor_set::UnsafeDescriptorSetLayout;
|
use vulkano::descriptor::descriptor_set::UnsafeDescriptorSetLayout;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::pipeline_layout::PipelineLayout;
|
use vulkano::descriptor::pipeline_layout::PipelineLayout;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::pipeline_layout::PipelineLayoutDesc;
|
use vulkano::descriptor::pipeline_layout::PipelineLayoutDesc;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use vulkano::descriptor::pipeline_layout::UnsafePipelineLayout;
|
use vulkano::descriptor::pipeline_layout::UnsafePipelineLayout;
|
||||||
"#);
|
"#);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user