platform/upstream/VK-GL-CTS.git
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 "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 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

9 years agoRemove invalid negative eglClientWaitSync tests.
Mika Isojärvi [Fri, 20 Mar 2015 22:28:50 +0000 (15:28 -0700)]
Remove invalid negative eglClientWaitSync tests.

Remove tests that expected that there are invalid values for flags
argument.

Bug: 18290284
Change-Id: I542671e224c8a19d859f65b06ed226d1b1352540

9 years agoAvoid malloc in App::onCrash.
Jarkko Pöyry [Fri, 20 Mar 2015 22:40:33 +0000 (15:40 -0700)]
Avoid malloc in App::onCrash.

Bug: 19517387
Change-Id: I50097263b2d732d070315ab08e2059daa94c6a9a

9 years agoRemove invalid negative eglCreateSync test.
Mika Isojärvi [Fri, 20 Mar 2015 22:20:31 +0000 (15:20 -0700)]
Remove invalid negative eglCreateSync test.

Remove negative eglCreateSync test that tried to create
EGL_REUSABLE_SYNC without context and expected EGL_BAD_MATCH.
EGL_REUSABLE_SYNC doesn't require current context.

Bug: 18290284
Change-Id: I5370a0f634497031cce6fd9985943df7d09eb6e7

9 years agoFix negative eglWaitNative tests.
Mika Isojärvi [Thu, 19 Mar 2015 00:36:00 +0000 (17:36 -0700)]
Fix negative eglWaitNative tests.

Set the current context and the current surface before testing
eglWaitNative. eglWaitNative doesn't report errors unless there is
current context and current surface that is not pbuffer surface.

Bug: 19822402
Change-Id: I4cb4c51f6d0169fbae4e529b83bf9ec859e4f914

9 years agoAdd missing eglMakeCurrent calls to release resources.
Mika Isojärvi [Fri, 20 Mar 2015 00:48:26 +0000 (17:48 -0700)]
Add missing eglMakeCurrent calls to release resources.

Add calls to eglMakeCurrent to release current context and surface after
test in test cases that didn't have one.

Bug: 19822403
Change-Id: I6ac5f404b2e408a8920937b901ee66e5beb8fee9

9 years agoMerge "Fix negative eglGetCurrentSurface tests."
Mika Isojärvi [Fri, 20 Mar 2015 18:04:40 +0000 (18:04 +0000)]
Merge "Fix negative eglGetCurrentSurface tests."

9 years agoMerge "Move metaprogramming utils out of deDefs."
Jarkko Pöyry [Fri, 20 Mar 2015 18:04:05 +0000 (18:04 +0000)]
Merge "Move metaprogramming utils out of deDefs."

9 years agoMerge changes Ic91c8106,Ieaf5422b
Jarkko Pöyry [Fri, 20 Mar 2015 18:02:57 +0000 (18:02 +0000)]
Merge changes Ic91c8106,Ieaf5422b

* changes:
  Support GL_EXT_texture_sRGB_R(G)8 extensions in fbo completeness tests.
  Support GL_EXT_texture_sRGB_R(G)8 extension in glw.

9 years agoMerge "Add framework support for sR and sRG textures."
Jarkko Pöyry [Fri, 20 Mar 2015 18:02:48 +0000 (18:02 +0000)]
Merge "Add framework support for sR and sRG textures."

9 years agoMerge "Fix invalid channel order in tcuTextureUtil."
Jarkko Pöyry [Fri, 20 Mar 2015 01:02:07 +0000 (01:02 +0000)]
Merge "Fix invalid channel order in tcuTextureUtil."

9 years agoFix invalid channel order in tcuTextureUtil.
Jarkko Pöyry [Thu, 19 Mar 2015 21:58:31 +0000 (14:58 -0700)]
Fix invalid channel order in tcuTextureUtil.

- tcuTextureUtil stored channel bit depths of combined formats in
  swizzled form. Reorder combined formats so that depth of the first
  channel is in the first component and depth of the second channel is
  in the second, not 4th, component. Since these values are swizzled
  using the channel read swizzle when queried, this change prevents
  combined formats from being swizzled two times.

Bug: 19846703
Change-Id: I2afd47ae2ecb9f93f982ef2c9dbd24f5223bf172

9 years agoFix negative eglGetCurrentSurface tests.
Mika Isojärvi [Thu, 19 Mar 2015 00:21:10 +0000 (17:21 -0700)]
Fix negative eglGetCurrentSurface tests.

Set current context and current surface before calling
eglGetCurrentSurface. eglGetCurrentSurface doesn't report any errors
unless there is current context.

Bug: 19821499
Change-Id: I197d245f062fd3dcfe2a30263638d6f5438c5ca2

9 years agoMerge "Change --is-release argument to --android-build-type."
Mika Isojärvi [Thu, 19 Mar 2015 21:04:56 +0000 (21:04 +0000)]
Merge "Change --is-release argument to --android-build-type."

9 years agoMerge "Fix negative EGL tests expecting EGL_BAD_ATTRIBUTE."
Mika Isojärvi [Thu, 19 Mar 2015 20:49:17 +0000 (20:49 +0000)]
Merge "Fix negative EGL tests expecting EGL_BAD_ATTRIBUTE."

9 years agoMerge "Fix java build warnings, mostly unused imports."
Mika Isojärvi [Thu, 19 Mar 2015 20:39:14 +0000 (20:39 +0000)]
Merge "Fix java build warnings, mostly unused imports."

