☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
reference
/
opt
/
shaders
/
vulkan
/
rchit
/
hit_attribute_struct.nocompat.vk.rchit.vk
☽
☼
third_party/spirv-cross/reference/opt/shaders/vulkan/rchit/hit_attribute_struct.nocompat.vk.rchit.vk
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
#version 460
2
#extension GL_NV_ray_tracing : require
3
4
struct Foo
5
{
6
float a;
7
float b;
8
};
9
10
layout(location = 0) rayPayloadInNV Foo payload;
11
hitAttributeNV Foo hit;
12
13
void main()
14
{
15
payload = hit;
16
}
17