Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Oct 8, 2024
1 parent 3b81ae4 commit 4df5bc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl ChromaSubsamplingConversionTask {
) -> Result<GpuTexture, DrawError> {
// TODO(andreas): Does this have to be on the global view encoder?
// If this ever becomes a problem we could easily schedule this to another encoder as long as
// we gurantee that the conversion is enqueued before the resulting texture is used.
// we guarantee that the conversion is enqueued before the resulting texture is used.
// Given that we already have this neatly encapsulated work package this would be quite easy to do!
let mut encoder = ctx.active_frame.before_view_builder_encoder.lock();
let mut pass = encoder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::{
///
/// This applies both to YUV and RGB formats, but if not specified otherwise
/// we assume BT.709 primaries for all RGB(A) 8bits per channel content (details below on [`ColorSpace::Bt709`]).
/// Since with YUV content the color space is often less clear, we always explicitely
/// Since with YUV content the color space is often less clear, we always explicitly
/// specify it.
///
/// Ffmpeg's documentation has a short & good overview of these relationships:
Expand Down Expand Up @@ -189,7 +189,7 @@ impl<'a> ImageDataDesc<'a> {
///
/// Schedules render passes to convert the data to a samplable textures if needed.
///
/// Generally, we currently do *not* sRGB converting formats like [`wgpu::TextureFormat::Rgba8UnormSrgb`] in order to...
/// Generally, we currently do *not* use sRGB converting formats like [`wgpu::TextureFormat::Rgba8UnormSrgb`] in order to
/// * have the same shader code path for high precision formats (e.g. an f16 texture that _still_ encodes sRGB data)
/// * handle alpha pre-multiply on the fly (needs to happen before sRGB decode to linear)
///
Expand Down

0 comments on commit 4df5bc6

Please sign in to comment.