mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 19:59:40 +00:00
db32b243ff
and SPV_KHR_ray_tracing
14 lines
285 B
Plaintext
14 lines
285 B
Plaintext
#version 460
|
|
#extension GL_EXT_ray_tracing : enable
|
|
layout(location = 0) callableDataEXT vec4 data0;
|
|
layout(location = 1) callableDataInEXT dataBlock {
|
|
uint data1;
|
|
};
|
|
void main()
|
|
{
|
|
uvec3 id = gl_LaunchIDEXT;
|
|
uvec3 size = gl_LaunchSizeEXT;
|
|
data1 = 256U;
|
|
executeCallableEXT(2,1);
|
|
}
|