SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
parent
019f08fcd8
commit
6c292d3ba7
200 changed files with 7841 additions and 5577 deletions
13
Test/spv.specConstant.comp
Normal file
13
Test/spv.specConstant.comp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 450
|
||||
|
||||
layout(local_size_x_id = 18, local_size_z_id = 19) in;
|
||||
layout(local_size_x = 32, local_size_y = 32) in;
|
||||
|
||||
buffer bn {
|
||||
uint a;
|
||||
} bi;
|
||||
|
||||
void main()
|
||||
{
|
||||
bi.a = gl_WorkGroupSize.x * gl_WorkGroupSize.y * gl_WorkGroupSize.z;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue