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.
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: