platform/upstream/VK-GL-CTS.git
9 years agoam 7f94bf05: Remove failing random ubo test from must pass list.
Mika Isojärvi [Tue, 6 Jan 2015 02:20:38 +0000 (02:20 +0000)]
am 7f94bf05: Remove failing random ubo test from must pass list.

* commit '7f94bf05ab808862ba69c48b4966db456539f5d6':
  Remove failing random ubo test from must pass list.

9 years agoRemove failing random ubo test from must pass list.
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

9 years agoam 1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
Jarkko Pöyry [Tue, 30 Dec 2014 18:52:57 +0000 (18:52 +0000)]
am 1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

* commit '1029ba1f311daab764fa4e54f0c2a57124522ad0':
  Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

9 years agoFix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
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

9 years agoam 6105d36c: Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
Jarkko Pöyry [Mon, 15 Dec 2014 22:46:27 +0000 (22:46 +0000)]
am 6105d36c: Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.

* commit '6105d36c20b890fe795a9a412db4bdb0ed6f1198':
  Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.

9 years agoRequire renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
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

9 years agoam 2d015902: Remove known failures from L-MR1 mustpass
Pyry Haulos [Fri, 12 Dec 2014 17:10:04 +0000 (17:10 +0000)]
am 2d015902: Remove known failures from L-MR1 mustpass

* commit '2d015902f818576a1a09f704b1bb9c3bae2a343c':
  Remove known failures from L-MR1 mustpass

9 years agoRemove known failures from L-MR1 mustpass
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

9 years agoam 1166935c: Merge "Fix program leak in sglrGLContext CreateProgram on build failure...
Jarkko Pöyry [Wed, 10 Dec 2014 03:33:40 +0000 (03:33 +0000)]
am 1166935c: Merge "Fix program leak in sglrGLContext CreateProgram on build failure." into lmp-mr1-dev

* commit '1166935ce437c0fe729fa8d8c001dbdecdf106da':
  Fix program leak in sglrGLContext CreateProgram on build failure.

9 years agoam 664e0500: Fix atomic min and max signed value verification.
Jarkko Pöyry [Wed, 10 Dec 2014 03:33:40 +0000 (03:33 +0000)]
am 664e0500: Fix atomic min and max signed value verification.

* commit '664e0500b4d1458fae75baf99cc4368442a0f370':
  Fix atomic min and max signed value verification.

9 years agoMerge "Fix program leak in sglrGLContext CreateProgram on build failure." into lmp...
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

9 years agoFix atomic min and max signed value verification.
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

9 years agoFix program leak in sglrGLContext CreateProgram on build failure.
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

9 years agoam 47b9d7f9: Merge "Relax shader derivative test verification." into lmp-mr1-dev
Jarkko Pöyry [Mon, 8 Dec 2014 19:17:55 +0000 (19:17 +0000)]
am 47b9d7f9: Merge "Relax shader derivative test verification." into lmp-mr1-dev

* commit '47b9d7f998a5bc6fe124ee1c420a1e122b91d90e':
  Relax shader derivative test verification.

9 years agoam a7438f76: Fix bug in handling CRLF line endings in ShaderLibrary
Pyry Haulos [Mon, 8 Dec 2014 19:17:46 +0000 (19:17 +0000)]
am a7438f76: Fix bug in handling CRLF line endings in ShaderLibrary

* commit 'a7438f761960032e1150e6e1b30990062136bc15':
  Fix bug in handling CRLF line endings in ShaderLibrary

9 years agoMerge "Relax shader derivative test verification." into lmp-mr1-dev
Jarkko Pöyry [Fri, 5 Dec 2014 21:18:53 +0000 (21:18 +0000)]
Merge "Relax shader derivative test verification." into lmp-mr1-dev

9 years agoam 13db3557: Remove dEQP workaround for GCC prescott internal compiler error.
Jarkko Pöyry [Fri, 5 Dec 2014 20:58:24 +0000 (20:58 +0000)]
am 13db3557: Remove dEQP workaround for GCC prescott internal compiler error.

* commit '13db3557aa1b5809f50cb214e848866f3e80db6c':
  Remove dEQP workaround for GCC prescott internal compiler error.

9 years agoRemove dEQP workaround for GCC prescott internal compiler error.
Jarkko Pöyry [Fri, 5 Dec 2014 20:41:28 +0000 (12:41 -0800)]
Remove dEQP workaround for GCC prescott internal compiler error.

