@flighthq/tool-capture 0.3.1-next.1162.1c7f42e → 0.3.1-next.1165.285e507
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,12 +23,26 @@ const FLIGHT_VISUAL_PARITY_GROUPS = {
|
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
25
|
const FLIGHT_PARITY_SKIP = {
|
|
26
|
+
// Canvas and DOM antialias inherently and expose no switch to disable it. WebGPU cannot be moved in
|
|
27
|
+
// the other direction yet: its pooled effect targets deliberately stay sampleCount 1 until the
|
|
28
|
+
// pipelines gain multisample variants (render-wgpu/src/wgpuRenderTargetPool.ts:14-15). AA everywhere
|
|
29
|
+
// will remove this systematic one-hard-edged-backend gap, but distinct rasterizers will still differ
|
|
30
|
+
// sample for sample, so these entries promise comparable AA policy rather than pixel-identical edges.
|
|
31
|
+
// Invert agrees away from its shape boundaries; its WebGPU boundary pixels come from that single-sample
|
|
32
|
+
// scene target while this scene's WebGL target explicitly uses sampleCount 4.
|
|
33
|
+
'effect-invert': ['webgpu'],
|
|
26
34
|
// Canvas has no lens-distortion runner; its functional column intentionally renders the unwarped
|
|
27
35
|
// control scene, so only the two realized GPU recipes are comparable.
|
|
28
36
|
'effect-lens-distortion': ['canvas'],
|
|
29
37
|
// Canvas likewise has no lens-flare runner and intentionally records an unmodified control scene.
|
|
30
38
|
// The realized WebGL and WebGPU flare recipes remain the meaningful comparison.
|
|
31
39
|
'effect-lens-flare': ['canvas'],
|
|
40
|
+
// This scene exists to isolate a sampleCount-4 effect target. Its WebGPU option is currently a no-op,
|
|
41
|
+
// so comparing that single-sample control would absorb the missing capability into parity tolerance.
|
|
42
|
+
'effect-msaa': ['webgpu'],
|
|
43
|
+
// Bloom runs on WebGPU, but its rotated source shapes enter the recipe through the same single-sample
|
|
44
|
+
// target. Keep WebGPU out while Canvas's inherent AA and WebGL's sampleCount-4 source remain comparable.
|
|
45
|
+
'effect-msaa-bloom': ['webgpu'],
|
|
32
46
|
// Canvas has no posterize runner; its scene is an explicit unsupported-control column rather than
|
|
33
47
|
// a realization of the GPU hard-step quantization recipe.
|
|
34
48
|
'effect-posterize': ['canvas'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureFlightPreset.js","sourceRoot":"","sources":["../src/captureFlightPreset.ts"],"names":[],"mappings":"AAQA,qGAAqG;AACrG,MAAM,UAAU,gCAAgC,CAAC,OAAe;IAC9D,OAAO;QACL,eAAe,EAAE,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE;QAC/D,YAAY,EAAE,OAAO,KAAK,YAAY,IAAI,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS;QAC1G,UAAU,EAAE,kBAAkB;KAC/B,CAAC;AACJ,CAAC;AAED,wGAAwG;AACxG,oGAAoG;AACpG,yGAAyG;AACzG,oGAAoG;AACpG,2FAA2F;AAC3F,EAAE;AACF,gGAAgG;AAChG,wGAAwG;AACxG,mGAAmG;AACnG,0FAA0F;AAC1F,MAAM,2BAA2B,GAA2D;IAC1F,MAAM,EAAE;QACN,OAAO,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC;QAC7C,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC;AAEF,MAAM,kBAAkB,GAAyD;IAC/E,iGAAiG;IACjG,sEAAsE;IACtE,wBAAwB,EAAE,CAAC,QAAQ,CAAC;IACpC,kGAAkG;IAClG,gFAAgF;IAChF,mBAAmB,EAAE,CAAC,QAAQ,CAAC;IAC/B,kGAAkG;IAClG,0DAA0D;IAC1D,kBAAkB,EAAE,CAAC,QAAQ,CAAC;IAC9B,oGAAoG;IACpG,8FAA8F;IAC9F,iBAAiB,EAAE,CAAC,QAAQ,CAAC;IAC7B,iGAAiG;IACjG,kGAAkG;IAClG,iBAAiB,EAAE,KAAK;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,QAAQ,CAAC;IAC9B,oGAAoG;IACpG,8FAA8F;IAC9F,iBAAiB,EAAE,CAAC,QAAQ,CAAC;IAC7B,iGAAiG;IACjG,kGAAkG;IAClG,iBAAiB,EAAE,KAAK;CACzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/tool-capture",
|
|
3
|
-
"version": "0.3.1-next.
|
|
3
|
+
"version": "0.3.1-next.1165.285e507",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@flighthq/capture": "0.3.1-next.
|
|
46
|
-
"@flighthq/render-wgpu": "0.3.1-next.
|
|
47
|
-
"@flighthq/bitmap": "0.3.1-next.
|
|
48
|
-
"@flighthq/types": "0.3.1-next.
|
|
45
|
+
"@flighthq/capture": "0.3.1-next.1165.285e507",
|
|
46
|
+
"@flighthq/render-wgpu": "0.3.1-next.1165.285e507",
|
|
47
|
+
"@flighthq/bitmap": "0.3.1-next.1165.285e507",
|
|
48
|
+
"@flighthq/types": "0.3.1-next.1165.285e507",
|
|
49
49
|
"@playwright/test": "^1.50.0",
|
|
50
50
|
"picocolors": "^1.1.1"
|
|
51
51
|
},
|
|
@@ -29,8 +29,11 @@ describe('getFlightCaptureValidationPreset', () => {
|
|
|
29
29
|
|
|
30
30
|
it('keeps only the parity exceptions backed by current renderer behavior', () => {
|
|
31
31
|
expect(getFlightCaptureValidationPreset('functional').paritySkip).toEqual({
|
|
32
|
+
'effect-invert': ['webgpu'],
|
|
32
33
|
'effect-lens-distortion': ['canvas'],
|
|
33
34
|
'effect-lens-flare': ['canvas'],
|
|
35
|
+
'effect-msaa': ['webgpu'],
|
|
36
|
+
'effect-msaa-bloom': ['webgpu'],
|
|
34
37
|
'effect-posterize': ['canvas'],
|
|
35
38
|
'effect-vignette': ['canvas'],
|
|
36
39
|
'effect-god-rays': 'all',
|