platform/upstream/VK-GL-CTS.git
5 years agoFix stray whitespace in external memory tests
Chris Forbes [Tue, 4 Dec 2018 20:47:51 +0000 (12:47 -0800)]
Fix stray whitespace in external memory tests

Trivial, but causes check_build_sanity.py script to spuriously fail on
this branch.

Change-Id: I7eedbc2c4766ef4384a46c5c272ed4fcc693134c

5 years agoFix dEQP-GLES3.functional.fbo.multiview.*
Fei Yang [Mon, 2 Jul 2018 08:48:40 +0000 (16:48 +0800)]
Fix dEQP-GLES3.functional.fbo.multiview.*

When the width of render target is an odd value, these tests failed.

The reason is these tests set default sample parameters and sample from
a 512x512 surface, where the left/right views have different colors.
When the width of render target is an odd value, the color of central
line is undefined.

As these tests' purpose is mainly want to verify whether the left/right
views have the different color, but not exactly care what the central
line is, a simple solution is just skip the check of central line.

Components: OpenGL

VK-GL-CTS issue: 1256

Affects: dEQP-GLES3.functional.fbo.multiview.*

Change-Id: I62c86dc7269864a3919b11a331178bfc54d65ab0
(cherry picked from commit fb74c54eb8ab5776fc2cd2c6d0eff422a344ec78)
Bug: b/120491519

