pub fn create_push_constant_range() -> vk::PushConstantRange {
    vk::PushConstantRange {
        stage_flags: vk::ShaderStageFlags::FRAGMENT
            | vk::ShaderStageFlags::VERTEX,
        size: size_of::<PushConsts>() as u32,
        offset: 0,
    }
}
/// Create the push constant range definition for the graphics pipeline.
Create the push constant range definition for the graphics pipeline.
Create the push constant range definition for the graphics pipeline .
pub fn create_push_constant_range() -> vk::PushConstantRange {
    vk::PushConstantRange {
        stage_flags: vk::ShaderStageFlags::FRAGMENT
            | vk::ShaderStageFlags::VERTEX,
        size: size_of::<PushConsts>() as u32,
        offset: 0,
    }
}
pub fn create_push_constant_range ( ) -> vk :: PushConstantRange { vk :: PushConstantRange { stage_flags : vk :: ShaderStageFlags :: FRAGMENT | vk :: ShaderStageFlags :: VERTEX , size : size_of :: < PushConsts > ( ) as u32 , offset : 0 , } }
Create the push constant range definition for the graphics pipeline.
Create the push constant range definition for the graphics pipeline .