Bug: 18178209
Bug: 18171557
Bug: 18174291
Change-Id: I9bfab4be7ad8336fe1d74fbaa633663e6b3f0c4f

9 years agoRelax shader derivative test verification.
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

9 years agoFix bug in handling CRLF line endings in ShaderLibrary
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

9 years agoam 1bfa102d: Fix incompatible interpolation interfaces in random SSO tests.
Jarkko Pöyry [Tue, 2 Dec 2014 03:50:24 +0000 (03:50 +0000)]
am 1bfa102d: Fix incompatible interpolation interfaces in random SSO tests.

* commit '1bfa102df7c2678fa4ac421fa29780848c2c12f3':
  Fix incompatible interpolation interfaces in random SSO tests.

9 years agoFix incompatible interpolation interfaces in random SSO tests.
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

9 years agoam edd21bd9: Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev
Pyry Haulos [Mon, 1 Dec 2014 20:00:51 +0000 (20:00 +0000)]
am edd21bd9: Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev

* commit 'edd21bd9be5debea460b935fb7277aeeed606e78':
  Remove sin/cos workaround for libhoudini

9 years agoam 2acb6d46: Fix negative layout_binding cases failing on low implementation limits.
Jarkko Pöyry [Mon, 1 Dec 2014 19:48:27 +0000 (19:48 +0000)]
am 2acb6d46: Fix negative layout_binding cases failing on low implementation limits.

* commit '2acb6d4631d6d7084ebe4fb762003bcde1aae336':
  Fix negative layout_binding cases failing on low implementation limits.

9 years agoMerge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev
Pyry Haulos [Mon, 1 Dec 2014 19:19:18 +0000 (19:19 +0000)]
Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev

9 years agoFix negative layout_binding cases failing on low implementation limits.
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

9 years agoRemove sin/cos workaround for libhoudini
Pyry Haulos [Fri, 21 Nov 2014 00:11:50 +0000 (16:11 -0800)]
Remove sin/cos workaround for libhoudini

Bug: 18093947
Change-Id: I20dea41a38245ccc6318275207d7981973714cf9

9 years agoFix ambiguous mediump int write in shared_var.atomic tests
Pyry Haulos [Thu, 20 Nov 2014 21:17:15 +0000 (21:17 +0000)]
Fix ambiguous mediump int write in shared_var.atomic tests
automerge: 75be7fa

* commit '75be7fae1949a801c080530de53bdf123abb517a':
  Fix ambiguous mediump int write in shared_var.atomic tests

9 years agoUpdate mustpass XML
Pyry Haulos [Thu, 20 Nov 2014 21:00:10 +0000 (21:00 +0000)]
Update mustpass XML
automerge: 155e5e6

* commit '155e5e6729cfc1f890d6d0de338d7c1f5a1f0cec':
  Update mustpass XML

9 years agoFix ambiguous mediump int write in shared_var.atomic tests
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

9 years agoUpdate mustpass XML
Pyry Haulos [Wed, 19 Nov 2014 21:17:03 +0000 (13:17 -0800)]
Update mustpass XML

Bug: 18434194
Change-Id: I7fe9ae6e25d5dc905dace2c8a2c171f80dc7171b

9 years agoam 8c6516bd: Merge "Remove implied \'[0]\' check in XFB array element resource name...
Jarkko Pöyry [Wed, 19 Nov 2014 20:09:41 +0000 (20:09 +0000)]
am 8c6516bd: Merge "Remove implied \'[0]\' check in XFB array element resource name tests." into lmp-mr1-dev

* commit '8c6516bd099f84750fc605807b833f36ab459343':
  Remove implied '[0]' check in XFB array element resource name tests.

9 years agoam 54edf543: Add cube gather tests that avoid corners; remove D32F from mustpass
Pyry Haulos [Wed, 19 Nov 2014 20:05:59 +0000 (20:05 +0000)]
am 54edf543: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit '54edf5431a35b399c5f6d3141be07a33d73c3b8b':
  Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoMerge "Remove implied '[0]' check in XFB array element resource name tests." into...
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

9 years agoAdd cube gather tests that avoid corners; remove D32F from mustpass
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

9 years agoRemove implied '[0]' check in XFB array element resource name tests.
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

9 years agoam f6a65168: Remove get_framebuffer_attachment_parameteriv from MR1 must-pass.
Jarkko Pöyry [Tue, 18 Nov 2014 21:45:14 +0000 (21:45 +0000)]
am f6a65168: Remove get_framebuffer_attachment_parameteriv from MR1 must-pass.

