projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
spv.RayCallable.rcall
1
#version 460
2
#extension GL_NV_ray_tracing : enable
3
layout(location = 0) callableDataNV vec4 data0;
4
layout(location = 1) callableDataInNV dataBlock {
5
uint data1;
6
};
7
void main()
8
{
9
uvec3 id = gl_LaunchIDNV;
10
uvec3 size = gl_LaunchSizeNV;
11
data1 = 256U;
12
executeCallableNV(2,1);
13
}