platform/upstream/VK-GL-CTS.git
6 years agoMerge "Generate extra android mustpass list from risky set" into pi-dev
Chris Forbes [Fri, 30 Mar 2018 02:31:55 +0000 (02:31 +0000)]
Merge "Generate extra android mustpass list from risky set" into pi-dev
am: 1cbf75cfe2

Change-Id: I7e6f473bf44fdf1c2a8c11c1748402c5d9644f2d

6 years agoMerge "Generate extra android mustpass list from risky set" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 02:26:28 +0000 (02:26 +0000)]
Merge "Generate extra android mustpass list from risky set" into pi-dev

6 years agoMerge changes from topic "pi-findLSB-picks" into pi-dev
Raymond Chiu [Wed, 28 Mar 2018 02:53:57 +0000 (02:53 +0000)]
Merge changes from topic "pi-findLSB-picks" into pi-dev
am: cbdb6737bb

Change-Id: I400baa4856e943638cbcb48a430ecbe32cd50a63

6 years agoMerge changes from topic "pi-findLSB-picks" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 02:40:30 +0000 (02:40 +0000)]
Merge changes from topic "pi-findLSB-picks" into pi-dev

* changes:
  Fix ShaderUniformIntegerFunctionTest to not have bool precision
  Add tests for findLSB/findMSB applied to a uniform value.

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 01:04:11 +0000 (01:04 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220 am: 0b5495e302
am: 77e424af2f

Change-Id: Ic07903b1c90167d2d0bcc6e7aead82d54b75738e

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:55:11 +0000 (00:55 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220 am: 2d7f7e8b46
am: 6c5347ee57

Change-Id: I50abf1bb87e3ecb2dbbc5569c0d1dff09a9b482f

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:55:09 +0000 (00:55 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220
am: 0b5495e302

Change-Id: I837d04aa9953c5bf9e10c4e261cbbe70565386b9

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:50:07 +0000 (00:50 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev
am: c6b5415220

Change-Id: I7f40c9c3ecab3328782cf0abe22906a4c60d1116

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:50:04 +0000 (00:50 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220
am: 2d7f7e8b46

Change-Id: Icf309bb59c75e9ec3c9fdaa5710481082402917f

6 years agoMerge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev
Tapani Pälli [Wed, 28 Mar 2018 00:49:21 +0000 (00:49 +0000)]
Merge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev
am: 3f0ec58d67

Change-Id: Ie4302bf0cb167048035db89f237c340668cf14b7

6 years agoFix ShaderUniformIntegerFunctionTest to not have bool precision
Raymond Chiu [Mon, 12 Mar 2018 17:49:10 +0000 (10:49 -0700)]
Fix ShaderUniformIntegerFunctionTest to not have bool precision

Bug: 71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c
(cherry picked from commit 8ab1016d3d4fa98d2c8d74ef5580873d61161a43)

6 years agoMerge changes I3e77c422,Ic6712c73 into pi-dev
Jesse Hall [Wed, 28 Mar 2018 00:38:24 +0000 (00:38 +0000)]
Merge changes I3e77c422,Ic6712c73 into pi-dev
am: dd5d8a037f

Change-Id: I9d615fd5f03b1572c8f20452641ae1439831ea59

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:35:29 +0000 (00:35 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev
am: c6b5415220

Change-Id: I36d5a70037b66e27342c76a050fadc7607906531

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Treehugger Robot [Wed, 28 Mar 2018 00:32:19 +0000 (00:32 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev

6 years agoMerge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 00:27:27 +0000 (00:27 +0000)]
Merge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev

6 years agoMerge changes I3e77c422,Ic6712c73 into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 00:26:16 +0000 (00:26 +0000)]
Merge changes I3e77c422,Ic6712c73 into pi-dev

* changes:
  Whitelist VK_ANDROID_external_memory_android_hardware_buffer
  Temporarily exclude dEQP-VK.memory.mapping.dedicated_alloc.image.full.*

6 years agoFixes to EGL.functional.hdr_metadata.* tests
Tapani Pälli [Mon, 26 Mar 2018 12:10:16 +0000 (15:10 +0300)]
Fixes to EGL.functional.hdr_metadata.* tests

- Adjust given values to fit uint16_t (range used in smpte2086
  and cta861.3 specs).

- Allow EGL_BAD_PARAMETER error happen when setting parameters,
  per spec this means values passed are not supported by the
  implementation. Output attribute and given values in this
  case for debugging purposes.

v2: skip unsupported but check supported attributes (Courtney)

Change-Id: I1f386b414c95e65d3532bf10719dc7671e826489
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 07048b63e90dc2c1e89c069535bb7958a128f887)

Bug: 77150763
Change-Id: Ia0401e760d863a85707f98dd2a1e7e7f268f5597
Test: run on pixel

6 years agoWhitelist VK_ANDROID_external_memory_android_hardware_buffer
Jesse Hall [Tue, 27 Mar 2018 18:58:02 +0000 (11:58 -0700)]
Whitelist VK_ANDROID_external_memory_android_hardware_buffer

Bug: 62708246
Test: dEQP-VK.api.info.android.no_unknown_extensions
Change-Id: I3e77c422b88e891ebfde33996c3d73d4e76e47a7

6 years agoTemporarily exclude dEQP-VK.memory.mapping.dedicated_alloc.image.full.*
Jesse Hall [Tue, 27 Mar 2018 18:55:31 +0000 (11:55 -0700)]
Temporarily exclude dEQP-VK.memory.mapping.dedicated_alloc.image.full.*

Test: cts-tradefed dEQP-VK.*
Bug: 77139965
Change-Id: Ic6712c73812e2840fce0d57bde064cc430a636bc

6 years agoFixes to EGL.functional.hdr_metadata.* tests am: 07048b63e9
Tapani Plli [Tue, 27 Mar 2018 17:27:36 +0000 (17:27 +0000)]
Fixes to EGL.functional.hdr_metadata.* tests am: 07048b63e9
am: c7868e3615

Change-Id: Icc3eb53cc4e5b9e77b802626557495ecff90d0be

6 years agoFixes to EGL.functional.hdr_metadata.* tests
Tapani Plli [Tue, 27 Mar 2018 17:20:05 +0000 (17:20 +0000)]
Fixes to EGL.functional.hdr_metadata.* tests
am: 07048b63e9

Change-Id: Iec79ae25e057e9b810b4eb05be615a7e0330707e

6 years agoFixes to EGL.functional.hdr_metadata.* tests
Tapani Pälli [Mon, 26 Mar 2018 12:10:16 +0000 (15:10 +0300)]
Fixes to EGL.functional.hdr_metadata.* tests

- Adjust given values to fit uint16_t (range used in smpte2086
  and cta861.3 specs).

- Allow EGL_BAD_PARAMETER error happen when setting parameters,
  per spec this means values passed are not supported by the
  implementation. Output attribute and given values in this
  case for debugging purposes.

v2: skip unsupported but check supported attributes (Courtney)

Change-Id: I1f386b414c95e65d3532bf10719dc7671e826489
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
6 years agoAdd AHardwareBuffer support to external memory tests
Khushal [Mon, 26 Mar 2018 17:12:18 +0000 (17:12 +0000)]
Add AHardwareBuffer support to external memory tests
am: fda2c834a5

Change-Id: I3e69b3f1ccb6263c5eab9d807181f7a9f1646da9

6 years agoAdd AHardwareBuffer support to external memory tests
Khushal [Fri, 23 Mar 2018 23:57:18 +0000 (16:57 -0700)]
Add AHardwareBuffer support to external memory tests

Added tests:
* dEQP-VK.api.external.memory.android_hardware_buffer.*

Components: Vulkan
VK-GL-CTS issue: 109
Test: Adds tests.
BUG: 75981905

Cherry-picked from: https://gerrit.khronos.org/#/c/1455/

Change-Id: Ibb6016eb932500c36309bf0937306ce84a4bae0c
(cherry picked from commit 0da925f6b91802440c735b3c6bc8f97b03268c32)

6 years agoHandle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549 am: 7ac08ab012
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 05:16:57 +0000 (05:16 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549 am: 7ac08ab012
am: c8ee3d4ae1

Change-Id: Ib45a2df13b03bf530fc714da32d45fe199f233a1

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 7e29f6b4fb
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 05:09:28 +0000 (05:09 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 7e29f6b4fb
am: 0bfe89e5f5

Change-Id: Ia74ee518bfb0a6e9695611c00b4c447af24c2565

6 years agoHandle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:49:54 +0000 (00:49 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549
am: 7ac08ab012

Change-Id: I73ed7c960fdc28795c50d12e504097940fffad9f

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 203f226313
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:38:00 +0000 (00:38 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 203f226313
am: bb0ee82b14

Change-Id: I4b92684b56e5d7466e7dc229375856527c78dc5e

6 years agoHandle gcc 7 warnings am: 3677383919 am: 8597705aa9
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:37:51 +0000 (00:37 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 8597705aa9
am: 7092baa549

Change-Id: Ic8743e2508ae476ac56c4c1422d8d0d57ad8b671

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:31:21 +0000 (00:31 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
am: 7e29f6b4fb

Change-Id: I32c3b40b9e2786d217e28ea8330b3a67b2d11c08

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:28:46 +0000 (00:28 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
am: 203f226313

Change-Id: I2453f20db0f05c8b351bfa72f3d926ee8d42fc88

6 years agoHandle gcc 7 warnings am: 3677383919
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:26:27 +0000 (00:26 +0000)]
Handle gcc 7 warnings am: 3677383919
am: 8597705aa9

Change-Id: I6c48d554d080eca12650c66cca00c32bd34231f2

6 years agoHandle gcc 7 warnings am: 3677383919
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:23:08 +0000 (00:23 +0000)]
Handle gcc 7 warnings am: 3677383919
am: 2d4c86a43b

Change-Id: Icf0c152a839ff1de7259784ec82fa0be77cd76a6

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:19:51 +0000 (00:19 +0000)]
Handle gcc 7 warnings
am: 3677383919

Change-Id: I4ea9a65bf430fadf5753bf260df13ee7ca250f9c

6 years agoHandle gcc 7 warnings am: 3677383919
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:16:06 +0000 (00:16 +0000)]
Handle gcc 7 warnings am: 3677383919
am: 2d4c86a43b

Change-Id: I661bc617fbc55db9c013a63dc337c431b263bd10

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:10:32 +0000 (00:10 +0000)]
Handle gcc 7 warnings
am: 3677383919

Change-Id: I058154400ec6755a9eaf873a6421942fcad4cd11

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Thu, 22 Feb 2018 01:54:57 +0000 (17:54 -0800)]
Handle gcc 7 warnings

- "-Wimplicit-fallthrough" warns on case conditions that
  fallthrough. GCC does have a way to accept conditions that have a
  comment about falling through inside the cases, but the codebase has
  other cases where a single comment explains the fallthrough for the
  whole switch. This warning is being ignored. It was not possible to
  use "-Wno-error=WARNING" because older GCCs fail -- but they do
  accept "-Wno-WARNING" where WARNING is unknown (since at least gcc
  4.6.4).

- "-Wint-in-bool-context" warns (among other things) about result of
  multiplication being used in boolean context. Code was changed to
  use de::max() instead.

- "-Wmaybe-uninitialized" warned about some attributes of a struct not
  being initialized depending on the case. Code was changed to
  initialize the struct in question.

Components: Framework, Vulkan

Bug: b/74405145

Change-Id: Iabb26f01e047353c6e2a704ab27b673e85b185be
(cherry picked from commit f1ee9253e64f7434cdba7c8ac048c0e9baccc133)

6 years agoMerge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev
Chris Forbes [Mon, 19 Mar 2018 18:40:04 +0000 (18:40 +0000)]
Merge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev
am: d649aa0625

Change-Id: I121e79ff2ce835d829a43643c8034a7a64365e9c

6 years agoRequire GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable
Kenneth Graunke [Sat, 9 Sep 2017 06:26:15 +0000 (23:26 -0700)]
Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable

This test required GL_EXT_sRGB_write_control or ES 3.2.  But glEnable
and glDisable of GL_FRAMEBUFFER_SRGB requires the extension - ES 3.2
doesn't provide that functionality.  ES 3.2 implementations without the
extension would fail.  Now they report NotSupported.

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled

Components: AOSP

Bug: b/75898891

Change-Id: I9d6b3fba892288354620ecbbc51ef7a351507e43
(cherry picked from commit f5bc215a968512ba967ce68cc3640c45bc776f2c)

6 years agoMerge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev
Chris Forbes [Fri, 16 Mar 2018 18:32:25 +0000 (11:32 -0700)]
Merge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev

Change-Id: Ib4eee63a0f56aa0fe3f11b9af551946e15f80038
Bug: b/75279981
Test: helper script only, manually tested.

6 years agoMerge tag 'vulkan-cts-1.1.0.3' into HEAD
Chris Forbes [Fri, 16 Mar 2018 15:43:44 +0000 (15:43 +0000)]
Merge tag 'vulkan-cts-1.1.0.3' into HEAD
am: b88215b9bf

Change-Id: Ia42351a4071ccafe1b845720cfed2e29f0ae87c9

6 years agoMerge tag 'vulkan-cts-1.1.0.3' into HEAD
Chris Forbes [Tue, 13 Mar 2018 00:00:42 +0000 (17:00 -0700)]
Merge tag 'vulkan-cts-1.1.0.3' into HEAD

Test: make cts, run on pixel
Bug: b/74544379

Change-Id: I0ec419667905d7d9c795e3bc30210e2bf3315406

6 years agoFetch new tags when fetching new Git sources
Caio Marcelo de Oliveira Filho [Mon, 12 Mar 2018 17:25:58 +0000 (10:25 -0700)]
Fetch new tags when fetching new Git sources

Change-Id: I1a906ebf2698eac33c3acbf1da74df9642b775a2
Component: Framework
(cherry picked from commit 204d597504c94fa52ed0f5a2c21895482236d5cc)

6 years agoGenerate extra android mustpass list from risky set
Chris Forbes [Tue, 13 Mar 2018 23:59:45 +0000 (16:59 -0700)]
Generate extra android mustpass list from risky set

Previously we'd just separated the short term exclusions into their own
list, but they weren't included in any other list that cts-tradefed
could run. This change puts that next step of the plumbing in place.

Test: mustpass change only.
Bug: b/73004594
Change-Id: I58997dc1e62929dc4b7243ceae3a90e55f8c962e
Components: AOSP

6 years agoMerge "Fix ShaderUniformIntegerFunctionTest to not have bool precision" am: 68f5c1af8c
Raymond Chiu [Tue, 13 Mar 2018 01:30:39 +0000 (01:30 +0000)]
Merge "Fix ShaderUniformIntegerFunctionTest to not have bool precision" am: 68f5c1af8c
am: 60444c9d2c  -s ours

Change-Id: Ie709366b978417f14e3e660eb2f3e085a35ce8ac

6 years agoAdd tests for findLSB/findMSB applied to a uniform value.
Raymond Chiu [Tue, 13 Feb 2018 23:13:47 +0000 (15:13 -0800)]
Add tests for findLSB/findMSB applied to a uniform value.

Ensure that findLSB/findMSB work correctly when:

Argument is a uniform value, of various precisions
Result is written out directly
Result is compared to a fixed value

Components: AOSP
Bug: 71875560
New Tests: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*

Change-Id: I0dc83b291d1ecaed5e451b76e4b41827116218c6
(cherry picked from commit db61ef6d9e35710b30c6494b6e1a9110dbda6ea7)

6 years agoMerge "Fix ShaderUniformIntegerFunctionTest to not have bool precision"
Raymond Chiu [Tue, 13 Mar 2018 01:10:39 +0000 (01:10 +0000)]
Merge "Fix ShaderUniformIntegerFunctionTest to not have bool precision"
am: 68f5c1af8c

Change-Id: I6468d6e253acd878a7ae8c90d2d8be84fbc4aaa3

6 years agoMerge "Fix ShaderUniformIntegerFunctionTest to not have bool precision"
Raymond Chiu [Tue, 13 Mar 2018 00:49:05 +0000 (00:49 +0000)]
Merge "Fix ShaderUniformIntegerFunctionTest to not have bool precision"

6 years agoFix ShaderUniformIntegerFunctionTest to not have bool precision
Raymond Chiu [Mon, 12 Mar 2018 17:49:10 +0000 (10:49 -0700)]
Fix ShaderUniformIntegerFunctionTest to not have bool precision

Bug: 71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 19:12:23 +0000 (19:12 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: c89ef2911b am: 6c7926cc85 am: e259b46e87
am: 230ee82f3b

Change-Id: I99042860b9694435b40ac41b7146f8a9e1ef7156

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 18:52:38 +0000 (18:52 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: c89ef2911b am: 6c7926cc85
am: e259b46e87

Change-Id: Ic23aa598b9ed405814db1f3407aa1f217c14065a

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 18:47:30 +0000 (18:47 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: c89ef2911b
am: 6c7926cc85

Change-Id: Ie7ee1b6e9d65880ed0ecd5f387f11d7dc2869c19

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254
Brian Anderson [Mon, 12 Mar 2018 18:40:59 +0000 (18:40 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254
am: c89ef2911b

Change-Id: I4eb4a0f114e28e84b9d52e26c607c1c6ec124644

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic.
Brian Anderson [Mon, 12 Mar 2018 18:32:20 +0000 (18:32 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic.
am: e8634c9254

Change-Id: I37191536ba133e83204935cfcebe7746675ef4f7

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 18:32:01 +0000 (18:32 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: 24f69aed49 am: b4d417c7b7
am: 49f12250f7

Change-Id: Iee4c1ee40e90a508886480befe1e0aeb272b008a

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 18:22:58 +0000 (18:22 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: 24f69aed49 am: d9680efd9e
am: d08f03c728

Change-Id: Ic6086a73f7839de26dec3658afc09ad622ac8a30

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 18:17:52 +0000 (18:17 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: 24f69aed49
am: d9680efd9e

Change-Id: I932280da6deeb261acc688ca04f7da080eb17fd2

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am...
Brian Anderson [Mon, 12 Mar 2018 18:12:53 +0000 (18:12 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254 am: 24f69aed49
am: b4d417c7b7

Change-Id: If69252cd54c1780b5d76d1d1d7033a811d165e50

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254
Brian Anderson [Mon, 12 Mar 2018 18:09:15 +0000 (18:09 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254
am: 24f69aed49

Change-Id: Iab3e70c081836b7219962477fdda27c730c5e0ae

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254
Brian Anderson [Mon, 12 Mar 2018 17:59:09 +0000 (17:59 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am: e8634c9254
am: 24f69aed49

Change-Id: I793d5340447fc5fea2e7e6dfcdc11a4b174812bb

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic.
Brian Anderson [Mon, 12 Mar 2018 17:54:36 +0000 (17:54 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic.
am: e8634c9254

Change-Id: I68606ee22f516db51b60db205cd7ebb28cc563f6

6 years agoAdd tests for findLSB/findMSB applied to a uniform value. am: 0d07e85094
Raymond Chiu [Sat, 10 Mar 2018 02:07:33 +0000 (02:07 +0000)]
Add tests for findLSB/findMSB applied to a uniform value. am: 0d07e85094
am: 1809610736  -s ours

Change-Id: I465ba9ef6b9f83337a695a6075a2e90e711f9f80

6 years agoAdd tests for findLSB/findMSB applied to a uniform value.
Raymond Chiu [Sat, 10 Mar 2018 00:26:36 +0000 (00:26 +0000)]
Add tests for findLSB/findMSB applied to a uniform value.
am: 0d07e85094

Change-Id: I12e59b3b2319ee5b76846fe5599fff00f5aabcad

6 years agoCompile shaders for 1.0-compatible tests as SPIRV 1.0, not max supported
Chris Forbes [Fri, 9 Mar 2018 23:02:42 +0000 (23:02 +0000)]
Compile shaders for 1.0-compatible tests as SPIRV 1.0, not max supported
am: 77061059ac

Change-Id: Ieec806d511cbf413ba24062d2f516e02033e3dc8

6 years agoExclude gles2 unspecified precision tests temporarily
Chris Forbes [Fri, 9 Mar 2018 22:02:40 +0000 (22:02 +0000)]
Exclude gles2 unspecified precision tests temporarily
am: c0e6348e8d

Change-Id: I13c5a5210983f4109d5672c89f842adada20dd5b

6 years agoeglGetFrameTimestamps: Don't require reads done to be monotonic.
Brian Anderson [Fri, 9 Mar 2018 18:25:08 +0000 (10:25 -0800)]
eglGetFrameTimestamps: Don't require reads done to be monotonic.

Reads done is usually monotonic, but only under the assumption
that every buffer of the surface is being consumed by the same
unit. It is possible for a surface to switch between being an
overlay and being composited by the GPU. It's also possible a
driver will maintain a shadow copy of a frame that will further
affect when reads from a buffer might finish.

Remove the overly strict check.

Bug: 7033485174184639
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I8e242a9fd649720b4d8059797c71163329b7b92c

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Fri, 9 Mar 2018 20:26:34 +0000 (20:26 +0000)]
Handle gcc 7 warnings
am: 7fb99bc054

Change-Id: Id39143ed0161bf77fae0a051771c0524be04f626

6 years agoMerge remote-tracking branch 'goog/upstream-vulkan-cts-next' into vulkan-cts-1.1...
Chris Forbes [Fri, 9 Mar 2018 20:04:24 +0000 (20:04 +0000)]
Merge remote-tracking branch 'goog/upstream-vulkan-cts-next' into vulkan-cts-1.1.0.x-feb-merge
am: a76eb94eda

Change-Id: I76102892215fd2089df7ee5d04b191243cb44b29

6 years agoCompile shaders for 1.0-compatible tests as SPIRV 1.0, not max supported
Chris Forbes [Fri, 2 Mar 2018 21:22:20 +0000 (13:22 -0800)]
Compile shaders for 1.0-compatible tests as SPIRV 1.0, not max supported

Test: rebuild prebuilts, inspect. CtsDeqpTestCases against Pixel & Pixel2
Bug: b/74431715

Change-Id: I5a440f97f79be0e6d37d89018ae8b611e9d4e7c1

6 years agoExclude gles2 unspecified precision tests temporarily
Chris Forbes [Thu, 8 Mar 2018 23:51:14 +0000 (15:51 -0800)]
Exclude gles2 unspecified precision tests temporarily

Bug: b/72992757
Test: mustpass change only
Change-Id: I1a02bbf2d60ec9f18b6948b70f94992551e8d8d3

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Thu, 22 Feb 2018 01:54:57 +0000 (17:54 -0800)]
Handle gcc 7 warnings

- "-Wimplicit-fallthrough" warns on case conditions that
  fallthrough. GCC does have a way to accept conditions that have a
  comment about falling through inside the cases, but the codebase has
  other cases where a single comment explains the fallthrough for the
  whole switch. This warning is being ignored. It was not possible to
  use "-Wno-error=WARNING" because older GCCs fail -- but they do
  accept "-Wno-WARNING" where WARNING is unknown (since at least gcc
  4.6.4).

- "-Wint-in-bool-context" warns (among other things) about result of
  multiplication being used in boolean context. Code was changed to
  use de::max() instead.

- "-Wmaybe-uninitialized" warned about some attributes of a struct not
  being initialized depending on the case. Code was changed to
  initialize the struct in question.

Components: Framework, Vulkan
(Cherry-picked from Khronos change c3342293855b8cdb093408d867b44d0cc6b42155)
Test: python scripts/check_build_sanity.py with gcc-7
Bug: b/74405145

Change-Id: Iabb26f01e047353c6e2a704ab27b673e85b185be

6 years agoMerge remote-tracking branch 'goog/upstream-vulkan-cts-next' into vulkan-cts-1.1...
Chris Forbes [Thu, 1 Mar 2018 18:35:28 +0000 (10:35 -0800)]
Merge remote-tracking branch 'goog/upstream-vulkan-cts-next' into vulkan-cts-1.1.0.x-feb-merge

Bug: b/74387723
Test: run CtsDeqpTestCases on pixel
Change-Id: If184707fe64486b5cbb5cdace861319b309ba187

6 years agoUpdate glslang, SPIR-V commits
Alexander Galazin [Wed, 7 Mar 2018 15:45:21 +0000 (16:45 +0100)]
Update glslang, SPIR-V commits

Components: Framework

Affects: dEQP-VK.*

Change-Id: If5830108278597a28f8043dd947bed3c20c9688d

6 years agoAdd tests for findLSB/findMSB applied to a uniform value.
Raymond Chiu [Tue, 13 Feb 2018 23:13:47 +0000 (15:13 -0800)]
Add tests for findLSB/findMSB applied to a uniform value.

Ensure that findLSB/findMSB work correctly when:

Argument is a uniform value, of various precisions
Result is written out directly
Result is compared to a fixed value

Components: AOSP
Bug: 71875560
New Tests: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*

Merged-In: I0dc83b291d1ecaed5e451b76e4b41827116218c6
Change-Id: Iafd784deaf22dd86b6bfc955af967e4482d9e95c

6 years agoFix egl config filtering of config_id am: 4bed9578e1 am: 5a6ee650a2
Rosen Zhelev [Sat, 3 Mar 2018 03:11:43 +0000 (03:11 +0000)]
Fix egl config filtering of config_id am: 4bed9578e1 am: 5a6ee650a2
am: cc7877f215

Change-Id: Ie06b7fc485d0e3c293c82332df403bea465c1718

6 years agoFix egl config filtering of config_id am: 4bed9578e1
Rosen Zhelev [Sat, 3 Mar 2018 03:01:28 +0000 (03:01 +0000)]
Fix egl config filtering of config_id am: 4bed9578e1
am: 5a6ee650a2

Change-Id: I1c1fb1b0ef52d4eb628b31a0e75353f97e87d09d

6 years agoFix egl config filtering of config_id
Rosen Zhelev [Sat, 3 Mar 2018 02:57:15 +0000 (02:57 +0000)]
Fix egl config filtering of config_id
am: 4bed9578e1

Change-Id: Icb3058fd28dace4166f7113c7e291c74879ebc63

6 years agoAdd a note to the README
Alexander Galazin [Fri, 2 Mar 2018 11:17:24 +0000 (12:17 +0100)]
Add a note to the README

Explain that the verification scrpt will report a warning
for a correctly generated git-log

Components: Vulkan

Change-Id: Ie8e0ab090f50c776150f9a7f4ce7d69583186953

6 years agoValidation errors fix in copying 3d images
Marcin Rogucki [Thu, 18 Jan 2018 09:55:07 +0000 (10:55 +0100)]
Validation errors fix in copying 3d images

A minor chages to fix validation errors.
Two tests are not passing currently!

Affected tests:
dEQP-VK.api.copy_and_blit.dedicated_allocation.image_to_image.3d_images.*

Components: Vulkan

VK-GL-CTS issue: 208

Change-Id: Id3c5ec869d52db6b1229f45bbeacf24e35e75e48
(cherry picked from commit c23ba94d7978ba84f9ffd2e75b6afbf8e3395633)

6 years agoFix: Memory alignment
Arkadiusz Sarwa [Tue, 27 Feb 2018 11:38:31 +0000 (12:38 +0100)]
Fix: Memory alignment

Affects:
dEQP-VK.memory.mapping*

Components: Vulkan

VK-GL-CTS issue: 1039

Change-Id: Ia5093148fa145c9eecc03fe3b76102cdf77ad472

6 years agoSpec relaxation for protected YCbCr Implicit chroma reconstruction
Panagiotis Apostolou [Thu, 22 Feb 2018 15:28:54 +0000 (16:28 +0100)]
Spec relaxation for protected YCbCr Implicit chroma reconstruction

Incorporates spec relaxation in the protected memory YCbCr tests which
describes that when doing implicit reconstruction with nearest chroma
filtering, an implementation may behave as if both xChromaOffset and
yChromaOffset were VK_CHROMA_LOCATION_MIDPOINT.

Tests affected:
dEQP-VK.protected_memory.interaction.ycbcr.*

Components: Vulkan

VK-GL-CTS issue: 1032

Change-Id: I25ef589ed05b1b167475eb5b6d782b261b1b3532

6 years agoSet usable instance version in external memory tests
Slawomir Cygan [Wed, 28 Feb 2018 18:11:21 +0000 (19:11 +0100)]
Set usable instance version in external memory tests

These tests were using vkEnumerateInstanceVersion() to get
instance version. This failed, when Vulkan 1.1 Loader is used with
Vulkan 1.0 ICD: the function was returning version 1.1,
so test was not requesting any needed instance extensions, as these
were assumed to be already in core.

This is out of sync with dispatch code dispatching to
1.0 + KHR extension functions, when calling entrypoints like
vkGetPhysicalDeviceExternalBufferProperties(). As no KHR extensions
were requested during instance creation, the behavior is undefined.

The dispatch code is using context.getUsedApiVersion() utility
to guess Vulkan version, so same utility should be used for instance
creation, avoiding raw calls to vkEnumerateInstanceVersion().

Components: Vulkan

VK-GL-CTS Issue: 1047, 854

Affects:
dEQP-VK.api.external.memory.*
dEQP-VK.api.external.fence.*
dEQP-VK.api.external.semaphore.*

Change-Id: Iecf9bb086e04c6d88118fee9c4867ac5647d1ab7

6 years agoRemove vertex stage variants from dEQP-VK.protected_memory.interaction.ycbcr.*
Panagiotis Apostolou [Thu, 22 Feb 2018 15:04:24 +0000 (16:04 +0100)]
Remove vertex stage variants from dEQP-VK.protected_memory.interaction.ycbcr.*

"Except for framebuffer-space pipeline stages, compute shader stage, and
transfer stage, any read from or write to protected memory during protected
queue operations results in undefined behavior"

The existing dEQP-VK.protected_memory.interaction.ycbcr.* group include
tests that sample the protected texture from inside the vertex shader. This
commit removes these tests.

Tests affected:
dEQP-VK.protected_memory.interaction.ycbcr.*

Components: Vulkan

VK-GL-CTS issue: 1031

Change-Id: I459da0f3028e418c90285e55fb17ac1fda8d8467

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 1 Mar 2018 13:24:31 +0000 (14:24 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I8c2317b97955bbee922af624b91287071fbc7661

6 years agoAdded missing gl_PointSizes when drawing points
Dae Kim [Fri, 23 Feb 2018 08:39:12 +0000 (08:39 +0000)]
Added missing gl_PointSizes when drawing points

Some tests using point list primitive topology were not specifying point
sizes with the gl_PointSize built-in.

Affects:

dEQP-VK.subgroups.*
dEQP-VK.synchronization.*

Components: Vulkan

VK-GL-CTS issue: 1035

Change-Id: I8588e26ee47c58f6ec4e9ee5fdce70546ec28903

6 years agoDo not access temporary C++ object members by reference
Slawomir Cygan [Thu, 22 Feb 2018 17:55:01 +0000 (18:55 +0100)]
Do not access temporary C++ object members by reference

Fix undefined C++ behavior (resulting in errors when doing runtime memory checks),
where a temporary object returned by getInputAspects() method is used by a reference
to a member after the temporary is destructed.

It seems getInputAspects should just return reference.

Affects: dEQP-VK.renderpass.*.input*

Component: Vulkan

VK-GL-CTS Issue: 1033

Change-Id: I71edabed71ea63f46cdbc45c966d57cd020565ab

6 years agoFix egl config filtering of config_id
Rosen Zhelev [Thu, 22 Feb 2018 15:14:05 +0000 (15:14 +0000)]
Fix egl config filtering of config_id

The reference config filter function is changed to correctly implement
the EGL spec for eglChooseConfig() by ignoring all other attributes
when EGL_CONFIG_ID is specified.

Affects:
dEQP-EGL.functional.choose_config.simple.selection_only.config_id
dEQP-EGL.functional.choose_config.simple.selection_and_sort.config_id

Change-Id: Id29758954ce476e6d187fba228d5156295165b02
Components: AOSP

6 years agoMerge "Split out temporary exclusions from long-term exclusions"
TreeHugger Robot [Wed, 28 Feb 2018 01:18:56 +0000 (01:18 +0000)]
Merge "Split out temporary exclusions from long-term exclusions"

6 years agoRegenerate egl wrapper
Chris Forbes [Tue, 27 Feb 2018 23:01:24 +0000 (15:01 -0800)]
Regenerate egl wrapper

Change-Id: I57519eaecd548fc4874c6f65458d3e5fa7d393d2
Affects: Framework
Test: build

6 years agoSplit out temporary exclusions from long-term exclusions
Chris Forbes [Tue, 27 Feb 2018 19:49:03 +0000 (11:49 -0800)]
Split out temporary exclusions from long-term exclusions

The new vk-temp-excluded list includes those tests which need to be
excluded from the internal evergreen list, but are still intended to be
enforced for the next platform release. By release time, this list
should be empty (all tests either reenabled or migrated to another
exclusion list if they turn out to be infeasible)

Bug: b/73004594
Test: mustpass change only

Change-Id: I21393481cb69c0b494609976c562d4e260618812

6 years agoRename Interval::warning's parameters to avoid shadowing am: da1ea2c8b9 am: cba1cc85f7
Chris Forbes [Tue, 27 Feb 2018 17:38:28 +0000 (17:38 +0000)]
Rename Interval::warning's parameters to avoid shadowing am: da1ea2c8b9 am: cba1cc85f7
am: f3bf959cbf

Change-Id: I04c75509fa66fa1f166abc9110d2f8ee4a42988d

6 years agoRename Interval::warning's parameters to avoid shadowing am: da1ea2c8b9
Chris Forbes [Tue, 27 Feb 2018 17:31:46 +0000 (17:31 +0000)]
Rename Interval::warning's parameters to avoid shadowing am: da1ea2c8b9
am: cba1cc85f7

Change-Id: I9b8f00a29b7a203cbbfa26316d61da033f3880b2

6 years agoRename Interval::warning's parameters to avoid shadowing
Chris Forbes [Tue, 27 Feb 2018 17:26:11 +0000 (17:26 +0000)]
Rename Interval::warning's parameters to avoid shadowing
am: da1ea2c8b9

Change-Id: I494a9484a65e0c9809ecf99bf94ce008826ec3be

6 years agoRename Interval::warning's parameters to avoid shadowing
Chris Forbes [Tue, 27 Feb 2018 15:54:49 +0000 (07:54 -0800)]
Rename Interval::warning's parameters to avoid shadowing

GCC 4.9 warns about this, causing build failures with -Werror

Change-Id: Ic3579de84f4b3f1f231240910dbd15dafe90c6bc
Components: Framework

6 years agoEnsure sync_fd tests use valid file descriptors
Peter Quayle [Wed, 21 Feb 2018 15:34:55 +0000 (15:34 +0000)]
Ensure sync_fd tests use valid file descriptors

The external.*.sync_fd.* tests fail on some implementations
because vkGet*FdKHR may return -1 (meaning pre-signalled) instead
of a valid file descriptor.

Affects:

dEQP-VK.api.external.semaphore.sync_fd*
dEQP-VK.api.external.fence.sync_fd*

Components: Vulkan

VK-GL-CTS issue: 957

Change-Id: I91087db1595a19605956dad460caa344e850491e

6 years agoDO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am...
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:45:42 +0000 (22:45 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am: f03effb5a0  -s ours am: 7c8b312fbe  -s ours am: 1e0f900617 am: 932e2a3bad am: dff95702f5
am: 388db4861e  -s ours

Change-Id: I4e1804718ca71d7c879b491dd3648cfe79cc185d

6 years agoDO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am...
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:45:22 +0000 (22:45 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am: f03effb5a0  -s ours am: 7c8b312fbe  -s ours am: 5be6880be9  -s ours am: d180d1ea04  -s ours am: 2bd067cf74  -s ours
am: a3b776e09d  -s ours

Change-Id: Iee174bcfaf1318616ab00ddcbfb5643468c0d69c

6 years agoMerge "[automerger] DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth...
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:41:30 +0000 (22:41 +0000)]
Merge "[automerger] DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am: f03effb5a0  -s ours am: 2e4c92b373 am: 4c0d9b046c skipped: 70daf853ba am: 6078808310 am: e70233ae38" into oc-mr1-dev am: e96c8349bf
am: 541e9cb273  -s ours

Change-Id: I46a70369769131a65e2394a3a08a0eb244713bdb

6 years agoDO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am...
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:39:58 +0000 (22:39 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am: f03effb5a0  -s ours am: 7c8b312fbe  -s ours am: 5be6880be9  -s ours am: 23055e9d82
am: fc783abca4  -s ours

Change-Id: Ic88ac060bf98c8c15185e9aff3bed62339cd83e2

6 years agoDO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am...
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:39:44 +0000 (22:39 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am: f03effb5a0  -s ours am: 7c8b312fbe  -s ours am: 1e0f900617 am: 932e2a3bad
am: dff95702f5

Change-Id: I134f00456b907542583e750d18b3b3a4dc443322