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

Fix precompiledTargetModule tests #6455

Merged
merged 10 commits into from
Feb 27, 2025

Conversation

cheneym2
Copy link
Collaborator

Add SPIRV-Tool linker support to gfx unit tests
and use the linker in precompileModule tests
that use precompiled modules to reconstitute
SPIRV shaders that were modularly compiled.

Fix a Slang reference count bug in the
precompile service.

Add SPIRV-Tool linker support to gfx unit tests
and use the linker in precompileModule tests
that use precompiled modules to reconstitute
SPIRV shaders that were modularly compiled.

Fix a Slang reference count bug in the
precompile service.
@cheneym2 cheneym2 requested a review from a team as a code owner February 25, 2025 21:01
@cheneym2 cheneym2 added the pr: non-breaking PRs without breaking changes label Feb 25, 2025
New DXC requires higher version
for linkability.
@cheneym2
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

🌈 Formatted, please merge the changes from this PR

cheneym2 added a commit to cheneym2/slang that referenced this pull request Feb 26, 2025
@cheneym2 cheneym2 force-pushed the cheneym2/precompiledtestcrash branch from eea3c81 to 0bfc2cc Compare February 26, 2025 18:27
@cheneym2
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

🌈 Formatted, please merge the changes from this PR

cheneym2 added a commit to cheneym2/slang that referenced this pull request Feb 26, 2025
@cheneym2 cheneym2 enabled auto-merge (squash) February 26, 2025 18:35
@cheneym2 cheneym2 force-pushed the cheneym2/precompiledtestcrash branch from 94c806d to e3b2bc7 Compare February 26, 2025 18:43
@cheneym2
Copy link
Collaborator Author

/format

@slangbot
Copy link
Contributor

🌈 Formatted, please merge the changes from this PR

@csyonghe csyonghe disabled auto-merge February 27, 2025 02:20
@csyonghe csyonghe merged commit 02706df into shader-slang:master Feb 27, 2025
7 checks passed
@cheneym2 cheneym2 deleted the cheneym2/precompiledtestcrash branch February 27, 2025 15:12
getDebugCallback()->handleMessage(
msgType,
DebugMessageSource::Slang,
(char*)diagnostics->getBufferPointer());
Copy link
Contributor

Choose a reason for hiding this comment

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

If there is error here, we should either return error, or not add downstreamIR into kernerlCodes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If there is error here, we should either return error, or not add downstreamIR into kernerlCodes.
https://github.com/shader-slang/slang/pull/6570/files

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.

4 participants