mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
13 lines
286 B
Plaintext
13 lines
286 B
Plaintext
|
#version 460
|
||
|
|
||
|
#extension GL_EXT_spirv_intrinsics: enable
|
||
|
|
||
|
#define rayPayloadEXT spirv_storage_class(extensions = ["SPV_KHR_ray_tracing"], capabilities = [5353], 5338)
|
||
|
|
||
|
layout(location = 1) rayPayloadEXT vec4 payload;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
payload = vec4(0.0, 1.0, 0.0, 1.0);
|
||
|
}
|