Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly set D3D12SDKPath #5993

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jkwak-work
Copy link
Collaborator

Closes #5992

This commit have an effect on slang-test.exe and test-server.exe.

When we run slang-test.exe, it uses D3D12Core.DLL located at build/{Release,Debug}/bin/D3D12, which is D3D12 from where the executable file is located at.

This has been working fine but we found a case where it doesn't work properly. This commit sets D3D12SDKPath value explicitly to avoid potential problems.

Closes shader-slang#5992

This commit have an effect on slang-test.exe and test-server.exe.

When we run slang-test.exe, it uses D3D12Core.DLL located at
`build/{Release,Debug}/bin/D3D12`, which is `D3D12` from where the
executable file is located at.

This has been working fine but we found a case where it doesn't work
properly.  This commit sets D3D12SDKPath value explicitly to avoid
potential problems.
@jkwak-work jkwak-work added the pr: non-breaking PRs without breaking changes label Jan 3, 2025
@jkwak-work jkwak-work requested a review from cheneym2 January 3, 2025 00:11
@jkwak-work jkwak-work self-assigned this Jan 3, 2025
@jkwak-work jkwak-work requested a review from a team as a code owner January 3, 2025 00:11
aleino-nv
aleino-nv previously approved these changes Jan 3, 2025
Copy link
Collaborator

@aleino-nv aleino-nv left a comment

Choose a reason for hiding this comment

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

LGTM but would be good to document the exports a bit.

tools/slang-test/slang-test-main.cpp Outdated Show resolved Hide resolved
@jkwak-work
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

slangbot commented Jan 3, 2025

🌈 Formatted, please merge the changes from this PR

@jkwak-work jkwak-work enabled auto-merge (squash) January 3, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly set D3D12SDKPath as .\\D3D12\\
3 participants