blob: 12f2884552f7e1faefa3b37eebc34677ea619c81 [file] [log] [blame]
Ashwin Leleff1783d2018-10-22 16:41:44 -07001#version 460
2#extension GL_NV_ray_tracing : enable
3layout(location = 0) callableDataNV vec4 data0;
4layout(location = 1) callableDataInNV dataBlock {
5 uint data1;
6};
7void main()
8{
9 uvec3 id = gl_LaunchIDNV;
10 uvec3 size = gl_LaunchSizeNV;
11 uint curFlags = gl_IncomingRayFlagsNV;
12 curFlags = curFlags & gl_RayFlagsOpaqueNV;
13 data1 = 256U;
14 executeCallableNV(2,1);
15}