Skip to content

Conversation

@alsepkow
Copy link
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
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
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
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

2 participants