platform/upstream/VK-GL-CTS.git
9 years agoRemove broken fragment op interaction shader from MNC mustpass.
Jarkko Pöyry [Mon, 6 Apr 2015 22:03:22 +0000 (15:03 -0700)]
Remove broken fragment op interaction shader from MNC mustpass.

Bug: 20089522
Change-Id: I34678c9940819ea0873100a9e45fb6110f62a3b3

9 years agoMerge "Check for extensions in negative getinternalformat tests."
Mika Isojärvi [Mon, 6 Apr 2015 20:49:17 +0000 (20:49 +0000)]
Merge "Check for extensions in negative getinternalformat tests."

9 years agoCheck for extensions in negative getinternalformat tests.
Mika Isojärvi [Mon, 6 Apr 2015 18:28:52 +0000 (11:28 -0700)]
Check for extensions in negative getinternalformat tests.

Check if GL_EXT_render_snorm exists before asssuming that GL_RG8_SNORM
is not renderable.

Bug: 20005726
Change-Id: I5cb65de9e2e90dd7653a1edc5f20c41dd0559b6d

9 years agoFix teglChooseConfigReference when alpha is defined.
Mika Isojärvi [Mon, 6 Apr 2015 19:48:41 +0000 (12:48 -0700)]
Fix teglChooseConfigReference when alpha is defined.

Check if alpha is specified when checking if color bits are unspecfied.

Bug: 19821495
Change-Id: Id0a038b65fcb5c65c26cfda79ae5c45549dd8ebb

9 years agoMerge "Increase threshold in layout_binding tests."
Jarkko Pöyry [Mon, 6 Apr 2015 17:11:21 +0000 (17:11 +0000)]
Merge "Increase threshold in layout_binding tests."

9 years agoMerge "Relax random fragment op thresholds on MSAA."
Jarkko Pöyry [Mon, 6 Apr 2015 17:10:48 +0000 (17:10 +0000)]
Merge "Relax random fragment op thresholds on MSAA."

9 years agoRemove reflect() tests from mustpass
Pyry Haulos [Mon, 6 Apr 2015 17:07:25 +0000 (10:07 -0700)]
Remove reflect() tests from mustpass

Bug: 19408572
Change-Id: I275a1ce63dff5becbb0e85e88b8badd13811cb17

9 years agoIncrease threshold in layout_binding tests.
Jarkko Pöyry [Fri, 3 Apr 2015 21:16:33 +0000 (14:16 -0700)]
Increase threshold in layout_binding tests.

Bug: 19990291
Change-Id: I3292bdd7077546adbdd88240362166d53905f804

9 years agoMerge "Add stub EGL support to null platform"
Pyry Haulos [Mon, 6 Apr 2015 17:01:55 +0000 (17:01 +0000)]
Merge "Add stub EGL support to null platform"

9 years agoMerge "Fix EGL tests that called EGL functions before init()"
Pyry Haulos [Mon, 6 Apr 2015 17:01:37 +0000 (17:01 +0000)]
Merge "Fix EGL tests that called EGL functions before init()"

9 years agoRelax random fragment op thresholds on MSAA.
Jarkko Pöyry [Sat, 4 Apr 2015 03:27:26 +0000 (20:27 -0700)]
Relax random fragment op thresholds on MSAA.

Bug: 20056303
Change-Id: Ie9b5c9d9865c7751b07908c6a0c72cfa12e9345c

9 years agoAdd dither.* to MNC mustpass pixel format tests.
Jarkko Pöyry [Fri, 3 Apr 2015 23:52:04 +0000 (16:52 -0700)]
Add dither.* to MNC mustpass pixel format tests.

Change-Id: I6a8cf1e44934bd17d27363bdb02d4e8cd5833e4f

9 years agoFix EGL tests that called EGL functions before init()
Pyry Haulos [Fri, 3 Apr 2015 22:36:22 +0000 (15:36 -0700)]
Fix EGL tests that called EGL functions before init()

 * GL function table must not be initialized in constructor as
initialization may call eglGetProcAddress().

 * deinit()s called from destructors should touch EGL functions only if
there are live EGL objects (display teardown).

Change-Id: Ibfdbc0ff2280c3339c7c473d51fef5c88dbcc9fd

