repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
spv.intrinsicsSpirvTypeLocalVar.vert
blob
203d9007303d36ed01e228e3fdeba0c5e3cbf685
1
#version 460 core
\r
2
\r
3
#extension GL_EXT_spirv_intrinsics: enable
\r
4
\r
5
layout(constant_id = 9) const int size = 9;
\r
6
\r
7
#define EmptyStruct spirv_type(id = 30)
\r
8
void func(EmptyStruct emptyStruct) {}
\r
9
\r
10
void main()
\r
11
{
\r
12
EmptyStruct dummy[size];
\r
13
func(dummy[1]);
\r
14
}
\r