Call glViewport before rendering to FBO
authorJames Helferty <jhelferty@nvidia.com>
Fri, 28 Jul 2017 22:34:35 +0000 (18:34 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 22 Aug 2017 07:10:18 +0000 (03:10 -0400)
commitb5701a42bf4c087e61b5d8e92d56cb81f6c9ad2d
treed9c0b1d27665835a0c4460404f38c0b97fa498f4
parent35444a6c990528a80cda3e3edea33369e688541e
Call glViewport before rendering to FBO

The gl_Layer variant of this test wasn't setting the viewport before
rendering to FBO.

VK-GL-CTS issue 608

Component: OpenGL

Affects:
* KHR-GL45.shader_viewport_layer_array.ShaderLayerFramebufferNonLayeredTestCase
* KHR-GL45.shader_viewport_layer_array.ShaderLayerFramebufferLayeredTestCase

Change-Id: I7cda78a25a745816508a65d6dce0708da3c0e53f
external/openglcts/modules/gl/gl4cShaderViewportLayerArrayTests.cpp
external/openglcts/modules/gl/gl4cShaderViewportLayerArrayTests.hpp