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
[spirv] Fix null pointer dereference #3861
Conversation
@jaebaek This should fix the crash, but of course will not generate valid SPIR-V. Is this new intrinsic one that has been discussed before or that warrants tracking separately for the SPIR-V backend? |
We have not implemented @pow2clk could you please point out the document about |
Fix a null pointer dereference which can occur when an unimplemented intrinsic is used. The repro shader from issue microsoft#2955 (added as a unit test) now fails with a useful message rather than a silent crash.
Hi @jaebaek!
Congrats @sudonatalie on your first PR to DXC! 😄 |
Thanks @pow2clk ! |
Fix a null pointer dereference which can occur when an unimplemented
intrinsic is used. The repro shader from issue #2955 (added as a unit
test) now fails with a useful message rather than a silent crash.