• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 460 core
2
3#extension GL_EXT_spirv_intrinsics: enable
4
5layout(constant_id = 9) const int size = 9;
6
7#define EmptyStruct spirv_type(id = 30)
8void func(EmptyStruct emptyStruct) {}
9
10void main()
11{
12    EmptyStruct dummy[size];
13    func(dummy[1]);
14}
15