Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Mar 10, 2022
1 parent 8702c63 commit 5a0b912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/webgpu/util/color_space_conversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { assert } from '../../common/util/util.js';

import { multiplyMatrices } from './math.js';

// The color space conversion function definations copies directly from
// These color space conversion function definitions are copied directly from
// CSS Color Module Level 4 Sample Code: https://drafts.csswg.org/css-color/#color-conversion-code

// Sample code for color conversions
Expand Down
2 changes: 1 addition & 1 deletion src/webgpu/util/copy_to_texture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class CopyToTextureUtils extends GPUTest {
srcPremultiplied: boolean,
dstPremultiplied: boolean,
isFlipY: boolean,
srcColorSpace: GPUPredefinedColorSpace | 'display-p3' = 'srgb',
srcColorSpace: PredefinedColorSpace = 'srgb',
dstColorSpace: GPUPredefinedColorSpace = 'srgb'
): Uint8ClampedArray {
const bytesPerPixel = kTextureFormatInfo[format].bytesPerBlock;
Expand Down

0 comments on commit 5a0b912

Please sign in to comment.