You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SM6.9] compiler crash with Load with status #7508
Description
When compiling a simple load of a vector in SM6.9 DXC crashes when a status parameter is present. The same shader code compiles with earlier shader models, and also with scalar values.
Steps to Reproduce
// -T cs_6_9 -E main
ByteAddressBuffer Buf : register(t0);
I have the root cause. We were using the old index to extract the status from the resret. Previously, this contained 4 scalars followed by the status. Now it is just a vector followed by the status. The fix is simple enough. I could have sworn that I had testing that would have covered this, but as we clearly don't, I'll need to add that and do a survey of other areas that might hit similar issues. I expect this will require a point release.
Activity
pow2clk commentedon Jun 4, 2025
I have the root cause. We were using the old index to extract the status from the resret. Previously, this contained 4 scalars followed by the status. Now it is just a vector followed by the status. The fix is simple enough. I could have sworn that I had testing that would have covered this, but as we clearly don't, I'll need to add that and do a survey of other areas that might hit similar issues. I expect this will require a point release.
[SM6.9] Fix load status indexing
Fix errors in retrieving and assigning load status parameter (#7513)
Fix errors in retrieving and assigning load status parameter (microso…
Fix errors in retrieving and assigning load status parameter (#7589)