We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6b9f0 commit f472accCopy full SHA for f472acc
71_RayTracingPipeline/app_resources/raytrace.rint.hlsl
@@ -40,12 +40,13 @@ void main()
40
41
const float32_t tHit = hitSphere(sphere, ray);
42
43
+ [[vk::ext_storage_class(spv::StorageClassHitAttributeKHR)]]
44
ProceduralHitAttribute hitAttrib;
45
46
// Report hit point
47
if (tHit > 0)
48
{
49
hitAttrib.center = sphere.center;
- ReportHit(tHit, 0, hitAttrib);
50
+ spirv::reportIntersectionKHR(tHit, 0);
51
}
52
0 commit comments