platform/upstream/VK-GL-CTS.git
6 years ago[automerger skipped] RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_coun...
Ostrowski, Igor [Fri, 17 Aug 2018 02:14:14 +0000 (19:14 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count am: 43622dc64c  -s ours
am: 02ff39200d  -s ours

Change-Id: I25b552dd569b6a500379028e2b01e1c419010651

6 years agoVulkan AHB - fix incorrect structure definition am: 181b5cd80e
Tony Zlatinski [Fri, 17 Aug 2018 02:02:18 +0000 (19:02 -0700)]
Vulkan AHB - fix incorrect structure definition am: 181b5cd80e
am: c283b22ff1

Change-Id: I7740188a1a6eb8245b0c510ac46a04d45cd40bf8

6 years ago[automerger skipped] RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
Ostrowski, Igor [Fri, 17 Aug 2018 00:08:52 +0000 (17:08 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
am: 43622dc64c  -s ours

Change-Id: Ifad35fa0297f9099e3da124153c8200f168611f0

6 years agoVulkan AHB - fix incorrect structure definition
Tony Zlatinski [Fri, 17 Aug 2018 00:06:12 +0000 (17:06 -0700)]
Vulkan AHB - fix incorrect structure definition
am: 181b5cd80e

Change-Id: Ie3c769146a1dc5862067e5a61a194300a7825168

6 years agoRESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
Ostrowski, Igor [Fri, 9 Feb 2018 10:56:15 +0000 (11:56 +0100)]
RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count

This change add new tests for VK_KHR_draw_indirect_count
extension, and adds the extension to the whitelist.

New Tests:
dEQP-VK.draw.indirect_draw.*.indirect_draw_count.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_instanced.*

Note: for Android CTS backport, adjusted excluded test list to not impact
previously-passing implementations that don't care about this extension.

Affected tests:
dEQP-VK.api.info.device.extensions

Components: Vulkan, Framework
VK-GL-CTS issue: 1004
Bug: b/111786155

Change-Id: I3d53806eb1a45293a77b940d9c2fa540a6d83d50
(cherry picked from Khronos commit 7b47cd53c6656b866e7c3a3c0a590da85f3b2de1)

6 years agoVulkan AHB - fix incorrect structure definition
Tony Zlatinski [Thu, 16 Aug 2018 13:17:28 +0000 (08:17 -0500)]
Vulkan AHB - fix incorrect structure definition

Fix a missing VkComponentMapping field of the VkAndroidHardwareBufferFormatPropertiesANDROID
structure. This is causing incorrect values to be populated to the
structure, as well as, a stack overwrite of other stack-located locals.

Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r8g8b8a8_unorm
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r5g6b5_unorm_pack16
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r16g16b16a16_sfloat
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.a2b10g10r10_unorm_pack32

Components: Vulkan
VK-GL-CTS issue: 1305
VK-GL-CTS issue: 1316
Bug: b/112705952

Change-Id: I81eb1cc605912bf0adebe67b65d7ccdd31236ec9
(cherry picked from Khronos commit 0116a17ddb4eb4f25624698bc0ba1c68e51a6950)

6 years agoMerge "Revert "Convert external/deqp/android/cts to Android.bp""
Colin Cross [Thu, 16 Aug 2018 00:19:06 +0000 (17:19 -0700)]
Merge "Revert "Convert external/deqp/android/cts to Android.bp""
am: 025acc936b

Change-Id: I3ef79e3012d05f2db6b6b6ea8a89d47187e6ac78

6 years agoMerge "Revert "Convert external/deqp/android/cts to Android.bp""
Treehugger Robot [Wed, 15 Aug 2018 23:48:33 +0000 (23:48 +0000)]
Merge "Revert "Convert external/deqp/android/cts to Android.bp""

6 years agoRevert "Convert external/deqp/android/cts to Android.bp"
Colin Cross [Wed, 15 Aug 2018 21:55:29 +0000 (21:55 +0000)]
Revert "Convert external/deqp/android/cts to Android.bp"

This reverts commit e674df42dddcba06641861912154be98a7937884.

Reason for revert: broke tradefed/general_tests_zip
Bug: 112654980

Change-Id: I251b5e2372cb9c7c12e87ce94c07222a97500406

6 years agoMerge "Fix build for surfaceless target"
Chris Forbes [Wed, 15 Aug 2018 15:59:27 +0000 (08:59 -0700)]
Merge "Fix build for surfaceless target"
am: 467f04a332

Change-Id: Ida64139209722b8278ca01f8f045f211677cac50

6 years agoMerge "Fix build for surfaceless target"
Chris Forbes [Wed, 15 Aug 2018 14:49:36 +0000 (14:49 +0000)]
Merge "Fix build for surfaceless target"

6 years agoMerge "Convert external/deqp/android/cts to Android.bp"
Colin Cross [Wed, 15 Aug 2018 02:37:20 +0000 (19:37 -0700)]
Merge "Convert external/deqp/android/cts to Android.bp"
am: e3e15e80e0

Change-Id: I1c6d1e4941e68576f71f71ca6ec417281c79f6e4

6 years agoMerge "Convert external/deqp/android/cts to Android.bp"
Colin Cross [Wed, 15 Aug 2018 01:51:16 +0000 (01:51 +0000)]
Merge "Convert external/deqp/android/cts to Android.bp"

6 years agoFix build for surfaceless target
Chris Forbes [Tue, 14 Aug 2018 23:23:12 +0000 (16:23 -0700)]
Fix build for surfaceless target

Bug: crbug/873651
Change-Id: I80b88bd6022edbe7936c17e11d1f3f79d8b9500d
Components: Framework

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD am: d502cf9784...
Chris Forbes [Mon, 13 Aug 2018 23:50:40 +0000 (16:50 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD am: d502cf9784 am: c4a6a1e68a
am: 8ad762906b

Change-Id: I63b4463f99fa95a3233343663a5c3b9403550597

6 years agoRemove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass am: aa99687ef4
Chris Forbes [Mon, 13 Aug 2018 23:49:46 +0000 (16:49 -0700)]
Remove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass am: aa99687ef4
am: 3cb841dcf3

Change-Id: I512f89ded6d606227c83ab2b49e837c3d9c27747

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD am: d502cf9784
Chris Forbes [Mon, 13 Aug 2018 23:35:16 +0000 (16:35 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD am: d502cf9784
am: c4a6a1e68a

Change-Id: I2bd6a3d3adf162ae02fceea8dcde436c66cc5c0f

6 years agoRemove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass
Chris Forbes [Mon, 13 Aug 2018 23:34:34 +0000 (16:34 -0700)]
Remove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass
am: aa99687ef4

Change-Id: If404960e299db089d05906c49b8529729be25df8

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
Chris Forbes [Mon, 13 Aug 2018 23:26:24 +0000 (16:26 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
am: d502cf9784

Change-Id: I070ab06a20d335f4fdb8286d51c64da2cb61836c

6 years agoRemove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass
Chris Forbes [Mon, 13 Aug 2018 17:56:45 +0000 (10:56 -0700)]
Remove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass

Bug: b/112540895
Change-Id: I3813d59ecdf99125d1a1ac76a5f8f1d05085df61

6 years agoConvert external/deqp/android/cts to Android.bp
Colin Cross [Fri, 10 Aug 2018 22:48:08 +0000 (15:48 -0700)]
Convert external/deqp/android/cts to Android.bp

See build/soong/README.md for more information.

Test: external/deqp/android/cts/runner/tests/run_tests.sh
Test: cts-tradefed run commandAndExit cts -m CtsDeqpTestCases
Change-Id: I0ac2ff5cc91c18ff27e26b1827c6f6eb1598ae7b

6 years agoMerge pie-cts-dev into master. am: 7a78102df1
Xin Li [Thu, 9 Aug 2018 00:20:44 +0000 (17:20 -0700)]
Merge pie-cts-dev into master. am: 7a78102df1
am: d0997637e8

Change-Id: I75db96840e06d32081b3594982fc9e30bf8fe7f5

6 years agoMerge pie-cts-dev into master.
Xin Li [Thu, 9 Aug 2018 00:00:06 +0000 (17:00 -0700)]
Merge pie-cts-dev into master.
am: 7a78102df1

Change-Id: If556ef3962debbccf928f22cab27695ef09bb2e5

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
Chris Forbes [Wed, 8 Aug 2018 19:12:17 +0000 (12:12 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD

Change-Id: I60f5de1ad1f48484ffbc786f062075be6db85840

6 years agoMerge pie-cts-dev into master.
Xin Li [Wed, 8 Aug 2018 18:43:04 +0000 (11:43 -0700)]
Merge pie-cts-dev into master.

Bug: 112051819
Change-Id: Ide79ad146b80a923cfd00ec1e526b8b389e54b29

6 years agoMerge Android Pie into master am: f12b77f7fa
Xin Li [Wed, 8 Aug 2018 00:05:39 +0000 (17:05 -0700)]
Merge Android Pie into master am: f12b77f7fa
am: 9b15ede5be

Change-Id: Id77c337541b5b3bb6ecee73af33c17f240081a4e

6 years agoMerge Android Pie into master
Xin Li [Tue, 7 Aug 2018 20:27:45 +0000 (13:27 -0700)]
Merge Android Pie into master
am: f12b77f7fa

Change-Id: I388de5064839d9efad590f0e1deed662ea202dd0

6 years agoMerge Android Pie into master
Xin Li [Mon, 6 Aug 2018 23:50:22 +0000 (16:50 -0700)]
Merge Android Pie into master

Bug: 112104996
Change-Id: I573d3264a618044472c238f9b530cfd9f76ba791

6 years agoInvalidate memory in draw tests
Alexander Galazin [Tue, 3 Oct 2017 19:29:50 +0000 (21:29 +0200)]
Invalidate memory in draw tests

The test group writes to non-coherent device memory with device,
but fails to call the required invalidate on the region before
reading mapped memory with host.

Components: Vulkan

VK-GL-CTS issue: 529

Affects: dEQP-VK.draw.*

Change-Id: Icf4aa6ea80c8c046e41b37402457b7f094d7ae50
(cherry picked from commit 1ce6e233a6245a1cf81a2a4e88b87c5d381a119a)

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into stage-aosp-pi-cts-dev
Chris Forbes [Wed, 25 Jul 2018 21:07:54 +0000 (14:07 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into stage-aosp-pi-cts-dev

Bug: b/111845139
Change-Id: I7cc4f644cfc54904213b959338b80f990f034351

6 years agoBackport post-P AHardwareBuffer changes from Khronos CTS
Chris Forbes [Thu, 19 Jul 2018 23:47:11 +0000 (16:47 -0700)]
Backport post-P AHardwareBuffer changes from Khronos CTS

This includes all the changes approved by Khronos to these tests between
the time we initially landed them for P CTS, and the upstream changes
being accepted.

Bug: b/75981905, b/109927547
Change-Id: I23550489a55af36089451384f75f62ae54f99c27

6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
Xin Li [Fri, 20 Jul 2018 06:23:37 +0000 (23:23 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
am: 49dc66d971

Change-Id: Ief923dd2f8e02c97473381bc886f5bee9d9ff0d4

6 years agoMerge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
Xin Li [Thu, 19 Jul 2018 20:50:07 +0000 (13:50 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master

Bug: 111615259
Change-Id: I87d2bd40f7e70f8e88af237d5814dc517b9cb00c

6 years agoAllow two images worth of alignment slop in protected heap
Chris Forbes [Mon, 11 Jun 2018 22:50:16 +0000 (15:50 -0700)]
Allow two images worth of alignment slop in protected heap

We previously backed off by one image worth, but it's not enough in some
cases.

Components: Vulkan
VK-GL-CTS: 1262
Bug: b/109757443
Test: dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create#min_image_count
Change-Id: I01b3a72986e9f35b4ec15a146e4dc576758c02ce
(cherry picked from Android commit 0fd6d1afa4d00ffd3da1d2d1898f32d4e879209d)

6 years agoProtected memory image access tests not flushing staging buffer
Stephen Gallimore [Thu, 5 Jul 2018 13:40:13 +0000 (14:40 +0100)]
Protected memory image access tests not flushing staging buffer

Affected tests:
dEQP-VK.protected_memory.image.access.*

Components: Vulkan

VK-GL-CTS issue: 1264

Change-Id: I30a6e3b0118b6874b9bfdf625aadec9c0fe54710

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am...
Chris Forbes [Fri, 13 Jul 2018 04:38:15 +0000 (21:38 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: f76e580fa8 am: e98bb687e8
am: 94319eb2a1

Change-Id: I94c91520c6f728834d161a35122aa8d98dfae429

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am...
Chris Forbes [Fri, 13 Jul 2018 04:36:57 +0000 (21:36 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: f76e580fa8 am: 3dbe2392e0
am: 5deca7d16a

Change-Id: I09d4b83db7d2efea31d1ed14601d52970a4bb13d

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am...
Chris Forbes [Fri, 13 Jul 2018 04:30:02 +0000 (21:30 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: f76e580fa8 am: 4f5c080667
am: 8513fc09e5

Change-Id: I39550e531966b7b36f50007818a42096d45e1817

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am...
Chris Forbes [Fri, 13 Jul 2018 04:10:06 +0000 (21:10 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: f76e580fa8
am: e98bb687e8

Change-Id: I78953a8c073b0dd51f44a949b0ebd7878c2fdc26

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am...
Chris Forbes [Fri, 13 Jul 2018 03:57:21 +0000 (20:57 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: f76e580fa8
am: 3dbe2392e0

Change-Id: Id3ef31723825f737b0ef1cf8ffc2bf5119196700

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am...
Chris Forbes [Fri, 13 Jul 2018 03:49:15 +0000 (20:49 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: f76e580fa8
am: 4f5c080667

Change-Id: I4a0d60762e86b10431aa99861a5f711765ec4a3c

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
Chris Forbes [Fri, 13 Jul 2018 02:11:26 +0000 (19:11 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
am: f76e580fa8

Change-Id: Ieb0eae5a1356d251a38221b7a6b28e16db01fa96

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
Chris Forbes [Fri, 13 Jul 2018 02:09:22 +0000 (19:09 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
am: f76e580fa8

Change-Id: I3d6f0a34c3655ac0992c10441c39dc7e35b23df4

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
Chris Forbes [Fri, 13 Jul 2018 01:59:16 +0000 (18:59 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
am: f76e580fa8

Change-Id: Ia91eb9f08334aa37a565a37bd835d7451d90650a

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
Chris Forbes [Tue, 10 Jul 2018 01:01:37 +0000 (18:01 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev

Change-Id: I84e14849790aee60eacb6b1cff5cbaeb8059848d
Bug: b/111319193

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Chris Forbes [Tue, 10 Jul 2018 20:33:49 +0000 (13:33 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
am: 6e9239c7ad

Change-Id: Ia77474e9bfeea7c8f878eb50c2af58a10a577090

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Chris Forbes [Mon, 9 Jul 2018 22:46:34 +0000 (15:46 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD

Change-Id: Ib606d7514da21014bfd9e699633512c7b8062ad0
Bug: b/111276114

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Chris Forbes [Mon, 9 Jul 2018 21:20:32 +0000 (14:20 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
am: 947ee3c60c

Change-Id: Ia78a467b59a539f6adc447aa5e59f6c018c0a329

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Sun, 8 Jul 2018 16:11:07 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: Ie88a7283bd969891282983a549c6d18901a9ee7b

6 years agogl_PrimitiveIDIn tests have sketchy loop bounds.
Marcin Rogucki [Wed, 25 Oct 2017 11:33:44 +0000 (13:33 +0200)]
gl_PrimitiveIDIn tests have sketchy loop bounds.

Components: Vulkan

VK-GL-CTS issue: 778

Updates:
dEQP-VK.geometry.basic.primitive_id_in
dEQP-VK.geometry.basic.primitive_id_in_restarted

Change-Id: Icd2be56814de18067ce058a5f2a1da80338f80d6
(cherry picked from commit 52b7de31e0bccf62ca28d820f4dc2d0d52793aa8)

6 years agoDrop linear filter requirement from YCbCr tests
Jarred Davies [Thu, 5 Apr 2018 09:51:23 +0000 (10:51 +0100)]
Drop linear filter requirement from YCbCr tests

Remove requirement for YCbCr base formats to support
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT from
format_properties tests.

The standard does not require support for this feature
from any YCbCr format.

Affects:

dEQP-VK.api.info.format_properties.g8_b8_r8_3plane_420_unorm
dEQP-VK.api.info.format_properties.g8_b8r8_2plane_420_unorm

Components: Vulkan

VK-GL-CTS issue: 1090

Change-Id: I6fa1c6c7a7f9768c2001972ae1f04173310aa652
(cherry picked from commit eab78dce0d08f4ec22cece6be8003f554ede5882)

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Chris Forbes [Fri, 6 Jul 2018 20:20:29 +0000 (13:20 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD

Change-Id: I2afae3b649256d7107c76e6039affc116eae2004
Bug: b/111211233

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Fri, 6 Jul 2018 20:06:52 +0000 (22:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I141a0abc53983443da9a5bb7c905538f1ddb4f22

6 years agoMerge vk-gl-cts/github-vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Fri, 6 Jul 2018 10:24:12 +0000 (12:24 +0200)]
Merge vk-gl-cts/github-vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I29544b2f3f6b7bee65ac6ac1339eb52176efe5a5

6 years agoFix build error introduced by the previous commit
Alexander Galazin [Fri, 6 Jul 2018 10:21:32 +0000 (12:21 +0200)]
Fix build error introduced by the previous commit

Components: Vulkan

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

Components: Vulkan
VK-GL-CTS: 1232

Change-Id: I5a440f97f79be0e6d37d89018ae8b611e9d4e7c1

6 years agoAllow two images worth of alignment slop in protected heap
Chris Forbes [Wed, 27 Jun 2018 02:08:56 +0000 (19:08 -0700)]
Allow two images worth of alignment slop in protected heap
am: 0fd6d1afa4

Change-Id: Icb9a902c9897ba043f7554be5b44483eaf06c44d

6 years agoMerge pull request #99 from AIOOB/patch-1
Alexander Galazin [Fri, 15 Jun 2018 13:03:53 +0000 (15:03 +0200)]
Merge pull request #99 from AIOOB/patch-1

Require extension for the deviceFeatures2 test

6 years agoFix protected memory buffer tests to do proper operation
Chris Forbes [Tue, 12 Jun 2018 18:03:59 +0000 (11:03 -0700)]
Fix protected memory buffer tests to do proper operation

Update and copy variants of these tests were doing the FILL operation
instead.

Change-Id: Iede9e71f50c1d2d5699b35ad9b86fc6237714977
Components: Vulkan
Affects: dEQP-VK.protected_memory.buffer.*
VK-GL-CTS: 1215
(cherry picked from commit 39fbe90f21cb24b46e1bbc2d49e75604453977c0)

6 years agoMemory binding tests not invaidating host memory before results check.
Stephen Gallimore [Tue, 12 Jun 2018 14:35:46 +0000 (15:35 +0100)]
Memory binding tests not invaidating host memory before results check.

Affected tests:
dEQP-VK.memory.binding.*.buffer_*

Components: Vulkan

VK-GL-CTS issue: 1214

Change-Id: Ib347401ee818a42487df001f3ba76247b157321c

6 years agoAllow two images worth of alignment slop in protected heap
Chris Forbes [Mon, 11 Jun 2018 22:50:16 +0000 (15:50 -0700)]
Allow two images worth of alignment slop in protected heap

Bug: b/109757443
Test: dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create#min_image_count
Change-Id: I01b3a72986e9f35b4ec15a146e4dc576758c02ce

6 years agoFix duplicate <uses-sdk> elements in com.drawelements.deqp am: be5b8ae675
Colin Cross [Sat, 9 Jun 2018 16:05:36 +0000 (09:05 -0700)]
Fix duplicate <uses-sdk> elements in com.drawelements.deqp am: be5b8ae675
am: a60e35a7c3

Change-Id: I1c182ec0da2ffeded40e588740fc4a8439a505f9

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 agoFix duplicate <uses-sdk> elements in com.drawelements.deqp
Colin Cross [Fri, 8 Jun 2018 23:51:49 +0000 (16:51 -0700)]
Fix duplicate <uses-sdk> elements in com.drawelements.deqp
am: be5b8ae675

Change-Id: I06f0e9e927af9f64077a31e404259cd837750591

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 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.*
VK-GL-CTS: 1198
Components: Vulkan

Change-Id: Ifba8940745c28a32ca631beb374394a5e3fe508b
(cherry picked from Android commit 51e0000bcde19cee3c0e4686c0a3caec121b3c42)

6 years agoFix duplicate <uses-sdk> elements in com.drawelements.deqp
Colin Cross [Thu, 7 Jun 2018 23:25:53 +0000 (16:25 -0700)]
Fix duplicate <uses-sdk> elements in com.drawelements.deqp

PackageManager is probably ignoring the first one.

Bug: 78447299
Test: m com.drawelements.deqp
Change-Id: Ifeaebbf1f4e8ada3c14c25d5f533f3444d2d9940

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 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
VK-GL-CTS: 1195
Affects: dEQP-VK.spirv_assembly.instruction.compute.*
(cherry picked from Android commit 20426c97899d621fba9bcbae9374ec5439beedd6)

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 agoFix dependencies in vulkan pipeline test
Joan Bonet Orantos [Tue, 22 May 2018 08:09:05 +0000 (10:09 +0200)]
Fix dependencies in vulkan pipeline test

The srcStageMask field in the subpass dependency was not strict
enough. This can cause that the incoming subpasses, that try to copy
samples from this subpass, may try to read content that may not be
 written yet.

Affects:

dEQP-VK.pipeline.multisample.min_sample_shading.min_*

Components: Vulkan

VK-GL-CTS issue: 1185

Change-Id: Ide5e3d2a709e8fe26d23ada1d20bf2eb27beffd8

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

Change-Id: I6cc3bd25f7f22de8424f9e3375ade35fac26a884

6 years agoClear image layer 0 in memory commitment test
Graeme Leese [Thu, 26 Apr 2018 14:06:12 +0000 (15:06 +0100)]
Clear image layer 0 in memory commitment test

Components: Vulkan
Affected:   dEQP-VK.api.get_memory_commitment.memory_commitment
VK-GL-CTS issue: 1151

Change-Id: I95676f18f91470248ac19270778b897626a31f2c

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