pub(super) fn check_late_buffer_bindings(
        &self,
    ) -> Result<(), LateMinBufferBindingSizeMismatch> {
        for group_index in self.manager.list_active() {
            let payload = &self.payloads[group_index];
            for (compact_index, late_binding) in payload.late_buffer_bindings
                [..payload.late_bindings_effective_count]
                .iter()
                .enumerate()
            {
                if late_binding.bound_size < late_binding.shader_expect_size {
                    return Err(LateMinBufferBindingSizeMismatch {
                        group_index: group_index as u32,
                        compact_index,
                        shader_size: late_binding.shader_expect_size,
                        bound_size: late_binding.bound_size,
                    });
                }
            }
        }
        Ok(())
    }
/// Scan active buffer bindings corresponding to layouts without `min_binding_size` specified.
Scan active buffer bindings corresponding to layouts without `min_binding_size` specified.
Scan active buffer bindings corresponding to layouts without ` min_binding_size ` specified .
pub(super) fn check_late_buffer_bindings(
        &self,
    ) -> Result<(), LateMinBufferBindingSizeMismatch> {
        for group_index in self.manager.list_active() {
            let payload = &self.payloads[group_index];
            for (compact_index, late_binding) in payload.late_buffer_bindings
                [..payload.late_bindings_effective_count]
                .iter()
                .enumerate()
            {
                if late_binding.bound_size < late_binding.shader_expect_size {
                    return Err(LateMinBufferBindingSizeMismatch {
                        group_index: group_index as u32,
                        compact_index,
                        shader_size: late_binding.shader_expect_size,
                        bound_size: late_binding.bound_size,
                    });
                }
            }
        }
        Ok(())
    }
pub ( super ) fn check_late_buffer_bindings ( & self , ) -> Result < ( ) , LateMinBufferBindingSizeMismatch > { for group_index in self . manager . list_active ( ) { let payload = & self . payloads [ group_index ] ; for ( compact_index , late_binding ) in payload . late_buffer_bindings [ .. payload . late_bindings_effective_count ] . iter ( ) . enumerate ( ) { if late_binding . bound_size < late_binding . shader_expect_size { return Err ( LateMinBufferBindingSizeMismatch { group_index : group_index as u32 , compact_index , shader_size : late_binding . shader_expect_size , bound_size : late_binding . bound_size , } ) ; } } } Ok ( ( ) ) }
Scan active buffer bindings corresponding to layouts without `min_binding_size` specified.
Scan active buffer bindings corresponding to layouts without ` min_binding_size ` specified .
&self
&self