Jarkko Pöyry [Fri, 30 Jan 2015 20:09:14 +0000 (20:09 +0000)]
Merge "Add support for fatal errors to framework." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 02:05:15 +0000 (02:05 +0000)]
Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev
Jarkko Pöyry [Thu, 29 Jan 2015 23:59:37 +0000 (15:59 -0800)]
Add support for fatal errors to framework.
- Allow any test type to be fatal, not just resource error.
Bug:
19197749
Change-Id: I6834889c147fb6d93264738308c0293dec9b53b4
Pyry Haulos [Thu, 29 Jan 2015 22:54:26 +0000 (22:54 +0000)]
am
2e736e5c: Fix derivate offset in cube map verification code
* commit '
2e736e5cc21486837e98cae3c9303751f9a15c79':
Fix derivate offset in cube map verification code
Pyry Haulos [Thu, 29 Jan 2015 21:47:02 +0000 (13:47 -0800)]
Fix derivate offset in cube map verification code
To accomodate implementations that use same derivative for a 2x2 pixel
quad when computing LOD, cube map verification code samples derivatives
in 3x3 neighborhood and computes bounds based on that.
This change fixes a typo that prevented the code from considering
(+1, +1) offset.
Bug:
19170879
Change-Id: I2de7aa422fc2fa3ff4432e802bb98c90aedeb548
Jarkko Pöyry [Thu, 29 Jan 2015 21:48:00 +0000 (13:48 -0800)]
Avoid leaking VAO in compute_interop tests.
Bug:
19197749
Change-Id: I5ba9bafcc13e2b92df47e52d30e5e51a8ebb8b4c
Pyry Haulos [Fri, 23 Jan 2015 22:59:03 +0000 (22:59 +0000)]
am
1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
* commit '
1fdbddf3d06656eea41db16182e4ba6f056b476a':
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
Pyry Haulos [Wed, 19 Nov 2014 19:31:46 +0000 (11:31 -0800)]
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.
GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass list as being too strict to enforce in the L
timeframe.
Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.
Bug:
18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7
Pyry Haulos [Thu, 22 Jan 2015 17:16:44 +0000 (17:16 +0000)]
am
b9df7b5d: Allow geometry variation in 3D texture filtering tests
* commit '
b9df7b5d58961270c55c87000a38a8ccbbdc19e9':
Allow geometry variation in 3D texture filtering tests
Pyry Haulos [Wed, 21 Jan 2015 18:10:44 +0000 (10:10 -0800)]
Allow geometry variation in 3D texture filtering tests
3D texture verification code was expecting geometry to match exactly
between the result and the reference. This was causing false negatives
on some HW.
Bug:
19092978
Change-Id: I7f20a0dc659e33c5ca3a6c88a0d242267f24fe6a
Jarkko Pöyry [Thu, 8 Jan 2015 20:21:06 +0000 (20:21 +0000)]
am
3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
* commit '
3cc483b18a439f3c4484601d351ea541a428b9c5':
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
Jarkko Pöyry [Wed, 7 Jan 2015 21:13:13 +0000 (13:13 -0800)]
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.
Bug:
18917835
Change-Id: I15c6925dfb79fa439d2e21db460ff7507ab066c1
Jarkko Pöyry [Tue, 6 Jan 2015 20:41:02 +0000 (12:41 -0800)]
Remove broken record_variable_selection test from MR1 must-pass.
tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.
Bug:
18917835
Change-Id: Ic1a3dd56b98e4ed0d71292f6727a6fe5d0ce291b
Mika Isojärvi [Tue, 6 Jan 2015 00:00:02 +0000 (16:00 -0800)]
Remove failing random ubo test from must pass list.
Remove uniform buffer object test, that was killed by oomkiller from
must pass list.
Bug:
18707566
Change-Id: I16e09a160fe18f2c7180a293438052fe658e4ec2
Jarkko Pöyry [Tue, 30 Dec 2014 03:36:59 +0000 (19:36 -0800)]
Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
A bugfix to make unsized SRGB format with UNSIGNED_BYTE type renderable
on texture targets erroneously caused test cases to expect same
renderablity on RBO targets as well. RBOs cannot be created with an
unsized internal formats. This change removes the erroneously added
expectation of renderablity from RBO targets.
Bug:
18755796
Change-Id: I8beb906ebccc1305fa910f18f355121623a1aca1
Jarkko Pöyry [Mon, 15 Dec 2014 21:57:18 +0000 (13:57 -0800)]
Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
NV_sRGB_formats extension makes sized format SRGB8 color-renderable but does
not define any unsized format to be color-renderable. Assume unsized SRGB
format with UNSIGNED_BYTE type is implied to be color-renderable.
Bug:
18755796
Change-Id: I7d083aa9a474e1cdd784ded02178ffbad4a79cdb
Pyry Haulos [Thu, 11 Dec 2014 22:26:27 +0000 (14:26 -0800)]
Remove known failures from L-MR1 mustpass
This change removes cases failing due to minor driver issues that won't
be fixed by MR1 release.
Bug:
18707566
Bug:
17665415
Change-Id: If0f3ba19d848ff3c35378cf4ca32a0b1d37c751f
Jarkko Pöyry [Wed, 10 Dec 2014 00:21:01 +0000 (00:21 +0000)]
Merge "Fix program leak in sglrGLContext CreateProgram on build failure." into lmp-mr1-dev
Jarkko Pöyry [Wed, 10 Dec 2014 00:03:30 +0000 (16:03 -0800)]
Fix atomic min and max signed value verification.
- Do not expect shared variable to always be 32 bits long.
- Log all failures, not just first.
- Log hexadecimal values on error.
Bug:
18607593
Change-Id: I59c896300734856f33cfead86652157951d6ccb3
Jarkko Pöyry [Mon, 8 Dec 2014 22:07:33 +0000 (14:07 -0800)]
Fix program leak in sglrGLContext CreateProgram on build failure.
Bug:
18671009
Change-Id: Iae17830bec4e213853d7079f42c01c7b2bf48821
Jarkko Pöyry [Fri, 5 Dec 2014 21:18:53 +0000 (21:18 +0000)]
Merge "Relax shader derivative test verification." into lmp-mr1-dev
Jarkko Pöyry [Thu, 4 Dec 2014 21:36:25 +0000 (13:36 -0800)]
Relax shader derivative test verification.
- Disable GL_DITHER. Dithering only adds noise to result images.
- Add to dfdx and dfdy cases a flush-to-zero aware verification phase after
preliminary verification to check if seemingly invalid derivatives could
be caused by flushing or other relaxations allowed by the spec. This phase
is NOT added to the fwidth cases since they operate with significantly higher
thresholds which are likely to hide flushing anyway.
Bug:
18539021
Change-Id: Ic17909d30de25c8bae9d9996ce8df15c9ad5bc5e
Pyry Haulos [Tue, 2 Dec 2014 23:29:08 +0000 (15:29 -0800)]
Fix bug in handling CRLF line endings in ShaderLibrary
glsShaderLibrary.cpp failed to strip first empty line from shader strings
if .test file was using CRLF line endings. That was leading to further
issues later on.
Bug:
18595005
Change-Id: Ia783c2bed4c838877c80f7c51bcf3fb021b75c8f
Jarkko Pöyry [Mon, 1 Dec 2014 23:42:49 +0000 (15:42 -0800)]
Fix incompatible interpolation interfaces in random SSO tests.
- Fix random cases generating incompatible interfaces.
- Allow random generator to generate varyings with no interpolation
qualifiers.
- Group interface varyings to the beginning of shader source for
readability.
- Remove dependecy to glu::INTERPOLATION_LAST in case generation to
prevent unintended case list changes if glu::Interpolation enum is
expanded.
Bug:
18542476
Change-Id: I7431d5c41b7222f8fa1484f0352aec918598afd1
Pyry Haulos [Mon, 1 Dec 2014 19:19:18 +0000 (19:19 +0000)]
Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev
Jarkko Pöyry [Thu, 27 Nov 2014 01:36:05 +0000 (17:36 -0800)]
Fix negative layout_binding cases failing on low implementation limits.
- Fix contradictory case not producing contradictory bindings.
- Fix crash in negative binding case.
- Fix invalid array indexing in ubo array cases.
Bug:
18540352
Change-Id: Id1d273508159eee3604260217ee7ba855b420d50
Pyry Haulos [Fri, 21 Nov 2014 00:11:50 +0000 (16:11 -0800)]
Remove sin/cos workaround for libhoudini
Bug:
18093947
Change-Id: I20dea41a38245ccc6318275207d7981973714cf9
Pyry Haulos [Wed, 19 Nov 2014 23:26:10 +0000 (15:26 -0800)]
Fix ambiguous mediump int write in shared_var.atomic tests
Shaders in atomic memory functions were assigning mediump integers to
SSBOs and expecting that those wouldn't get sign-extended in the
process.
Bug:
18446009
Change-Id: I10407cdb6558ba18a553df36285edf9d23239331
Pyry Haulos [Wed, 19 Nov 2014 21:17:03 +0000 (13:17 -0800)]
Update mustpass XML
Bug:
18434194
Change-Id: I7fe9ae6e25d5dc905dace2c8a2c171f80dc7171b
Jarkko Pöyry [Wed, 19 Nov 2014 20:00:16 +0000 (20:00 +0000)]
Merge "Remove implied '[0]' check in XFB array element resource name tests." into lmp-mr1-dev
Pyry Haulos [Wed, 19 Nov 2014 19:31:46 +0000 (11:31 -0800)]
Add cube gather tests that avoid corners; remove D32F from mustpass
This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.
GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass by request.
Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.
Bug:
18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7
Jarkko Pöyry [Wed, 19 Nov 2014 19:24:24 +0000 (11:24 -0800)]
Remove implied '[0]' check in XFB array element resource name tests.
- Remove check that "name" matches "name[0]" for XFB array element
resources.
- Clarify log messages.
Bug:
18448008
Change-Id: Ia8d98161d6d42b13ec4b1c1869494729fff3142d
Jarkko Pöyry [Tue, 18 Nov 2014 21:13:11 +0000 (13:13 -0800)]
Remove get_framebuffer_attachment_parameteriv from MR1 must-pass.
Khronos bug 12928 might change the behavior the test case depends on.
Bug:
18033342
Change-Id: I0141ff7411a57e001485006a27b3e10df51d8e45
Pyry Haulos [Tue, 18 Nov 2014 17:18:19 +0000 (17:18 +0000)]
Merge "DO NOT MERGE Add workaround for incorrect array-bounds warning in glsDrawTest.cpp" into lmp-mr1-dev
Pyry Haulos [Mon, 10 Nov 2014 18:10:39 +0000 (10:10 -0800)]
DO NOT MERGE Add workaround for incorrect array-bounds warning in glsDrawTest.cpp
Bug:
18329517
Change-Id: I07e4139429301ee306f9a79833da23df143ecafe
(cherry picked from commit
161a3f7331372887eee58a5f2c6dd1265861e1bd)
Pyry Haulos [Mon, 10 Nov 2014 18:09:32 +0000 (10:09 -0800)]
DO NOT MERGE Fix setjmp warning in qpTestLog PNG compression code
Bug:
18329517
Change-Id: Id0a8202c473b97ba874f5a032d0e4b022664e978
(cherry picked from commit
9d0e28ef9d45a6c8a0b5cb12c922be26353d7285)
Pyry Haulos [Mon, 10 Nov 2014 18:17:16 +0000 (10:17 -0800)]
DO NOT MERGE Treat adb device info parse failures as warnings
Currently when for example unauthorized adb device is connected
install.py stops working altogether, as parsing failures of such lines
causes fatal error. This change turns those failures into warnings
making install.py more robust.
Bug:
18329517
Change-Id: I1b68f97d5bb8e28b04bdb7b58a8c03e2db7a9161
(cherry picked from commit
a78b661ed0327eedf8b13a6debc0b98d0e37b0e5)
Jarkko Pöyry [Wed, 12 Nov 2014 22:00:14 +0000 (22:00 +0000)]
Merge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev
Jarkko Pöyry [Wed, 12 Nov 2014 21:44:13 +0000 (13:44 -0800)]
Remove double underscore cases from mr1 must-pass list.
Bug:
18357013
Change-Id: If7c76f9b4374a83657280df7dbfcc23673210f0d
Jarkko Pöyry [Tue, 11 Nov 2014 19:32:48 +0000 (11:32 -0800)]
Remove forward incompatible negative check in rbo api tests.
Bug:
18334766
Change-Id: I794d17420308056b83028dca052ad356919875a7
Pyry Haulos [Tue, 11 Nov 2014 19:16:51 +0000 (19:16 +0000)]
Merge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 17:51:09 +0000 (17:51 +0000)]
Merge "Fix some dEQP GLES2 issues." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 17:50:56 +0000 (17:50 +0000)]
Merge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 17:50:26 +0000 (17:50 +0000)]
Merge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev
Jarkko Pöyry [Tue, 4 Nov 2014 02:34:08 +0000 (18:34 -0800)]
Allow trailing newline in trie files.
Bug:
18329517
Bug:
17958588
Change-Id: Iaa9b5aa95ee27e31d486755954df193f808b7e82
(cherry picked from commit
831962c779a19a1822b0074012763b604ac42d24)
Pyry Haulos [Fri, 31 Oct 2014 00:45:41 +0000 (17:45 -0700)]
Add support for simpler test case list syntax
This change adds support for mustpass-style (full test case path per
line) test case format. All existing test case list command line options
(--deqp-caselist, --deqp-stdin-caselist, --deqp-caselist-file) now
accept both trie- and list-style inputs.
Format is detected by looking at the first character; trie always starts
with '{', list-style format is assumed otherwise.
de::CommandLine default value behavior has been changed. Options that
take values (i.e. not --flags) don't have value set, unless default
value is provided when registering options. Calling getOption() on
command line option whose value is not provided is now an error.
hasOption() should be used first to check if a value was provided at
all.
Test case list parsing is now covered by tests in the internal module.
Bug:
18329517
Bug:
17958588
Change-Id: If6063165ff59cbd8e538d6f829c583541e104fd1
(cherry picked from commit
ee2e173d445e87e1f98245f4377f66b081cc320d)
Pyry Haulos [Wed, 29 Oct 2014 20:01:55 +0000 (13:01 -0700)]
First iteration of new release script
This change restores release script from the grave and adapts it to the
new environment. Releases are now defined by a simple configuration
(source-only, bin-only, or both) and unique name. Android APK and linux64
utility binaries are currently built but not tested.
Additionally, deprecated license checks have been removed from qpInfo and
tcuApp.
Bug:
18329517
Change-Id: If5073f65e7a91ec60fa7d903c9e9cfd196075944
(cherry picked from commit
290f32ab4cdac8866be121c3da33bb187333f4ab)
Pyry Haulos [Wed, 29 Oct 2014 18:43:26 +0000 (11:43 -0700)]
Add script for fetching third-party sources
This change adds external/fetch_sources.py that will initialize libpng
and zlib source directories by fetching and extracting source packages.
The fetched packages are always verified by doing a SHA256 comparison to
avoid corrupted or malicious downloads.
Bug:
18329517
Change-Id: I0e32b411ff0e3691ab8fa33e0ed30259faee48c8
(cherry picked from commit
60d68b2463d1d6e1f8d55c55a923d304adcd1bf8)
Mika Isojärvi [Fri, 24 Oct 2014 08:42:52 +0000 (11:42 +0300)]
Fixes to EGL negative api tests.
Bug:
18329517
Change-Id: I6d61f7aaa06f26e20a64e5c1bdceac7a56074232
(cherry picked from commit
c3dc61b2f849ceb5a1c4b335cd02564cfe4ba527)
Mika Isojärvi [Fri, 24 Oct 2014 08:32:35 +0000 (11:32 +0300)]
Fix EGL_MIPMAP_LEVEL query checks.
Check that EGL_MIPMAP_LEVEL query returns 0 for pbuffers and
doesn't modify return value pointer for other surfaces.
Bug:
18329517
Change-Id: Iff769c93306821fa16889ba3298f28f061a4bfeb
(cherry picked from commit
ff0bd4ba2ffca5c910035fbc37074ead9b4f5b4c)
Mika Isojärvi [Fri, 24 Oct 2014 07:58:07 +0000 (10:58 +0300)]
Fix EGL_CONTEXT_CLIENT_VERSION check.
Check that EGL_CONTEXT_CLIENT_VERSION is version that supports version
used when creating context instead of requiring it to be exactly same.
Bug:
18329517
Change-Id: I072a5796d92450b29e82655ea840c3b67ec8eea9
(cherry picked from commit
2b5718821a9ec271f25bcac0569c6e1c2dcf33eb)
Pyry Haulos [Tue, 28 Oct 2014 23:52:42 +0000 (16:52 -0700)]
.gitignore updates
* android/ - native code builds are now under 'native', not 'build'.
* / - Add *.user files (for example CMakeLists.txt.user used by Qt
Creator).
Bug:
18329517
Change-Id: I67ada8033ba5a53d031807a85508d58ea895cb50
(cherry picked from commit
ed1a26e8b0d2b494f41881e478eab73a2ee3ce4a)
Pyry Haulos [Tue, 28 Oct 2014 23:50:11 +0000 (16:50 -0700)]
Make r10c toolchain compile flags more Android-ish
* Use -mandroid when building C/C++.
* Enable exceptions and RTTI explicitly as -mandroid implies -fno-rtti
and -fno-exceptions.
* Remove redundant -DANDROID and -D__ANDROID__ defines.
Bug:
18329517
Change-Id: I6c6c548e5e0082f369efcd1970d082ec73d67732
(cherry picked from commit
2002f4368917f738fbd0c8242515146599b442ea)
Pyry Haulos [Tue, 28 Oct 2014 23:07:42 +0000 (16:07 -0700)]
Endianness fixes to bilinear & fuzzy image compares
Bug:
18329517
Change-Id: I1f5560a60ed85ef4b4c6fa2a5417649eeb7a4c7f
(cherry picked from commit
74731a6adf5816339b00b854a513b1b950ad4357)
Kalle Raita [Fri, 24 Oct 2014 18:16:03 +0000 (11:16 -0700)]
Android APK build with parametrized build root dir
Bug:
18329517
Change-Id: Ibb0fab0c6d34856d9b4a710cef69a38835d092ce
(cherry picked from commit
829f589e23415302162689825ba8bd8c1a61addb)
Pyry Haulos [Mon, 20 Oct 2014 20:01:20 +0000 (13:01 -0700)]
Rename libtestercore.so to libdeqp.so
Since dEQP is now being built as part of the Android CTS as well,
the name libtestercore.so isn't very descriptive any more. This change
renames the library to libdeqp.so.
This change also drops some dead code related to API level < 9 support.
Bug:
18329517
Change-Id: I03b60fd6d9cc6252651f25610e7c72bbc450670c
(cherry picked from commit
03700a8505debaeae47e63e156ec15350398ce83)
Pyry Haulos [Tue, 11 Nov 2014 16:44:16 +0000 (16:44 +0000)]
Merge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
Kalle Raita [Mon, 20 Oct 2014 19:17:21 +0000 (12:17 -0700)]
Fix typo (GCC->CLANG) in general Clang compiler defs.
Bug:
18329517
Change-Id: I440f37723987c1dd85e7482f0d32ac157565e25d
(cherry picked from commit
713ab1e9034564f842935cd011fdea8abc9ea90c)
Pyry Haulos [Mon, 20 Oct 2014 18:09:56 +0000 (11:09 -0700)]
Improvements to standalone Android build scripts
* If multiple connected devices are detected, install.py prompts to
select one by default if no additional arguments are given.
* Add -a option to install.py that installs package to all connected
devices.
* Use ninja on Linux / OS X, if installed, for faster builds (apt-get
install ninja-build to get the awesomeness).
* If make is used, pass in -j{CPUs} based on number of cores detected.
* Prefer adb in path to avoid adb version mismatch in certain
environments, for example when doing Android OS builds.
* Clean up libs/ dir to avoid stale versions for archs that are not
being built.
* Do not unnecessarily force re-linking of libtestercore.so.
* Optimize asset cleanup by performing that only for the build that is
used for the assets.
* Auto-detect ANDROID_NDK_HOST_OS.
Bug:
18329517
Change-Id: I44e1b0acb5e6bcafeff7df30147002f216a76deb
(cherry picked from commit
89e0405021b883114cca9e748166c17bd7ebcc98)
Jarkko Pöyry [Tue, 11 Nov 2014 01:29:27 +0000 (17:29 -0800)]
Fix dEQP issues with identifier names with two underscores.
- Remove variable name negative tests with two underscores to conform
to modified spec.
- Convert negative macro name case to a positive one that does not
use the macro value. (Since it might be set by underlying software
layer).
Bug:
18323254
Change-Id: I1bb3f6d0e7a9d6c0ac0275cc388b37b03d4009e5
Jarkko Pöyry [Mon, 10 Nov 2014 21:03:52 +0000 (13:03 -0800)]
Relax GLES3 internal format queries for GLES31 compatibility.
- Allow multisample configurations for integer formats in GLES3.
- Add GLES31 test set for rbo internal formats.
Bug:
18315640
Change-Id: I9db53a5896511e29b0cc969812d2bf4f306e4612
Pyry Haulos [Mon, 10 Nov 2014 20:11:27 +0000 (12:11 -0800)]
Initial dEQP mustpass candidates for MR1
Bug:
18274257
Change-Id: Icf83a7d68ee929a8cc796736313094e396e7c697
Jarkko Pöyry [Mon, 10 Nov 2014 18:58:55 +0000 (10:58 -0800)]
Fix some dEQP GLES2 issues.
- Convert broken negative preprocessor case to a positive one.
- Improve logging in negative shader matrix cases.
Bug:
18290570
Change-Id: If7e1a67a46021740f1c930cdda684bd85dd813be
Pyry Haulos [Wed, 29 Oct 2014 23:20:31 +0000 (16:20 -0700)]
Remove highp vec4 dot case from mustpass by request from IHV
Change-Id: I9a102a5e43471ce1745350b0e5cfc831929367f1
Jarkko Pöyry [Tue, 28 Oct 2014 00:21:41 +0000 (00:21 +0000)]
Merge "Update test spec." into lmp-dev
Jarkko Pöyry [Tue, 28 Oct 2014 00:19:19 +0000 (17:19 -0700)]
Update test spec.
Change-Id: I045b445c0f0c9b524cdce6327826068581df8082
Jarkko Pöyry [Sat, 25 Oct 2014 01:14:49 +0000 (01:14 +0000)]
Merge "Use invalid sample count in renderbuffer_storage_multisample negative case." into lmp-dev
Jarkko Pöyry [Sat, 25 Oct 2014 00:21:05 +0000 (00:21 +0000)]
Merge "Fix early fragment test tests on default fb without depth." into lmp-dev
Jarkko Pöyry [Sat, 25 Oct 2014 00:03:56 +0000 (17:03 -0700)]
Use invalid sample count in renderbuffer_storage_multisample negative case.
Bug;
18100655
Change-Id: I9bd0417c44f3531755ec2ba1cc06f8164df50661
Jarkko Pöyry [Fri, 24 Oct 2014 23:53:42 +0000 (23:53 +0000)]
Merge "Fix framebuffer completeness tests with sRGB targets." into lmp-dev
Jarkko Pöyry [Fri, 24 Oct 2014 22:22:27 +0000 (15:22 -0700)]
Fix early fragment test tests on default fb without depth.
- Check default fb has relevant depth/stencil buffer
- Add cases with non-default framebuffer
- Add cases with non-default framebuffer without the
relevant stencil/depth test buffer attachment.
Bug:
18100454
Change-Id: Ie66ba9aacc9d0abc94c7664ed3f268970e185030
Jarkko Pöyry [Fri, 24 Oct 2014 22:27:43 +0000 (22:27 +0000)]
Merge "Reduce and verify fragment output PIQ test draw buffer usage." into lmp-dev
Jarkko Pöyry [Fri, 24 Oct 2014 21:37:41 +0000 (14:37 -0700)]
Fix framebuffer completeness tests with sRGB targets.
- Don't expect SRGB to become renderable in GL_EXT_sRGB extension
- Support GL_EXT_sRGB_write_control extension
- Support GL_NV_sRGB_formats extension
- Add missing GLES3 texture formats
- Remove modified cases from must-pass list
Bug:
18094134
Change-Id: I7587ff4a0e6106b74780dae193fa16970145a02e
Jarkko Pöyry [Fri, 24 Oct 2014 20:14:21 +0000 (13:14 -0700)]
Reduce and verify fragment output PIQ test draw buffer usage.
- Check GL_MAX_DRAW_BUFFERS implementation limit and usage if shader
build fails.
- Reduce required GL_MAX_DRAW_BUFFERS from 5 to 4 in explicit location
fragment output array tests.
- Fix various max binding resource usage checks.
Bug:
18094242
Change-Id: I17e091eb1939fd7ec94789be70be5a069970b697
Pyry Haulos [Fri, 24 Oct 2014 04:05:26 +0000 (21:05 -0700)]
Fix JNI usage issues in Android TestLogParser
* Android TestLogParser used CallObjectMethod() on Java methods returning
void, which causes CheckJNI to throw an error. Changed to use correct
CallVoidMethod().
* TestLogListener wrapper was not freeing local jstring references,
which given large parse buffer size could easily lead to ART local
reference table overflow. Fixed by freeing all local references as soon
as the objects are passed to the Java / VM side.
Change-Id: I19811be6fdc0f3d77bc7a0d99d243529031d3b08
Pyry Haulos [Thu, 23 Oct 2014 21:52:34 +0000 (14:52 -0700)]
Remove invalid assert from RenderActivity::setThread()
It is valid to call setThread() with null thread as part of activity
teardown, so the assert was invalid.
Change-Id: I0b3a89db1f5aff04c97def32b1881e0d66e5d250
Pyry Haulos [Thu, 23 Oct 2014 20:58:13 +0000 (13:58 -0700)]
Add blend barrier after first opaque quad
Advanced blending tests were missing barrier between first opaque quad
and subsequent blended quads. This change adds BlendBarrier() call if
coherent blending is not enabled.
This change also adds fullscreen clear before rendering as framework
doesn't perform that in GLES31 module.
Bug:
18100652
Change-Id: Idd16f2fde543af885e97adf5b5c2123d7e803152
Pyry Haulos [Wed, 22 Oct 2014 22:00:20 +0000 (22:00 +0000)]
Merge "Workaround for libhoudini.so sin&cos bug" into lmp-dev
Pyry Haulos [Wed, 22 Oct 2014 19:37:17 +0000 (12:37 -0700)]
Remove cases that are still flaky on Nexus devices from mustpass
Change-Id: Ifb0e8a8c2e0e7c784b728da512edefb292ae4b9b
Pyry Haulos [Wed, 22 Oct 2014 20:00:36 +0000 (13:00 -0700)]
Workaround for libhoudini.so sin&cos bug
This is a workaround for Intel ARM->x86 translator (houdini) bug.
sin() & cos() return garbage for very large inputs. The outcome is
that when codomain is applied the result interval becomes empty.
Workaround is to bring the input value to the base range via modulo
if sin/cos returns an invalid values.
Change-Id: I2178daf2f9ffec543c1cf9fad2881719dd7736cc
Pyry Haulos [Tue, 21 Oct 2014 18:39:55 +0000 (11:39 -0700)]
Mustpass update 2014.2.9
Change-Id: Ifbae72f0d8d69a35abc8c4093e11db41bf88feb7
Pyry Haulos [Fri, 17 Oct 2014 21:47:54 +0000 (14:47 -0700)]
Add missing barrier() to shared var test shader
Bug:
18033432
Change-Id: Id64798a196c8567828385b24ccde845b1b5efafb
Jarkko Pöyry [Thu, 16 Oct 2014 00:13:45 +0000 (17:13 -0700)]
Add internal format query with too large/small buffer tests.
Change-Id: Iccc403b7a7d63b21a6e0ac4f505c2db656e3772c
Jarkko Pöyry [Wed, 15 Oct 2014 22:31:53 +0000 (15:31 -0700)]
Check GL_OES_texture_stencil8 in dEQP stencil texture query tests.
Change-Id: If90a4d5a9f43cfc363265c78351b302be3a7ebef
Jarkko Pöyry [Wed, 15 Oct 2014 22:28:02 +0000 (22:28 +0000)]
Merge "Import dEQP fixes from an internal repo." into lmp-dev
Jarkko Pöyry [Wed, 15 Oct 2014 20:34:56 +0000 (13:34 -0700)]
Import dEQP fixes from an internal repo.
* Update XFB program interface tests to match spec update in Khronos
bug 12787.
* Add tests for whole array and built-in XFB PIQ.
* Convert incorrect linkage.varying.rules.interpolation_mismatch_
negative cases to positive cases.
Change-Id: Ic5eab213f6ee7a5151220664107c6f912fd12130
Pyry Haulos [Wed, 15 Oct 2014 17:04:57 +0000 (10:04 -0700)]
Bugfixes and mustpass update
* Fix glReadBuffer() negative test to match latest spec language.
* Remove said test from ES3.1 mustpass as it has been changed just
before release.
* Remove SSO case from mustpass that has been removed earlier from the
test code.
Change-Id: Id77f7957f503121bde6b41c12cdc0141324f28bb
Pyry Haulos [Tue, 14 Oct 2014 21:37:14 +0000 (21:37 +0000)]
Merge "dEQP mustpass update 2014.2.8" into lmp-dev
Pyry Haulos [Mon, 13 Oct 2014 20:51:12 +0000 (13:51 -0700)]
dEQP mustpass update 2014.2.8
Change-Id: Ie2799609c7bb33886938bd52b3d8423f98f3705c
Pyry Haulos [Mon, 13 Oct 2014 17:26:44 +0000 (10:26 -0700)]
Fix error state leak in KHR_debug tests
Reset error state in KHR_debug callback and log test case variants
after expectError() call to avoid breaking code later in the test due
to lingering error state.
Change-Id: Iec4c67dc10d171a72a9faeb4af800fa8d6e20d79
Pyry Haulos [Wed, 8 Oct 2014 22:01:09 +0000 (15:01 -0700)]
Workaround for GCC aarch64 compiler bug
Current prebuilt GCC toolchain has a bug in shift right when
targeting ARMv8 / aarch64.
If compiler wants to perform logical shift by variable/register
in fp/vector registers it uses USHL that selects shift direction
based on shift operand value. Thus for right shifts the shift
operand needs to be negated.
The bug is in right shift pattern; it doesn't mark shift operand
as clobbered and thus later code using that same register may
see the negated value.
Workaround is to disable optimization for this function.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61633
Change-Id: I02477b0fb383ead1d35136261fb8969a02d1031e
Pyry Haulos [Wed, 8 Oct 2014 00:13:38 +0000 (17:13 -0700)]
Remove failing case on Volantis
Volantis isn't getting a driver update but is failing one indirect draw
negative test case, and thus that test needs to go. Removing this fixes
4 other failures in image_load_store group as well as the bug causes HW
to misbehave for next couple of draw calls.
Change-Id: I3daa239ae36ee022f7c4cd5ec783eaa10bff1afe
Pyry Haulos [Mon, 6 Oct 2014 22:13:09 +0000 (15:13 -0700)]
Update SSO tests to follow new spec language
Upcoming ES3.1 spec revision will change the interface matching rules
slightly by disallowing flat/smooth mismatch. This change removes cases
that assumed that mismatch should work, and adds additional validation
cases to check that driver indeed gives validation and draw time errors
on such mismatch.
See Khronos bug 12630.
Change-Id: I0c77c80aa7779443df4c1dac71048f0d2a380600
Pyry Haulos [Fri, 3 Oct 2014 20:11:16 +0000 (13:11 -0700)]
Terminate session on any error from eglSwapBuffers()
Test run should always abort if eglSwapBuffers() gives an error as it
is almost always a sign that something has gone unrecoverably wrong in
the driver.
* Always throw tcu::ResourceError on any error from eglSwapBuffers().
This will make TestExecutor to abort the session.
* Treat EGL_BAD_NATIVE_WINDOW as a sign of potentially destroyed
underlying window, not just EGL_BAD_SURFACE.
Change-Id: I42f3769566670630e3965b0ff50119297639fd5c
Jarkko Pöyry [Fri, 3 Oct 2014 18:24:34 +0000 (11:24 -0700)]
Update dEQP test case list files.
Change-Id: Iae417bd328af42ddfc9eecfea4d1299bc124fac5
Pyry Haulos [Fri, 3 Oct 2014 15:56:20 +0000 (15:56 +0000)]
Merge "Remove targetBinaryName attribute from test case lists." into lmp-dev
Pyry Haulos [Thu, 2 Oct 2014 17:57:05 +0000 (10:57 -0700)]
Fix two test bugs
* Removed invalid ES 3.0 linkage test that assumed that struct arrays
are valid varyings.
* Changed glProgramParameteri() negative API test to expect correct
error code when call was supplied non-existent program object.
Change-Id: Ib7f2f9693bdef364bc44425b5299993e702dc214
Pyry Haulos [Thu, 2 Oct 2014 15:53:19 +0000 (15:53 +0000)]
Merge "Add preliminary support for NDK r10c" into lmp-dev
Jarkko Pöyry [Thu, 2 Oct 2014 01:31:28 +0000 (18:31 -0700)]
Remove targetBinaryName attribute from test case lists.
OnDevice package is expected to be explicitly installed by the dEQP test
runner.
Change-Id: I5bbb579260e3659a7fd3b38d3035d9aea10a9021
Pyry Haulos [Wed, 1 Oct 2014 22:49:17 +0000 (15:49 -0700)]
Make Android integration more robust for API >= 11
Recent targetSdkLevel bump exposed robustness issues in the Android
port which were hidden by pre-honeycomb workarounds in
android.app.ActivityThread. For honeycomb and up when launching activity
with lockscreen on or screen off the system for some reason first starts
the activity once, puts it back to stopped state and then resumes again.
Original Android port assumed that stop event signaled that the test
execution should always stop and process should kill itself. This might
have been necessary workaround on some older Android versions where
onDestroy was never called even if app called finish().
This commit improves Android integration in multiple ways:
* Android port can continue test execution even across stop-start
boundary in the Activity life-cycle.
* eglu::GLRenderContext can recover from window loss by recreating
the window if NativeWindow::postIterate() throws WindowDestroyedError.
* eglu::GLRenderContext refreshes window surface size in postIterate()
call. Note that most test cases might not like if surface is resized
during execution though.
* Temporary window loss (recreation) no longer leads to test run abort,
but rather Android NativeWindow correctly signals that event allowing
eglu::GLRenderContext to recover.
Change-Id: Iaa240f16a2ae6cea7fb894c5772d1e7959a1cfac