9 years agoAdd stub EGL support to null platform
Pyry Haulos [Fri, 3 Apr 2015 22:46:20 +0000 (15:46 -0700)]
Add stub EGL support to null platform

This adds basic eglu::NativeDisplayFactory and eglu::NativeDisplay that
is enough to get --deqp-runmode=*-caselist working.

Change-Id: I1bca2690f648b884a5cfe3182d40e9c3680ca392

9 years agoMerge "Fix scissor tests failing on 565."
Jarkko Pöyry [Fri, 3 Apr 2015 21:25:40 +0000 (21:25 +0000)]
Merge "Fix scissor tests failing on 565."

9 years agoMerge "Fix clearing SRGB renderbuffers in copy image tests."
Mika Isojärvi [Fri, 3 Apr 2015 20:49:05 +0000 (20:49 +0000)]
Merge "Fix clearing SRGB renderbuffers in copy image tests."

9 years agoFix scissor tests failing on 565.
Jarkko Pöyry [Fri, 3 Apr 2015 20:47:37 +0000 (13:47 -0700)]
Fix scissor tests failing on 565.

Bug: 19990291
Change-Id: I9a0d1cea5c7bfd14b7874a58ac47da3879e854a3

9 years agoMerge "Fix warnings caused by using unnamed enums as template parameters"
Pyry Haulos [Fri, 3 Apr 2015 20:28:02 +0000 (20:28 +0000)]
Merge "Fix warnings caused by using unnamed enums as template parameters"

9 years agoMerge "Generate MNC mustpass lists."
Jarkko Pöyry [Fri, 3 Apr 2015 20:30:49 +0000 (20:30 +0000)]
Merge "Generate MNC mustpass lists."

9 years agoGenerate MNC mustpass lists.
Jarkko Pöyry [Fri, 3 Apr 2015 18:14:49 +0000 (11:14 -0700)]
Generate MNC mustpass lists.

Change-Id: I13433bf99c995bae532e4894e4cee8f64108fec0

9 years agoFix clearing SRGB renderbuffers in copy image tests.
Mika Isojärvi [Fri, 3 Apr 2015 19:43:15 +0000 (12:43 -0700)]
Fix clearing SRGB renderbuffers in copy image tests.

Bug: 19897810
Change-Id: I7a57bfcbebf7137aac8ebebbde1905310c0e741b

9 years agoMerge "Fix read_pixels tests."
Jarkko Pöyry [Fri, 3 Apr 2015 19:41:32 +0000 (19:41 +0000)]
Merge "Fix read_pixels tests."

9 years agoFix warnings caused by using unnamed enums as template parameters
Pyry Haulos [Fri, 3 Apr 2015 19:32:17 +0000 (12:32 -0700)]
Fix warnings caused by using unnamed enums as template parameters

Change-Id: I30d54d7cdd987488d5362e6d5af1169f734e6d4e

9 years agoFix read_pixels tests.
Jarkko Pöyry [Fri, 3 Apr 2015 02:59:27 +0000 (19:59 -0700)]
Fix read_pixels tests.

- Fix unformated printing of BGRA format string.
- Support BGRA compare.
- Add missing skip offset calculation in MSAA branch.
- Throw NotSupported, not InternalError, if format is not supported.
- Make RBO usage explicit.

Bug: 20055678
Bug: 19987313
Change-Id: Ibf0a6e8865376888e05385123f1b69250d38b7ba

9 years agoCheck stencil and depth buffer presence before using them in multisample tests.
Jarkko Pöyry [Fri, 3 Apr 2015 03:46:58 +0000 (20:46 -0700)]
Check stencil and depth buffer presence before using them in multisample tests.

Bug: 19990776
Change-Id: I4e2e4d43e0a465991fb97a898b5b07e77c30f507

9 years agoMerge "New mustpass script and first MNC ES3.x mustpass lists"
Pyry Haulos [Fri, 3 Apr 2015 16:45:02 +0000 (16:45 +0000)]
Merge "New mustpass script and first MNC ES3.x mustpass lists"

9 years agoNew mustpass script and first MNC ES3.x mustpass lists
Pyry Haulos [Thu, 2 Apr 2015 18:08:39 +0000 (11:08 -0700)]
New mustpass script and first MNC ES3.x mustpass lists

