Fix helper_invocation.* rendering mostly black.
authorJarkko Pöyry <jpoyry@google.com>
Wed, 24 Jun 2015 20:23:46 +0000 (13:23 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Wed, 24 Jun 2015 21:13:17 +0000 (14:13 -0700)
commit566182cb8143aef5be8210adb5819f3c6b5b5ea0
tree2d558d64a9ad172a992a364fb8123f3c3cfc73af
parent8ff52f0ac5182953f648918b8421f35cacc181a5
Fix helper_invocation.* rendering mostly black.

- Fix rendering viewport to match fbo dimensions to avoid rendering outside the
  viewport.
- Try to not generate invisible (fully clipped) triangles.
- Do not try to output negative dFdx and dFdy values to framebuffer.
- Detect and reject empty results.

Bug: 22066458
Change-Id: If3ec424ce10ee52c47b6fd28af125dc9e71c3a22
modules/gles31/functional/es31fShaderHelperInvocationTests.cpp