chore: remove redundant words (#18215)

Signed-off-by: sunxunle <sunxunle@ampere.tech>
This commit is contained in:
sunxunle
2025-01-22 15:27:32 +08:00
committed by GitHub
parent 9b4dfdb0fb
commit 1524ae1db2
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -716,7 +716,7 @@ interface GPUColorTargetState {
*/
blend?: GPUBlendState;
/**
* Bitmask controlling which channels are are written to when drawing to this color target.
* Bitmask controlling which channels are written to when drawing to this color target.
*/
writeMask?: GPUColorWriteFlags;
}
+1 -1
View File
@@ -317,7 +317,7 @@ function compareX (a, b): number {
return a.x - b.x;
}
// find a bridge between vertices that connects hole with an outer ring and and link it
// find a bridge between vertices that connects hole with an outer ring and link it
function eliminateHole (hole: Aim, outerNode: Aim | null): void {
outerNode = findHoleBridge(hole, outerNode!);
if (outerNode) {
+2 -2
View File
@@ -312,7 +312,7 @@ export class Pass {
}
/**
* @en Bind a GFX [[gfx.Texture]] the the given uniform binding
* @en Bind a GFX [[gfx.Texture]] the given uniform binding
* @zh 绑定实际 GFX [[gfx.Texture]] 到指定 binding。
* @param binding The binding for target uniform of texture type
* @param value Target texture
@@ -322,7 +322,7 @@ export class Pass {
}
/**
* @en Bind a GFX [[gfx.Sampler]] the the given uniform binding
* @en Bind a GFX [[gfx.Sampler]] the given uniform binding
* @zh 绑定实际 GFX [[gfx.Sampler]] 到指定 binding。
* @param binding The binding for target uniform of sampler type
* @param value Target sampler
+2 -2
View File
@@ -171,7 +171,7 @@ public:
void setUniformArray(uint32_t handle, const MaterialPropertyList &value);
/**
* @en Bind a GFX [[Texture]] the the given uniform binding
* @en Bind a GFX [[Texture]] the given uniform binding
* @zh 绑定实际 GFX [[Texture]] 到指定 binding。
* @param binding The binding for target uniform of texture type
* @param value Target texture
@@ -179,7 +179,7 @@ public:
void bindTexture(uint32_t binding, gfx::Texture *value, uint32_t index = 0);
/**
* @en Bind a GFX [[Sampler]] the the given uniform binding
* @en Bind a GFX [[Sampler]] the given uniform binding
* @zh 绑定实际 GFX [[Sampler]] 到指定 binding。
* @param binding The binding for target uniform of sampler type
* @param value Target sampler