Final clean up
Some checks failed
Check & deploy / build (pull_request) Failing after 1m16s

This commit is contained in:
Andras Schmelczer 2026-05-24 10:52:20 +01:00
parent 05c8a39bd8
commit c40c5d97db
74 changed files with 864 additions and 670 deletions

View file

@ -122,7 +122,7 @@ export class BrushPipeline {
},
fragment: {
module: shaderModule,
entryPoint: 'fragmentMrt',
entryPoint: 'fragment',
targets: [
{
format: TRAIL_SOURCE_TEXTURE_FORMAT,
@ -166,7 +166,7 @@ export class BrushPipeline {
this.segments.flush();
}
public executeMultiTarget(
public executeSource(
commandEncoder: GPUCommandEncoder,
sourceMapOut: GPUTextureView,
timestampWrites?: GPURenderPassTimestampWrites
@ -176,6 +176,7 @@ export class BrushPipeline {
return false;
}
recordBrushPassForE2e();
const passEncoder = commandEncoder.beginRenderPass({
colorAttachments: [{ view: sourceMapOut, loadOp: 'load', storeOp: 'store' }],
timestampWrites,
@ -194,3 +195,12 @@ export class BrushPipeline {
this.uniforms.destroy();
}
}
const recordBrushPassForE2e = (): void => {
if (typeof window === 'undefined') {
return;
}
const state = window as Window & { __fleetingGardenBrushPasses?: number };
state.__fleetingGardenBrushPasses = (state.__fleetingGardenBrushPasses ?? 0) + 1;
};