mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 00:04:15 +00:00
Fix vulkano_shaders with push constants descs
This commit is contained in:
parent
bfe6f6f7cb
commit
c5c14e5a4d
@ -118,7 +118,7 @@ pub fn write_descriptor_sets(doc: &parse::Spirv) -> String {
|
||||
0 // FIXME:
|
||||
}}
|
||||
|
||||
fn push_constants_range(&self, num: usize) -> Option<(usize, usize, ShaderStages)> {{
|
||||
fn push_constants_range(&self, num: usize) -> Option<PipelineLayoutDescPcRange> {{
|
||||
None
|
||||
}}
|
||||
}}
|
||||
|
@ -103,6 +103,8 @@ pub fn reflect<R>(name: &str, mut spirv: R) -> Result<String, Error>
|
||||
use vulkano::descriptor::pipeline_layout::PipelineLayoutDesc;
|
||||
#[allow(unused_imports)]
|
||||
use vulkano::descriptor::pipeline_layout::PipelineLayoutDescNames;
|
||||
#[allow(unused_imports)]
|
||||
use vulkano::descriptor::pipeline_layout::PipelineLayoutDescPcRange;
|
||||
"#);
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user