OpenGL ES didn't support GL_POINT_SPRITE_COORD_ORIGIN. So when we read from a fbo, the image is upside down. This is because the guest renders into a window drawable which is inverted, while the host renders into a FBO. This patch inverts the y coordinate. Fixes: dEQP-GLES2.functional.shaders.builtin_variable.pointcoord Signed-off-by: Elie Tournier <elie.tournier@collabora.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>macos/master
parent
78c9c237b0
commit
7f615cdee1
Loading…
Reference in new issue