Alexander Galazin [Tue, 28 Apr 2020 07:00:50 +0000 (09:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I7003461a2e0d865d5fcd837b5a5db8d12cfcba07
Alexander Galazin [Tue, 28 Apr 2020 07:00:44 +0000 (09:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I24b7b71b378f93a21ee8d5074517cdf88950cb26
Alexander Galazin [Tue, 28 Apr 2020 07:00:40 +0000 (09:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Ibf71699514dcc482235457301c8cb591e5ef4ac2
Alexander Galazin [Tue, 28 Apr 2020 07:00:35 +0000 (09:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ia8887f2f979ea8f5cdf2013c2016b78a150d9d53
Alexander Galazin [Mon, 27 Apr 2020 18:21:35 +0000 (20:21 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I147ae97908fe69487a55770d3c3e7dd9b29f6356
Peter Quayle [Thu, 5 Dec 2019 11:34:25 +0000 (11:34 +0000)]
Remove event tests which use illegal behaviour
Two event tests were relying on being able to wait on the device for
an event to be set on the host. This behaviour is not allowed.
Affects:
dEQP-VK.synchronization.smoke.events
dEQP-VK.synchronization.basic.event.host_set_device_wait
Components: Vulkan
VK-GL-CTS issue: 2108
Change-Id: Idbb8b4e2468d617b3e47d5055622789a2dd3eb00
(cherry picked from commit
b45f4268074897cb4ee7da4b81a17b310301d77b)
(cherry picked from commit
8be9e27df3c1e1d9f50e549d7293bc202072d80d)
Alexander Galazin [Mon, 27 Apr 2020 13:20:19 +0000 (15:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I88785d64ee5ce89b2ddcc47e317c39a09cf36c8b
Peter Quayle [Thu, 5 Dec 2019 11:34:25 +0000 (11:34 +0000)]
Remove event tests which use illegal behaviour
Two event tests were relying on being able to wait on the device for
an event to be set on the host. This behaviour is not allowed.
Affects:
dEQP-VK.synchronization.smoke.events
dEQP-VK.synchronization.basic.event.host_set_device_wait
Components: Vulkan
VK-GL-CTS issue: 2108
Change-Id: I3e3185d4b6ca3be94609b1d5d218e0d46076243d
(cherry picked from commit
b45f4268074897cb4ee7da4b81a17b310301d77b)
Matthew Netsch [Fri, 10 Apr 2020 14:54:53 +0000 (10:54 -0400)]
Fixes FDM subsampled tests
Test relying on undefined behavior
Components: Vulkan
VK-GL-CTS Issue: 2306
Affects:
dEQP-VK.renderpass2.fragment_density_map.static_nonsubsampled*
Change-Id: I1ffda224eef7570471e4a71df9c76ad1ab64796e
Stephen Gallimore [Tue, 14 Apr 2020 13:12:26 +0000 (14:12 +0100)]
Prevent odd width single plane 422 images in dEQP-VK.ycbcr.query.*
It is invalid for 422 sampled image formats to have odd widths,
but this was only being enforced in the tests for multi-plane not
single plane formats.
Component: Vulkan
Affects: dEQP-VK.ycbcr.query.*
VK-GL-CTS Issue: 2309
Change-Id: Ie23eb77686ac2e6ab51367af92181a3f967d55d9
Alexander Galazin [Sun, 19 Apr 2020 08:24:02 +0000 (10:24 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I124ba8b68acbe803453bda223ac02e26d90a6255
Szymon Szczyrbak [Tue, 14 Jan 2020 12:40:51 +0000 (13:40 +0100)]
Add memory barrier to fragment shader interlock tests.
Image or buffer written by GPU are copied to host-visible buffer used to
verify test's results.
Added a TRANSFER_WRITE/HOST_READ pipeline barrier to make sure that the data
accessed by host is up-to-date.
Component: Vulkan
Affects: dEQP-VK.fragment_shader_interlock.basic.*
VK-GL-CTS Issue: 2165
Change-Id: I6d458b2e650a3813e62948d670b8a53e864aed37
(cherry picked from commit
1f1f54995a1a32ad4b7f9f357a39c19d3c1c0a7c)
Alexander Galazin [Fri, 17 Apr 2020 09:20:25 +0000 (11:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ia79a8ea06da0fcb366ebb66e99a1285d2b0019b7
Arkadiusz Sarwa [Tue, 7 Apr 2020 11:04:40 +0000 (13:04 +0200)]
Fix framework for R64 int images test
Affects:
dEQP-VK.api.info.*r64_*int
dEQP-VK.api.buffer_view.create.*.r64_*int
dEQP-VK.api.granularity*r64_*int
Components: Framework, Vulkan
VK-GL-CTS Issue: 2286
Change-Id: I675cbf34cd59733f5a73d987c16c3b3d323fd170
Arkadiusz Sarwa [Thu, 9 Apr 2020 12:35:29 +0000 (14:35 +0200)]
Add missing extensions VK_GOOGLE
Add:
VK_GOOGLE_decorate_string
VK_GOOGLE_hlsl_functionality1
Affects:
dEQP-VK.api.info.android.no_unknown_extensions
Components: Vulkan
VK-GL-CTS issue: 2304
Change-Id: I794ddd1821dccf1d4b5c5e22bbcb0e4c3388d9ae
Peter Quayle [Thu, 5 Dec 2019 11:34:25 +0000 (11:34 +0000)]
Remove event tests which use illegal behaviour
Two event tests were relying on being able to wait on the device for
an event to be set on the host. This behaviour is not allowed.
Affects:
dEQP-VK.synchronization.smoke.events
dEQP-VK.synchronization.basic.event.host_set_device_wait
Components: Vulkan
VK-GL-CTS issue: 2108
Change-Id: Idbb8b4e2468d617b3e47d5055622789a2dd3eb00
(cherry picked from commit
b45f4268074897cb4ee7da4b81a17b310301d77b)
Alexander Galazin [Sat, 11 Apr 2020 16:21:59 +0000 (18:21 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I20237be63b00f950377fa287c1d58eb332601ea4
Alexander Galazin [Fri, 10 Apr 2020 19:52:19 +0000 (21:52 +0200)]
Update SPIR-V Tools, Headers
Components: Framework
Change-Id: I6d98100cd0b007cd0ddfef2679d232c7a418ab83
Alastair Donaldson [Tue, 26 Nov 2019 14:17:11 +0000 (14:17 +0000)]
Fix invalid SPIR-V in GraphicsFuzz tests
Components: Vulkan
VK-GL-CTS Issue: 2122
Affected tests:
dEQP-VK.graphicsfuzz.continue-and-merge
dEQP-VK.graphicsfuzz.control-flow-switch
dEQP-VK.graphicsfuzz.discard-continue-return
dEQP-VK.graphicsfuzz.fragcoord-control-flow-2
dEQP-VK.graphicsfuzz.fragcoord-control-flow
dEQP-VK.graphicsfuzz.loop-call-discard
dEQP-VK.graphicsfuzz.mat-array-deep-control-flow
dEQP-VK.graphicsfuzz.mat-array-distance
dEQP-VK.graphicsfuzz.return-in-loop-in-function
dEQP-VK.graphicsfuzz.unreachable-continue-statement
Change-Id: Iaa7448ee4a815d9e3a1c8a5582214ecd599ac143
(cherry picked from commit
46bcbf639d7bd79f630587fdc951dfa2ee8507af)
Jeff Bolz [Mon, 7 Oct 2019 14:39:02 +0000 (09:39 -0500)]
remove opconstantnull physical storage pointer tests
These are no longer considered valid after recent spec changes.
Components: Vulkan
Affects: Removes dEQP-VK.spirv_assembly.*phys*opconstantnull*
Change-Id: I79566387a8f5a1f12dbd2ab5996ad69d43079ea2
(cherry picked from commit
35898f102a2d92398cdb2c54db68cbd359ba6d2a)
Alexander Galazin [Fri, 10 Apr 2020 19:48:58 +0000 (21:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: If55ee66532b61481f5c3b61e1cdb1361d66fe14f
Alexander Galazin [Fri, 10 Apr 2020 19:48:56 +0000 (21:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I650592e9a9c662777a664983d375a385f4f6c164
Alexander Galazin [Thu, 9 Apr 2020 12:02:46 +0000 (14:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I7ac92f125386c947f5ce09f0129c4678809e73a2
Alexander Galazin [Thu, 9 Apr 2020 10:02:27 +0000 (12:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I758092828fa1c8cf4398dd34630ba40de3ca4399
Alexander Galazin [Thu, 9 Apr 2020 08:33:32 +0000 (10:33 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: Ie94ff317fc6fc42057ce607e751d774529af844f
Alexander Galazin [Thu, 9 Apr 2020 07:20:20 +0000 (09:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I7771bb8031b5cf0d28faf840bfc4fa9d8e6c3828
Yanjun Zhang [Fri, 20 Mar 2020 22:30:37 +0000 (15:30 -0700)]
Half-float texture interpolation tolerance is too small.
Need to increase the precision tolerance for VSI mobile GPUs.
Components: Vulkan
Affects: dEQP-VK.texture.explicit_lod.2d.*
VK-GL-CTS issue: 2273
Change-Id: I957f8af87dd7413d6a4e50f2141cc777f5e292d6
Marc Alcala Prieto [Wed, 1 Apr 2020 13:37:09 +0000 (15:37 +0200)]
Use vkBindImageMemory2 to bind disjoint images
Vulkan specification says that applications must not use
vkBindImageMemory to attach memory to a VkImage object created with
the VK_IMAGE_CREATE_DISJOINT_BIT.
Component: Vulkan
Affects: dEQP-VK.ycbcr.plane_view.memory_alias.*
VK-GL-CTS Issue: 2289
Change-Id: Icdcf802ff9da6018e71a66fd27954923600863d2
Alexander Galazin [Wed, 25 Mar 2020 17:48:35 +0000 (18:48 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: If3617a4a3902a2343a8efee197e8bcd895c60f49
Alexander Galazin [Wed, 25 Mar 2020 11:19:50 +0000 (12:19 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Iff8de9b31b571ac8606d6b6530bf19b21e3c63ac
Alexander Galazin [Wed, 25 Mar 2020 09:06:35 +0000 (10:06 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I561526a8e0cc985c8183688ee4af633a6e91fa8b
Alexander Galazin [Wed, 25 Mar 2020 07:46:07 +0000 (08:46 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I36c436cd72ec705b74e162b7bd11aff4a684f123
Matthew Netsch [Fri, 20 Mar 2020 15:16:23 +0000 (11:16 -0400)]
Fixes 16bit storage check in spirv_assembly tests
SPIRV shaders were still using 16bit storage extension
when API disabled it
Components: Vulkan
VK-GL-CTS Issue: 2272
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.*convert*
Change-Id: I0135b7b6c4e84cbfc7afb050e5ecca4d5c4e82a2
Graeme Leese [Fri, 20 Mar 2020 13:30:31 +0000 (13:30 +0000)]
More vertex-invocation fixes for synchronisation tests
The fix for multiple vertex-shader instances was missed when the
timeline semaphore version of these tests was added. This is the fix
from https://gerrit.khronos.org/c/4451 applied to these new tests.
Components: Vulkan
VK-GL-CTS issue: 2253, 1958
Affects: dEQP-VK.synchronization.op.*.timeline_semaphore.write_indirect_buffer_draw*
Change-Id: I6013ef88a0acd362948c179416928c1d3fc064dd
Slawomir Cygan [Fri, 28 Feb 2020 14:36:58 +0000 (15:36 +0100)]
Allow not flusing denorms in operands
This fixes tests for denorm value flush to zero in Ceil(), Log(),
Log2(), Sqrt(), Sqrt2() operations. The test was assuming, that
operands of denormal value are flushed before the operation, however
the specification does not require that:
"If the entry point is declared with the DenormFlushToZero execution mode then for the
affected instuctions the denormalized result must be flushed to zero and the denormalized
operands **may** be flushed to zero."
VK-GL-CTS Issue: 2242
Affects: dEQP-VK.spirv_assembly.instruction.compute.float_controls.*.input_args.*_denorm_flush_to_zero
Components: Vulkan
Change-Id: Iedeb0d18fde3749a83be3262dba5efabf365aea2
Arkadiusz Sarwa [Thu, 27 Feb 2020 11:36:09 +0000 (12:36 +0100)]
Add VK_KHR_shader_non_semantic_info to ext list
VK-GL-CTS issue: 2241
Components: Vulkan, Framework
Affects:
dEQP-VK.info.device_extensions
Change-Id: I1303a3bc9fac2dd09e0902c20f378b13816d1695
(cherry picked from commit
3ea0200411dcc5a190d9f68bc06939efe29d2f55)
Piotr Byszewski [Thu, 14 Nov 2019 13:20:35 +0000 (14:20 +0100)]
Add tests for VK_KHR_shader_non_semantic_info
VK-GL-CTS issue: 2076
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.compute.non_semantic_info.*
Change-Id: I0554c1a3dea49a66d28d1058b3fa63cc4a378a1f
(cherry picked from commit
a1c717411059c366058008e86c94d9f8d9b01d1a)
Alexander Galazin [Thu, 5 Mar 2020 12:08:11 +0000 (13:08 +0100)]
Whitelist Vulkan CTS 1.2.1.1
Affects: dEQP-VK.api.driver_properties.properties
Components: Vulkan
Change-Id: I433638426b621635a2955e2f5fc40102a0938fa8
Matthew Netsch [Fri, 21 Feb 2020 21:12:45 +0000 (16:12 -0500)]
Add 8bit support checks to subgroup tests
Components: Vulkan
VK-GL-CTS Issue: 2082
Affects:
dEQP-VK.subgroups.*
Change-Id: I39367c6ee2d868330dac563a78309b18100ecf08
Alexander Galazin [Wed, 4 Mar 2020 10:06:52 +0000 (11:06 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ia84f84f07054a5c6c175fdf152c669fb3a186690
Alexander Galazin [Wed, 4 Mar 2020 10:06:52 +0000 (11:06 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I360bd965daf24ebd38a05a5205d3a85311a60bfd
Alexander Galazin [Wed, 4 Mar 2020 10:06:51 +0000 (11:06 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Ifeab9cfd06891288494e9080d40819c62a2092a7
Alexander Galazin [Wed, 4 Mar 2020 09:09:29 +0000 (10:09 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I710f52c5271173e7592c92db91a6debd1ebfff7c
Alexander Galazin [Wed, 4 Mar 2020 07:50:07 +0000 (08:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I6221b31126a23415f4aceb05f91fc8c7b166c876
Alexander Galazin [Thu, 27 Feb 2020 11:20:44 +0000 (12:20 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Ie332664c1049e2e1339f60aa7dd2615d1aa83105
Sai Kiran Korwar [Wed, 19 Feb 2020 08:53:39 +0000 (14:23 +0530)]
Check if display is available for Vulkan.
If the display is already being used by native windowing system,
then it may not be available to Vulkan, which may cause the test
to fail.
To account for this, check if any windowing system is already present
and running and then report the test to be unsupported.
Since the extension is meant to support direct rendering to display,
avoid running it when a windowing system is present.
Components: Vulkan
VK-GL-CTS issue: #2230
Affects:
dEQP-VK.wsi.display_control.swapchain_counter
Change-Id: I7fd00b417021e4a2ef017b742e529f5a3917a056
(cherry picked from commit
5318e8023d181def3d6affe446ab251f9898737e)
Igor Ostrowski [Mon, 10 Feb 2020 10:28:52 +0000 (11:28 +0100)]
Fix memory leak in pipeline.executable_properties tests
Affects:
dEQP-VK.pipeline.executable_properties.*
Components: Vulkan
VK-GL-CTS issue: 2220
Change-Id: I3f82e17be51a643cd64270e7f05fdf496e648f00
Alexander Galazin [Wed, 26 Feb 2020 14:36:27 +0000 (15:36 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ia9d1bd6dd594c1a9082e84a98c3b5ec506cfb988
Alexander Galazin [Wed, 26 Feb 2020 14:36:26 +0000 (15:36 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I0f3ab098b8831b1c421745daa491d323a533f2f4
dzabaj01 [Mon, 24 Feb 2020 12:39:21 +0000 (13:39 +0100)]
Fix dEQP-VK.geometry.layered.2d_array.readback
The patch fixes several image memory barriers that
are missing the (color or depth/stencil) read access
mask. The read access mask is needed because the
attachments are setup with the VK_ATTACHMENT_LOAD_OP_LOAD
load operation.
Components: Vulkan
VK-GL-CTS Issue: 2227
Affects: dEQP-VK.geometry.layered.2d_array.readback
Change-Id: I22b696f449cb83d88f3ec15d928577d6b3d65b6f
Alastair Donaldson [Thu, 13 Feb 2020 11:19:55 +0000 (11:19 +0000)]
Updates to Android test list generation
Fixes to reflect changes on the Android side.
Change-Id: I4eece1d987c35e27046061adc79f9ecde755a56a
James Fitzpatrick [Mon, 20 Jan 2020 09:02:24 +0000 (09:02 +0000)]
Correctly handle normalized formats in FloatFormat
For the texture explict lod tests normalized values were treated as 8
bit floating point formats when calculating the reference interval.
This ignores the fact that normalized formats are encoded as 1 / N,
where N is an integer, this results in the rounding used in tests not
being able to accurately round normalized formats.
This incorrect rounding causes the acceptable ranges to be
significantly smaller than other formats and extremely asymetric
around the ideal filtered value for certain samples.
Affects: dEQP-VK.texture.explicit_lod.*
Components: Vulkan
VK-GL-CTS issue: 2189
Change-Id: Ia4f3adefab4bfb5d9c91bd7033199b0e107179d5
Alexander Galazin [Thu, 20 Feb 2020 14:41:31 +0000 (15:41 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: If35028985c57f66a6fc3f3d11ac1a9485493f7f2
Alexander Galazin [Thu, 20 Feb 2020 13:37:54 +0000 (14:37 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ic305f1a757dae469f6b0fe801e82640b83f989ed
Martin Freebody [Wed, 20 Nov 2019 10:49:25 +0000 (10:49 +0000)]
Protected Memory allocation tests require compatible device
For memory allocation tests that detect protected memory capability,
ensure that the device being used first enables the protected memory
feature. If the physical device does not support protected memory,
the allocation type is skipped in the test.
Affects: dEQP-VK.memory.allocation.*
Components: Vulkan
VK-GL-CTS issue: 2163
Change-Id: I899c7cf7e13d04f2674de47c3bb4d08f3de589f4
(cherry picked from commit
f5f362a43198b0168d0ad279faf15d42cfc61d2a)
James Fitzpatrick [Tue, 11 Feb 2020 11:58:04 +0000 (11:58 +0000)]
Return Quality Warning for inaccurate filtering
For cases when the relaxed precision has to be used to verify a sample
in the explicit lod tests return a quality warning rather than a pass.
Affects: dEQP-VK.texture.explicit_lod.*
Components: Vulkan
VK-GL-CTS issue: 2189
Change-Id: If1cad3ae74bc91636527215f6871faa2e1feee79
dzabaj01 [Tue, 18 Feb 2020 12:17:18 +0000 (13:17 +0100)]
Fix dEQP-VK.geometry.layered.2d_array.readback
The patch fixes several image memory barriers that
are missing the (color or depth/stencil) read access
mask. The read access mask is needed because the
attachments are setup with the VK_ATTACHMENT_LOAD_OP_LOAD
load operation.
Components: Vulkan
VK-GL-CTS Issue: 2227
Affects: dEQP-VK.geometry.layered.2d_array.readback
Change-Id: Ie96c93e6d8fee1ea0c0a63417707ec7479551413
Alexander Galazin [Tue, 18 Feb 2020 08:51:37 +0000 (09:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I150b1fd6b9bd4c4c1686ae384cc0e0138363eab4
Martin Freebody [Wed, 20 Nov 2019 10:49:25 +0000 (10:49 +0000)]
Protected Memory allocation tests require compatible device
For memory allocation tests that detect protected memory capability,
ensure that the device being used first enables the protected memory
feature. If the physical device does not support protected memory,
the allocation type is skipped in the test.
Affects: dEQP-VK.memory.allocation.*
Components: Vulkan
VK-GL-CTS issue: 2163
Change-Id: I899c7cf7e13d04f2674de47c3bb4d08f3de589f4
Alexander Galazin [Thu, 13 Feb 2020 19:18:49 +0000 (20:18 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I8928bbd316e87c3cf2dcdee0994707808d2db89b
Martin Freebody [Wed, 20 Nov 2019 10:49:25 +0000 (10:49 +0000)]
Protected Memory allocation tests require compatible device
For memory allocation tests that detect protected memory capability,
ensure that the device being used first enables the protected memory
feature. If the physical device does not support protected memory,
the allocation type is skipped in the test.
Affects: dEQP-VK.memory.allocation.*
Components: Vulkan
VK-GL-CTS issue: 2163
Change-Id: I899c7cf7e13d04f2674de47c3bb4d08f3de589f4
Alexander Galazin [Thu, 13 Feb 2020 12:16:07 +0000 (13:16 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I0b304876f100815c74515584179d954ac0f65788
Alexander Galazin [Thu, 13 Feb 2020 12:15:06 +0000 (13:15 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I876198ffd8f48fee637feae92ded3806cffd7008
John Anthony [Wed, 29 Jan 2020 15:33:53 +0000 (16:33 +0100)]
Only require geometryStreams feature in XFB query tests if needed
Change transform feedback query tests to only require the
geometryStreams feature for test cases using stream ID != 0.
Affects:
- dEQP-VK.transform_feedback.simple.query_0_*
- dEQP-VK.transform_feedback.simple.host_query_reset_0_*
Components: Vulkan
VK-GL-CTS Issue: 2197
Change-Id: Id1378f58e6634dd70ad89843e000d047af0ea496
Mikel Garai [Mon, 20 Jan 2020 08:30:53 +0000 (09:30 +0100)]
Fix transform feedback triangle strip verification
Vulkan specifies that the first vertex in a multi vertex primitive is
implementation specific, but the winding must be respected.
This change allows any first vertex as long as the vertices and winding
are correct.
Components: Vulkan
Affects:
dEQP-VK.transform_feedback.simple.triangle_strip_with_adjacency_*
VK-GL-CTS Issue: 2193
Change-Id: I3d195c50a4b3b1f51529014fb97cebef19f872b7
Alastair Donaldson [Wed, 12 Feb 2020 14:22:51 +0000 (14:22 +0000)]
Adapt Android test runner and rework test lists
The dEQP test runner will now skip Vulkan tests that the device does
not claim to support. This is detected by comparing the date
associated with each Vulkan case list file with the date provided by
the android.software.vulkan.deqp.level feature flag version, and
executing only those Vulkan tests associated with the date and
earlier.
Android test list generation has been adapted to generate test lists
for dates 2019-03-01 and 2020-03-01, corresponding to Android versions
10 and 11.
Change-Id: I06fecb5804fa91d85a7e6083331bae7f7ccd42ec
Tom Cooper [Mon, 3 Feb 2020 14:39:33 +0000 (14:39 +0000)]
Fix dEQP-VK.api.image_clearing.*.clear_depth_stencil_image
Check device extensions before trying to create the renderpass using
vkCreateRenderPass2KHR.
Components: Vulkan
VK-GL-CTS Issue: 2208
Affects: dEQP-VK.api.image_clearing.*
Change-Id: I02bb1ccb8f07c7f2baa7357a639f4bdcc1dcd73f
Alexander Galazin [Thu, 30 Jan 2020 12:54:19 +0000 (13:54 +0100)]
Fix init in vktApiBufferMarkerTests.cpp
Components: Vulkan
Change-Id: Iaaebd99848858fb22234e29bc63361aa8fbdeb77
Tyler Schicke [Wed, 15 Jan 2020 00:47:57 +0000 (16:47 -0800)]
Fix use of pointer to stack allocated struct
The dEQP-VK.wsi.display_control.swapchain_counter test's
createSwapchainConfig was returning a struct containing a pointer to
another struct that was stack allocated, so after the return that
pointer is no longer valid.
This change stores the inner struct in the SwapchainCounterTestInstance
instead of on the stack of createSwapchainConfig, and uses a pointer to
that struct, which remains valid while the test runs.
Components: Vulkan
VK-GL-CTS issue: 2184
Affects:
dEQP-VK.wsi.display_control.swapchain_counter
Change-Id: I8e83f810427167113e5cee843cbafda237606dcf
Alexander Galazin [Wed, 15 Jan 2020 16:31:47 +0000 (17:31 +0100)]
Update SPIR-V Tools
Components: Framework
Change-Id: I587a0a0703ee15d308566102ad31d3cc3d3b5edb
Alexander Galazin [Wed, 15 Jan 2020 10:41:26 +0000 (11:41 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Id02e3ec3375ebdb8642e28b334ef3a42158c904a
Szymon Szczyrbak [Tue, 14 Jan 2020 12:40:51 +0000 (13:40 +0100)]
Add memory barrier to fragment shader interlock tests.
Image or buffer written by GPU are copied to host-visible buffer used to
verify test's results.
Added a TRANSFER_WRITE/HOST_READ pipeline barrier to make sure that the data
accessed by host is up-to-date.
Component: Vulkan
Affects: dEQP-VK.fragment_shader_interlock.basic.*
VK-GL-CTS Issue: 2165
Change-Id: I6d458b2e650a3813e62948d670b8a53e864aed37
Juan A. Suarez Romero [Wed, 8 Jan 2020 11:58:40 +0000 (11:58 +0000)]
Modify test line position in LinesTestInstance::generateLines()
This slightly change a test line position in order to fix
dEQP-VK.rasterization.primitives.no_stipple.smooth_lines_wide, to avoid
a false failure according to comments in CL#5152.
Affects: dEQP-VK.rasterization.primitives.*
Components: Vulkan
Change-Id: Ie8bde1d1d32f76939ce4a4ba21aaec4c471edd63
Alexander Galazin [Tue, 14 Jan 2020 06:50:35 +0000 (07:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I968d4cdd3c04321a4ff2544597203c77589a4d45
Alexander Galazin [Mon, 13 Jan 2020 17:26:53 +0000 (18:26 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I543ba324319cd3d227400be69d1d02bc323e6c0e
Alexander Galazin [Mon, 13 Jan 2020 14:34:33 +0000 (15:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I654934956a489ddcdec47ac8fc3e2fe638929950
Alexander Galazin [Mon, 13 Jan 2020 14:33:52 +0000 (15:33 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ifc85777682563e4ec769d2b32dbb4b3584a649a5
Alexander Galazin [Mon, 13 Jan 2020 12:10:10 +0000 (13:10 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I420bc4aa41a2f7a67434b4f674c3d3aa161dc6c3
Alexander Galazin [Mon, 13 Jan 2020 10:54:20 +0000 (11:54 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Id9ed312f96fa266a0e3809211b14566ece03e791
Alexander Galazin [Mon, 13 Jan 2020 09:45:56 +0000 (10:45 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I37d5b18d5980372057827bc4435239be98fd30bc
Alan Baker [Mon, 25 Nov 2019 18:03:36 +0000 (13:03 -0500)]
Fix SPIR-V assembly tests with bad cfgs
* Update SPIR-V assembly tests to not declare a continue target as a
merge block
Component: Vulkan
VK-GL-CTS Issue: 2122
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_loop_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_continue_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.continue*
dEQP-VK.spirv_assembly.instruction.graphics.loop.break*
dEQP-VK.spirv_assembly.instruction.graphics.loop.return*
Change-Id: I370331414aae27b53ed79b448b72581e2352c3d7
Alexander Galazin [Sun, 5 Jan 2020 10:06:15 +0000 (13:06 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: If9768a5f553036d5fc3e5fc52051368a37481f08
Alexander Galazin [Sun, 5 Jan 2020 09:19:26 +0000 (12:19 +0300)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I287aadcb16a73697d29d1d13f8de019c0508defd
Alexander Galazin [Sun, 5 Jan 2020 08:33:44 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Id7608050ab3f1c5ce3d26a1480af0de7d90d75ff
Alexander Galazin [Sun, 5 Jan 2020 08:33:03 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I5ebdf2135fdd096d8d35da3ba7d489270f30eba5
Alexander Galazin [Sun, 5 Jan 2020 07:48:47 +0000 (10:48 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I51213fc50189215a04c9206a8b805962052235cb
Alexander Galazin [Sun, 5 Jan 2020 06:36:56 +0000 (09:36 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I2a051b8a36b997c3f904ddd78657de8c1719a53b
Matthew Netsch [Fri, 20 Dec 2019 20:46:11 +0000 (15:46 -0500)]
Allows NaNs in an assert
Components: Vulkan
VK-GL-CTS Issue: 2103
Affects:
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_*
Change-Id: I5848660d120b5a4a07df589a74f47b8ca30befb5
Matthew Netsch [Fri, 20 Dec 2019 20:43:04 +0000 (15:43 -0500)]
Adds subgroup ops stage check
Components: Vulkan
VK-GL-CTS Issue: 2084
Affects:
dEQP-VK.memory_model.message_passing.*.subgroup.*
dEQP-VK.memory_model.write_after_read.ext.*.subgroup.*
Change-Id: Ibb820b4d3de1782bc844f3eb32b6e752745e9976
Chris Forbes [Thu, 19 Dec 2019 22:09:31 +0000 (14:09 -0800)]
Use VK_FORMAT_R32G32_UINT in unused attachment sparse filling tests
VK_FORMAT_R16G16_UINT is not guaranteed to be supported as a storage
image. Use something that is.
VK-GL-CTS Issue: 2155
Components: Vulkan
Affects: dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*
Change-Id: I9a116f824aa8ca00c2bf174b8786c8f9ae2cdafa
Alexander Galazin [Sat, 21 Dec 2019 11:23:06 +0000 (12:23 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I4b8288ca5eab177cd2a6c2684a78a6cf8786b739
Alexander Galazin [Sat, 21 Dec 2019 09:50:50 +0000 (10:50 +0100)]
Re-enable tests
Change-Id: Ic4d90d99b69ef931ba2f3f49538201762eb6746e
Alexander Galazin [Wed, 18 Dec 2019 18:56:23 +0000 (19:56 +0100)]
Update SPIR-V Tools
Components: Framework
Change-Id: Ifef943741a8d8532f5c289e8121d6c503a0a537d
Alexander Galazin [Fri, 20 Dec 2019 20:55:23 +0000 (21:55 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I54ba10b36ec4fabe9d4c9d6ff66857c8e2bbef62
Matthew Netsch [Fri, 4 Oct 2019 15:46:04 +0000 (11:46 -0400)]
Account for VS executing more than once when atomics are used.
Components: Vulkan
Affects: dEQP-VK.glsl.opaque_type_indexing.atomic_counter.*
dEQP-VK.glsl.atomic_operations.*
Change-Id: I15eabf9b47af204fd13370efdc323af141b6b11b
Alexander Galazin [Fri, 20 Dec 2019 15:20:52 +0000 (16:20 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I5e885ca6903eb166df83a1387c5592559e7df469
Ricardo Garcia [Wed, 23 Oct 2019 09:46:15 +0000 (11:46 +0200)]
Add buffer reference comparison tests
This commit adds tests to convert buffer references to both uint64_t and
uvec2 and compare them against zero and against other references.
In addition, new test variants also check cross conversions, i.e., when
a reference is loaded as a uint64_t and later converted to uvec2 or vice
versa.
New tests:
dEQP-VK.binding_model.buffer_device_address.*.convertchecku64.*
dEQP-VK.binding_model.buffer_device_address.*.convertcheckuv2.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertu2p.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertp2u.*
Components: Vulkan
VK-GL-CTS issue: 1968
Change-Id: I4ae5b66473953097a52f169e5b8c425647eedb2c
(cherry picked from commit
d0ee43aaa980dab94ed247e467999864373868d8)
Alexander Galazin [Fri, 20 Dec 2019 12:51:17 +0000 (13:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: If326d580f29fd87e9e72e81a11a39e8629d35bb5
Alexander Galazin [Fri, 20 Dec 2019 12:50:25 +0000 (13:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I0f9446b635621472d72566a6176c7d0c00306263
Dae Kim [Fri, 13 Dec 2019 09:26:05 +0000 (09:26 +0000)]
Avoid undefined behaviour when calculating subgroup ballot masks
The affected tests are shifting the bits of the last component of the
computed ballot masks by 32. However, the SPIR-V specification
establishes that the result of OpShift* is undefined if `Shift` is
greater than *or equal* to the bit width of the components of `Base`.
Affects:
dEQP-VK.subgroups.ballot_other.*
Components: Vulkan
VK-GL-CTS issue: 2083
Change-Id: I8c9b4373f1429669a40741986916e8d71b7eb573