* commit 'f6a65168de87c8923e3f053cc02c1850beea25b4':
  Remove get_framebuffer_attachment_parameteriv from MR1 must-pass.

9 years agoRemove get_framebuffer_attachment_parameteriv from MR1 must-pass.
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

9 years agoam 79881a65: Merge "DO NOT MERGE Add workaround for incorrect array-bounds warning...
Pyry Haulos [Tue, 18 Nov 2014 17:27:51 +0000 (17:27 +0000)]
am 79881a65: Merge "DO NOT MERGE Add workaround for incorrect array-bounds warning in glsDrawTest.cpp" into lmp-mr1-dev

* commit '79881a65103dfaa9a75e2e72b3e60f58466bb393':
  DO NOT MERGE Add workaround for incorrect array-bounds warning in glsDrawTest.cpp

9 years agoam 246b7d91: DO NOT MERGE Fix setjmp warning in qpTestLog PNG compression code
Pyry Haulos [Tue, 18 Nov 2014 17:27:51 +0000 (17:27 +0000)]
am 246b7d91: DO NOT MERGE Fix setjmp warning in qpTestLog PNG compression code

* commit '246b7d9155dd3fa10c7e7129e41ec3949194f86b':
  DO NOT MERGE Fix setjmp warning in qpTestLog PNG compression code

9 years agoMerge "DO NOT MERGE Add workaround for incorrect array-bounds warning in glsDrawTest...
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

9 years agoDO NOT MERGE Add workaround for incorrect array-bounds warning in glsDrawTest.cpp
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)

9 years agoDO NOT MERGE Fix setjmp warning in qpTestLog PNG compression code
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)

9 years agoam 2084300a: DO NOT MERGE Treat adb device info parse failures as warnings
Pyry Haulos [Tue, 18 Nov 2014 02:07:32 +0000 (02:07 +0000)]
am 2084300a: DO NOT MERGE Treat adb device info parse failures as warnings

* commit '2084300a8dfd3458c93c645633077d40884bf6a9':
  DO NOT MERGE Treat adb device info parse failures as warnings

9 years agoDO NOT MERGE Treat adb device info parse failures as warnings
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)

9 years agoam c9356cc3: Merge "Remove double underscore cases from mr1 must-pass list." into...
Jarkko Pöyry [Wed, 12 Nov 2014 23:50:25 +0000 (23:50 +0000)]
am c9356cc3: Merge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev

* commit 'c9356cc32d5710ed407efa4613642324421bbf9a':
  Remove double underscore cases from mr1 must-pass list.

9 years agoMerge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev
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

9 years agoRemove double underscore cases from mr1 must-pass list.
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

9 years agoRemove forward incompatible negative check in rbo api tests.
Jarkko Pöyry [Tue, 11 Nov 2014 22:10:19 +0000 (22:10 +0000)]
Remove forward incompatible negative check in rbo api tests.
automerge: 54b87ef

* commit '54b87ef529da3e76c538af41c8bb8061a57ec23f':
  Remove forward incompatible negative check in rbo api tests.

9 years agoMerge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 22:10:05 +0000 (22:10 +0000)]
Merge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
automerge: ce95f3a

* commit 'ce95f3a903f45d6bcb59b7bdd0f7a3119341c700':
  Initial dEQP mustpass candidates for MR1

9 years agoRemove forward incompatible negative check in rbo api tests.
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

9 years agoMerge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 19:16:51 +0000 (19:16 +0000)]
Merge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev

9 years agoMerge "Fix some dEQP GLES2 issues." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 18:19:30 +0000 (18:19 +0000)]
Merge "Fix some dEQP GLES2 issues." into lmp-mr1-dev
automerge: a0d087b

* commit 'a0d087b7e2c06cbd2c038e4847dd64961416eb3b':
  Fix some dEQP GLES2 issues.

9 years agoMerge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 18:19:27 +0000 (18:19 +0000)]
Merge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev
automerge: 517a144

* commit '517a1445b0dbe48b231b0897ad9bbc5996953c3f':
  Fix dEQP issues with identifier names with two underscores.

9 years agoMerge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 18:19:25 +0000 (18:19 +0000)]
Merge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev
automerge: e3e5640

* commit 'e3e56402efcd6fdccfd9d0e67837c038904fdb4c':
  Relax GLES3 internal format queries for GLES31 compatibility.

