Skip to content

Collection of small fixes - #763

Merged
solidpixel merged 12 commits into
mainfrom
opt-codec-correctness
Nov 12, 2026
Merged

solidpixel merged 12 commits into
mainfrom
opt-codec-correctness

Conversation

@solidpixel

@solidpixel solidpixel commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR is a collection of small bug fixes.

  • Correct HDR endpoint encoding to not overflow fields after rounding.
  • Correct HDR RGBS endpoint error weighting to not weight by color weight twice.
  • Correct use of HDR -perceptual and -alphascale at the same time.
  • Correct DDS format validation bugs that would cause valid DDS images to fail to be loaded.
  • Correct KTX row padding handling bugs in both load and store paths.
  • Clamp alpha range above zero in variance tables, to match the image loader.
  • Add API rejection of a NaN quality value.
  • Add API rejection of volumetric images not using volumetric block sizes, before would just compress plane 0.

@solidpixel
solidpixel force-pushed the opt-codec-correctness branch from 2be0b0e to 0a77e7b Compare November 12, 2026 19:52
@solidpixel
solidpixel merged commit 052d698 into main Nov 12, 2026
20 checks passed
@solidpixel
solidpixel deleted the opt-codec-correctness branch November 12, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant