-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle GL_MAX_VIEWS_OVR in glGetInteger #1583
Conversation
gapis/api/gles/api/state_queries.api
Outdated
@@ -1006,6 +1006,10 @@ sub void GetStateVariable!T(GLenum name, bool isIndexed, GLuint index, T* v) { | |||
case GL_MAX_VERTEX_UNIFORM_VECTORS: { | |||
v[0] = as!T(ctx.Constants.MaxVertexUniformVectors) | |||
} | |||
@if(Extension.GL_OVR_multiview) | |||
case GL_MAX_VIEWS_OVR: { | |||
write(v[0:1]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't have a constant for this that can be assigned out, please add a TODO to add one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the constant. PTAL.
@@ -175,6 +175,7 @@ func DefaultConstants30() Constants { | |||
MaxTransformFeedbackSeparateAttribs: 4, | |||
MaxTransformFeedbackSeparateComponents: 4, | |||
MaxTextureMaxAnisotropyExt: 2.0, | |||
MaxViewsExt: 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should default to 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the minimum is 2.
No description provided.