This change replaces old mustpass script (gen_android_cts_xml.py) with a
more flexible one (build_android_mustpass.py) that implements following:

 * Mustpass list is always built and checked against raw lists produced
by building and running test binaries using tools from build_caselists.py.

 * Mustpass lists are specified as list of transformations (inclusions
or exclusions) from raw case list.

 * New script supports generating multiple configurations (GL config bits,
surface, etc.)

Layout of android/cts has been changed slightly:

cts/<version>/src/           - source files for generating mustpass
cts/<version>/*.txt          - mustpass caselist (--deqp-caselist-file)
cts/<version>/mustpass.xml   - mapping between configs and caselists
cts/<version>/com.draw...xml - mustpass lists for CTS

Change-Id: I93f66d6dd817c94f01f3c81749af1a113f44651b

9 years agoMerge "Improve android gdb script."
Mika Isojärvi [Fri, 3 Apr 2015 01:32:32 +0000 (01:32 +0000)]
Merge "Improve android gdb script."

9 years agoMerge "Fix / Clean up de::SharedPtr."
Mika Isojärvi [Fri, 3 Apr 2015 01:30:05 +0000 (01:30 +0000)]
Merge "Fix / Clean up de::SharedPtr."

9 years agoFix / Clean up de::SharedPtr.
Mika Isojärvi [Mon, 30 Mar 2015 22:32:58 +0000 (15:32 -0700)]
Fix / Clean up de::SharedPtr.

- Fix SharedPtr removing input ptr if memory allocation fails.
- Remove almost unused threadSafe template argument.
- Remove deleter template parameter. Use templated constructor instead.
- Use virtual base class for SharedPtrState to fix issue with invalid
  reinterpret_casts and some nasty issues with deleters.
- If assigning WeakPtr to last referencing SharedPtr succeed instead of
  releasing last reference and failing to acquire WeakPtr.
- If SharedPtr fails to acquire WeakPtr do not release existing reference.

Change-Id: I4a0d522485e085397ff059dc4db4e3bc7986d629

9 years agoMerge "Fix broken toRGBAMasked."
Jarkko Pöyry [Thu, 2 Apr 2015 19:08:03 +0000 (19:08 +0000)]
Merge "Fix broken toRGBAMasked."

9 years agoFix broken toRGBAMasked.
Jarkko Pöyry [Thu, 2 Apr 2015 18:23:31 +0000 (11:23 -0700)]
Fix broken toRGBAMasked.

- toRGBAMasked returned incorrect default value for alpha channel when
  the channel was not present. (i.e. rgb565, rgb888 formats).

Bug: 20048027
Change-Id: I7fec467491a31e017b32737e6609ad4379c4091e

9 years agoMerge "Merge commit '33ebb838720fdc9d4b75f74ec18e45c22a66c3f6' into merge"
Etan Cohen [Thu, 2 Apr 2015 03:07:28 +0000 (03:07 +0000)]
Merge "Merge commit '33ebb838720fdc9d4b75f74ec18e45c22a66c3f6' into merge"

9 years agoImprove android gdb script.
Mika Isojärvi [Tue, 31 Mar 2015 22:50:12 +0000 (15:50 -0700)]
Improve android gdb script.

Fix issues and add more default device configurations.

Change-Id: I0aeb861ee41fdb8840dfd0f0dd7e30b8d463439d

9 years agoMerge "Update case list."
Jarkko Pöyry [Tue, 31 Mar 2015 20:40:00 +0000 (20:40 +0000)]
Merge "Update case list."

9 years agoUpdate case list.
Jarkko Pöyry [Tue, 31 Mar 2015 19:48:06 +0000 (12:48 -0700)]
Update case list.

Bug: 20010220
Change-Id: I953d0ab55cc7f8f0c0b3087c2adbd3b6660a9e1d

9 years agoMerge commit '33ebb838720fdc9d4b75f74ec18e45c22a66c3f6' into merge
Etan Cohen [Tue, 31 Mar 2015 00:48:36 +0000 (17:48 -0700)]
Merge commit '33ebb838720fdc9d4b75f74ec18e45c22a66c3f6' into merge

9 years agoRemove sampleND duplication by always using the offset versions.
Jarkko Pöyry [Sat, 28 Mar 2015 02:29:23 +0000 (19:29 -0700)]
Remove sampleND duplication by always using the offset versions.

Change-Id: I5a007c10043997a73b4faf45313dfb4c89ce71ad

9 years agoMerge "Add negative tests for per-patch output aggregate types."
Jarkko Pöyry [Fri, 27 Mar 2015 19:55:37 +0000 (19:55 +0000)]
Merge "Add negative tests for per-patch output aggregate types."

9 years agoMerge changes If9baae21,I67223279
Jarkko Pöyry [Fri, 27 Mar 2015 19:54:57 +0000 (19:54 +0000)]
Merge changes If9baae21,I67223279

* changes:
  Escape non-printable characters in xeXMLWriter.
  Fix shader info log including 0-terminator.

9 years agoMerge "Fix valgrind warnings in negative tests when running on null context."
Jarkko Pöyry [Fri, 27 Mar 2015 19:54:25 +0000 (19:54 +0000)]
Merge "Fix valgrind warnings in negative tests when running on null context."

9 years agoFix valgrind warnings in negative tests when running on null context.
Jarkko Pöyry [Thu, 26 Mar 2015 20:15:23 +0000 (13:15 -0700)]
Fix valgrind warnings in negative tests when running on null context.

Change-Id: Ic58c2a34199be4436e59779c1cd78b8c49f8b037

9 years agoAdd negative tests for per-patch output aggregate types.
Jarkko Pöyry [Tue, 24 Mar 2015 19:54:55 +0000 (12:54 -0700)]
Add negative tests for per-patch output aggregate types.

Bug: 19894936
Change-Id: I2d5b78c98a380a10831145c937d88a154eb131f1

9 years agoMerge "Add multisample_interpolation negative tests."
Jarkko Pöyry [Thu, 26 Mar 2015 20:01:39 +0000 (20:01 +0000)]
Merge "Add multisample_interpolation negative tests."

9 years agoAdd user_defined_io.per_patch_block and _block_array tessellation tests.
Jarkko Pöyry [Tue, 24 Mar 2015 19:12:55 +0000 (12:12 -0700)]
Add user_defined_io.per_patch_block and _block_array tessellation tests.

Bug: 19896162
Change-Id: I583151538ad3f8712348a96154f39e8a16e428e6

9 years agoEscape non-printable characters in xeXMLWriter.
Jarkko Pöyry [Wed, 25 Mar 2015 18:26:54 +0000 (11:26 -0700)]
Escape non-printable characters in xeXMLWriter.

Change-Id: If9baae21331dcf5bde587bd99803f5ca2bc88483

9 years agoFix shader info log including 0-terminator.
Jarkko Pöyry [Wed, 25 Mar 2015 18:21:16 +0000 (11:21 -0700)]
Fix shader info log including 0-terminator.

Change-Id: I6722327906f76a06634606daa740981ebdf8540a

9 years agoAdd multisample_interpolation negative tests.
Jarkko Pöyry [Wed, 25 Mar 2015 18:02:45 +0000 (11:02 -0700)]
Add multisample_interpolation negative tests.

Bug: 19096151
Change-Id: Ia5441af277152e641b410d2755d744d022ba91c8

9 years agoMerge "Add negative tests for array initialization."
Jarkko Pöyry [Thu, 26 Mar 2015 19:37:19 +0000 (19:37 +0000)]
Merge "Add negative tests for array initialization."

9 years agoReapply changes lost in a merge gone bad.
Jarkko Pöyry [Thu, 26 Mar 2015 18:26:34 +0000 (11:26 -0700)]
Reapply changes lost in a merge gone bad.

- Merge of mirror-m-wireless-internal-release branch reverted changes
  that were applied to both master and backported to lmp branches. This
  change reapplies the reverted changes. Changes are:
  * bug 19543772 -- Remove io_blocks.match_different_member_interpolation
                    test from mustpass.
  * bug 19543594 -- Apply fix for tessellation fractional even test
                    verification.

Bug: 19936763
Change-Id: Ibc357e0e13d7993c91a4f4d60500dccb924eadec

9 years agoMerge "Fix test session completion status"
Pyry Haulos [Thu, 26 Mar 2015 17:56:15 +0000 (17:56 +0000)]
Merge "Fix test session completion status"

9 years agoFix test session completion status
Pyry Haulos [Thu, 26 Mar 2015 16:15:03 +0000 (09:15 -0700)]
Fix test session completion status

tcu::TestSessionExecutor failed to mark test run as completed, which made
tcu::App to always report run as aborted. This change fixes this issue.

Change-Id: Ifa70442ce9578e9d58db51ecd4557f2cb575d9af

9 years agoAdd couple of more GLSL ES 3.00 uint literal tests
Pyry Haulos [Thu, 26 Mar 2015 16:16:50 +0000 (09:16 -0700)]
Add couple of more GLSL ES 3.00 uint literal tests

Certain shader compiler had an issue where it treated "0u" as a signed
integer literal. This change adds targeted tests to catch that.

Change-Id: I18ba2906eca52c55f5cb4f30b55a4b2b498a1f6a

9 years agoMerge "Allow choosing random input count in builtin_functions.precision tests"
Pyry Haulos [Thu, 26 Mar 2015 00:58:59 +0000 (00:58 +0000)]
Merge "Allow choosing random input count in builtin_functions.precision tests"

9 years agoApply test case renames to LMP caselist.
Jarkko Pöyry [Wed, 25 Mar 2015 22:26:37 +0000 (15:26 -0700)]
Apply test case renames to LMP caselist.

Bug: 19916393
Change-Id: Ibdf2bf884819f736b7def9b45e1cc68747e9ed11

9 years agoMerge "Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into...
Prerepa Viswanadham [Wed, 25 Mar 2015 20:03:11 +0000 (20:03 +0000)]
Merge "Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge"

9 years agoam 7d6b7aac: am a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases...
Jarkko Pöyry [Wed, 25 Mar 2015 00:40:15 +0000 (00:40 +0000)]
am 7d6b7aac: am a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1 must pass." into lmp-mr1-dev

* commit '7d6b7aac8151989020f126f800b78b28d4ca29ee':
  Remove tessellation.user_defined_io.per_patch cases from MR1 must pass.

9 years agoam a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1...
Jarkko Pöyry [Wed, 25 Mar 2015 00:25:59 +0000 (00:25 +0000)]
am a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1 must pass." into lmp-mr1-dev

* commit 'a8f81cc2f14426526d3397dc50e1a3f09f83efc2':
  Remove tessellation.user_defined_io.per_patch cases from MR1 must pass.

9 years agoam a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1...
Jarkko Pöyry [Wed, 25 Mar 2015 00:25:42 +0000 (00:25 +0000)]
am a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1 must pass." into lmp-mr1-dev
automerge: a521baf

* commit 'a521baf51c8da7d20712129c37a82306491bcafd':
  Remove tessellation.user_defined_io.per_patch cases from MR1 must pass.

9 years agoam a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1...
Jarkko Pöyry [Wed, 25 Mar 2015 00:18:38 +0000 (00:18 +0000)]
am a8f81cc2: Merge "Remove tessellation.user_defined_io.per_patch cases from MR1 must pass." into lmp-mr1-dev

* commit 'a8f81cc2f14426526d3397dc50e1a3f09f83efc2':
  Remove tessellation.user_defined_io.per_patch cases from MR1 must pass.

9 years agoam 62c53d4d: am c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch...
Jarkko Pöyry [Wed, 25 Mar 2015 00:15:07 +0000 (00:15 +0000)]
am 62c53d4d: am c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.

* commit '62c53d4d415b345ef9bcf5effd6c17222a144a75':
  Remove tessellation.user_defined_io.per_patch cases from must pass.

9 years agoMerge "Remove tessellation.user_defined_io.per_patch cases from MR1 must pass." into...
Jarkko Pöyry [Wed, 25 Mar 2015 00:14:51 +0000 (00:14 +0000)]
Merge "Remove tessellation.user_defined_io.per_patch cases from MR1 must pass." into lmp-mr1-dev

9 years agoam c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from...
Jarkko Pöyry [Wed, 25 Mar 2015 00:00:58 +0000 (00:00 +0000)]
am c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.
automerge: 99f790f

* commit '99f790fa16bbe84bc8a0a79a0cf396cdff842c2b':
  Remove tessellation.user_defined_io.per_patch cases from must pass.

9 years agoam c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from...
Jarkko Pöyry [Tue, 24 Mar 2015 23:58:04 +0000 (23:58 +0000)]
am c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.

* commit 'c3bb324cd65dbd8b39340fd522340223430e539a':
  Remove tessellation.user_defined_io.per_patch cases from must pass.

9 years agoam c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from...
Jarkko Pöyry [Tue, 24 Mar 2015 23:50:50 +0000 (23:50 +0000)]
am c3bb324c: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.

* commit 'c3bb324cd65dbd8b39340fd522340223430e539a':
  Remove tessellation.user_defined_io.per_patch cases from must pass.

9 years agoam 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.
Jarkko Pöyry [Tue, 24 Mar 2015 23:47:32 +0000 (23:47 +0000)]
am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.

* commit '9252e8197ed615959ad594ecc85fa3c1ed8e2f2d':
  Remove tessellation.user_defined_io.per_patch cases from must pass.

9 years agoMerge "Add .* to .gitignore."
Jarkko Pöyry [Tue, 24 Mar 2015 23:45:50 +0000 (23:45 +0000)]
Merge "Add .* to .gitignore."

9 years agoMerge "Fix es31-lmp.txt caselist containing non-existent case."
Jarkko Pöyry [Tue, 24 Mar 2015 23:42:32 +0000 (23:42 +0000)]
Merge "Fix es31-lmp.txt caselist containing non-existent case."

9 years agoFix es31-lmp.txt caselist containing non-existent case.
Jarkko Pöyry [Tue, 24 Mar 2015 23:32:12 +0000 (16:32 -0700)]
Fix es31-lmp.txt caselist containing non-existent case.

Bug: 19916393
Change-Id: I7d2de6f3230127c40062fc1aa69c7e6717049cf0

9 years agoAdd negative tests for array initialization.
Jarkko Pöyry [Tue, 24 Mar 2015 20:34:36 +0000 (13:34 -0700)]
Add negative tests for array initialization.

- Rename constructor_c-styleN to constructor_c_styleN to avoid '-'
  character in test name.
- Add some additional initialization tests.
- Port initialization tests to GLES31.

Bug: 19639781
Change-Id: Id9488837cc24c82c3ff1ad31c49da3a238c6fee8

9 years agoMerge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
Prerepa Viswanadham [Tue, 24 Mar 2015 20:33:27 +0000 (13:33 -0700)]
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

9 years agoAdd .* to .gitignore.
Jarkko Pöyry [Tue, 24 Mar 2015 20:00:15 +0000 (13:00 -0700)]
Add .* to .gitignore.

Change-Id: I5fbecdceae956e5a4711a1579b79ac75b3db5257

9 years agoFix tcu::TestStatus::isComplete()
Pyry Haulos [Tue, 24 Mar 2015 19:40:29 +0000 (12:40 -0700)]
Fix tcu::TestStatus::isComplete()

Change-Id: Ie112bd5781a19edc8b19c2bbcb7ecb767b66e439

9 years agoRefactor tcu::TestExecutor
Pyry Haulos [Fri, 20 Mar 2015 18:06:41 +0000 (11:06 -0700)]
Refactor tcu::TestExecutor

tcu::TestExecutor used to provide all functionality required for
traversing hierarchy, executing tests, and even generating test case
lists. This change splits TestExecutor into three separate utilities:

 1) TestHierarchyIterator provides test hierarchy traversal.
 2) TestSessionExecutor provides test session execution.
 3) Utility functions for generating test case list files.

In addition TestCaseWrapper has been replaced by package-specific
TestCaseExecutor with TestSessionExecutor-managed lifetime.

Change-Id: Idb8090964a80cd64892231798710547e84e2989b

9 years agoFix int->bool conversion warning on MSVC
Pyry Haulos [Mon, 23 Mar 2015 22:01:25 +0000 (15:01 -0700)]
Fix int->bool conversion warning on MSVC

Change-Id: Ibab3dfff237d7bd8c3500f4ee8cc6ca08bbfdbb7

9 years agoMerge "Remove extension name bug workaround from FBO completeness tests."
Jarkko Pöyry [Mon, 23 Mar 2015 21:17:22 +0000 (21:17 +0000)]
Merge "Remove extension name bug workaround from FBO completeness tests."

9 years agoMerge "Fix EGL negative api eglMakeCurrent test."
Mika Isojärvi [Mon, 23 Mar 2015 21:14:41 +0000 (21:14 +0000)]
Merge "Fix EGL negative api eglMakeCurrent test."

9 years agoRemove extension name bug workaround from FBO completeness tests.
Jarkko Pöyry [Mon, 23 Mar 2015 20:55:17 +0000 (13:55 -0700)]
Remove extension name bug workaround from FBO completeness tests.

Change-Id: I8ac325ab3aec9b92ee8010007a5cef2229ab2b8c

9 years agoMerge "Allow inconsistently sized attachments in gles2 fbo completeness tests."
Jarkko Pöyry [Mon, 23 Mar 2015 20:49:40 +0000 (20:49 +0000)]
Merge "Allow inconsistently sized attachments in gles2 fbo completeness tests."

9 years agoMerge "Remove illegal outputs from tessellation user_defined_io cases."
Jarkko Pöyry [Mon, 23 Mar 2015 20:48:47 +0000 (20:48 +0000)]
Merge "Remove illegal outputs from tessellation user_defined_io cases."

9 years agoRemove tessellation.user_defined_io.per_patch cases from MR1 must pass.
Jarkko Pöyry [Mon, 23 Mar 2015 20:46:54 +0000 (13:46 -0700)]
Remove tessellation.user_defined_io.per_patch cases from MR1 must pass.

Bug: 19892988
Change-Id: I3cd9ca7551494b5f7da2a11d041cfb767230201b

9 years agoRemove tessellation.user_defined_io.per_patch cases from must pass.
Jarkko Pöyry [Mon, 23 Mar 2015 20:43:46 +0000 (13:43 -0700)]
Remove tessellation.user_defined_io.per_patch cases from must pass.

Bug: 19892988
Change-Id: I327307b07997466ec9c86564382a2f5b6a0a8bbd

9 years agoRemove illegal outputs from tessellation user_defined_io cases.
Jarkko Pöyry [Mon, 23 Mar 2015 20:05:25 +0000 (13:05 -0700)]
Remove illegal outputs from tessellation user_defined_io cases.

- Remove array within a structure declared as an output variable.
- Remove output variables declared as arrays of structures.

Bug: 19892988
Change-Id: I9265b406e65da32b4782998748127681623faf3d

9 years agoAllow inconsistently sized attachments in gles2 fbo completeness tests.
Jarkko Pöyry [Mon, 23 Mar 2015 19:27:04 +0000 (12:27 -0700)]
Allow inconsistently sized attachments in gles2 fbo completeness tests.

- Since GLES3 is "compatible" with a GLES2 context, attachment size negative
  test may produce false-negatives.

Bug: 18800966
Change-Id: I60ffee28a144c69f992381f311f9e9ac509420f3

9 years agoMake fbo completeness format rules forward compatible.
Jarkko Pöyry [Thu, 19 Mar 2015 20:17:35 +0000 (13:17 -0700)]
Make fbo completeness format rules forward compatible.

- Detect and expose context version as an extension in glsFBOUtil.
- Add rules for GLES2 formats changed in GLES3 but with no GLES2
  extension with same functionality.
- Add rules for GLES3 formats changed in GLES31 but with no GLES31
  extension with same functionality.

Bug: 18800966
Change-Id: I297fa9738d8e51e87ccf84dfde6a13c7fd45c7ce

9 years agoMerge "Improve logging in fbo completeness tests."
Jarkko Pöyry [Mon, 23 Mar 2015 19:28:24 +0000 (19:28 +0000)]
Merge "Improve logging in fbo completeness tests."

9 years agoMerge "Add beginsWith/endsWith to deStringUtil.hpp."
Jarkko Pöyry [Mon, 23 Mar 2015 19:12:09 +0000 (19:12 +0000)]
Merge "Add beginsWith/endsWith to deStringUtil.hpp."

9 years agoFix EGL negative api eglMakeCurrent test.
Mika Isojärvi [Fri, 20 Mar 2015 21:40:10 +0000 (14:40 -0700)]
Fix EGL negative api eglMakeCurrent test.

Use real EGLContext instead of using EGL_NO_CONTEXT when testing other
errors than EGL_BAD_CONTEXT.

Bug: 18290284
Change-Id: I97cdc8a668ce73d6db38f4289c6f9388340ebabc

9 years agoMerge "Fix threshold calculation in EGLImage tests."
Mika Isojärvi [Mon, 23 Mar 2015 19:09:41 +0000 (19:09 +0000)]
Merge "Fix threshold calculation in EGLImage tests."

9 years agoImprove logging in fbo completeness tests.
Jarkko Pöyry [Thu, 19 Mar 2015 20:12:09 +0000 (13:12 -0700)]
Improve logging in fbo completeness tests.

- Log texture format info of used textures and renderbuffers including
  which extensions added or would have added support for each feature.
- Log all active rules used to calculate potential result set.
- Rename minFormats to coreFormat and maxFormats to allFormats to
  improve readability.

Bug: 18800966
Change-Id: I34a06f179c1353325a3c65a91c3f4d4b6bd024c0

9 years agoMerge "Accepth different errors from eglCreatePbufferFromClientBuffer."
Mika Isojärvi [Mon, 23 Mar 2015 19:06:49 +0000 (19:06 +0000)]
Merge "Accepth different errors from eglCreatePbufferFromClientBuffer."

9 years agoMerge "Fix failing assertion if glGetIntegerv query fails."
Jarkko Pöyry [Mon, 23 Mar 2015 17:55:06 +0000 (17:55 +0000)]
Merge "Fix failing assertion if glGetIntegerv query fails."

9 years agoAccepth different errors from eglCreatePbufferFromClientBuffer.
Mika Isojärvi [Fri, 20 Mar 2015 21:11:51 +0000 (14:11 -0700)]
Accepth different errors from eglCreatePbufferFromClientBuffer.

Accept both EGL_BAD_CONFIG and EGL_BAD_PARAMETER from
eglCreatePbufferFromClientBuffer when passing in both invalid config
and invalid client buffer.

Bug: 18290284
Change-Id: Ic3ccf69de650e48ffd0b847014790ef1bf44ed56

9 years agoMerge "Remove invalid negative eglClientWaitSync tests."
Mika Isojärvi [Mon, 23 Mar 2015 16:54:40 +0000 (16:54 +0000)]
Merge "Remove invalid negative eglClientWaitSync tests."

9 years agoAdd beginsWith/endsWith to deStringUtil.hpp.
Jarkko Pöyry [Thu, 19 Mar 2015 02:57:23 +0000 (19:57 -0700)]
Add beginsWith/endsWith to deStringUtil.hpp.

Change-Id: Id538b11e6cd8b717f814166a6497c500e12a675b

9 years agoFix threshold calculation in EGLImage tests.
Mika Isojärvi [Fri, 20 Mar 2015 22:15:10 +0000 (15:15 -0700)]
Fix threshold calculation in EGLImage tests.

Bug: 18290284
Change-Id: I29684a4962e3d67d67f082e37300ef41a6f7b14a

9 years agoFix failing assertion if glGetIntegerv query fails.
Jarkko Pöyry [Sat, 21 Mar 2015 01:00:15 +0000 (18:00 -0700)]
Fix failing assertion if glGetIntegerv query fails.

Bug: 19869836
Change-Id: I95e316b06a46c2e07f3a5dd2241f601bf9e635af

9 years agoMerge "Don't call exit() from signal handler."
Jarkko Pöyry [Sat, 21 Mar 2015 00:26:49 +0000 (00:26 +0000)]
Merge "Don't call exit() from signal handler."

9 years agoMerge "Avoid malloc in App::onCrash."
Jarkko Pöyry [Sat, 21 Mar 2015 00:23:58 +0000 (00:23 +0000)]
Merge "Avoid malloc in App::onCrash."

9 years agoDon't call exit() from signal handler.
Jarkko Pöyry [Fri, 20 Mar 2015 22:29:47 +0000 (15:29 -0700)]
Don't call exit() from signal handler.

Bug: 19517387
Change-Id: I58d60a54a9473d14b60f981682307338e30ba087