9 years agoAllow trailing newline in trie files.
Jarkko Pöyry [Tue, 11 Nov 2014 18:14:55 +0000 (18:14 +0000)]
Allow trailing newline in trie files.
automerge: 99df2e4

* commit '99df2e43e0ccca26aec6f291ea84a62b36baad68':
  Allow trailing newline in trie files.

9 years agoAdd support for simpler test case list syntax
Pyry Haulos [Tue, 11 Nov 2014 18:14:53 +0000 (18:14 +0000)]
Add support for simpler test case list syntax
automerge: 89659d2

* commit '89659d2685195bf9e34ff7a2e321e6ce471c8462':
  Add support for simpler test case list syntax

9 years agoFirst iteration of new release script
Pyry Haulos [Tue, 11 Nov 2014 18:14:49 +0000 (18:14 +0000)]
First iteration of new release script
automerge: fbf0fd6

* commit 'fbf0fd6745ec32da44b118433b795b7e8896660e':
  First iteration of new release script

9 years agoAdd script for fetching third-party sources
Pyry Haulos [Tue, 11 Nov 2014 18:14:47 +0000 (18:14 +0000)]
Add script for fetching third-party sources
automerge: f28f063

* commit 'f28f0637dc27d47fddedec2ef463c310acc293df':
  Add script for fetching third-party sources

9 years agoFixes to EGL negative api tests.
Mika Isojärvi [Tue, 11 Nov 2014 18:14:45 +0000 (18:14 +0000)]
Fixes to EGL negative api tests.
automerge: d9ae6af

* commit 'd9ae6afecd7e9b1904c171ee958fc7dda47ee5f2':
  Fixes to EGL negative api tests.

9 years agoFix EGL_MIPMAP_LEVEL query checks.
Mika Isojärvi [Tue, 11 Nov 2014 18:14:43 +0000 (18:14 +0000)]
Fix EGL_MIPMAP_LEVEL query checks.
automerge: 358d99c

* commit '358d99cacdf7a16393046dedd1dafc7db0b0f703':
  Fix EGL_MIPMAP_LEVEL query checks.

9 years agoFix EGL_CONTEXT_CLIENT_VERSION check.
Mika Isojärvi [Tue, 11 Nov 2014 18:14:41 +0000 (18:14 +0000)]
Fix EGL_CONTEXT_CLIENT_VERSION check.
automerge: 42eb50c

* commit '42eb50c1e508d12e8439ae4962ab5aa935ec4574':
  Fix EGL_CONTEXT_CLIENT_VERSION check.

9 years ago.gitignore updates
Pyry Haulos [Tue, 11 Nov 2014 18:14:39 +0000 (18:14 +0000)]
.gitignore updates
automerge: 6bcd1ae

* commit '6bcd1aec3a0c75f8825f2d4289be00463cab7523':
  .gitignore updates

9 years agoMake r10c toolchain compile flags more Android-ish
Pyry Haulos [Tue, 11 Nov 2014 18:14:37 +0000 (18:14 +0000)]
Make r10c toolchain compile flags more Android-ish
automerge: fed851d

* commit 'fed851df8a7114d4d9a1f5bab635d0507d553080':
  Make r10c toolchain compile flags more Android-ish

9 years agoEndianness fixes to bilinear & fuzzy image compares
Pyry Haulos [Tue, 11 Nov 2014 18:14:35 +0000 (18:14 +0000)]
Endianness fixes to bilinear & fuzzy image compares
automerge: 366985e

* commit '366985e9a897a50439ac0d95d67660d2e4e376ee':
  Endianness fixes to bilinear & fuzzy image compares

9 years agoAndroid APK build with parametrized build root dir
Kalle Raita [Tue, 11 Nov 2014 18:14:33 +0000 (18:14 +0000)]
Android APK build with parametrized build root dir
automerge: baf29b3

* commit 'baf29b35cfdcd71a107f2ea9c0ce65024f21c1fb':
  Android APK build with parametrized build root dir

9 years agoRename libtestercore.so to libdeqp.so
Pyry Haulos [Tue, 11 Nov 2014 18:14:31 +0000 (18:14 +0000)]
Rename libtestercore.so to libdeqp.so
automerge: 04d5126

* commit '04d51263aaa058a4d7b7279c51b035f50aa4fdad':
  Rename libtestercore.so to libdeqp.so

9 years agoMerge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 18:14:29 +0000 (18:14 +0000)]
Merge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
automerge: e89ebf1

