mirror of
https://github.com/libretro/RetroArch
synced 2025-03-09 13:13:31 +00:00
13 lines
197 B
GLSL
13 lines
197 B
GLSL
#version 460
|
|
#extension GL_EXT_ray_tracing : require
|
|
|
|
struct Foo { float a; float b; };
|
|
|
|
layout(location = 0) rayPayloadInEXT Foo payload;
|
|
hitAttributeEXT Foo hit;
|
|
|
|
void main()
|
|
{
|
|
payload = hit;
|
|
}
|