5 years ago[RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into...
Chris Forbes [Tue, 27 Nov 2018 18:29:29 +0000 (10:29 -0800)]
[RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev

Change-Id: If337e0676109d1bca175248be08f3683dd20afc9
Bug: b/120081756
Bug: b/116847904

5 years agoFix pointer storage class for spirv_assembly tessellation tests.
Jeff Bolz [Tue, 20 Nov 2018 16:00:45 +0000 (10:00 -0600)]
Fix pointer storage class for spirv_assembly tessellation tests.

This was a new validation rule in
https://github.com/KhronosGroup/SPIRV-Tools/commit/d7cd1203a42b850e38a42e3606b22f810f671a90.

Errors look like:

Validation FAILED: From SPIR-V spec, section 3.32.8 on OpVariable:
Its Storage Class operand must be the same as the Storage Class operand of the result type.
  %gl_PrimitiveID = OpVariable %_ptr_Output_int Input

Also update to latest spirv-tools.

Components: Vulkan
Affects: dEQP-VK.spirv_assembly.*
Change-Id: I14a10b936da36ddc572551b1bf5fc3c837a79fb8

5 years ago[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am...
rie kanazawa [Wed, 21 Nov 2018 19:29:45 +0000 (11:29 -0800)]
[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am: 7d112535f4  -s ours am: 67fddf713c  -s ours am: e31f01c1e2  -s ours am: 2510d0d22d  -s ours am: 151cae7dfb  -s ours
am: 6bb25b4e2a  -s ours

Change-Id: I276fc018922f87d1dce48fd405b65c43294554cb

5 years ago[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am...
rie kanazawa [Wed, 21 Nov 2018 19:19:19 +0000 (11:19 -0800)]
[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am: 7d112535f4  -s ours am: 67fddf713c  -s ours am: e31f01c1e2  -s ours am: 2510d0d22d  -s ours
am: 151cae7dfb  -s ours

Change-Id: I9e4e516939407b1913cee168032d44b28ca766de

5 years ago[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am...
rie kanazawa [Wed, 21 Nov 2018 19:14:16 +0000 (11:14 -0800)]
[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am: 7d112535f4  -s ours am: 67fddf713c  -s ours am: e31f01c1e2  -s ours
am: 2510d0d22d  -s ours

Change-Id: Ieb354df86d75ab4cbbf657d2c73bf296dc98084c

5 years ago[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am...
rie kanazawa [Wed, 21 Nov 2018 19:09:11 +0000 (11:09 -0800)]
[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am: 7d112535f4  -s ours am: 67fddf713c  -s ours
am: e31f01c1e2  -s ours

Change-Id: Iefca908d69c5bd402494b1d7a97adac5074a8f1d

5 years ago[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am...
rie kanazawa [Wed, 21 Nov 2018 19:05:09 +0000 (11:05 -0800)]
[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1 am: 7d112535f4  -s ours
am: 67fddf713c  -s ours

Change-Id: I0c2837dcf5546e5f04bf7f5f9014422944aa443a

5 years ago[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1
rie kanazawa [Wed, 21 Nov 2018 19:00:06 +0000 (11:00 -0800)]
[automerger skipped] DO NOT MERGE: Make the tests permissive for Lollipop MR1
am: 7d112535f4  -s ours

Change-Id: Ice9443c7c783c7d047a0cb43cf8a51344ee4d414

5 years ago[automerger skipped] Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpas...
Chad Versace [Mon, 19 Nov 2018 02:41:35 +0000 (18:41 -0800)]
[automerger skipped] Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass am: af28fc7cd4 am: f534ecf88b  -s ours am: 835d2b641a
am: f218ba9a91

Change-Id: Ib65d14b6ddbf210d58dbab5977c9798b3e19cf11

5 years ago[automerger skipped] Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpas...
Chad Versace [Mon, 19 Nov 2018 02:35:31 +0000 (18:35 -0800)]
[automerger skipped] Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass am: af28fc7cd4 am: f534ecf88b  -s ours
am: 835d2b641a

Change-Id: Ib5e99b3c0a5a732e0d28e8745f13cf23ad348811

5 years ago[automerger skipped] Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpas...
Chad Versace [Mon, 19 Nov 2018 02:30:15 +0000 (18:30 -0800)]
[automerger skipped] Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass am: af28fc7cd4
am: f534ecf88b  -s ours

Change-Id: I87173be738c4f6b989b95cf526bd4ae3f70fe632

5 years agoDO NOT MERGE: Make the tests permissive for Lollipop MR1
rie kanazawa [Fri, 9 Nov 2018 02:07:43 +0000 (11:07 +0900)]
DO NOT MERGE: Make the tests permissive for Lollipop MR1

dEQP-GLES3.functional.dither.disabled#gradient_white
dEQP-GLES3.functional.dither.disabled#gradient_red
dEQP-GLES3.functional.dither.disabled#gradient_green
dEQP-GLES3.functional.dither.disabled#gradient_blue
dEQP-GLES3.functional.dither.disabled#gradient_alpha

Bug:117302647

Test: Build CTS
Test: run cts --plan CTS-DEQP --disable-reboot

https://android.googlesource.com/platform/external/deqp/+/8c44b09211d253dfc09bc8b7dfbc1f60c277d9f6%5E%21/#F0
modules/gles2/functional/es2fDitheringTests.cpp
modules/gles3/functional/es3fDitheringTests.cpp
Bug: 23219552
+
https://android.googlesource.com/platform/external/deqp/+/085b52b2cda2eb522aa80f207d814dfc96bac84b%5E%21/#F0
Bug: 37477346

Change-Id: I013c970e84e764ce9ac49f1ecc7620369162388c
Signed-off-by: rie kanazawa <rie.kanazawa.sd@kyocera.jp>
5 years agoMerge "Fixes AHB image tests feature check" into pie-cts-dev
Treehugger Robot [Tue, 13 Nov 2018 17:54:25 +0000 (17:54 +0000)]
Merge "Fixes AHB image tests feature check" into pie-cts-dev

5 years agoAdd watchdog touches to dEQP-VK.api.descriptor_pool#repeated_reset_long
Pierre Couillaud [Wed, 31 Oct 2018 11:57:40 +0000 (04:57 -0700)]
Add watchdog touches to dEQP-VK.api.descriptor_pool#repeated_reset_long

On some low-end devices, this test would hit the dEQP watchdog. Add some
watchdog touches to avoid this.

Google Bug: b/116847904
Component: Vulkan
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
VK-GL-CTS Issue: 1464

Change-Id: I18181aa274ab1dc191b5f0acbb58b41465b5cdad

5 years ago[automerger skipped] RESTRICT AUTOMERGE: Remove accidentally introduced tests from...
Chris Forbes [Fri, 9 Nov 2018 17:21:36 +0000 (09:21 -0800)]
[automerger skipped] RESTRICT AUTOMERGE: Remove accidentally introduced tests from mustpass
am: a7471afa4b  -s ours

Change-Id: I4e22b26921b16eb10bd9ad11beb78dd9bad1c56f

5 years agoFixes AHB image tests feature check
rie kanazawa [Fri, 9 Nov 2018 01:28:32 +0000 (10:28 +0900)]
Fixes AHB image tests feature check

Test now checks for protected feature
before adding protected flag to test set.

Components: Vulkan
VK-GL-CTS issue: 1396

Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.*

https://android.googlesource.com/platform/external/deqp/+/7a014a8de760c111e14ad21c851acadc27358562%5E%21/#F0

Change-Id: I050ef6501bad37b8169a333040c937ac1ce49eb3
Signed-off-by: rie kanazawa <rie.kanazawa.sd@kyocera.jp>
5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev
Chris Forbes [Thu, 8 Nov 2018 16:21:59 +0000 (08:21 -0800)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev

Regular merge, including upstream fix for b/118452882

Bug: b/118452882
Change-Id: I966a995914bfa905814ce653857c27335e825624

5 years agoFix swapchain creation in dEQP-VK.wsi.*.swapchain.*
Chad Versace [Mon, 15 Oct 2018 19:45:46 +0000 (12:45 -0700)]
Fix swapchain creation in dEQP-VK.wsi.*.swapchain.*

In the Vulkan 1.1.87 spec release, the release fixed a bug in
VkSwapchainCreateInfoKHR by adding the following VU:

    * imageFormat, imageUsage, imageExtent, and imageArrayLayers must be
      supported for VK_IMAGE_TYPE_2D VK_IMAGE_TILING_OPTIMAL images as
      reported by vkGetPhysicalDeviceImageFormatProperties.

Jesse Hall authored the fix in response to behavior discovered by Chad
Versace while debugging failures in dEQP-VK.wsi.android.swapchain.* on
Intel Chrome OS devices.  This patch fixes the failing tests to comply
with the spec bugfix.

Components: Vulkan
VK-GL-CTS Issue: 1395
Affects: dEQP-VK.wsi.*.swapchain.*
See-Also: https://gitlab.khronos.org/vulkan/vulkan/issues/1029
Change-Id: I959774833d03b63eb6e23fbd3a7ff33378b44110
(cherry picked from commit 49eab80e4a8b3af1790b9ac88b096aa9bffd193f)

5 years agoRESTRICT AUTOMERGE: Remove accidentally introduced tests from mustpass
Chris Forbes [Wed, 7 Nov 2018 22:27:40 +0000 (14:27 -0800)]
RESTRICT AUTOMERGE: Remove accidentally introduced tests from mustpass

Upstream change to fix these tests only altered the Khronos mustpass
files; I missed the corresponding Android CTS change. Exclude the tests
now.

Change-Id: If3a49291330b0021559e2a9efc54b74b1f3c2af1
Components: AOSP mustpass
Bug: b/118828237

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 1 Nov 2018 09:53:29 +0000 (10:53 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I587d40c09a99e93dd4cccf359ceba1dbf9ff47a9

5 years agoCorrect vertex input tests on null driver
Piotr Byszewski [Thu, 25 Oct 2018 14:50:20 +0000 (16:50 +0200)]
Correct vertex input tests on null driver

On Null driver all features are enabled and this triggered execution
of tests for 128 vertex attributes that are not commonly supported.
Tests allocate buffer for verification which is not big enough for
128 attributes. This causes memory corruption and crash.
This change resolves those issues.

Components: Vulkan

VK-GL-CTS issue: 1443

Affects:
dEQP-VK.pipeline.vertex_input.*

Change-Id: I9a89cc62fdd34f9da40ebf9d84e6cf5b5aed07d5

5 years agoCorrect image properties tests on Null driver
Piotr Byszewski [Tue, 23 Oct 2018 09:42:49 +0000 (11:42 +0200)]
Correct image properties tests on Null driver

On Null driver all features are enabled and this trigered some issues
with YCBCR format in image_format_properties tests. This change
resolves those issues.

VK-GL-CTS issue: 1438

Components: Vulkan

Change-Id: I3d1707438909ae4f5e828092a97a6380b615beca
Affects: dEQP-VK.api.info.image_format_properties.*

5 years ago[automerger skipped] Merge "DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent...
Chad Versace [Tue, 30 Oct 2018 21:56:13 +0000 (14:56 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass" into oreo-cts-dev am: 6ce6b470e8  -s ours
am: b052cc76eb  -s ours

Change-Id: Ie1f6a56414bb43e3f4c5b984bd4d872c95fda0f8

5 years ago[automerger skipped] Merge "DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent...
Chad Versace [Tue, 30 Oct 2018 21:47:33 +0000 (14:47 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass" into oreo-cts-dev
am: 6ce6b470e8  -s ours

Change-Id: I900438ef0c942d45cdf2daeb23dfc7f41819b54b

5 years agoMerge "DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpas...
Treehugger Robot [Tue, 30 Oct 2018 21:36:20 +0000 (21:36 +0000)]
Merge "DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass" into oreo-cts-dev

5 years agoDO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass
Chad Versace [Wed, 3 Oct 2018 16:49:01 +0000 (09:49 -0700)]
DO NOT MERGE: Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass

The 'coherent' and 'volatile' tests fail on some drivers due to glslang
issues. Fixed by commit 8e6e8fd31fe4c4f162db07c632da345c0e17cc7d, which
updates glslang in external/fetch_sources.py.

Bug: 113541746
See-Also: https://b.corp.google.com/issues/113541746#comment17
Change-Id: I9c9e8bb08d5e23769c6ad36def6356f06d8ba382

5 years ago[automerger skipped] RESTRICT AUTOMERGE: Relax composite-to-present latency requireme...
Chris Forbes [Fri, 26 Oct 2018 21:51:34 +0000 (14:51 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Relax composite-to-present latency requirement am: 2b6581ff37  -s ours
am: ab1d7892bc  -s ours

Change-Id: I0ff93a883aa47511d94e67dc10db54899e1a1951

5 years ago[automerger skipped] RESTRICT AUTOMERGE: Relax composite-to-present latency requirement
Chris Forbes [Fri, 26 Oct 2018 21:48:24 +0000 (14:48 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Relax composite-to-present latency requirement
am: 2b6581ff37  -s ours

Change-Id: I67b1715bd1c85f8ab2199a5e9e4fba67693279fd

5 years agoRESTRICT AUTOMERGE: Relax composite-to-present latency requirement
Chris Forbes [Fri, 26 Oct 2018 18:45:08 +0000 (11:45 -0700)]
RESTRICT AUTOMERGE: Relax composite-to-present latency requirement

Some very low end devices can't reliably do this. Relax in 8.0 CTS; will
keep the 3-frame requirement for 8.1 CTS and later.

Bug: b/70334851
Change-Id: I330b8a48af95e4d76cb5f7d06cacc458649dba25

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 25 Oct 2018 13:52:47 +0000 (15:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: Ic87368f606cb8ec126d42ec9f72b1baffcdcf950

5 years agoFix incomplete VkImageSubresourceRange
Noah Fredriks [Wed, 11 Jul 2018 21:56:05 +0000 (17:56 -0400)]
Fix incomplete VkImageSubresourceRange

Pipeline image barrier arraySize doesn't include the entire image.

Affects: dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array*

Components: Vulkan

VK-GL-CTS Issue: 910

Change-Id: I9974c9390478cf70f2238e03a7180fc81166f84e

5 years agoFix spelling on NotSupported error message
Slawomir Cygan [Mon, 22 Oct 2018 11:12:16 +0000 (13:12 +0200)]
Fix spelling on NotSupported error message

Components: Vulkan

VK-GL-CTS Issue: 1433

Affects: dEQP-VK.api.info.device_group.peer_memory_features

Change-Id: I42e2d7a50d2f74d706e42f0f196ff76c8446fa1c

5 years agoCorrect copy_and_blit on Null driver
Piotr Byszewski [Thu, 18 Oct 2018 09:55:56 +0000 (11:55 +0200)]
Correct copy_and_blit on Null driver

On Null driver all features are enabled which leads copy_and_blit
tests to be executed for incompatible image formats. This change
detects that and fails the verification to prevent hiting assertions
in the framework.

VK-GL-CTS issue: 1427

Components: Vulkan

Affects:
dEQP-VK.api.copy_and_blit.*

Change-Id: I0d105c297f5548175580434cc2a12fa53b69339d

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
Chris Forbes [Mon, 15 Oct 2018 23:09:13 +0000 (16:09 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
am: d342579a4b

Change-Id: Id57cf5d3697bc52cd5d0fb78da17d430f8e0e62a

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
Chris Forbes [Fri, 12 Oct 2018 17:40:28 +0000 (10:40 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev

Change-Id: Ib59c5ae7ad294e29d1289ced4e5784ab7ee7262a
Bug: b/117653703

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev
Chris Forbes [Fri, 12 Oct 2018 17:32:58 +0000 (10:32 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev

Change-Id: Ic0ea3a0d6d4214309aee4711ec466ea33263f3a3
Bug: b/117652567

5 years agoDon't exhaust 32-bit host visible address space
Noah Fredriks [Wed, 11 Jul 2018 21:47:02 +0000 (17:47 -0400)]
Don't exhaust 32-bit host visible address space

If VkPhysicalDeviceGroupProperties::subsetAllocation is VK_FALSE, then
then devices in the device group will each consume memory. Adjust the
limit to account for this.

Affects: dEQP-VK.memory.allocation.basic.*

Components: Vulkan

VK-GL-CTS Issue: 1405

Change-Id: I0074c49855435dc3403b64ce85a180397c4ed955

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Fri, 5 Oct 2018 10:30:15 +0000 (12:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I24509b7943339682384362e4c839f66ca6a2d293

5 years agoDrop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass
Chad Versace [Thu, 4 Oct 2018 23:26:34 +0000 (16:26 -0700)]
Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass
am: af28fc7cd4

Change-Id: I00f620fecf4178739cd6a9f098d96821014720da

5 years agoDrop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass
Chad Versace [Wed, 3 Oct 2018 16:49:01 +0000 (09:49 -0700)]
Drop dEQP-VK.image.qualifiers.{coherent,volatile}.* from mustpass

The 'coherent' and 'volatile' tests fail on some drivers due to glslang
issues. Fixed by commit 8e6e8fd31fe4c4f162db07c632da345c0e17cc7d, which
updates glslang in external/fetch_sources.py.

Bug: 113541746
See-Also: https://b.corp.google.com/issues/113541746#comment17
Change-Id: I85e8468763970673c0fa6750f46947d6ef6d211f

5 years agoRemove dEQP-EGL.functional.wide_color.*_8888_colorspace_p3 from P mustpass
Chris Forbes [Tue, 2 Oct 2018 16:57:08 +0000 (09:57 -0700)]
Remove dEQP-EGL.functional.wide_color.*_8888_colorspace_p3 from P mustpass

Bug: b/117152494
Change-Id: I2efbc9a52be073fa63179044ae8950aceff5eefd

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev
Chris Forbes [Tue, 2 Oct 2018 16:20:05 +0000 (09:20 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev

Change-Id: Ia3e6fc9380d6e20ff25e434b07756a19762c2aa3
Bug: b/117148475

5 years agoVK_KHR_incremental_present: Fix usage flags.
Bas Nieuwenhuizen [Mon, 1 Oct 2018 11:32:59 +0000 (13:32 +0200)]
VK_KHR_incremental_present: Fix usage flags.

Besides swapchain support we also need
vkGetPhysicalDeviceImageFormatProperties support. Use just the
needed flags instead. As COLOR_ATTACHMENT is required in
VK_KHR_surface, we don't need to check for it.

Affected tests:

dEQP-VK.wsi.*.incremental_present.*

Components: Vulkan
VK-GL-CTS issue: 1395

Change-Id: I4dd0f95da0a8f31c11efe7ce58f12cfbe160a71e

5 years agoFix timeout in dEQP-VK.wsi.android test
Peter Quayle [Fri, 28 Sep 2018 16:10:04 +0000 (17:10 +0100)]
Fix timeout in dEQP-VK.wsi.android test

Changes in Android P have causes the workload in
dEQP-VK.wsi.android.swapchain.simulate_oom.min_image_count
to increase significantly, leading to timeouts on some platforms.
This is worked around by simply touching the watchdog timer
between cases.

Affects:

dEQP-VK.wsi.android.swapchain.simulate_oom.min_image_count

Components: Vulkan

VK-GL-CTS issue: 1383

Change-Id: If5da804796f85acd3c2b9709a5463951609168dc

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev
Chris Forbes [Tue, 25 Sep 2018 20:20:19 +0000 (13:20 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev

Change-Id: Iabe42226d4971e28fe10fb58c79fb21bb020094d
Bug: b/116248353
Bug: b/116439954

5 years agoReduces percentage of heap used in memory tests
Matthew Netsch [Wed, 5 Sep 2018 18:36:31 +0000 (14:36 -0400)]
Reduces percentage of heap used in memory tests

Heaps can be shared and even fragmented on real systems.
The current percentage of 50% is a little high to reasonably
account for these issues.

Components: Vulkan
VK-GL-CTS issue: 1342

Affects:
dEQP-VK.memory.device_group_allocation.random*

Change-Id: I9a9c7fff05a663facd142a61a505c38925912ed8
(cherry picked from commit 1dab6c690815c1640b7726e05211ec3ab244f935)

5 years agoFix pipeline barrier issues in protected memory tests
John Anthony [Wed, 19 Sep 2018 14:44:43 +0000 (16:44 +0200)]
Fix pipeline barrier issues in protected memory tests

Set correct stage mask for pipeline barriers, and remove pipeline
barriers that are not needed.

Components: Vulkan

VK-GL-CTS issue: 1373

Affects:
dEQP-VK.protected_memory.buffer.*
dEQP-VK.protected_memory.attachment.*

Change-Id: I6dae7ad02c66649281a35465939437a5fb26dd0e

5 years agoFixes WSI protected swapchain allocation tests
Matthew Netsch [Fri, 7 Sep 2018 17:44:55 +0000 (13:44 -0400)]
Fixes WSI protected swapchain allocation tests

Will now throw not supported if swapchain config
cannot fit in the available heap space.

Changes available heap space to fixed 25% of total
reported heap size instead of the current
"total - 2 * imageSize"

Components: Vulkan
VK-GL-CTS issue: 1345

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

Change-Id: I6854ae29b4394d450e47cc78bfb905362a964ec4
(cherry picked from commit f679b545b3b5f06bfb84069a4c712e3988204326)

5 years ago2Darray compatible flag not allowed for 2D images
Marcin Kantoch [Wed, 19 Sep 2018 09:18:16 +0000 (11:18 +0200)]
2Darray compatible flag not allowed for 2D images

Fix for dEQP-VK.api.external.memory.*.image.info tests
incorrectly set create flag VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT
for 2D images

Components: Vulkan

Affects:
dEQP-VK.api.external.memory.*.image.info

VK-GL-CTS issue: 1362

Change-Id: I6863fc30177979b913c9e0d4b5814cb857764e27

5 years agoConsider rounding mode differences in mipmap tests
Tony Wasserka [Tue, 3 Apr 2018 14:40:21 +0000 (15:40 +0100)]
Consider rounding mode differences in mipmap tests

The tests already tolerate a threshold for rounding mode differences
for the result of a downscaling vkCmdBlitImage, however the accumulated
difference between Round-To-Nearest and Round-To-Zero may exceed the
current threshold. With this change, the expected result is generated
from the preceding device-rendered mipmap instead, so any legitimate
error will always be within the threshold now.

Affects:

dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.generate_mipmaps.*_linear

Components: Vulkan

VK-GL-CTS issue: 1106

Change-Id: I0999419320d1b2384f42fbc8eddda29e79147bd4
(cherry picked from commit b861ca1e6d4c002d4359a71dbff1cdf898e79aca)

5 years agoFix copy/paste errors in opundef assembly tests
Daniel Koch [Thu, 16 Aug 2018 02:55:06 +0000 (22:55 -0400)]
Fix copy/paste errors in opundef assembly tests

The tests were using %is_nan_0 repeatedly instead of %is_nan_<i>

Affects: dEQP-VK.spirv_assembly.instruction.graphics.opundef.*
(likely only the vec4float32 and matrix subsets)
Component: Vulkan
VK-GL-CTS: 1315
Bug: b/115746164

Change-Id: I2bed6e94f6867c424c5102ef3eeab8ac32021dcd
(cherry picked from commit a46089154137e0939c02bdcabc74f5daa303ffb2)

5 years agoFixes geometry shader invocation dependency
Matthew Netsch [Wed, 8 Aug 2018 20:52:35 +0000 (16:52 -0400)]
Fixes geometry shader invocation dependency

dEQP-VK.tessellation.invariance.* updates a SSBO
expecting the implementation to execute the GS
once per primitive. Changes the test to allow
multiple invocations.

Components: Vulkan
VK-GL-CTS Issue: 1281

Affects:
dEQP-VK.tessellation.invariance.*
Bug: b/115698932

Change-Id: I6ed17a8afb413587bb38487ec9952f569a250193

5 years agoFix RobustnessVertexAccessInstance bounds check
Liam Middlebrook [Tue, 11 Sep 2018 05:42:26 +0000 (22:42 -0700)]
Fix RobustnessVertexAccessInstance bounds check

The bounds check preformed by
VertexAccessInstance::isValueWithinVertexBufferOrZero() needs to round
the value rather than truncating it when encoding it. When
`value * 0x3FFu` is casted to a deUint32 it's possible for the result to
be truncated instead of rounded causing unintended test failures.

Affects: dEQP-VK.robustness.vertex_access.a2b10g10r10_unorm_pack32.draw.vertex_incomplete

Components: Vulkan

VK-GL-CTS issue: 1351

Change-Id: Ib034b3e29fdbbbd4670e2bbdedad07492abf5cd4
(cherry picked from commit fed61233a802b5a8e7f6e634d0ef698e9155a94c)

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Chris Forbes [Thu, 13 Sep 2018 15:09:18 +0000 (08:09 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD

Adjust excluded test list to suppress newly added tests from upstream
change.

Bug: b/113270678
Change-Id: I24f786f10c5d4fbf4ff0112d5fc162770ab8024f

5 years agoteglImageFormatTests: call glFinish after creating the buffer in the client API
Nicolai Hhnle [Wed, 12 Sep 2018 23:11:53 +0000 (16:11 -0700)]
teglImageFormatTests: call glFinish after creating the buffer in the client API
am: 84c981292b

Change-Id: I8aa77457a80755cc3bdad38930e5f63696a475b6

5 years agoteglImageFormatTests: call glFinish after creating the buffer in the client API
Nicolai Hähnle [Mon, 20 Nov 2017 15:08:51 +0000 (16:08 +0100)]
teglImageFormatTests: call glFinish after creating the buffer in the client API

According to section 3.7.3.2 (Order of Rendering Operations Between
Contexts) of the EGL spec, the application is responsible for
synchronization between different rendering contexts even in the same
thread.

Some of the tests execute a sequence of operations like this (see
MultiContextRenderTests::init):

1. ctx0: create image
2. ctx0: read from image
3. ctx0: clear image
4. ctx1: recreate image
5. ctx0: read from image
6. ctx1: read from image

This change adds a call to glFinish between steps 4 and 5 that is needed
for correctness. Note that other parts of the same file already call
glFinish, e.g. the various Render actions.

Components: EGL
VK-GL-CTS issue: 857
Affects:
dEQP-EGL.functional.image.render_multiple_contexts.gles2_*_read_pixels
Bug: b/115514127

Change-Id: I4dc50f7516374405596653d7006165819b95b6fa
(cherry picked from Khronos commit e9c93ece28719bcdde74e75dae114f8188e380a3)

5 years ago[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulka...
Chris Forbes [Mon, 10 Sep 2018 22:26:16 +0000 (15:26 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
am: df6a2ffc6e  -s ours

Change-Id: I5a7f593b5301a76a4e4a1d89c9d06a2a08a4fe50

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 6 Sep 2018 15:48:31 +0000 (17:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I5a095ab6fddfaa9ce687f8627b58ec12176ba660

5 years agoFixes tessellation triangle check
Matthew Netsch [Fri, 13 Jul 2018 15:10:54 +0000 (11:10 -0400)]
Fixes tessellation triangle check

Tessellators may produce inner vertices positioned
on the edge of a primitive when used with fractional
odd spacing and the inner tessellation level is one.

Point mode doesn't factor into this rule

Components: Vulkan
VK-GL-CTS Issue: 1273

Affects:
dEQP-VK.tessellation.primitive_discard.*

Change-Id: Ida8c75d4275403eaae8b52fe55f3ed9e61dd2d6e

5 years agoMerge changes from topic "p-renderpass2" into pie-cts-dev
Treehugger Robot [Tue, 4 Sep 2018 23:23:18 +0000 (23:23 +0000)]
Merge changes from topic "p-renderpass2" into pie-cts-dev

* changes:
  Incorrect enum values for VK_KHR_create_renderpass2
  Allowed device extensions list is missing entry
  Tests for VK_KHR_create_renderpass2

5 years agoIncorrect enum values for VK_KHR_create_renderpass2
John Anthony [Thu, 23 Aug 2018 14:11:13 +0000 (16:11 +0200)]
Incorrect enum values for VK_KHR_create_renderpass2

Some VkStructureType enum values added for VK_KHR_create_renderpass2 are
not in accordance with current Vulkan headers and the Vulkan
specification.

Components: Vulkan

VK-GL-CTS issue: 1321

Affects: dEQP-VK.*renderpass2.*
Bug: b/112923550

Change-Id: I51031d538bc427e56bbf56f603f200b513834d67
(cherry picked from Khronos commit c83b0de6829ff1e4beb451d52549e40377c27a34)

5 years ago[RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into...
Chris Forbes [Mon, 27 Aug 2018 19:40:51 +0000 (12:40 -0700)]
[RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev

Bug: b/113276290

Change-Id: I77d325ade51309e96151c77804f97f86c3712117

5 years agoFix issues in ProtectedMemCopyBufferToImage
Ilya Zaytsev [Tue, 21 Aug 2018 14:46:48 +0000 (16:46 +0200)]
Fix issues in ProtectedMemCopyBufferToImage

Fixes the following issues:

* pipeline barriers were not correct: wrong stages and wrong access masks
  were used
* R32G32B32A32_UINT image view was sampled from sampler2D

Affects: dEQP-VK.protected_memory.image.copy_buffer_to_image.*

Components: Vulkan

VK-GL-CTS issue: 1326

Change-Id: I9d7eb9f8d9c2dcda1d7dd1f3b0e68e71fcd8c8f9

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Fri, 24 Aug 2018 07:26:51 +0000 (09:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I5b4bdc020c0dda7ec55aafd498cd1f1193b9c77b

5 years agoFix copy/paste errors in opundef assembly tests
Daniel Koch [Thu, 16 Aug 2018 02:55:06 +0000 (22:55 -0400)]
Fix copy/paste errors in opundef assembly tests

The tests were using %is_nan_0 repeatedly instead of %is_nan_<i>

Affects: dEQP-VK.spirv_assembly.instruction.graphics.opundef.*
(likely only the vec4float32 and matrix subsets)
Component: Vulkan
VK-GL-CTS: 1315

Change-Id: I2bed6e94f6867c424c5102ef3eeab8ac32021dcd
(cherry picked from commit a46089154137e0939c02bdcabc74f5daa303ffb2)

5 years agoAllowed device extensions list is missing entry
Marcin Kańtoch [Thu, 7 Jun 2018 13:42:25 +0000 (15:42 +0200)]
Allowed device extensions list is missing entry

VK_KHR_create_renderpass2 is missing from the list of allowed
extensions in dEQP-VK.api.info.device.extensions test.
This causes the test to fail if the extension is exposed
in the driver.

Affects:

dEQP-VK.api.info.device.extensions

Components: Vulkan

VK-GL-CTS issue: 1208

Change-Id: I7024db0f775487b5601b5e8c82a807c58d070883
(cherry picked from commit 62deeb1fc1bcda275ff652c6466f9570a2fad75d)
(cherry picked from commit 08648ab26fa428fa6ca1c111adc085ae6eec16c6)

Bug: b/112923550

5 years agoTests for VK_KHR_create_renderpass2
Boris Zanin [Wed, 7 Mar 2018 10:37:46 +0000 (11:37 +0100)]
Tests for VK_KHR_create_renderpass2

Add tests:
 * dEQP-VK.renderpass2.*

Affects tests:
 * dEQP-VK.renderpass.*

Framework's Context class extended with functions
 * requireDeviceExtension
 * requireInstanceExtension

Components: Vulkan, Framework

VK-GL-CTS issue: 1011
Change-Id: Ibc125466cc3c91f7c8558d6518a0c9f854e50108
(cherry picked from Khronos commit fc812af6874f7779ec5913228cc768686a9a0505)

(Backported to P CTS)

Bug: b/112923550

5 years agoFix: rendering complete times not monotonic am: 59b6ba9bb2
Jiayuan Ren [Mon, 20 Aug 2018 21:52:12 +0000 (14:52 -0700)]
Fix: rendering complete times not monotonic am: 59b6ba9bb2
am: c23074d57c

Change-Id: I68ded1c7963a388629e34ba5c3fa59755c109ac9

5 years agoFix: rendering complete times not monotonic
Jiayuan Ren [Mon, 20 Aug 2018 21:48:05 +0000 (14:48 -0700)]
Fix: rendering complete times not monotonic
am: 59b6ba9bb2

Change-Id: I3a1fc45cf76cb1ca0b5cc0e84fceb7808d68537f

5 years agoFix: rendering complete times not monotonic
Jiayuan Ren [Tue, 14 Aug 2018 19:09:01 +0000 (12:09 -0700)]
Fix: rendering complete times not monotonic

We run into an intermittent issue that two neighboring
frames have the same rendering complete timestamp.

The timers will always have finite granularity.
The timestamp is in nanosecond but the timer producing
these timestamps might not actually be able to produce
timestamps at 1ns resolution. When the timer used for
these events has not enough granularity, events that
happen very quickly right after one another will appear
as if they appear at the same point in time.

Two neighboring frames have the same timestamp is allowed.

Components: AOSP

VK-GL-CTS issue: 1311
Bug: b/112778381

Affects:
dEQP-EGL.functional.get_frame_timestamps.*

5 years agoMerge "Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD" into pie...
Treehugger Robot [Fri, 17 Aug 2018 23:15:48 +0000 (23:15 +0000)]
Merge "Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD" into pie-cts-dev

5 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indire...
Ostrowski, Igor [Fri, 17 Aug 2018 00:04:06 +0000 (17:04 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo-mr1-cts-dev
am: 9bbaf74230  -s ours

Change-Id: I4de7ad984886cb4508f9e5f408e8c8e610f75434

5 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Chris Forbes [Thu, 16 Aug 2018 23:56:16 +0000 (16:56 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD

Change-Id: I8db2d3d6347c92f0f4fdd0d9db07a812a96243d8
Bug: b/112439889

5 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)

5 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)

5 years agoMerge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo...
Treehugger Robot [Thu, 16 Aug 2018 18:47:59 +0000 (18:47 +0000)]
Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo-mr1-cts-dev

5 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

5 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

5 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)

5 years agoFixes geometry shader invocation dependency
Matthew Netsch [Wed, 8 Aug 2018 20:52:35 +0000 (16:52 -0400)]
Fixes geometry shader invocation dependency

dEQP-VK.tessellation.invariance.* updates a SSBO
expecting the implementation to execute the GS
once per primitive. Changes the test to allow
multiple invocations.

Components: Vulkan
VK-GL-CTS Issue: 1281

Affects:
dEQP-VK.tessellation.invariance.*

Change-Id: I6ed17a8afb413587bb38487ec9952f569a250193

5 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

5 years agoRemove unconditional depth_clamping for 1.1.0
Simen Kaspersen [Mon, 30 Jul 2018 14:36:31 +0000 (16:36 +0200)]
Remove unconditional depth_clamping for 1.1.0

Changed depthClampEnable from VK_TRUE to VK_FALSE where it is not needed.
Depth clamp specific tests in builtin_var.fragdepth set as not supported for incompatible systems.

Affects:
dEQP-VK.device_group.*
dEQP-VK.api.object_management.*.graphics_pipeline
dEQP-VK.binding_model.shader_access.*
dEQP-VK.glsl.builtin_var.fragdepth.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.renderpass.*
dEQP-VK.spirv_assembly.*
dEQP-VK.api.smoke.unused_resolve_attachment
dEQP-VK.wsi.android.incremental_present.*
dEQP-VK.memory.pipeline_barrier.*

Components: Vulkan

VK-GL-CTS issue: 1286

Change-Id: Ia869da75a74800543afb4f8fddd8bf5e8f7f4a7f

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 2 Aug 2018 08:27:46 +0000 (10:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I178311e0fa4f5276ab325b65460074f60e42c222

5 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)

5 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

5 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

5 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)

5 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

5 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

5 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

5 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

5 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

5 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)

5 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)

5 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

5 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

5 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

5 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