@flighthq/tool-capture 0.3.1-next.425.a3192ab → 0.3.1-next.493.539802d

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,14 +23,23 @@ const FLIGHT_VISUAL_PARITY_GROUPS = {
23
23
  },
24
24
  };
25
25
  const FLIGHT_PARITY_SKIP = {
26
- playingvideo: 'all',
27
- 'effect-hue-saturation': ['canvas'],
26
+ // Canvas has no lens-distortion runner; its functional column intentionally renders the unwarped
27
+ // control scene, so only the two realized GPU recipes are comparable.
28
28
  'effect-lens-distortion': ['canvas'],
29
+ // Canvas likewise has no lens-flare runner and intentionally records an unmodified control scene.
30
+ // The realized WebGL and WebGPU flare recipes remain the meaningful comparison.
29
31
  'effect-lens-flare': ['canvas'],
32
+ // Canvas has no posterize runner; its scene is an explicit unsupported-control column rather than
33
+ // a realization of the GPU hard-step quantization recipe.
30
34
  'effect-posterize': ['canvas'],
35
+ // Canvas ramps its multiply gradient to the frame corner; the GPU smoothstep reaches full darkening
36
+ // at the configured radius. Keep the canvas reference out until those vignette recipes agree.
31
37
  'effect-vignette': ['canvas'],
38
+ // The GL and WebGPU fullscreen UV origins drive the y-dependent sine warp with opposite vertical
39
+ // phase, so the realized displacement images remain outside the parity tolerance.
32
40
  'effect-displacement': 'all',
41
+ // God-rays interprets centerY in each fullscreen backend's native UV orientation. The asymmetric
42
+ // 0.4 light point therefore aligns with the scene core only on WebGPU and the ray fields diverge.
33
43
  'effect-god-rays': 'all',
34
- 'effect-screen-space-fog': 'all',
35
44
  };
36
45
  //# sourceMappingURL=captureFlightPreset.js.map
@@ -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,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C/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,kFAAkF;IAClF,qBAAqB,EAAE,KAAK;IAC5B,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.425.a3192ab",
3
+ "version": "0.3.1-next.493.539802d",
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.425.a3192ab",
46
- "@flighthq/render-wgpu": "0.3.1-next.425.a3192ab",
47
- "@flighthq/bitmap": "0.3.1-next.425.a3192ab",
48
- "@flighthq/types": "0.3.1-next.425.a3192ab",
45
+ "@flighthq/capture": "0.3.1-next.493.539802d",
46
+ "@flighthq/render-wgpu": "0.3.1-next.493.539802d",
47
+ "@flighthq/bitmap": "0.3.1-next.493.539802d",
48
+ "@flighthq/types": "0.3.1-next.493.539802d",
49
49
  "@playwright/test": "^1.50.0",
50
50
  "picocolors": "^1.1.1"
51
51
  },
@@ -26,4 +26,15 @@ describe('getFlightCaptureValidationPreset', () => {
26
26
  expect(getFlightCaptureValidationPreset('examples').fingerprintSkip).toEqual(['playingsound']);
27
27
  expect(getFlightCaptureValidationPreset('custom').fingerprintSkip).toEqual([]);
28
28
  });
29
+
30
+ it('keeps only the parity exceptions backed by current renderer behavior', () => {
31
+ expect(getFlightCaptureValidationPreset('functional').paritySkip).toEqual({
32
+ 'effect-lens-distortion': ['canvas'],
33
+ 'effect-lens-flare': ['canvas'],
34
+ 'effect-posterize': ['canvas'],
35
+ 'effect-vignette': ['canvas'],
36
+ 'effect-displacement': 'all',
37
+ 'effect-god-rays': 'all',
38
+ });
39
+ });
29
40
  });