Multiview extension: Accept layout(num_views) qualifier
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user