mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 00:04:15 +00:00
Minor fix in shaders analyser
This commit is contained in:
parent
77f5873fc9
commit
b300f70dda
@ -60,8 +60,8 @@ pub fn write_descriptor_sets(doc: &parse::Spirv) -> String {
|
||||
Some((
|
||||
"::vulkano::descriptor_set::DescriptorType::SampledImage",
|
||||
"::vulkano::image::AbstractImageView",
|
||||
"::vulkano::descriptor_set::DescriptorBind::UniformBuffer", // FIXME:
|
||||
""
|
||||
"::vulkano::descriptor_set::DescriptorBind::SampledImage(",
|
||||
", ::vulkano::image::Layout::ShaderReadOnlyOptimal)" // FIXME:
|
||||
))
|
||||
},
|
||||
&parse::Instruction::TypeImage { result_id, sampled_type_id, ref dim, arrayed, ms,
|
||||
@ -81,8 +81,8 @@ pub fn write_descriptor_sets(doc: &parse::Spirv) -> String {
|
||||
Some((
|
||||
"::vulkano::descriptor_set::DescriptorType::SampledImage",
|
||||
"::vulkano::image::AbstractImageView",
|
||||
"::vulkano::descriptor_set::DescriptorBind::UniformBuffer", // FIXME:
|
||||
""
|
||||
"::vulkano::descriptor_set::DescriptorBind::SampledImage(",
|
||||
", ::vulkano::image::Layout::ShaderReadOnlyOptimal)" // FIXME:
|
||||
))
|
||||
},
|
||||
_ => None, // TODO: other types
|
||||
|
Loading…
Reference in New Issue
Block a user