Skip to content

Add missing expectations for the mip counts reported by GetDimensions tests - #1625

Merged
Icohedron merged 2 commits into
llvm:mainfrom
Icohedron:getdims-mip-levels
Oct 23, 2026
Merged

Icohedron merged 2 commits into
llvm:mainfrom
Icohedron:getdims-mip-levels

Conversation

@Icohedron

Copy link
Copy Markdown
Contributor

Fixes #1579.

Add missing expectations for the mip count reported by GetDimensions (commit 49bb0ec), and then reorder the expected buffer to match the new order in which outputs are written (commit 4f8bb1f).

This just ensures the mip-count output is the total number of mip levels in the bound view, and not something else (e.g., the number remaining below the queried mip).

Check the total mip count returned by the existing Texture2D and TextureCube queries without renumbering existing outputs. Document that mip-count results are independent of the queried level.

Closes llvm#1579
@Icohedron Icohedron changed the title Add missing expectations for the mip counts reported by GetDimensions Add missing expectations for the mip counts reported by GetDimensions tests Oct 22, 2026

@hekota hekota left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Icohedron
Icohedron merged commit 3cf9bd0 into llvm:main Oct 23, 2026
24 of 32 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.

Check the mip counts that GetDimensions returns at nonzero mip levels

3 participants