Skip to content

Remove Clang && DirectX XFAILs from Texture2D.Load, Texture2D.OperatorIndex, and Texture2D.mips.OperatorIndex tests#1109

Open
Icohedron wants to merge 3 commits intollvm:mainfrom
Icohedron:dx-texture-load
Open

Remove Clang && DirectX XFAILs from Texture2D.Load, Texture2D.OperatorIndex, and Texture2D.mips.OperatorIndex tests#1109
Icohedron wants to merge 3 commits intollvm:mainfrom
Icohedron:dx-texture-load

Conversation

@Icohedron
Copy link
Copy Markdown
Contributor

@Icohedron Icohedron commented Apr 23, 2026

llvm/llvm-project#193343 was merged, completing the DirectX backend implementations of the texture load method (llvm/llvm-project#192546) and the texture [] operator (llvm/llvm-project#192558). The .mips[][] operator also simply lowers to a texture load, so its implementation is also complete.

Therefore the tests test/Feature/Textures/Texture2D.Load.test.yaml, test/Feature/Textures/Texture2D.OperatorIndex.test.yaml, and test/Feature/Textures/Texture2D.mips.OperatorIndex.test.yaml can now be enabled for Clang && DirectX.

However, only test/Feature/Textures/Texture2D.Load.test.yaml is expected to pass, as the other two tests require multiple mip level support and therefore will still XFAIL on DirectX due to #1039

#--- end

# Unimplemented: Clang + DX: https://github.com/llvm/llvm-project/issues/101558
# XFAIL: DirectX || Metal && Clang
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.

You might need to re-run this test I don't think your changes got picked up by the offload CI.

Copy link
Copy Markdown
Contributor Author

@Icohedron Icohedron Apr 23, 2026

Choose a reason for hiding this comment

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

No, it seems the test is failing with gpu-exec: error: Multiple mip levels are not yet supported for DirectX textures. on all the DirectX 12 pipelines.
I need to re-add the XFAIL for DirectX, but it is now passing with Metal.

The issue to track implementation of multiple mip levels in DirectX is: #1039

@Icohedron Icohedron changed the title Enable Texture2D.Load and Texture2D.OperatorIndex tests for Clang DirectX Enable Texture2D.Load for Clang DirectX. Remove Clang && DirectX XFAIL from Texture2D.OperatorIndex and Texture2D.mips.OperatorIndex tests Apr 23, 2026
@Icohedron Icohedron changed the title Enable Texture2D.Load for Clang DirectX. Remove Clang && DirectX XFAIL from Texture2D.OperatorIndex and Texture2D.mips.OperatorIndex tests Remove Clang && DirectX XFAILs from Texture2D.Load, Texture2D.OperatorIndex, and Texture2D.mips.OperatorIndex tests Apr 23, 2026
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