* commit 'e89ebf1145494c53bbeb31c3b191ca116e30be82':
  Fix typo (GCC->CLANG) in general Clang compiler defs.

9 years agoImprovements to standalone Android build scripts
Pyry Haulos [Tue, 11 Nov 2014 18:14:26 +0000 (18:14 +0000)]
Improvements to standalone Android build scripts
automerge: 7e01a41

* commit '7e01a414adc237914552ab970ab3c8c81a8ff799':
  Improvements to standalone Android build scripts

9 years agoMerge "Fix some dEQP GLES2 issues." 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

9 years agoMerge "Fix dEQP issues with identifier names with two underscores." 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

9 years agoMerge "Relax GLES3 internal format queries for GLES31 compatibility." 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

9 years agoAllow trailing newline in trie files.
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)

9 years agoAdd support for simpler test case list syntax
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)

9 years agoFirst iteration of new release script
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)

9 years agoAdd script for fetching third-party sources
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)

9 years agoFixes to EGL negative api tests.
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)

9 years agoFix EGL_MIPMAP_LEVEL query checks.
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)

9 years agoFix EGL_CONTEXT_CLIENT_VERSION check.
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)

9 years ago.gitignore updates
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)

9 years agoMake r10c toolchain compile flags more Android-ish
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)

9 years agoEndianness fixes to bilinear & fuzzy image compares
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)

9 years agoAndroid APK build with parametrized build root dir
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)

9 years agoRename libtestercore.so to libdeqp.so
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)

9 years agoMerge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
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

9 years agoFix typo (GCC->CLANG) in general Clang compiler defs.
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)

9 years agoImprovements to standalone Android build scripts
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)

10 years agoFix dEQP issues with identifier names with two underscores.
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

10 years agoRelax GLES3 internal format queries for GLES31 compatibility.
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

10 years agoInitial dEQP mustpass candidates for MR1
Pyry Haulos [Mon, 10 Nov 2014 20:11:27 +0000 (12:11 -0800)]
Initial dEQP mustpass candidates for MR1

Bug: 18274257
Change-Id: Icf83a7d68ee929a8cc796736313094e396e7c697

10 years agoFix some dEQP GLES2 issues.
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

10 years agoam 7c800c27: Remove highp vec4 dot case from mustpass by request from IHV
Pyry Haulos [Fri, 31 Oct 2014 00:14:16 +0000 (00:14 +0000)]
am 7c800c27: Remove highp vec4 dot case from mustpass by request from IHV

* commit '7c800c27c2431a50c60ef93c577ec1971bf48899':
  Remove highp vec4 dot case from mustpass by request from IHV

10 years agoRemove highp vec4 dot case from mustpass by request from IHV
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

10 years agoam 7665e4ff: Workaround for GCC internal compiler error.
Jarkko Pöyry [Wed, 29 Oct 2014 23:08:22 +0000 (23:08 +0000)]
am 7665e4ff: Workaround for GCC internal compiler error.

* commit '7665e4ff5452f9fc261434f98484728a233ef452':
  Workaround for GCC internal compiler error.

10 years agoWorkaround for GCC internal compiler error.
Jarkko Pöyry [Wed, 29 Oct 2014 22:36:04 +0000 (15:36 -0700)]
Workaround for GCC internal compiler error.

GCC 4.8.0 generates internal compiler error (assign_by_spills) in
RandomArrayGenerator::createQuads() when compiled with -march=prescott.
As a workaround for the error, disable inlining of
alignmentSafeAssignment() when compiling for x86 using the affected GCC
version.

Bug: 18171557
Bug: 18174291

Change-Id: I3c7120ab304941d943515f0e2713513779253380

10 years agoMerge "Update test spec." into lmp-dev
Jarkko Pöyry [Tue, 28 Oct 2014 00:21:41 +0000 (00:21 +0000)]
Merge "Update test spec." into lmp-dev

10 years agoUpdate test spec.
Jarkko Pöyry [Tue, 28 Oct 2014 00:19:19 +0000 (17:19 -0700)]
Update test spec.

Change-Id: I045b445c0f0c9b524cdce6327826068581df8082

10 years agoMerge "Use invalid sample count in renderbuffer_storage_multisample negative case...
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

10 years agoMerge "Fix early fragment test tests on default fb without depth." 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

10 years agoUse invalid sample count in renderbuffer_storage_multisample negative case.
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