Skip to content

Commit 1524ae1

Browse files
authored
chore: remove redundant words (#18215)
Signed-off-by: sunxunle <sunxunle@ampere.tech>
1 parent 9b4dfdb commit 1524ae1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

@types/webGPU.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ interface GPUColorTargetState {
716716
*/
717717
blend?: GPUBlendState;
718718
/**
719-
* Bitmask controlling which channels are are written to when drawing to this color target.
719+
* Bitmask controlling which channels are written to when drawing to this color target.
720720
*/
721721
writeMask?: GPUColorWriteFlags;
722722
}

cocos/2d/assembler/graphics/webgl/earcut.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function compareX (a, b): number {
317317
return a.x - b.x;
318318
}
319319

320-
// find a bridge between vertices that connects hole with an outer ring and and link it
320+
// find a bridge between vertices that connects hole with an outer ring and link it
321321
function eliminateHole (hole: Aim, outerNode: Aim | null): void {
322322
outerNode = findHoleBridge(hole, outerNode!);
323323
if (outerNode) {

cocos/render-scene/core/pass.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export class Pass {
312312
}
313313

314314
/**
315-
* @en Bind a GFX [[gfx.Texture]] the the given uniform binding
315+
* @en Bind a GFX [[gfx.Texture]] the given uniform binding
316316
* @zh 绑定实际 GFX [[gfx.Texture]] 到指定 binding。
317317
* @param binding The binding for target uniform of texture type
318318
* @param value Target texture
@@ -322,7 +322,7 @@ export class Pass {
322322
}
323323

324324
/**
325-
* @en Bind a GFX [[gfx.Sampler]] the the given uniform binding
325+
* @en Bind a GFX [[gfx.Sampler]] the given uniform binding
326326
* @zh 绑定实际 GFX [[gfx.Sampler]] 到指定 binding。
327327
* @param binding The binding for target uniform of sampler type
328328
* @param value Target sampler

native/cocos/scene/Pass.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ class Pass : public RefCounted {
171171
void setUniformArray(uint32_t handle, const MaterialPropertyList &value);
172172

173173
/**
174-
* @en Bind a GFX [[Texture]] the the given uniform binding
174+
* @en Bind a GFX [[Texture]] the given uniform binding
175175
* @zh 绑定实际 GFX [[Texture]] 到指定 binding。
176176
* @param binding The binding for target uniform of texture type
177177
* @param value Target texture
178178
*/
179179
void bindTexture(uint32_t binding, gfx::Texture *value, uint32_t index = 0);
180180

181181
/**
182-
* @en Bind a GFX [[Sampler]] the the given uniform binding
182+
* @en Bind a GFX [[Sampler]] the given uniform binding
183183
* @zh 绑定实际 GFX [[Sampler]] 到指定 binding。
184184
* @param binding The binding for target uniform of sampler type
185185
* @param value Target sampler

0 commit comments

Comments
 (0)