Add a headless render check for the 16-bit sidecar swap.
The proxy and sidecar reach the GPU through different upload paths, and whether they agree depends on UNPACK_FLIP_Y_WEBGL being ignored for ImageBitmap. A unit test cannot see that, so the picture could silently start flipping again. The check encodes a two-tone sidecar with the server's encoder, serves it beside the matching JPEG and measures the rows that land in a WebGL2 texture in headless Chrome. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"preview": "vite preview",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"check:render": "node scripts/render-check.mjs",
|
||||
"build:lens-db": "node scripts/build-lens-db.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user