Chris Forbes [Thu, 27 Sep 2018 16:34:24 +0000 (09:34 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pie-cts-dev
am:
6cf5f05368
Change-Id: I2be685a153ecb2514bd69dd577f458a0e35b62f2
Yi Kong [Fri, 21 Sep 2018 08:03:53 +0000 (01:03 -0700)]
Remove self assignment statement
This is redundant. Fixes "-Wself-assign-overloaded" warning.
Test: m
Bug:
110779387
Change-Id: Iefa1c580e062ba61c58a4b6073ddda1111a02c9b
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
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)
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
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)
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
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)
Daniel Koch [Tue, 18 Sep 2018 00:48:40 +0000 (17:48 -0700)]
Fix copy/paste errors in opundef assembly tests
am:
968a3720a4
Change-Id: I26410dadda21d221b2769b1aa8837af6dd5d284c
Matthew Netsch [Tue, 18 Sep 2018 00:48:31 +0000 (17:48 -0700)]
Fixes geometry shader invocation dependency
am:
30ae419200
Change-Id: I10d170a12482cbe44602b362fc2b3ce764248220
Chris Forbes [Tue, 18 Sep 2018 00:48:22 +0000 (17:48 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
am:
5d71d3db31
Change-Id: I3b519e81eaf4562d5ae7b3220926f3359fd6a787
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)
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
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)
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
Treehugger Robot [Thu, 13 Sep 2018 04:18:41 +0000 (04:18 +0000)]
Merge "Move P risky mustpass back into master mustpass."
Chris Forbes [Thu, 13 Sep 2018 01:14:32 +0000 (18:14 -0700)]
Move P risky mustpass back into master mustpass.
Cleanup from end of P cycle.
Change-Id: Ia56125389e7ae08e24640cae4dc70ec44ec06cb3
Components: AOSP
Affects: Android mustpass lists only
Nicolai Hhnle [Wed, 12 Sep 2018 23:16:55 +0000 (16:16 -0700)]
teglImageFormatTests: call glFinish after creating the buffer in the client API am:
84c981292b
am:
18638d541a
Change-Id: If19a6a3ff7941199488fc4315f366972af7589fb
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
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)
Julien Desprez [Wed, 12 Sep 2018 15:26:40 +0000 (08:26 -0700)]
Remove dependency on IStrictShardableTest
Interface is not used anymore.
Test: make cts, run cts-unit-tests
Bug:
112426228
Change-Id: I95ac293a4b8a585fe7bf8adea3d55c1faf6548e1
Chris Forbes [Mon, 10 Sep 2018 22:31:15 +0000 (15:31 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am:
df6a2ffc6e -s ours
am:
4eb31660f7 -s ours
Change-Id: Id4582490a4045249c6c2818ac51548d047460011
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
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
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
Treehugger Robot [Wed, 5 Sep 2018 07:49:47 +0000 (07:49 +0000)]
Merge "Suppress -Wimplicit-fallthrough."
John Anthony [Tue, 4 Sep 2018 23:53:46 +0000 (16:53 -0700)]
Merge changes from topic "p-renderpass2" into pie-cts-dev
am:
79749eabc6
Change-Id: I0ddba5851971235127ae29b7047ef095ee6b2b16
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
Chih-Hung Hsieh [Tue, 4 Sep 2018 23:14:20 +0000 (16:14 -0700)]
Suppress -Wimplicit-fallthrough.
-Wimplicit-fallthrough will be enabled globally.
Test: build with global -Wimplicit-fallthrough.
Change-Id: I0f1dea676f1cf551339036767f141aa5717cea3e
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)
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
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
Kenneth Russell [Mon, 23 Jul 2018 22:26:47 +0000 (15:26 -0700)]
Add cases for structs as inout and out parameters.
Structs with lowp, mediump and highp (when supported in fragment
shaders) members are tested as inout and out parameters in both ES 2.0
and 3.0 shaders.
The highp variant of this test catches a bug which was found by the
Three.js community in https://github.com/mrdoob/three.js/issues/14137 .
Similar tests were integrated into the WebGL conformance suite in
https://github.com/KhronosGroup/WebGL/pull/2663 .
Verified on:
Qualcomm Adreno 308 (LG Aristo) - bug reproduces in both ES2 and ES3
highp fragment shaders
Qualcomm Adreno 540 (Pixel 2),
NVIDIA Tegra (SHIELD Tablet) - all tests pass
New tests:
dEQP-GLES[23].functional.shaders.struct.local.parameter_inout_*
dEQP-GLES[23].functional.shaders.struct.local.parameter_out_*
VK-GL-CTS Issue 1280
Change-Id: Ie332aede0ad52453815d9e123145ec035009430b
(cherry picked from commit
3b0365b1a090c4e15f72b2cb877ee15f65c8befe)
Chris Forbes [Sat, 25 Aug 2018 00:52:04 +0000 (17:52 -0700)]
Reinstate dot & reflect tests
There is now enough coverage of alternative evaluation orders that these
can be enabled.
Bug: b/
28767510
Change-Id: I65de890cd8106ff12f4f5bf76e3db31966681023
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
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)
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
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
Treehugger Robot [Tue, 21 Aug 2018 01:12:31 +0000 (01:12 +0000)]
Merge "RESTRICT 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: I7078e1104c1ebd29320fa04afa20549757e56bc5
(cherry picked from Khronos commit
7b47cd53c6656b866e7c3a3c0a590da85f3b2de1)
(cherry picked from commit
43622dc64ce9f19461828b0bd62ca5342c26eb40)
Jiayuan Ren [Mon, 20 Aug 2018 21:55:58 +0000 (14:55 -0700)]
Fix: rendering complete times not monotonic am:
59b6ba9bb2 am:
c23074d57c
am:
85d1e56494
Change-Id: I163fbb3b0d80663561f5d2fcd67c9b8fa345a358
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
Jiayuan Ren [Mon, 20 Aug 2018 21:48:05 +0000 (14:48 -0700)]
Fix: rendering complete times not monotonic
am:
59b6ba9bb2
Change-Id: I3a1fc45cf76cb1ca0b5cc0e84fceb7808d68537f
Colin Cross [Mon, 20 Aug 2018 17:21:55 +0000 (17:21 +0000)]
Merge "Revert "Revert "Convert external/deqp/android/cts to Android.bp"""
Chris Forbes [Sat, 18 Aug 2018 00:27:26 +0000 (17:27 -0700)]
Merge "Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD" into pie-cts-dev
am:
b6c2ed7121
Change-Id: I95bd47a45fcaef4d89b765e1f29fb3db5e8f210c
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.*
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
Julien Desprez [Fri, 17 Aug 2018 17:34:45 +0000 (17:34 +0000)]
Merge "Update CTS runner after TF interface update"
Ostrowski, Igor [Fri, 17 Aug 2018 01:58:49 +0000 (18:58 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo-mr1-cts-dev am:
9bbaf74230 -s ours
am:
a51e7a7d9c -s ours
Change-Id: Ia2a1e26d432456e0fd173e0f9878bf254f4272c8
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
Tony Zlatinski [Fri, 17 Aug 2018 00:06:12 +0000 (17:06 -0700)]
Vulkan AHB - fix incorrect structure definition
am:
181b5cd80e
Change-Id: Ie3c769146a1dc5862067e5a61a194300a7825168
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
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
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)
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)
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
Colin Cross [Thu, 16 Aug 2018 18:16:01 +0000 (18:16 +0000)]
Revert "Revert "Convert external/deqp/android/cts to Android.bp""
This reverts commit
10848da9348e610bd6e938836ae846abcf540a3d.
Bug:
112654980
Change-Id: I5c5d5b932eb7df0b710668dadaf788344ca5b1e2
Treehugger Robot [Wed, 15 Aug 2018 23:48:33 +0000 (23:48 +0000)]
Merge "Revert "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
Chris Forbes [Wed, 15 Aug 2018 14:49:36 +0000 (14:49 +0000)]
Merge "Fix build for surfaceless target"
Colin Cross [Wed, 15 Aug 2018 01:51:16 +0000 (01:51 +0000)]
Merge "Convert external/deqp/android/cts to Android.bp"
Julien Desprez [Tue, 14 Aug 2018 23:50:12 +0000 (16:50 -0700)]
Update CTS runner after TF interface update
Test: unit tests
Bug:
112468193
Change-Id: I82a0ef4c894ad56dc426e856cfb3dfdbb70d8edd
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
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
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
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
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
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
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)
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
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
Xin Li [Wed, 8 Aug 2018 18:43:04 +0000 (11:43 -0700)]
Merge pie-cts-dev into master.
Bug:
112051819
Change-Id: Ide79ad146b80a923cfd00ec1e526b8b389e54b29
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
Xin Li [Mon, 6 Aug 2018 23:50:22 +0000 (16:50 -0700)]
Merge Android Pie into master
Bug:
112104996
Change-Id: I573d3264a618044472c238f9b530cfd9f76ba791
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
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)
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
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
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)
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
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
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
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
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
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
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
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)
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)
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
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
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
Alexander Galazin [Fri, 6 Jul 2018 10:21:32 +0000 (12:21 +0200)]
Fix build error introduced by the previous commit
Components: Vulkan
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
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
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)
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
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
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
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
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)