mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 00:04:15 +00:00
Use a dummy DescriptorBufferContentDesc
This commit is contained in:
parent
64459fc6af
commit
c8abb70104
@ -193,7 +193,8 @@ fn descriptor_infos(doc: &parse::Spirv, pointed_ty: u32, force_combined_image_sa
|
||||
|
||||
let desc = format!("DescriptorDescTy::Buffer(DescriptorBufferDesc {{
|
||||
dynamic: Some(false),
|
||||
storage: {}
|
||||
storage: {},
|
||||
content: DescriptorBufferContentDesc::F32, // FIXME: wrong
|
||||
}})", if is_ssbo { "true" } else { "false "});
|
||||
|
||||
Some((desc, true))
|
||||
|
@ -81,6 +81,8 @@ pub fn reflect<R>(name: &str, mut spirv: R) -> Result<String, Error>
|
||||
#[allow(unused_imports)]
|
||||
use vulkano::descriptor::descriptor::DescriptorBufferDesc;
|
||||
#[allow(unused_imports)]
|
||||
use vulkano::descriptor::descriptor::DescriptorBufferContentDesc;
|
||||
#[allow(unused_imports)]
|
||||
use vulkano::descriptor::descriptor::DescriptorImageDesc;
|
||||
#[allow(unused_imports)]
|
||||
use vulkano::descriptor::descriptor::DescriptorImageDescDimensions;
|
||||
|
Loading…
Reference in New Issue
Block a user