-
Notifications
You must be signed in to change notification settings - Fork 722
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
Access violation (silent, no error messages generated) when trying to build pixel shader #3377
Comments
Additional information: Crashes in a memory copy, Source address = FEEEFEEEABABABAB Stack trace from a debugger:
|
While the compiler should not crash here, dxc does not support uniform function arguments this way. The The SamplerState details But as I said, dxc shouldn't crash here, so thanks for that report. |
Crash still reproduces see godbolt |
Still repros. |
Although the call stack above looks like it is going through matrix code, when looking at more minimal repros of this matrices aren't involved. Main issue seems to be around having a semantic set on a texture parameter to the entry point - and these shouldn't be allowed anyway. |
This is a port of a D3D9 trivial shader that just samples a texture. It successfully compiles on FXC as Pixel Shader 5.0, but fails to build on DXC as Pixel Shader 6.0.
No compile errors are displayed at all.
echo %ERRORLEVEL%
returns-1073741819
(0xC0000005, Access Violation)There are probably mistakes in this code, but I have no clue what they are, as no compiler errors are being displayed.
The text was updated successfully, but these errors were encountered: