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
/
xfbUnsizedArray.error.vert
blob
5beb9f8e1c1cabf70c44c49cc8946a04ab9a51e6
1
#version 430 core
\r
2
#extension GL_ARB_enhanced_layouts : require
\r
3
\r
4
layout (xfb_offset = 0) out vec4 xfb_buffer[]; // ERROR: unsized array cannot be used for an xfb buffer?
\r
5
\r
6
in vec4 in_vs;
\r
7
out vec4 out_vs;
\r
8
\r
9
void main()
\r
10
{
\r
11
vec4 result = in_vs;
\r
12
\r
13
xfb_buffer[0] = result / 2;
\r
14
\r
15
out_vs = result;
\r
16
}
\r