You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
279 B
14 lines
279 B
4 months ago
|
#version 460
|
||
|
#extension GL_NV_ray_tracing : enable
|
||
|
layout(location = 0) callableDataNV vec4 data0;
|
||
|
layout(location = 1) callableDataInNV dataBlock {
|
||
|
uint data1;
|
||
|
};
|
||
|
void main()
|
||
|
{
|
||
|
uvec3 id = gl_LaunchIDNV;
|
||
|
uvec3 size = gl_LaunchSizeNV;
|
||
|
data1 = 256U;
|
||
|
executeCallableNV(2,1);
|
||
|
}
|