☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders
/
vulkan
/
rchit
/
hit_attribute_struct.nocompat.vk.rchit
☽
☼
third_party/spirv-cross/shaders/vulkan/rchit/hit_attribute_struct.nocompat.vk.rchit
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 { 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
}