9 years agoSupport GL_EXT_texture_sRGB_R(G)8 extensions in fbo completeness tests.
Jarkko Pöyry [Tue, 17 Mar 2015 20:50:29 +0000 (13:50 -0700)]
Support GL_EXT_texture_sRGB_R(G)8 extensions in fbo completeness tests.

Change-Id: Ic91c8106f63848c0f960af45b75a55f62a2d107e

9 years agoSupport GL_EXT_texture_sRGB_R(G)8 extension in glw.
Jarkko Pöyry [Tue, 17 Mar 2015 20:48:45 +0000 (13:48 -0700)]
Support GL_EXT_texture_sRGB_R(G)8 extension in glw.

Change-Id: Ieaf5422beb8dafe277cca230744540200eff7846

9 years agoAdd framework support for sR and sRG textures.
Jarkko Pöyry [Tue, 17 Mar 2015 20:45:27 +0000 (13:45 -0700)]
Add framework support for sR and sRG textures.

Change-Id: Iee84acba0a7e603e5256f941dccc9bf0036774f2

9 years agoMerge "Add UNORM_INT24 format."
Jarkko Pöyry [Thu, 19 Mar 2015 19:57:12 +0000 (19:57 +0000)]
Merge "Add UNORM_INT24 format."

9 years agoMerge "Prevent implicit conversion from bool -> int in gluStrUtil."
Jarkko Pöyry [Thu, 19 Mar 2015 19:57:06 +0000 (19:57 +0000)]
Merge "Prevent implicit conversion from bool -> int in gluStrUtil."

9 years agoChange --is-release argument to --android-build-type.
Mika Isojärvi [Wed, 18 Mar 2015 22:53:05 +0000 (15:53 -0700)]
Change --is-release argument to --android-build-type.

Change --is-release to --android-build-type in build.py. --android-build-type
takes debug or release as argument and builds android project with it.

Change-Id: I9308f10272fa56998186f6a893bbd62c4de0f97e

9 years agoFix java build warnings, mostly unused imports.
Mika Isojärvi [Thu, 19 Mar 2015 19:40:32 +0000 (12:40 -0700)]
Fix java build warnings, mostly unused imports.

Change-Id: I6cbb47241d542d825dd9d2f69e88ed1501b691c1

9 years agoMerge "Fix RelWithAsserts build type, remove build type validation"
Pyry Haulos [Thu, 19 Mar 2015 19:14:37 +0000 (19:14 +0000)]
Merge "Fix RelWithAsserts build type, remove build type validation"

9 years agoam d58d98a1: am cb374372: Remove fragment_out tests with too strict thresholds from...
Pyry Haulos [Thu, 19 Mar 2015 18:40:28 +0000 (18:40 +0000)]
am d58d98a1: am cb374372: Remove fragment_out tests with too strict thresholds from mustpass

* commit 'd58d98a1a880754b4b7c45f21bbb211c49fe277e':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoFix RelWithAsserts build type, remove build type validation
Pyry Haulos [Thu, 19 Mar 2015 18:39:44 +0000 (11:39 -0700)]
Fix RelWithAsserts build type, remove build type validation

This change fixes typo (RELEASEWITHASSERTS -> RELWITHASSERTS) that
prevented cmake from choosing right optimization flags.

In addition build type validation has been removed since some project
file generators (MSVC generator for example) support multiple build
types and there is no build type defined at gen time.

Change-Id: I1f4856c029eb9dbfd2a4b665f204da00bf68e7e4

9 years agoam cb374372: Remove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Thu, 19 Mar 2015 18:33:05 +0000 (18:33 +0000)]
am cb374372: Remove fragment_out tests with too strict thresholds from mustpass
automerge: 69358a8

* commit '69358a895ff3f8a0dc1b515b1eac4b167ee4c959':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoam cb374372: Remove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Thu, 19 Mar 2015 18:30:44 +0000 (18:30 +0000)]
am cb374372: Remove fragment_out tests with too strict thresholds from mustpass

* commit 'cb374372f500a5cb98dbce44e8705fad086eef85':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoam cb374372: Remove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Thu, 19 Mar 2015 18:18:03 +0000 (18:18 +0000)]
am cb374372: Remove fragment_out tests with too strict thresholds from mustpass

* commit 'cb374372f500a5cb98dbce44e8705fad086eef85':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoMerge "Use highp interpolation in fragment_out tests"
Pyry Haulos [Thu, 19 Mar 2015 18:08:22 +0000 (18:08 +0000)]
Merge "Use highp interpolation in fragment_out tests"

9 years agoMerge "Add cmake build type ReleaseWithAsserts."
Mika Isojärvi [Thu, 19 Mar 2015 18:06:47 +0000 (18:06 +0000)]
Merge "Add cmake build type ReleaseWithAsserts."

9 years agoAdd cmake build type ReleaseWithAsserts.
Mika Isojärvi [Tue, 17 Mar 2015 21:39:57 +0000 (14:39 -0700)]
Add cmake build type ReleaseWithAsserts.

Add new build type to cmake files that produces release build, but
sets DE_DEBUG.

Bug: 19732544
Change-Id: I03a2b44fdcba0a04272a63459cc29f51cb4aa3fe

9 years agoAllow choosing random input count in builtin_functions.precision tests
Pyry Haulos [Thu, 19 Mar 2015 17:56:10 +0000 (10:56 -0700)]
Allow choosing random input count in builtin_functions.precision tests

Builtin function precision tests now use --deqp-test-iteration-count=N
command line option, if given, to choose number of random input vectors.
Otherwise default sample count of 16k is used.

Change-Id: Ib9990d607c0d7bf114d8ae4fc52a19f612205114