Fix parameters given to getSyncAttribFunc
authorTapani Pälli <tapani.palli@intel.com>
Tue, 11 Jun 2019 05:53:12 +0000 (08:53 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 17 Jun 2019 07:08:24 +0000 (03:08 -0400)
commit452672b1d04fe2712f99896a015b73beaec212b1
tree59a152c3e4b4d6a81a2cfb90a629c858d970f1c0
parentc9a2ff0a2266d658f50a28e129c35cf9377c42f3
Fix parameters given to getSyncAttribFunc

EGL spec does not allow giving NULL as a value for the call. Patch
changes call parameters so that we give a proper value and invalid
parameter for fence that results in EGL_BAD_PARAMETER as expected
by the test.

VK-GL-CTS issue: 1812

Affects:
dEQP-EGL.functional.fence_sync.invalid.get_invalid_value

Change-Id: Iabec0c274cdcbff0ec4c7eaee5bcdc3a287f28ba
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
modules/egl/teglSyncTests.cpp