Debian Codegraph @

third_party/spirv-cross/shaders/vulkan/rchit/hit_attribute_struct.nocompat.vk.rchit

raw
1 #version 460
2 #extension GL_NV_ray_tracing : require
3
4 struct Foo { float a; float b; };
5
6 layout(location = 0) rayPayloadInNV Foo payload;
7 hitAttributeNV Foo hit;
8
9 void main()
10 {
11 payload = hit;
12 }