Add typos to Repository CI (#5191)

Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
Connor FitzgeraldandAndreas Reich authored and GitHub committed 2024-02-05 12:30:29 -05:00
1 parent c2c0d5f400
commit faed98b45c
80 files changed
+187 -162

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ impl Global {
.map_pass_err(pass_scope)?;
// Unlike in render passes we can't delay resetting the query sets since
// there is no auxillary pass.
// there is no auxiliary pass.
let range = if let (Some(index_a), Some(index_b)) =
(tw.beginning_of_pass_write_index, tw.end_of_pass_write_index)
{
+3 -3
View File
@@ -379,7 +379,7 @@ impl VertexState {
fn update_limits(&mut self) {
// Implements the validation from https://gpuweb.github.io/gpuweb/#dom-gpurendercommandsmixin-draw
// Except that the formula is shuffled to extract the number of vertices in order
// to carry the bulk of the computation when changing states intead of when producing
// to carry the bulk of the computation when changing states instead of when producing
// draws. Draw calls tend to happen at a higher frequency. Here we determine vertex
// limits that can be cheaply checked for each draw call.
self.vertex_limit = u32::MAX as u64;
@@ -395,7 +395,7 @@ impl VertexState {
} else {
if vbs.step.stride == 0 {
// We already checked that the last stride fits, the same
// vertex will be repeated so this slot can accomodate any number of
// vertex will be repeated so this slot can accommodate any number of
// vertices.
continue;
}
@@ -1640,7 +1640,7 @@ impl Global {
// Initialize each `vertex.inputs[i].step` from
// `pipeline.vertex_steps[i]`. Enlarge `vertex.inputs`
// as necessary to accomodate all slots in the
// as necessary to accommodate all slots in the
// pipeline. If `vertex.inputs` is longer, fill the
// extra entries with default `VertexStep`s.
while state.vertex.inputs.len() < vertex_steps_len {
+2 -2
View File
@@ -69,7 +69,7 @@ pub enum TransferError {
dimension: TextureErrorDimension,
side: CopySide,
},
#[error("Unable to select texture aspect {aspect:?} from fromat {format:?}")]
#[error("Unable to select texture aspect {aspect:?} from format {format:?}")]
InvalidTextureAspect {
format: wgt::TextureFormat,
aspect: wgt::TextureAspect,
@@ -252,7 +252,7 @@ pub(crate) fn validate_linear_texture_data(
) -> Result<(BufferAddress, BufferAddress), TransferError> {
// Convert all inputs to BufferAddress (u64) to avoid some of the overflow issues
// Note: u64 is not always enough to prevent overflow, especially when multiplying
// something with a potentially large depth value, so it is preferrable to validate
// something with a potentially large depth value, so it is preferable to validate
// the copy size before calling this function (for example via `validate_texture_copy_range`).
let copy_width = copy_size.width as BufferAddress;
let copy_height = copy_size.height as BufferAddress;