☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders
/
vulkan
/
rchit
/
hit_attribute_block.nocompat.vk.rchit
☽
☼
third_party/spirv-cross/shaders/vulkan/rchit/hit_attribute_block.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
layout(location = 0) rayPayloadInNV Foo { float a; float b; } payload;
5
hitAttributeNV Foo2 { float a; float b; } hit;
6
7
void main()
8
{
9
payload.a = hit.a;
10
payload.b = hit.b;
11
}