Make the Layout generated by vulkano-shaders entirely public (#787)

This commit is contained in:
tomaka 2017-08-28 11:39:40 +02:00 committed by GitHub
parent 9227c6ba8d
commit 6c81d8081a

View File

@ -156,7 +156,7 @@ pub fn write_descriptor_sets(doc: &parse::Spirv) -> String {
format!(
r#"
#[derive(Debug, Clone)]
pub struct Layout(ShaderStages);
pub struct Layout(pub ShaderStages);
#[allow(unsafe_code)]
unsafe impl PipelineLayoutDesc for Layout {{