-
Notifications
You must be signed in to change notification settings - Fork 263
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
Fix precompiledTargetModule tests #6455
Conversation
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.
New DXC requires higher version for linkability.
/format |
🌈 Formatted, please merge the changes from this PR |
…testcrash Format code for PR shader-slang#6455
eea3c81
to
0bfc2cc
Compare
/format |
🌈 Formatted, please merge the changes from this PR |
…testcrash Format code for PR shader-slang#6455
94c806d
to
e3b2bc7
Compare
/format |
🌈 Formatted, please merge the changes from this PR |
getDebugCallback()->handleMessage( | ||
msgType, | ||
DebugMessageSource::Slang, | ||
(char*)diagnostics->getBufferPointer()); |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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
intokernerlCodes
.
https://github.com/shader-slang/slang/pull/6570/files
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.