We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description Small shader crashes DXC. Verified with nightlies.
Steps to Reproduce
Commandline: dxc.exe -T cs_6_2 -E csAccumulate -spirv -fspv-target-env="vulkan1.1" -Fo output.spv .\badfile.hlsl
dxc.exe -T cs_6_2 -E csAccumulate -spirv -fspv-target-env="vulkan1.1" -Fo output.spv .\badfile.hlsl
I've got the shader down to:
struct CommonParams { float2 paramA; }; void ComputeProj(const CommonParams params, out float2 paramA) { } void RectifyHistory( inout float3 fHistoryColor, inout float3 fHistoryWeight) { } CommonParams InitParams(int2 iPxHrPos) { CommonParams params; ComputeProj(params, params.paramA); return params; } void Accumulate(int2 iPxHrPos) { const CommonParams params = InitParams(iPxHrPos); float3 fHistoryColor = float3(0, 0, 0); float fHistoryWeight = float(0); RectifyHistory(fHistoryColor, fHistoryWeight); } [numthreads(8, 8, 1)] void csAccumulate(int2 iDispatchThreadID : SV_DispatchThreadID, int2 iGroupId : SV_GroupID, int2 iGroupThreadId : SV_GroupThreadID, int iGroupThreadIndex : SV_GroupIndex) { Accumulate(iDispatchThreadID); }
Note the float/float3 mismatch with fHistoryWeight. This throws a warning compiling for DX. SPIRV crashes with no error.
Environment
dxcompiler.dll: 1.8 - 1.8.2403.37 (11e1318c3); dxil.dll: 1.8(101.8.2403.24)
The text was updated successfully, but these errors were encountered:
@jbright282 Thanks for reporting, we'll take a look.
Sorry, something went wrong.
No branches or pull requests
Description
Small shader crashes DXC. Verified with nightlies.
Steps to Reproduce
Commandline:
dxc.exe -T cs_6_2 -E csAccumulate -spirv -fspv-target-env="vulkan1.1" -Fo output.spv .\badfile.hlsl
I've got the shader down to:
Note the float/float3 mismatch with fHistoryWeight. This throws a warning compiling for DX. SPIRV crashes with no error.
Environment
dxcompiler.dll: 1.8 - 1.8.2403.37 (11e1318c3); dxil.dll: 1.8(101.8.2403.24)
The text was updated successfully, but these errors were encountered: