Skip to content

Added bit bias when storing R8_UNORM to be consistent with other 8bpp#671

Open
walbourn wants to merge 1 commit intomainfrom
r8unormbitbias
Open

Added bit bias when storing R8_UNORM to be consistent with other 8bpp#671
walbourn wants to merge 1 commit intomainfrom
r8unormbitbias

Conversation

@walbourn
Copy link
Member

Adds a bias in StoreScanline when converting the float values to 8bpp channel specifically for DXGI_FORMAT_R8_UNORM and DXGI_FORMAT_A8_UNORM. This makes it consistent with other 8bpp formats.

@walbourn walbourn added the bug label Feb 12, 2026
@walbourn walbourn self-assigned this Feb 12, 2026
@walbourn
Copy link
Member Author

Test updates

walbourn/directxtextest#69

@walbourn walbourn linked an issue Feb 13, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent results between R8_UNORM and RGBA

1 participant