Multiview extension: Accept layout(num_views) qualifier

This commit is contained in:
David Srbecky
2017-07-03 15:48:49 +01:00
parent 994660208c
commit 5513d9d0d8
5 changed files with 34 additions and 10 deletions

View File

@@ -2,6 +2,8 @@
#extension GL_OVR_multiview : enable
layout(num_views = 2) in;
void main() {
gl_Position = vec4(gl_ViewID_OVR, 0, 0, 0);
}