platform/upstream/VK-GL-CTS.git
6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Sat, 9 Jun 2018 08:54:13 +0000 (01:54 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: 5a8888e88d

Change-Id: I1e75407d431ed1a28ee5c94e478d57f0f86f1062

6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Fri, 8 Jun 2018 18:07:02 +0000 (11:07 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master

Bug: 79597307
Change-Id: If2ada4dd7bce7602babdb2090dc4cda82b184fc1

6 years agoFix arm32 check to work on armv8 32bit mode
Chris Forbes [Fri, 1 Jun 2018 21:25:05 +0000 (14:25 -0700)]
Fix arm32 check to work on armv8 32bit mode
am: add785f6ef

Change-Id: I919d43a00faec2dcf35996997efc613c31e570a5

6 years agoFix arm32 check to work on armv8 32bit mode
Chris Forbes [Fri, 1 Jun 2018 19:42:26 +0000 (12:42 -0700)]
Fix arm32 check to work on armv8 32bit mode

Change-Id: Ied79c61ad64eb1011d97be0fb3d727fb2c1bab36
Bug: b/79545607
Test: dEQP-VK.dynamic_state.rs_state*

6 years ago[automerger skipped] Merge "DO NOT MERGE: GetDevices: Also allow `\-` to be part...
Chris Forbes [Fri, 1 Jun 2018 00:17:16 +0000 (17:17 -0700)]
[automerger skipped] Merge "DO NOT MERGE: GetDevices: Also allow `\-` to be part of the host name" am: 6f687edc46  -s ours
am: d1cb9980e5  -s ours

Change-Id: Iaf8e7f613c1b5fa2a91eec34f008c0f76bf9bd6b

6 years ago[automerger skipped] Merge "DO NOT MERGE: GetDevices: Also allow `\-` to be part...
Chris Forbes [Thu, 31 May 2018 23:49:52 +0000 (16:49 -0700)]
[automerger skipped] Merge "DO NOT MERGE: GetDevices: Also allow `\-` to be part of the host name"
am: 6f687edc46  -s ours

Change-Id: I9710bde0d777131a9068fc554185e50bfa68efbc

6 years agoMerge "DO NOT MERGE: GetDevices: Also allow `\-` to be part of the host name"
Chris Forbes [Thu, 31 May 2018 21:02:21 +0000 (21:02 +0000)]
Merge "DO NOT MERGE: GetDevices: Also allow `\-` to be part of the host name"

6 years agoDon't rely on unspecified argument evaluation order in atomic swap tests
Chris Forbes [Wed, 30 May 2018 20:31:57 +0000 (13:31 -0700)]
Don't rely on unspecified argument evaluation order in atomic swap tests
am: 51e0000bcd

Change-Id: Ieeeb2b708fc72335d421795b569307a8fb3d01b1

6 years agoDon't rely on unspecified argument evaluation order in atomic swap tests
Chris Forbes [Wed, 30 May 2018 16:26:57 +0000 (09:26 -0700)]
Don't rely on unspecified argument evaluation order in atomic swap tests

Bug: b/78779994
Test: dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.compswap.random.*

Change-Id: Ifba8940745c28a32ca631beb374394a5e3fe508b

6 years agoRequest required 16bit storage features in UConvert/SConvert tests
Chris Forbes [Tue, 29 May 2018 21:13:34 +0000 (14:13 -0700)]
Request required 16bit storage features in UConvert/SConvert tests
am: 20426c9789

Change-Id: Ia2e1b73b5733be5678980f859338641560131ad2

6 years agoRequest required 16bit storage features in UConvert/SConvert tests
Chris Forbes [Tue, 29 May 2018 19:26:19 +0000 (12:26 -0700)]
Request required 16bit storage features in UConvert/SConvert tests

These tests require specific features within the 16bit storage extension

Change-Id: I573b8ca69209ec36b3c249f5b9a638d4e7743209
Components: Vulkan
Bug: b/78779994
Test: tests now verified to skip on Sailfish

6 years agoMerge "GetDevices: Also allow `\-` to be part of the host name" into pi-dev
Nicolas Boichat [Fri, 18 May 2018 00:11:36 +0000 (17:11 -0700)]
Merge "GetDevices: Also allow `\-` to be part of the host name" into pi-dev
am: 7e127b82c4

Change-Id: I6951a56d074ff970246235e4e1bdf08dd9d354b1

6 years agoMerge "GetDevices: Also allow `\-` to be part of the host name" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 23:41:11 +0000 (23:41 +0000)]
Merge "GetDevices: Also allow `\-` to be part of the host name" into pi-dev

6 years agoMerge "Limit protected swapchain images based on memory" into pi-dev
Jesse Hall [Thu, 17 May 2018 22:07:25 +0000 (15:07 -0700)]
Merge "Limit protected swapchain images based on memory" into pi-dev
am: ae2ba92fb2

Change-Id: I1ae06e3a6ff26e8931e0147b7dc07f2a44e53afc

6 years agoMerge "Limit protected swapchain images based on memory" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 21:56:33 +0000 (21:56 +0000)]
Merge "Limit protected swapchain images based on memory" into pi-dev

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-dev
Chris Forbes [Thu, 17 May 2018 18:20:24 +0000 (11:20 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-dev
am: e75fb389ce

Change-Id: Iceff81a070a005635aee4d046ac14f39d91c74d2

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-dev
Chris Forbes [Thu, 17 May 2018 14:40:06 +0000 (07:40 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-dev

Bug: b/79920276
Test: CtsDeqpTestCases

Change-Id: I5278d1865efc379687d88a368d48ef64cce455bc

6 years agoLimit protected swapchain images based on memory
Jesse Hall [Wed, 16 May 2018 23:56:54 +0000 (16:56 -0700)]
Limit protected swapchain images based on memory

A surface's maxImageCount isn't based on the swapchain image extents
or format, so it's valid for swapchain creation to fail for
out-of-memory reasons even when the image count is within the
supported range.

This is particularly problematic for protected swapchains, since many
implementations have a limit on the total amount of protected memory
that can be allocated which is much smaller than total device memory.

This change estimates how much memory is used by protected swapchain
images, compares that to the size of heaps that support protected
memory types, and doesn't try to create swapchains that would have
more images than would fit within that size.

Components: Vulkan

VK-GL-CTS Issue: 1167

Affects:
    dEQP-VK.protected_memory.interaction.wsi.*.swapchain.create.min_image_count

Bug: 77319653
Test: dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.min_image_count
Change-Id: I6cc3bd25f7f22de8424f9e3375ade35fac26a884

6 years agoBackport AHB test changes from Khronos review
Chris Forbes [Mon, 14 May 2018 18:28:02 +0000 (11:28 -0700)]
Backport AHB test changes from Khronos review
am: 9829d36b5a

Change-Id: I82459631b0ec75918e47b7609669100059e41a61

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Fri, 11 May 2018 13:28:20 +0000 (15:28 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I06a95f88214707d9108a46f7374a5e8e0f9bdb59

6 years agoBackport AHB test changes from Khronos review
Chris Forbes [Thu, 10 May 2018 22:58:21 +0000 (15:58 -0700)]
Backport AHB test changes from Khronos review

Change-Id: I902646e380d18c8c4ee165a7bfe3c6aee6735aa6
Components: Vulkan
Bug: b/79540301
Test: CtsDeqpTestCases

6 years agoGetDevices: Also allow `\-` to be part of the host name
Nicolas Boichat [Wed, 9 May 2018 00:44:11 +0000 (08:44 +0800)]
GetDevices: Also allow `\-` to be part of the host name

Bug: b/79494592

Change-Id: I2e79a8389be53300296f07bcbae902a717da2d5e

6 years agoDO NOT MERGE: GetDevices: Also allow `\-` to be part of the host name
Nicolas Boichat [Thu, 5 Apr 2018 08:25:25 +0000 (16:25 +0800)]
DO NOT MERGE: GetDevices: Also allow `\-` to be part of the host name

Change-Id: Ib4eaa0f1ded74d8733f378675fe509cf5a6b1c2b

6 years agoDon't leak ref to native handle in external memory tests
Chris Forbes [Thu, 3 May 2018 23:21:03 +0000 (16:21 -0700)]
Don't leak ref to native handle in external memory tests
am: 17eb70bae8

Change-Id: Iefe80456c8b0d7701c4a79cc892ef4d39244bd6a

6 years agoDon't leak ref to native handle in external memory tests
Chris Forbes [Thu, 3 May 2018 22:03:53 +0000 (15:03 -0700)]
Don't leak ref to native handle in external memory tests

Based on a later revision to https://gerrit.khronos.org/#/c/2455

Bug: b/79216732
Change-Id: I4aab353d1d9a8ecb818c682b60d274ce82ef6d38
Affects: dEQP-VK.api.external.memory.android_hardware_buffer.*
Components: Vulkan
Test: CtsDeqpTestCases

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Tue, 1 May 2018 17:55:42 +0000 (10:55 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev am: ea8d8c6e51  -s ours am: b42c18f792  -s ours
am: 43e7ea94f9

Change-Id: Ifc691bfc9d81d3ba6749f2f63686ec3de272f440

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Tue, 1 May 2018 17:41:37 +0000 (10:41 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev am: ea8d8c6e51  -s ours am: b9ddb8a5e6  -s ours
am: 2caa0005d1  -s ours

Change-Id: I3c1f5ee19a9d57ba873ef11d4b8c2deb7a20f29b

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Tue, 1 May 2018 17:41:35 +0000 (10:41 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev am: ea8d8c6e51  -s ours
am: b42c18f792  -s ours

Change-Id: I2caad18103299cdd4a44db0ae4562442a5a711a8

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Tue, 1 May 2018 17:37:02 +0000 (10:37 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev
am: ea8d8c6e51  -s ours

Change-Id: I4198a0ed4f80ff23cb9d55f7ff8e75ccf900a4f2

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Tue, 1 May 2018 17:37:01 +0000 (10:37 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev am: ea8d8c6e51  -s ours
am: b9ddb8a5e6  -s ours

Change-Id: I7476bbb201a31459c388ea363a17c1bdbb6b8fea

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Tue, 1 May 2018 17:27:58 +0000 (10:27 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev
am: ea8d8c6e51  -s ours

Change-Id: Iafc1890dde07fdf56154e1742ce2d59648bc02af

6 years agoMerge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into...
android-build-prod (mdb) [Tue, 1 May 2018 17:23:07 +0000 (17:23 +0000)]
Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-mr1-cts-dev

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:58:44 +0000 (12:58 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: d7ea694527 am: 1d7d6b0558 am: edae3a9f2d
am: 459fb27e0e

Change-Id: I04df320284f1a0241e7bcdc39261976d44ba752e

6 years agoMerge "Allow the window to be recreated in the middle of a test am: 30ef1bf331 am...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:58:08 +0000 (19:58 +0000)]
Merge "Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153 am: 9800dc3074 am: 6b71e26ff1" into pi-dev-plus-aosp

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:58:03 +0000 (12:58 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153 am: 9800dc3074
am: 6b71e26ff1

Change-Id: I1e1fa53e337ad527648c406eeb3b81b8bbba74d9

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:58:01 +0000 (12:58 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb am: 040aaa4dc6 am: 1213a776a6 am: b614d39194
am: a59bf087fd

Change-Id: Id99663e245f0c04e653c9cf99b10d341de0be445

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:54:43 +0000 (12:54 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153
am: 9800dc3074

Change-Id: I7e2fff3665bd75ac5c470aa2ca7fd69b6a6acd14

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:54:24 +0000 (12:54 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: d7ea694527 am: 1d7d6b0558
am: edae3a9f2d

Change-Id: I60c1f1fab6359a7036d1f51fd879abb1c5fa9b20

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:54:00 +0000 (12:54 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb am: 040aaa4dc6 am: 1213a776a6
am: b614d39194

Change-Id: I5d3ccd0767e7413341cfe6e9c1c1d0512a0d3e0a

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:53:55 +0000 (12:53 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153 am: 5f0bdcf623
am: 1306ffa833

Change-Id: I20efe4790094a717d9ec7d3c3fc5f71701dabe26

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:44:45 +0000 (12:44 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: d7ea694527
am: 1d7d6b0558

Change-Id: I63f4193542ed4b50ccbfa2b43edc589558a1abb4

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:44:30 +0000 (12:44 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153
am: 5f0bdcf623

Change-Id: I4d05bd26ddde90158c564156ce4349696cc78489

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:44:27 +0000 (12:44 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb am: 040aaa4dc6
am: 1213a776a6

Change-Id: I5a3e06a0da4005235b1a87c4e0770a2ef80150eb

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
Lloyd Pique [Mon, 30 Apr 2018 19:43:51 +0000 (12:43 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
am: d7ea694527

Change-Id: I69f3211031c9704b0148edf26d1a598129bf3944

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
Lloyd Pique [Mon, 30 Apr 2018 19:41:22 +0000 (12:41 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
am: 6eca3b9153

Change-Id: I5f508032fae03c0ab342e0b1547d77812f03e779

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:40:23 +0000 (12:40 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb
am: 040aaa4dc6

Change-Id: Iad8cdf7b3cbdcc382a3d41df29369cf12ae32c8d

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331
Lloyd Pique [Mon, 30 Apr 2018 19:40:22 +0000 (12:40 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331
am: 38611cff1b

Change-Id: If75c089eace7e4d67dbb28abfa7928a769decc6a

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
Lloyd Pique [Mon, 30 Apr 2018 19:34:53 +0000 (12:34 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
am: 6eca3b9153

Change-Id: I9347f789b79bf1bbcb128aab72ff4e62a662537a

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:33:00 +0000 (19:33 +0000)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb

Change-Id: Ic5dc053bb7ea5d82429b4acaa54063c042049e52

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:32:59 +0000 (19:32 +0000)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f

Change-Id: I62e863ad7c0e7408438f5f8f919472c58c2c8d32

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:32:58 +0000 (19:32 +0000)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4

Change-Id: Ib4998ca20b55378973547524d86dbf2b6f0017cf

6 years agoAllow the window to be recreated in the middle of a test
Lloyd Pique [Mon, 30 Apr 2018 19:32:47 +0000 (12:32 -0700)]
Allow the window to be recreated in the middle of a test
am: 30ef1bf331

Change-Id: I8150c542b5735cddf900bfa0ac8b1118789d9ea3

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331
Lloyd Pique [Mon, 30 Apr 2018 19:30:50 +0000 (12:30 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331
am: 38611cff1b

Change-Id: Ib6b7ff02fe67679472877a9cc5dff04f7d01a17a

6 years agoAllow the window to be recreated in the middle of a test
Lloyd Pique [Mon, 30 Apr 2018 19:26:18 +0000 (12:26 -0700)]
Allow the window to be recreated in the middle of a test
am: 30ef1bf331

Change-Id: Ic2683d5ad4515c3d65339b5027e76b1574374548

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:56:53 +0000 (10:56 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: d496dc5ba1 am: a3bacba8b1 am: 93b3acbf1e  -s ours
am: e4b23a9608

Change-Id: I4a8a3fcc75d39c6101d23289c8016094fc33f780

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:52:35 +0000 (10:52 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: d496dc5ba1 am: a3bacba8b1
am: 93b3acbf1e  -s ours

Change-Id: I817dfabfcdca5c9944053c10774dffd97c7ed2f8

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:52:35 +0000 (10:52 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours am: 1d8110d340  -s ours
am: 2f8335f3fb  -s ours

Change-Id: Ibe60a588218fffee8a4497bca2614b290de518d6

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:48:15 +0000 (10:48 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: d496dc5ba1
am: a3bacba8b1

Change-Id: I15dbddb5b202e4a7eac6a67fb62fab4d3084ff9a

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:48:15 +0000 (10:48 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours am: 64399483f6  -s ours
am: 45afde55e4

Change-Id: Ie09b4b592f40958b411f5588342be46cd8e74c35

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:47:59 +0000 (10:47 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours
am: 1d8110d340  -s ours

Change-Id: Ia6700fe5419e974a5ecde0aa777c8287453dddd8

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:44:08 +0000 (10:44 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours
am: d496dc5ba1

Change-Id: Ide9aaa6f6834f5060f179188434c8f69d286ce68

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:44:05 +0000 (10:44 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours
am: 64399483f6  -s ours

Change-Id: I0cd61f2281758f35ffa898bd299af36fc3b46e7b

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:39:59 +0000 (10:39 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev
am: 354706417a  -s ours

Change-Id: I302c847ae29c25072081d06b17e78671b7358df0

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:39:59 +0000 (10:39 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours
am: c78fc14ea5  -s ours

Change-Id: Ib2acbf2e335b712ea3f16c46168915079b16e6a2

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:36:57 +0000 (10:36 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours
am: c78fc14ea5  -s ours

Change-Id: Iedf43f729df806befedad07e7f8ae5d7b4bddd92

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:32:26 +0000 (10:32 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev
am: 354706417a  -s ours

Change-Id: I37e6dad1ab2d2eb9bee4a529f16c77981afbb54b

6 years agoMerge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:30:06 +0000 (17:30 +0000)]
Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev

6 years agoDO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
Chris Forbes [Tue, 27 Feb 2018 00:31:59 +0000 (16:31 -0800)]
DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD

Change-Id: Id624bed0598e117aff161ee6ed92a135095e33d7
Bug: b/73945443

6 years agoDo not fail plane tests when there is no display
Liam Middlebrook [Thu, 26 Apr 2018 21:43:25 +0000 (14:43 -0700)]
Do not fail plane tests when there is no display

Instead, we should mark these tests as not supported. The Vulkan spec
states that:
    Devices must support at least one plane on each display

If there are no displays connected, the driver is allowed to return 0
planes.

VK-GL-CTS issue: 1138

Change-Id: Ie7ddc35f4f11fbfa54f8c31cc3864f52adb1bb7f
Affects: dEQP-VK.wsi.display.get_display_plane_capabilities
Affects: dEQP-VK.wsi.display.create_display_plane_surface

6 years agoDo not fail display tests when there is no display
Damien Leone [Mon, 30 Oct 2017 23:15:25 +0000 (16:15 -0700)]
Do not fail display tests when there is no display

Instead, we should mark these tests as not supported. It is valid per the
Vulkan spec to have the extension report 0 displays connected.

Affects: dEQP-VK.wsi.display.*

Component: Vulkan

VK-GL-CTS issue: 1105

Change-Id: Iaae928a862dcc3827094d898a5455ecfe3920936

6 years agoDo not test CLEAR loadOp with read-only depth stencil image layouts
Slawomir Cygan [Tue, 24 Apr 2018 15:50:19 +0000 (17:50 +0200)]
Do not test CLEAR loadOp with read-only depth stencil image layouts

It is invalid to use implicit clears with depth stencil images, which first
render pass usage is in read only depth/stencil image layout

Spec:
"
For any member of pAttachments with a loadOp equal to VK_ATTACHMENT_LOAD_OP_CLEAR,
the first use of that attachment must not specify a layout equal to
VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL.

For any member of pAttachments with a stencilLoadOp equal to VK_ATTACHMENT_LOAD_OP_CLEAR,
the first use of that attachment must not specify a layout equal to
VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL."

Component: Vulkan

Affects:
dEQP-VK.renderpass.suballocation.formats.d*.clear.*_read_only

VK-GL-CTS Issue: 1144

Change-Id: Iad78473fe4bdf87dac5aff5bcc1c2b888e790cb8

6 years agoAllow the window to be recreated in the middle of a test
Lloyd Pique [Wed, 25 Apr 2018 02:08:39 +0000 (19:08 -0700)]
Allow the window to be recreated in the middle of a test

On ARC++ devices, some of the dEQP CTS tests were occasionally failing on
devices running in tablet mode, due to the timing of a WM relayout that
happens shortly after the orientation change is realized.

We traced it back to the dEQP test harness always expecting to see a
call from the system to onNativeWindowResized() after a call to
oNNativeWindowCreated(). It happened that the relayout on ARC++ devices
was not causing a size change, so this message was never received.

The result was that the test paused itself, and never completed. The
watchdog thread that the test harness creates ended up killing and
failing the test.

This patch adjusts the logic so that the activity only waits to process
the window creation for the very first call to onNativeWindowResized(),
as when the activity is first created that call is indeed made (but note
not really guaranteed). A subsequent call to onNativeWindowCreated()
will unpause the test (setting the READY state), as well as finish
processing the window creation.

Bug: 74371892
Test: dEQP-GLES3.functional.prerequisite#clear_color
Change-Id: I3c429aea272cbfee3f150a32c12233c9f38a7936

6 years agoDO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
Chris Forbes [Tue, 27 Feb 2018 00:31:59 +0000 (16:31 -0800)]
DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD

Change-Id: Id624bed0598e117aff161ee6ed92a135095e33d7
Bug: b/73945443

6 years agoRemove 4K min size from dedicated image tests
Jarred Davies [Thu, 12 Apr 2018 12:57:14 +0000 (13:57 +0100)]
Remove 4K min size from dedicated image tests

The tests dEQP-VK.memory.mapping.dedicated_alloc.image.*
all create an image with a minimum size of 4Kx4K, so the
tests in this subgroup  test the exact same image size
regardless of what size the test itself is supposed to be
testing.

This change removes the 4Kx4K minimum to enable
the test to actually test multiple sizes of images.

Affect:

dEQP-VK.memory.mapping.dedicated_alloc.image.*

Components: Vulkan

VK-GL-CTS issue: 1118

Change-Id: I2ba9fa671f20eeb9bfa8b14972c903ac20875425

6 years agoMissing pipeline barriers from fragment variants of dEQP-VK.subgroups.*
Panagiotis Apostolou [Mon, 26 Mar 2018 11:21:26 +0000 (13:21 +0200)]
Missing pipeline barriers from fragment variants of dEQP-VK.subgroups.*

This commit adds a missing image pipeline barrier in the fragment variant
of the subgroups test group. After the end of the renderpass and before the
vkCmdCopyImageToBuffer, a pipeline barrier is required to delay the copy
command so that all the writes to the color attachment are complete.

Tests affected:
dEQP-VK.subgroups.*

Components: Vulkan

VK-GL-CTS issue: 1135

Change-Id: I82a5179f97cf4435f96dd378f123f37bc26bd082

6 years agoRemove 4K min size from dedicated image tests
Jarred Davies [Mon, 23 Apr 2018 17:41:09 +0000 (10:41 -0700)]
Remove 4K min size from dedicated image tests
am: f034e66227

Change-Id: If5b2e9f959ef032287144aa72d06f4cf4b39980a

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes
Chris Forbes [Mon, 23 Apr 2018 17:41:00 +0000 (10:41 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes
am: 60efbe2df0

Change-Id: I4f9bdada8382851991a60523eaebfc8d7bdfc641

6 years agoRemove 4K min size from dedicated image tests
Jarred Davies [Thu, 12 Apr 2018 12:57:14 +0000 (13:57 +0100)]
Remove 4K min size from dedicated image tests

The tests dEQP-VK.memory.mapping.dedicated_alloc.image.*
all create an image with a minimum size of 4Kx4K, so the
tests in this subgroup  test the exact same image size
regardless of what size the test itself is supposed to be
testing.

This change removes the 4Kx4K minimum to enable
the test to actually test multiple sizes of images.

Affect:

dEQP-VK.memory.mapping.dedicated_alloc.image.*

Components: Vulkan

VK-GL-CTS issue: 1118

Change-Id: I2ba9fa671f20eeb9bfa8b14972c903ac20875425
Test: CtsDeqpTestCases on Pixel
Bug: b/78455246
Cherry-picked from Khronos change: https://gerrit.khronos.org/#/c/2466/

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes
Chris Forbes [Mon, 23 Apr 2018 15:36:08 +0000 (08:36 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes

Change-Id: I67987219e362df91065a30e1ee319d0712e9a6f5
Test: CtsDeqpTestCases on Pixel
Bug: b/78455246

6 years agoRelax the precision requirements for derivate built-ins am: 1dfe5d68bd
Jeff Leger [Tue, 17 Apr 2018 21:23:42 +0000 (14:23 -0700)]
Relax the precision requirements for derivate built-ins am: 1dfe5d68bd
am: 374297c1a7

Change-Id: I6b4a5e838828f82958b0347b11f14bcc4a0192cf

6 years agoRelax the precision requirements for derivate built-ins
Jeff Leger [Tue, 17 Apr 2018 21:18:34 +0000 (14:18 -0700)]
Relax the precision requirements for derivate built-ins
am: 1dfe5d68bd

Change-Id: I5e86161e52afb6c23651fb857396868e284604da

6 years agoMerge "Exclude unspecified precision GLES2/3 tests" into pi-dev
Chris Forbes [Tue, 17 Apr 2018 00:29:07 +0000 (17:29 -0700)]
Merge "Exclude unspecified precision GLES2/3 tests" into pi-dev
am: 64ff49d0fe

Change-Id: I2a3f8c0e8e5460f89e9bce5059599dd04bbcd3d0

6 years agoMerge "Exclude unspecified precision GLES2/3 tests" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 00:10:38 +0000 (00:10 +0000)]
Merge "Exclude unspecified precision GLES2/3 tests" into pi-dev

6 years agoRelax the precision requirements for derivate built-ins
Jeff Leger [Thu, 1 Feb 2018 01:31:13 +0000 (20:31 -0500)]
Relax the precision requirements for derivate built-ins

Allow for relaxed precision thredholds for derivatives,
with a quality warning.

Affects: dEQP-GLES3.functional.shaders.derivate.*

Components: AOSP

Khronos vk-gl-cts issue: 977

Change-Id: I1d69ad71b79a30a36daf2bf75b2f50d309bc5496

6 years agoExclude unspecified precision GLES2/3 tests
Chris Forbes [Mon, 16 Apr 2018 19:43:17 +0000 (12:43 -0700)]
Exclude unspecified precision GLES2/3 tests

Move from temporary to permanent exclusions for P. In a future release
we'll move these to GLES31.

Change-Id: Ib6918e888cf15014fb68b482937f578b01007d65
Component: AOSP
Bug: b/72992757
Test: mustpass change only

6 years agoRequest GPDP2 extension if required in shared presentable image tests
Chris Forbes [Thu, 12 Apr 2018 15:54:00 +0000 (08:54 -0700)]
Request GPDP2 extension if required in shared presentable image tests

Change-Id: Ifa4b19c6046d4f0b95a5fc65443bcd1df051b6a5
Components: Vulkan
Affects: dEQP-VK.wsi.*.shared_presentable_image.*
VK-GL-CTS: 1078

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes
Chris Forbes [Tue, 10 Apr 2018 19:42:02 +0000 (12:42 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes
am: c0290d01a1

Change-Id: Ieabba26e1904be9ad89c5cc8f99754458c9f820a

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes
Chris Forbes [Mon, 9 Apr 2018 19:24:26 +0000 (12:24 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes

Bug: b/77812821
Test: run on pixel

Change-Id: If4833fd61a4e11b87152b1ff392490f839317da5

6 years agoUse de::min instead of std::min am: 1d08d3f4fe
Mikael Tuomisalo [Mon, 9 Apr 2018 18:55:34 +0000 (11:55 -0700)]
Use de::min instead of std::min am: 1d08d3f4fe
am: 5c6938f7ef

Change-Id: Ia576663725d20166918e20f7df57532f2ee32223

6 years agoUse de::min instead of std::min
Mikael Tuomisalo [Mon, 9 Apr 2018 18:50:26 +0000 (11:50 -0700)]
Use de::min instead of std::min
am: 1d08d3f4fe

Change-Id: I2fe6933d6123432679d00448599a74c9e6e4d134

6 years agoUse de::min instead of std::min
Mikael Tuomisalo [Mon, 5 Mar 2018 18:33:33 +0000 (20:33 +0200)]
Use de::min instead of std::min

std::min was used without including algorithm, which breaks build on
at least VS2017

Components: OpenGL ES
VK-GL-CTS issue: 1054

Affects:
dEQP-GLES2.functional.texture.size.*
dEQP-GLES3.functional.texture.size.*

Change-Id: Id3edb237931d6957095cf6b8fcb38359422decd3
(cherry picked from commit 177b82dfaff4531c10ddce2acf5cc43a15169670)

6 years agoTemporary AHB external memory exclusions
Jesse Hall [Thu, 5 Apr 2018 19:56:50 +0000 (12:56 -0700)]
Temporary AHB external memory exclusions
am: ce9667da1f

Change-Id: Id1a5ba2d812dd1b45ddcb678006eaec5eee445da

6 years agoTemporary exclusions for failing protected memory tests
Jesse Hall [Thu, 5 Apr 2018 18:47:13 +0000 (11:47 -0700)]
Temporary exclusions for failing protected memory tests
am: bf7f50fa58

Change-Id: I26c9d16e8d9fb8a0b3900930ab3a8764734a6933

6 years agoTemporary AHB external memory exclusions
Jesse Hall [Wed, 4 Apr 2018 21:48:21 +0000 (14:48 -0700)]
Temporary AHB external memory exclusions

Bug: 77582727
Bug: 77596051
Test: scripts/build_android_mustpass.py
Change-Id: I24f39fa092781474027df3dcd4a99f0472321490

6 years agoTemporary exclusions for failing protected memory tests
Jesse Hall [Fri, 30 Mar 2018 17:15:08 +0000 (10:15 -0700)]
Temporary exclusions for failing protected memory tests

Bug: 77319653
Bug: 77321170
Test: scripts/build_android_mustpass.py
Change-Id: I79494e4e389d0416ac2b9ad838f0c83e3149a787

6 years agoFix improper use of vkCmdWaitEvents
Peter Quayle [Wed, 28 Mar 2018 17:18:28 +0000 (18:18 +0100)]
Fix improper use of vkCmdWaitEvents

dEQP-VK.synchronization.smoke.events was calling vkCmdWaitEvents inside
a render-pass, which is not allowed if the event is later triggerd using
vkSetEvent. Additionally, the test was only waiting 1ns to determine if
a queue had made forward progress, which is too short to give the
implementation a chance to do any work.

Affects:

dEQP-VK.synchronization.smoke.events

Components: Vulkan

VK-GL-CTS issue: 1089

Change-Id: I6d9c9a635d82840f49fd3d9ed3736f91c4b6f88d

6 years agoMerge "Fix testrunner to cope with degenerate testlists" into pi-dev
Chris Forbes [Sat, 31 Mar 2018 03:24:10 +0000 (03:24 +0000)]
Merge "Fix testrunner to cope with degenerate testlists" into pi-dev
am: caee07cc07

Change-Id: I8f836cbdd0906879fd9657238beaa28ac4314117

6 years agoMerge "Fix testrunner to cope with degenerate testlists" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:13:28 +0000 (02:13 +0000)]
Merge "Fix testrunner to cope with degenerate testlists" into pi-dev

6 years agoAdd AHardwareBuffer external memory test for format/usage flags.
Khushal [Fri, 30 Mar 2018 22:30:19 +0000 (22:30 +0000)]
Add AHardwareBuffer external memory test for format/usage flags.
am: 520590eafa

Change-Id: I627521daeecf4171a906deb58c0a5a6a660d6ad6

6 years agoFix testrunner to cope with degenerate testlists
Chris Forbes [Fri, 30 Mar 2018 20:21:20 +0000 (13:21 -0700)]
Fix testrunner to cope with degenerate testlists

When a testlist contained no tests (like master/gles31-master-risky
now does!), the host-side testrunner would explode trying to enumerate
test cases.

Change-Id: Icfd4cc952678dd9d2f21efc11d2221da6716ed9c
Test: cts-tradefed
Bug: b/77330743