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
/
xfbUnsizedArray.error.vert
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