Skip to content

Execution Tests: Update Long Vector tests to no longer require ShaderOpArith.xml#7999

Closed
alsepkow wants to merge 1 commit intomicrosoft:mainfrom
alsepkow:user/alsepkow/EmbedShaderOpArith
Closed

Execution Tests: Update Long Vector tests to no longer require ShaderOpArith.xml#7999
alsepkow wants to merge 1 commit intomicrosoft:mainfrom
alsepkow:user/alsepkow/EmbedShaderOpArith

Conversation

@alsepkow
Copy link
Copy Markdown
Contributor

This PR embeds the xml file used by the Long Vector tests into ExecHlslTests.dll. Removing the need to provide /p:HlslDataDir at runtime. Also moved the relevant data out of ShaderOpArith.xml into its own LongVectorOp.xml file.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 10, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@alsepkow alsepkow force-pushed the user/alsepkow/EmbedShaderOpArith branch from 5dcffe9 to 0fc5d9e Compare December 10, 2025 20:41
@alsepkow alsepkow marked this pull request as ready for review December 10, 2025 20:41
IStream **TestXML, dxc::SpecificDllLoader &Support) {

DllWrapper Dll;
Dll.Module = LoadLibraryEx(TEXT("ExecHLSLTests.dll"), nullptr,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@damyanp You mentioned the hard coded module name would be a problem here. I think we can change to using the name from GetModuleFileName to handle the tests have a different dll name?

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.

What HMODULE would you pass to GetModuleFilename?

@alsepkow alsepkow closed this Jan 13, 2026
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Jan 13, 2026
@alsepkow alsepkow deleted the user/alsepkow/EmbedShaderOpArith branch January 31, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants