First Commit
This commit is contained in:
13
externals/glslang/Test/spv.xfbOffsetOnBlockMembersAssignment.vert
vendored
Normal file
13
externals/glslang/Test/spv.xfbOffsetOnBlockMembersAssignment.vert
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#version 450
|
||||
|
||||
layout(xfb_buffer=2) out;
|
||||
layout(location=5, xfb_offset=0) out block2 {
|
||||
float y1_out;
|
||||
vec4 y2_out;
|
||||
};
|
||||
|
||||
void main() {
|
||||
y1_out = 7.0;
|
||||
y2_out = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
gl_Position = vec4(0.0);
|
||||
}
|
||||
Reference in New Issue
Block a user