-
Notifications
You must be signed in to change notification settings - Fork 245
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
Latest DXC requires a new keyword [raypayload]
on a struct when used as ray-tracing payload
#6104
Labels
goal:client support
Feature or fix needed for a current slang user.
Milestone
Comments
I also just stumbled over this with dxc 1.8 |
It seems that GLSL and SPIRV target uses
I am guessing the function should emit |
jkwak-work
added
the
goal:client support
Feature or fix needed for a current slang user.
label
Jan 16, 2025
expipiplus1
added a commit
to expipiplus1/slang
that referenced
this issue
Jan 23, 2025
expipiplus1
added a commit
to expipiplus1/slang
that referenced
this issue
Jan 24, 2025
expipiplus1
added a commit
to expipiplus1/slang
that referenced
this issue
Jan 24, 2025
expipiplus1
added a commit
to expipiplus1/slang
that referenced
this issue
Feb 3, 2025
expipiplus1
added a commit
to expipiplus1/slang
that referenced
this issue
Feb 3, 2025
expipiplus1
added a commit
to expipiplus1/slang
that referenced
this issue
Feb 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the latest DXC binary, we are failing on two existing tests,
This failure is observed on the CI testing of PR 6095.
Reproduce step
It can be reproduced with the following command,
Error message
The real error message can be seen only with a debugger and it says,
This seems to be a new requirement given that the shader was working fine before.
DXC document states the following,
Goal
The goal is to add
[raypayload]
attribute to any struct that is used as a ray-tracing payload when targeting HLSL.Currently the testing shader is translated into HLSL without the keyword,
The line
struct RayPayload_0
should have[raypayload]
attribute when the issue is fixed.The text was updated successfully, but these errors were encountered: