platform/upstream/VK-GL-CTS.git
7 years agoMerge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallo...
Jarkko Pöyry [Mon, 1 Aug 2016 19:50:44 +0000 (19:50 +0000)]
Merge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab am: 19de695b8d
am: f0e6d6563c  -s ours

Change-Id: I5bc855696a7dc32c808761aa1aacd7bbaf9534da

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pyry [Mon, 1 Aug 2016 19:50:42 +0000 (19:50 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67 am: da626715a4
am: 7d47fbfc18  -s ours

Change-Id: Id6c5816b213a5b22a96e991a67bd4f2949624185

7 years agoMerge \\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\" into marshmallow...
Daniel Xie [Mon, 1 Aug 2016 19:48:06 +0000 (19:48 +0000)]
Merge \\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab
am: 19de695b8d

Change-Id: I88fe42c55f28a7e2bb3daa0551e191469a4032a0

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pöyry [Mon, 1 Aug 2016 19:48:06 +0000 (19:48 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67
am: da626715a4

Change-Id: I1ea819ef29479058c52d9238af1b9b234e4bbb94

7 years agoMerge \\\"DO NOT MERGE CP vertex array test and warning fixes\\\" into marshmallow...
Jarkko Pöyry [Mon, 1 Aug 2016 19:45:36 +0000 (19:45 +0000)]
Merge \\\"DO NOT MERGE CP vertex array test and warning fixes\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1
am: 3acfedf2ab

Change-Id: Iad13015f9b3e5bca530712d578c59ca1312c22e7

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pyry [Mon, 1 Aug 2016 19:45:35 +0000 (19:45 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f
am: 0556e60e67

Change-Id: Ic7e87a4e2f257670b0d12520a05133f8abd00416

7 years agoMerge \\"DO NOT MERGE CP vertex array test and warning fixes\\" into marshmallow...
Daniel Xie [Mon, 1 Aug 2016 19:43:07 +0000 (19:43 +0000)]
Merge \\"DO NOT MERGE CP vertex array test and warning fixes\\" into marshmallow-cts-dev am: b9c3777b77  -s ours
am: 7bc41121c1

Change-Id: I4174ccb59db2b28655fd46307b9f620833f87316

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours
Jarkko Pöyry [Mon, 1 Aug 2016 19:43:06 +0000 (19:43 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours
am: f840c5347f

Change-Id: Iedc552312320cdd37b65d986a58f2c7e20075d8a

7 years agoMerge \"DO NOT MERGE CP vertex array test and warning fixes\" into marshmallow-cts-dev
Jarkko Pöyry [Mon, 1 Aug 2016 19:40:38 +0000 (19:40 +0000)]
Merge \"DO NOT MERGE CP vertex array test and warning fixes\" into marshmallow-cts-dev
am: b9c3777b77  -s ours

Change-Id: I61fdf061a9d18682387f51d22589794ca2bd2004

7 years agoDO NOT MERGE CP vertex array test and warning fixes
Jarkko Pyry [Mon, 1 Aug 2016 19:40:37 +0000 (19:40 +0000)]
DO NOT MERGE CP vertex array test and warning fixes
am: c63640e53a  -s ours

Change-Id: I006f5d42f1e6e09d50a816b499748431c0970e14

7 years agoMerge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev
Daniel Xie [Mon, 1 Aug 2016 19:36:29 +0000 (19:36 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev

7 years agoMerge \\\\\"Fix GLES2 format mismatch\\\\\" into marshmallow-cts-dev am: 98dd6ac745...
Stéphane Marchesin [Wed, 27 Jul 2016 23:06:33 +0000 (23:06 +0000)]
Merge \\\\\"Fix GLES2 format mismatch\\\\\" into marshmallow-cts-dev am: 98dd6ac745 am: 514fc784d3 am: d2cc27ecd9 am: fc19d21caf
am: 1fb5b8e2d7

Change-Id: I4c62d0a774b9b5ee7b1ce6dbbf3d8d255c27198e

7 years agoFix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499 am: ea8731ac09
Stphane Marchesin [Wed, 27 Jul 2016 23:06:32 +0000 (23:06 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499 am: ea8731ac09
am: 44569cffe2

Change-Id: I68a1b6c0c24c0fc394bb20b877b98de12b6040a7

7 years agoMerge \\\\"Fix GLES2 format mismatch\\\\" into marshmallow-cts-dev am: 98dd6ac745...
Daniel Xie [Wed, 27 Jul 2016 23:02:58 +0000 (23:02 +0000)]
Merge \\\\"Fix GLES2 format mismatch\\\\" into marshmallow-cts-dev am: 98dd6ac745 am: 514fc784d3 am: d2cc27ecd9
am: fc19d21caf

Change-Id: Ibdc12d7910e3e5b0d9ce08b92fc154d8e0fef40d

7 years agoFix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499
Stéphane Marchesin [Wed, 27 Jul 2016 23:02:57 +0000 (23:02 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499
am: ea8731ac09

Change-Id: Iea9125f946b308e830450a27684a8055f350eef2

7 years agoMerge \\\"Fix GLES2 format mismatch\\\" into marshmallow-cts-dev am: 98dd6ac745 am...
Stéphane Marchesin [Wed, 27 Jul 2016 22:57:28 +0000 (22:57 +0000)]
Merge \\\"Fix GLES2 format mismatch\\\" into marshmallow-cts-dev am: 98dd6ac745 am: 514fc784d3
am: d2cc27ecd9

Change-Id: I5456eaaa1ff4f60db054e7f97649ef144d1ec4a1

7 years agoFix GLES2 format mismatch am: 4b80682693 am: 17f31733fd
Stphane Marchesin [Wed, 27 Jul 2016 22:57:28 +0000 (22:57 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 17f31733fd
am: e3284ec499

Change-Id: Ied7fb1bf46f929708ae6d91f8234e953c1d5980f

7 years agoMerge \\"Fix GLES2 format mismatch\\" into marshmallow-cts-dev am: 98dd6ac745
Daniel Xie [Wed, 27 Jul 2016 22:53:25 +0000 (22:53 +0000)]
Merge \\"Fix GLES2 format mismatch\\" into marshmallow-cts-dev am: 98dd6ac745
am: 514fc784d3

Change-Id: Ie29c74f6daf660ef0bbb99e01bcc62804eb9bff5

7 years agoFix GLES2 format mismatch am: 4b80682693
Stéphane Marchesin [Wed, 27 Jul 2016 22:53:24 +0000 (22:53 +0000)]
Fix GLES2 format mismatch am: 4b80682693
am: 17f31733fd

Change-Id: Ia5625e84621ed7b193d67391f278410b9bef83e0

7 years agoMerge \"Fix GLES2 format mismatch\" into marshmallow-cts-dev
Stéphane Marchesin [Wed, 27 Jul 2016 22:49:27 +0000 (22:49 +0000)]
Merge \"Fix GLES2 format mismatch\" into marshmallow-cts-dev
am: 98dd6ac745

Change-Id: I996941024609410453b5453ad249f73f1d710258

7 years agoFix GLES2 format mismatch
Stphane Marchesin [Wed, 27 Jul 2016 22:49:25 +0000 (22:49 +0000)]
Fix GLES2 format mismatch
am: 4b80682693

Change-Id: Ib0d76f35894ea035c01b77dfd6b484d6eab32ad3

7 years agoMerge "Fix GLES2 format mismatch" into marshmallow-cts-dev
Daniel Xie [Wed, 27 Jul 2016 22:43:00 +0000 (22:43 +0000)]
Merge "Fix GLES2 format mismatch" into marshmallow-cts-dev

7 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c...
Haixia Shi [Wed, 27 Jul 2016 22:14:56 +0000 (22:14 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c am: 10a0d7d015
am: 2c65c609ed

Change-Id: I8d6c3aa5769954ef723b3592429d2c7edbacc0cb

7 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c
Haixia Shi [Wed, 27 Jul 2016 22:11:21 +0000 (22:11 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c
am: 10a0d7d015

Change-Id: I8c79ba0f3ab1bec4adf08b3dc806117c9f4c4c37

7 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977
Haixia Shi [Wed, 27 Jul 2016 22:06:23 +0000 (22:06 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977
am: 5e52d6630c

Change-Id: I079ecec07a8ec169a0fa974a87fa3fb2438c71a9

7 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3
Haixia Shi [Wed, 27 Jul 2016 22:03:21 +0000 (22:03 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3
am: f8083c0977

Change-Id: I72427dde877e29aa1b902628c50bc61099f6ba41

7 years agoIncrease no-data timeout to 5 seconds.
Haixia Shi [Wed, 27 Jul 2016 21:59:58 +0000 (21:59 +0000)]
Increase no-data timeout to 5 seconds.
am: d00b71cbc3

Change-Id: I5a73e5e3cb1fd0a0c3b1552e36552c25bbf64271

7 years agoIncrease no-data timeout to 5 seconds.
Haixia Shi [Tue, 26 Jul 2016 22:08:02 +0000 (15:08 -0700)]
Increase no-data timeout to 5 seconds.

On some low-end hardware we are observing the no-data timeout being exceeded
with no genuine hangs. Some tests take up to 1.7 seconds to complete. By
generously increasing this timeout we can eliminate flakes on slow devices
without any negative side-effects.

Bug: 29870344

Change-Id: I0a3165f26aefb4cdd18acb1ca0dd0210d7fdba69

7 years agoDO NOT MERGE CP vertex array test and warning fixes
Jarkko Pöyry [Wed, 20 May 2015 02:31:53 +0000 (19:31 -0700)]
DO NOT MERGE CP vertex array test and warning fixes

Cherry-pick fix to vertex array tests and a preceding conversion warning
fix for Marshmallow CTS for the files affected by the vertex array test fix.

8ed28c1e05f2325dc4b20c8f471067b29188c82f
Snap values to 3x3 grid in vertex array tests

This avoids cases where on small resolutions tests would fail because some
geometry was not visible or hidden in both result and reference.

Bug: 23495935

c8e526bfc2141e1cb7a269483fb55dc2a8e77c11
Fix -Wconversion warnings in glshared.

Bug: 21161908
Change-Id: If346e35335863344494c2513782e0b42d9a408e2

7 years agoFix build with new Interface
Julien Desprez [Mon, 27 Jun 2016 18:22:07 +0000 (19:22 +0100)]
Fix build with new Interface

Bug: 29622918
Change-Id: I73ccd7891869d2d67a144e8787d2fff8fb9c6878

7 years agoUpdate TF interface for filters
Julien Desprez [Mon, 27 Jun 2016 09:47:19 +0000 (10:47 +0100)]
Update TF interface for filters

Bug: 29622918
Change-Id: I5832fadb1b88426677e87de86f0bc51194548ada

7 years agoCheck duplicate layers and extensions
Mika Isojärvi [Wed, 27 Apr 2016 21:19:13 +0000 (14:19 -0700)]
Check duplicate layers and extensions

Bug: 28100235
Change-Id: I1fdae715a1bbda43b6bc6ebe346ca21f3e294df6

7 years agoMerge "Reset debug message callback if exception is thrown" into nyc-dev
Mika Isojarvi [Mon, 13 Jun 2016 22:26:39 +0000 (22:26 +0000)]
Merge "Reset debug message callback if exception is thrown" into nyc-dev

7 years agoMerge "Allow specifying version when creating OpenGL context" into nyc-dev
Mika Isojarvi [Mon, 13 Jun 2016 22:26:09 +0000 (22:26 +0000)]
Merge "Allow specifying version when creating OpenGL context" into nyc-dev

7 years agoMerge "Add negative tessellation IO array size cases to mustpass" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:45:05 +0000 (21:45 +0000)]
Merge "Add negative tessellation IO array size cases to mustpass" into nyc-dev

7 years agoMerge "Add tests for varying linking by location" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:41:39 +0000 (21:41 +0000)]
Merge "Add tests for varying linking by location" into nyc-dev

7 years agoMerge "Add simple Vulkan smoke test that doesn't use OpName" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:41:26 +0000 (21:41 +0000)]
Merge "Add simple Vulkan smoke test that doesn't use OpName" into nyc-dev

7 years agoMerge "Add tests for uniform block linking by binding" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:41:10 +0000 (21:41 +0000)]
Merge "Add tests for uniform block linking by binding" into nyc-dev

7 years agoReset debug message callback if exception is thrown
Mika Isojärvi [Thu, 9 Jun 2016 17:08:17 +0000 (10:08 -0700)]
Reset debug message callback if exception is thrown

Bug: 29190874
Change-Id: Ie98b2286d1e9257247bfd0ff5924670c68631056

7 years agoAllow specifying version when creating OpenGL context
Mika Isojärvi [Thu, 9 Jun 2016 16:45:35 +0000 (09:45 -0700)]
Allow specifying version when creating OpenGL context

Allow specifying version number when creating OpenGL context using
EGL_KHR_create_context.

Bug: 29191048
Change-Id: Ia827f8b1ba69c0695943d34f43255d4153780bbf

7 years agoDeqptestrunner efficient filtering
Aaron Holden [Mon, 6 Jun 2016 23:51:56 +0000 (16:51 -0700)]
Deqptestrunner efficient filtering

bug:28245788

Change-Id: I2c28fb7aed7a13c4f011b76b699cf0845c821f7c

8 years agoMerge "Add swapchain resize test" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 17:13:27 +0000 (17:13 +0000)]
Merge "Add swapchain resize test" into nyc-dev

8 years agoAdd swapchain resize test
Jesse Hall [Tue, 31 May 2016 05:43:54 +0000 (22:43 -0700)]
Add swapchain resize test

Bug: 26927424
Change-Id: I9d0124d7a2ddc25ba8953b0a1df15a0faeb620d9

8 years agoAdd negative tessellation IO array size cases to mustpass
Pyry Haulos [Wed, 1 Jun 2016 19:53:05 +0000 (12:53 -0700)]
Add negative tessellation IO array size cases to mustpass

Bug: 25389474
Change-Id: If531728a82def9594262006867b8f7bc3781ff9e

8 years agoAdd tests for varying linking by location
Pyry Haulos [Tue, 31 May 2016 23:28:26 +0000 (16:28 -0700)]
Add tests for varying linking by location

In Vulkan varyings are linked by location only, so having name
mismatches or collisions must not affect validity of a pipeline.

Bug: 29056634
Change-Id: I3579b02064c1b5cb9862b48795b16357319ce7af

8 years agoAdd tests for uniform block linking by binding
Pyry Haulos [Fri, 20 May 2016 18:52:42 +0000 (11:52 -0700)]
Add tests for uniform block linking by binding

Drivers should ignore uniform block name debug opcodes when doing
linking and instead expect matching by binding only. Test this by
declaring different uniform blocks with same name but different bindings
in vertex and fragment shaders.

Bug: 28857593
Change-Id: I4a84b4de2021802fd247cd744d01491eb8224bd4

8 years agoAdd simple Vulkan smoke test that doesn't use OpName
Pyry Haulos [Tue, 24 May 2016 20:27:56 +0000 (13:27 -0700)]
Add simple Vulkan smoke test that doesn't use OpName

Covers following places where glslang generates OpName by default:

 * Vertex and fragment shader user-defined inputs
 * Vertex and fragment shader user-defined outputs
 * Built-in vertex shader outputs
 * Struct type name
 * Struct member name
 * Local variable

Bug: 29054693
Bug: 28887585
Change-Id: I07c2f3cfc1306811100e9380bf6c68d53b8d1a14

8 years agoUse TCU_CHECK instead of DE_ASSERT
Sivert Berg [Tue, 31 May 2016 12:37:57 +0000 (14:37 +0200)]
Use TCU_CHECK instead of DE_ASSERT

DE_ASSERT is optimized away in release build. In this case it resulted
in the 'modifyXor' function not being called, causing the reference
memory to go out of sync with the actual memory.

(cherry picked from commit 8b9bed7d58e73412eeb361b612a51b89d1f30978)

Bug: 29044372
Change-Id: I1cf5a5d756cc000dfa0d5fa55535865e13717442

8 years agoFixes to random memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:21:49 +0000 (14:21 -0700)]
Fixes to random memory mapping tests

- Take nonCoherentAtomicSize into account.
- Track and handle correctly invalidating memory that has not
  been flushed.

Bug: 29006045
Bug: 28939771
Change-Id: Ib114822aff0fd4bf4df5d84a2e17b393368bdd3c

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:05:20 +0000 (14:05 -0700)]
Flush changes before invalidate in memory mapping tests

Bug: 29006045
Change-Id: I697c69838bc75d0dfc7ac232888d60e1a0d80ded

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:29:36 +0000 (15:29 -0700)]
Take nonCoherentAtomSize into account in memory mapping tests

Bug: 28939771
Change-Id: I02831f2a36b30b8f5b1c7e6710822f7b6f81a950

8 years agoMerge bug fixes from Khronos CTS release branch
Pyry Haulos [Thu, 19 May 2016 22:03:59 +0000 (15:03 -0700)]
Merge bug fixes from Khronos CTS release branch

This includes fixes available in Vulkan CTS 1.0.0.3 RC1:

8d6a75b Fix test copying zero sized regions
4d12ac5 Update sample conformance statement with latest release tag
2659c92 Remove use of non-standard strnlen()
fd6bbe6 Validation fix dEQP-VK.binding_model
8c019df Validation fix for dEQP-VK.ssbo
02bc895 Remove dEQP-VK.glsl.linkage.varying.rules.fragment_declare
0f75056 Validation fixes for dEQP-VK.renderpass
0619614 Validation fixes for dEQP-VK.glsl
2df3edd dEQP-VK.binding_model validation fixes
50664eb Removed not needed reading of image
ce3f36a Bug Fix: Corrected barriers in the tests dEQP-VK.query_pool
6d286f8 Validation fixes for dEQP-VK.api
d02ea76 dEQP-VK.api.info.device.properties struct offsets
d488796 Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.
a4f96c9 Turn on well defined signed integer overflow
ba9a6b8 Add Android NDK r11 toolchain as new default
355e4f8 Update glslang to (7b3096a) to include bitfield functions precision fix
cbba646 Fix Pipeline barrier test
6eaa4ce Update glslang to (af4592) - include proper RelaxedPrecision handling
f89b81f Remove instances of pDynamicState->dynamicStateCount = 0
989ae48 ShaderRender tests: do not use images in UNDEFINED layout
ed92247 Revert to original boilerplate in Vulkan CTS license appendix
0b834b7 Validation fixes in dEQP-VK.pipeline
92728bd Bug Fix: Corrected barriers in the tests dEQP-VK.compute
ad4a38e Bug Fix: Corrected barrier in the tests dEQP-VK.ubo
750f819 Fix unused parameter warning in vktDrawIndirectTest.cpp
7df90ed deqp-vk-draw: split indirect_draw tests into groups depending on `drawIndirectFirstInstance` optional feature
9025139 Remove initialization check for deviceName
9312e31 Fix VkPhysicalDeviceProperties init validation
4803b08 Fix a few issues in tessellation shader executors

As well as following cherry-picks:

b215306 Fix various compiler warnings
fad252e vktWsiSurfaceTests: fixed bug in surface capabilities validation where surface's height was tested with respect to width's limits.
4a57a13 vktWsiSwapchainTests: remove redundant barrier (already realised by subpass dependencies)
8a07cbb vktWsiSwapchainTests: remove incorrect barrier (COLOR_ATTACHMENT_OPT -> PRESENT_SRC), while image is already in PRESENT_SRC layout
9b48af0 vktWsiSwapchainTests: fixes for swapchain parameters
fb3fd80 WSI: depthClamp is an optional feature, disable it

Bug: 28911346
Change-Id: I124cdecdc5472e5889d40ae5b66baffa074df7ca

8 years agoRemove dot and reflect precision tests from mustpass
Mika Isojärvi [Wed, 25 May 2016 20:35:49 +0000 (13:35 -0700)]
Remove dot and reflect precision tests from mustpass

Remove dot and reflect precision test that don't take all of the
alternative evaluation orders into account from the mustpass.

Bug: 28767510
Change-Id: I8089dee4fc123b733d27f3bf2b0846dcd5f5ad6c

8 years agoRemove double allocate from memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:20:00 +0000 (15:20 -0700)]
Remove double allocate from memory mapping tests

Bug: 28936898
Change-Id: I7ef8da41929288c10a9d978bbe84d086eba008e4

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev
Mika Isojarvi [Fri, 20 May 2016 17:02:09 +0000 (17:02 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev

8 years agoIncrease deqp CTS runner timeout to 10min
Mika Isojärvi [Thu, 19 May 2016 22:47:34 +0000 (15:47 -0700)]
Increase deqp CTS runner timeout to 10min

Bug: 28052105
Bug: 23287994
Change-Id: Ifc7ed2d5e00e94cfe5c16f43f40b7f6b0cfc396a

8 years agoRemove EGL color clear tests with threshold issues
Mika Isojärvi [Tue, 17 May 2016 21:30:43 +0000 (14:30 -0700)]
Remove EGL color clear tests with threshold issues

Bug: 28676683
Change-Id: Id127cb04cc004aa0ff1ab392bc1262afd665f21c

8 years agoMerge "Fix test copying zero sized regions" into nyc-dev
Mika Isojarvi [Tue, 17 May 2016 18:22:12 +0000 (18:22 +0000)]
Merge "Fix test copying zero sized regions" into nyc-dev

8 years agoFix test copying zero sized regions
Mika Isojärvi [Tue, 17 May 2016 17:08:40 +0000 (10:08 -0700)]
Fix test copying zero sized regions

Bug: 28677103
Change-Id: I4c23277f51ab4ea3e28a76ab757d0c2c8fe007d6

8 years agoRemove long running test from mustpass
Mika Isojärvi [Tue, 17 May 2016 16:48:28 +0000 (09:48 -0700)]
Remove long running test from mustpass

Bug: 28813504
Change-Id: Ie79a1cf804413d0be3d3549cb7e56c2aba6ed3f5

8 years agoMerge "PipelineCache: track buffer allocation" into nyc-dev
Pyry Haulos [Tue, 17 May 2016 16:08:45 +0000 (16:08 +0000)]
Merge "PipelineCache: track buffer allocation" into nyc-dev

8 years agoMerge "Apply alternatives to vector refract tests" into nyc-dev
Mika Isojarvi [Tue, 17 May 2016 16:06:38 +0000 (16:06 +0000)]
Merge "Apply alternatives to vector refract tests" into nyc-dev

8 years agoMerge "Free EGLImages at the end of the testcase" into nyc-dev
Mika Isojarvi [Tue, 17 May 2016 16:06:29 +0000 (16:06 +0000)]
Merge "Free EGLImages at the end of the testcase" into nyc-dev

8 years agoMerge "Revert "Touch watchdog during object cleanup in max_concurrent tests"" into...
TreeHugger Robot [Mon, 16 May 2016 23:02:27 +0000 (23:02 +0000)]
Merge "Revert "Touch watchdog during object cleanup in max_concurrent tests"" into nyc-dev

8 years agoPipelineCache: track buffer allocation
iostrows [Fri, 29 Apr 2016 11:38:52 +0000 (13:38 +0200)]
PipelineCache: track buffer allocation

Bug: 28676376

(cherry picked from commit 653704c5bc0f03512b0b43a84615b6a9138fa057)

Change-Id: Idf9c4a00928aa88c0f67cfc7db4c96c695689809

8 years agoRevert "Touch watchdog during object cleanup in max_concurrent tests"
Pyry Haulos [Mon, 16 May 2016 21:26:02 +0000 (14:26 -0700)]
Revert "Touch watchdog during object cleanup in max_concurrent tests"

This reverts commit 9bd29e9ddec5c2404fd26ec0676422bf8b9eddcd.

Bug: 28436275
Change-Id: Ia3396445f0d1174559ab7d79aa1ccea3c27fe4b4

8 years agoFree EGLImages at the end of the testcase
Mika Isojärvi [Fri, 13 May 2016 17:40:19 +0000 (10:40 -0700)]
Free EGLImages at the end of the testcase

Bug: 28641861
Change-Id: I578d06f0cf312102f6e180a6e9697fbf160c63c7

8 years agoupdate event test as original test was inconsistent with Vulkan spec
David Sodman [Fri, 13 May 2016 21:21:24 +0000 (14:21 -0700)]
update event test as original test was inconsistent with Vulkan spec

BUG 28074219

Change-Id: I797fddfc4d96feb7b847409b50e94c1f84d22cf8

8 years agoApply alternatives to vector refract tests
Mika Isojärvi [Mon, 16 May 2016 18:05:05 +0000 (11:05 -0700)]
Apply alternatives to vector refract tests

Bug: 28657855
Bug: 27266906
Change-Id: I0ea0211c8292805338d55c1dc01692135761a428

8 years agoValidation fixes for dEQP-VK.synchronization
Maciej Jesionowski [Tue, 26 Apr 2016 13:27:46 +0000 (15:27 +0200)]
Validation fixes for dEQP-VK.synchronization

- Initialize some structure fields to required values
- Use pWaitDstStageMask when waiting on a semaphore
- Move vkCmdSetEvent outside the render pass
- Provide expected number of queue priorities to VkDeviceQueueCreateInfo

Bug: 28074219

(cherry picked from commit 94fdc7fcde984ff6c21ea7ccf6fd758fbf90a0d9)

Change-Id: I71835bb7bc0e9fec528c24aec35e2c864f763aa9

8 years agoFix allocator in WSI swapchain render test
Pyry Haulos [Wed, 11 May 2016 20:39:24 +0000 (13:39 -0700)]
Fix allocator in WSI swapchain render test

TriangleRenderer was using default device allocator with custom device
created with WSI extension enabled.

Bug: 28676093
Change-Id: Iad45ee21f1f0cfca09f24d68529a6862de5ba701

8 years agoresolve merge conflicts of cfeb3c0 to nyc-dev
Mika Isojärvi [Fri, 6 May 2016 17:40:09 +0000 (10:40 -0700)]
resolve merge conflicts of cfeb3c0 to nyc-dev

Change-Id: I7172a107debe1356601a60154234660d8f8b3c71

8 years agoMerge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev am...
Daniel Xie [Thu, 5 May 2016 22:55:07 +0000 (22:55 +0000)]
Merge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev am: 4e0555590e am: 20f0bfce22 am: 0e8d4374cf
am: ba052feff9

* commit 'ba052feff907a901564771b34b2c2bd17a375a17':
  Remove GLES2-texture.wrap tests from mustpass

Change-Id: Ide7f48341c4ea1322f1fa5abe836199f5716bd04

8 years agoMerge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev am...
David Sodman [Thu, 5 May 2016 22:50:30 +0000 (22:50 +0000)]
Merge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev am: 4e0555590e am: 20f0bfce22
am: 0e8d4374cf

* commit '0e8d4374cfc449324f6945bdf5e3d8f9049e6fb1':
  Remove GLES2-texture.wrap tests from mustpass

Change-Id: I7b2b513523808851cafeb1e6abdf43f2aca35d71

8 years agoMerge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev am...
Daniel Xie [Thu, 5 May 2016 22:45:47 +0000 (22:45 +0000)]
Merge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev am: 4e0555590e
am: 20f0bfce22

* commit '20f0bfce228434f530d6224cb96e0c05c2740500':
  Remove GLES2-texture.wrap tests from mustpass

Change-Id: Ie7ceb82821044d4c601b3ee8b912b9f9bd5e51e6

8 years agoMerge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev
David Sodman [Thu, 5 May 2016 22:41:06 +0000 (22:41 +0000)]
Merge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev
am: 4e0555590e

* commit '4e0555590ea2e0c08b7333773543f03fc5e12d21':
  Remove GLES2-texture.wrap tests from mustpass

Change-Id: Iea248c97ce1e3a2fad223d814c302e777f1f1678

8 years agoMerge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev
Daniel Xie [Thu, 5 May 2016 22:28:50 +0000 (22:28 +0000)]
Merge "Remove GLES2-texture.wrap tests from mustpass" into marshmallow-cts-dev

8 years agoRemove random ssbo test generating large shader from mustpass
Mika Isojärvi [Wed, 4 May 2016 21:13:26 +0000 (14:13 -0700)]
Remove random ssbo test generating large shader from mustpass

Bug: 28052337
Bug: 28594488
Change-Id: I9b4216c3a3fcaafda86411aaeda7889c5cd17b33

8 years agoMerge "Split WSI OOM tests over multiple iterations." into nyc-dev
Mika Isojarvi [Tue, 3 May 2016 17:49:39 +0000 (17:49 +0000)]
Merge "Split WSI OOM tests over multiple iterations." into nyc-dev

8 years agoSplit WSI OOM tests over multiple iterations.
Mika Isojärvi [Mon, 2 May 2016 22:42:46 +0000 (15:42 -0700)]
Split WSI OOM tests over multiple iterations.

Bug: 28533310
Bug: 28052337
Bug: 28052526
Change-Id: Ia4794a3c6e9d923dce2f267316db485de6d0a9df

8 years agoRevert "Add timeout to eglClientWaitSync() tests."
Mika Isojärvi [Mon, 2 May 2016 01:08:17 +0000 (18:08 -0700)]
Revert "Add timeout to eglClientWaitSync() tests."

This reverts commit 921259c6f01b9a70baf7b2d4701258fcdf53dd47.

Bug: 28052212

8 years agoTake reference data into account in memory usage tracking
Mika Isojärvi [Thu, 28 Apr 2016 23:26:51 +0000 (16:26 -0700)]
Take reference data into account in memory usage tracking

Bug: 28052105
Bug: 28052526
Change-Id: I47caae5d0ae1353ad015866d08b727a2ebcc4fdb

8 years agoMerge "Remove EGLImage tests affected by rounding issues from mustpass" into nyc-dev
Mika Isojarvi [Thu, 28 Apr 2016 17:14:39 +0000 (17:14 +0000)]
Merge "Remove EGLImage tests affected by rounding issues from mustpass" into nyc-dev

8 years agoMerge "Touch watchdog during object cleanup in max_concurrent tests" into nyc-dev
Pyry Haulos [Thu, 28 Apr 2016 15:02:15 +0000 (15:02 +0000)]
Merge "Touch watchdog during object cleanup in max_concurrent tests" into nyc-dev

8 years agoTouch watchdog during object cleanup in max_concurrent tests
Pyry Haulos [Thu, 28 Apr 2016 10:08:42 +0000 (03:08 -0700)]
Touch watchdog during object cleanup in max_concurrent tests

Destroying objects can be slow on certain implementations and may lead
to watchdog timeouts.

Bug: 28436275
Bug: 28052337
Change-Id: I831062dca7caffc3761750a1a2ce7b21b53be9e9

8 years agoReduce iteration count in object_management.multithreaded*.device
Pyry Haulos [Thu, 28 Apr 2016 07:43:51 +0000 (00:43 -0700)]
Reduce iteration count in object_management.multithreaded*.device

Bug: 28434275
Bug: 28052526
Bug: 28052337
Change-Id: I98b8ba6e499a469f930d700a028b477dc22ceedf

8 years agoRemove invalid negative test with overlapping errors from mustpass
Mika Isojärvi [Mon, 25 Apr 2016 22:03:09 +0000 (15:03 -0700)]
Remove invalid negative test with overlapping errors from mustpass

Bug: 28381693
Change-Id: I66c389fcf78cfd2fc6cde49f416226e923767c56

8 years agoImplement getMemoryLimits() in X11 vulkan platform
Pyry Haulos [Fri, 22 Apr 2016 21:43:48 +0000 (14:43 -0700)]
Implement getMemoryLimits() in X11 vulkan platform

Bug: 28275297
Change-Id: Iba40570ecc7bd9fff8822617bf95e45fd7427ad2

8 years agoMerge changes from topic 'vulkan-mem-limits' into nyc-dev
Pyry Haulos [Fri, 22 Apr 2016 21:36:02 +0000 (21:36 +0000)]
Merge changes from topic 'vulkan-mem-limits' into nyc-dev

* changes:
  Respect platform memory limits in dEQP-VK.memory.* tests
  Derive available system memory from Android CDD
  Expose platform-specific memory usage limitations

8 years agoRemove 2 tessellation.user_defined_io.negative cases from mustpass
Pyry Haulos [Fri, 22 Apr 2016 19:17:31 +0000 (12:17 -0700)]
Remove 2 tessellation.user_defined_io.negative cases from mustpass

These are destined to go back to mustpass as soon as drivers catch up
with latest spec direction.

Bug: 25389474
Bug: 28052526
Bug: 28045409
Change-Id: Id157683798226924fbb757bbffd2dad97f448b00

8 years agoRespect platform memory limits in dEQP-VK.memory.* tests
Pyry Haulos [Wed, 20 Apr 2016 22:40:23 +0000 (15:40 -0700)]
Respect platform memory limits in dEQP-VK.memory.* tests

Bug: 28275297
Change-Id: I1860295e445d432df220ce6a40e31f065774dbb7

8 years agoDerive available system memory from Android CDD
Pyry Haulos [Wed, 20 Apr 2016 21:39:18 +0000 (14:39 -0700)]
Derive available system memory from Android CDD

Android CDD defines minimum available system memory based on screen size
and density.

Includes various cleanups and robustness improvements to JNI code in
tcuAndroidUtil.cpp.

Bug: 28275297
Change-Id: I727cdf47db8e8f5d765017ed348a316234fe4f8e

8 years agoExpose platform-specific memory usage limitations
Pyry Haulos [Wed, 23 Mar 2016 20:01:10 +0000 (13:01 -0700)]
Expose platform-specific memory usage limitations

This change adds a new API, getMemoryLimits(), to vk::Platform. The idea
is to report all relevant limits and properties that may affect how much
system and device memory test cases can safely allocate without running
out of memory.

dEQP-VK.api.object_management.max_concurrent tests have been modified to
take advantage of the reported limits to determine a safe per-object
limits by measuring memory usage with allocation callbacks, as well as
accounting for both explicit and implicit (internal) device memory
usage.

Bug: 28275297
Change-Id: If4a231d96749be89bc1320e374944c7c4add657c

8 years agoFix pipeline and pipeline cache lifetime in synchronization tests
Pyry Haulos [Fri, 22 Apr 2016 17:32:12 +0000 (10:32 -0700)]
Fix pipeline and pipeline cache lifetime in synchronization tests

Bug: 28074219
Change-Id: Ib2b40524c9009129377cf5ba15e91fa86e74245c

8 years agoFix negative test incorrectly testing levels instead of layers
Mika Isojärvi [Thu, 21 Apr 2016 19:52:26 +0000 (12:52 -0700)]
Fix negative test incorrectly testing levels instead of layers

Bug: 28090252
Change-Id: Icfe19cca34777e97f2ad49f09be7314467a307bc

8 years agoRemove EGLImage tests affected by rounding issues from mustpass
Mika Isojärvi [Fri, 15 Apr 2016 19:59:34 +0000 (12:59 -0700)]
Remove EGLImage tests affected by rounding issues from mustpass

Bug: 27702713
Change-Id: Iac449e0ee746b6e85c652b600a1ab7d77e9562ec

8 years agoRemove unsupported multithreaded pixmap tests from mustpass
Mika Isojärvi [Tue, 19 Apr 2016 22:24:30 +0000 (15:24 -0700)]
Remove unsupported multithreaded pixmap tests from mustpass

Bug: 28268533
Change-Id: Ia2ca49f5febce5a96f4ea62386fa2db5e13cb996

8 years agoMerge "Use square cubemap textures in negative tests" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 21:24:12 +0000 (21:24 +0000)]
Merge "Use square cubemap textures in negative tests" into nyc-dev

8 years agoMerge "More dEQP-VK.synchronization fixes" into nyc-dev
Pyry Haulos [Tue, 19 Apr 2016 19:55:06 +0000 (19:55 +0000)]
Merge "More dEQP-VK.synchronization fixes" into nyc-dev

8 years agoUse square cubemap textures in negative tests
Mika Isojärvi [Tue, 19 Apr 2016 19:24:43 +0000 (12:24 -0700)]
Use square cubemap textures in negative tests

Bug: 28249081
Bug: 28052105
Bug: 28052212
Change-Id: I15e9ca97c1300c4771a4797a8d29c68d779d3a9a