Do not use degenerate frames in EGL tests
authorMichael Chock <mchock@nvidia.com>
Mon, 14 Aug 2017 18:55:14 +0000 (11:55 -0700)
committerMichael Chock <mchock@nvidia.com>
Wed, 16 Aug 2017 16:26:06 +0000 (09:26 -0700)
commitb566828d843622f6117b32c6447f5e249fcad384
tree82af28989647ca4d6d7581719a8e4c2372cd44ec
parentb7ae0d8484012e3c2b8bf83be78d2b8d4c88ceaa
Do not use degenerate frames in EGL tests

The dEQP-EGL.functional.buffer_age.* and
dEQP-EGL.functional.partial_update.* tests use randomly-generated frames
for rendering. The test allows the generation of frames with a width or
height of 0, but the tcu::PixelBufferAccess interface does not permit
0-sized subregions (see assertions inside getSubregion overloads in
tcuTextureUtil.cpp).

Skip the rendering of degenerate frames in the reference renderer, as
they are unsupported but would not affect the rendering if they were.

Change-Id: I3977c3c293715db633dde74132e56b5d9303ab28
modules/egl/teglBufferAgeTests.cpp
modules/egl/teglPartialUpdateTests.cpp