Name the clipped channels in the Ctrl clipping overlay again.
0c113e7 packed clipping into two alpha states (shadow / highlight), so the finish
pass could only paint white even though the legend still promised red, green,
blue and yellow. The grade pass now writes a 4-bit code (R/G/B + shadow) into
alpha and the overlay paints the channels it actually lost: red for one, yellow
for two, white for all three. The render check renders the overlay so this
cannot regress silently.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -992,12 +992,14 @@ Conventions worth knowing before changing code:
|
||||
|
||||
There are no server integration tests; the API is exercised through the UI.
|
||||
|
||||
`npm run check:render` covers the one thing the unit suite cannot: real GPU upload
|
||||
orientation. It encodes a two-tone 16-bit sidecar with the server's own encoder, serves
|
||||
it beside the matching JPEG proxy and measures the rows that reach a WebGL2 texture in
|
||||
headless Chrome. If the sidecar ever lands upside down against the proxy again, it fails
|
||||
with the measured row values. It needs Chrome (`CHROME_PATH` overrides discovery) and
|
||||
skips with a notice when none is installed.
|
||||
`npm run check:render` covers the one thing the unit suite cannot: what a shader does to
|
||||
real GPU pixels. It encodes a 16-bit sidecar with the server's own encoder, serves it
|
||||
beside the matching JPEG proxy and measures the rows that reach a WebGL2 texture in
|
||||
headless Chrome. Then it renders that image through the real `Renderer` with the Ctrl
|
||||
clipping preview on, so the overlay has to paint red for one clipped channel and yellow
|
||||
for two instead of collapsing to white. It fails on either regression, printing the
|
||||
measured values, needs Chrome (`CHROME_PATH` overrides discovery) and skips with a notice
|
||||
when none is installed.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user