Skip to content

Simplify .dds writer - #779

Merged
solidpixel merged 2 commits into
ARM-software:mainfrom
rygorous:simplify-dds-writer
Nov 17, 2026
Merged

solidpixel merged 2 commits into
ARM-software:mainfrom
rygorous:simplify-dds-writer

Conversation

@rygorous

Copy link
Copy Markdown
Contributor

Get rid of the unnecessary indirections with the row pointers, it's just a flat array in the end.

Originally this commit fixed a bug where row_pointers init was
using dim_y * dim_z not dim_y * dim_x; this bug has since been
fixup upstream, but this commit also got rid of the unnecessary
intermediate layer of pointers, and I ported that part of the
fix over in case there's interest.
@solidpixel solidpixel changed the title Simplify .dds writer. Simplify .dds writer Nov 17, 2026
@solidpixel

Copy link
Copy Markdown
Contributor

I'll make an equivalent change to the KTX file handling in a separate PR.

@solidpixel
solidpixel merged commit e5f8425 into ARM-software:main Nov 17, 2026
20 checks passed
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.

2 participants