Graeme Leese [Fri, 14 Jun 2019 17:01:34 +0000 (18:01 +0100)]
Use float16 precision for testing mediump
The precision requirements for mediump are not in the spec, they're just
for the conformance test, so it makes sense to use the simplest thing.
Allow the same error margins for mediump's 16-bit as for true 16-bit
floats. This slightly increases the precision requirements on mediump
exp but loosens them for atan.
Note, however, that the requirements for fp16 are still stricter than
for mediump because of the FloatFormat involved. fp16 requires support
for a wider exponent range than mediump.
Components: Vulkan
Affects: dEQP-VK.glsl.builtin.precision.exp*.mediump.*
dEQP-VK.glsl.builtin.precision.atan*.mediump.*
Change-Id: I600a53984ba6a4f624bbb1525636f392d74ae96f
(cherry picked from commit
b7dea11e6a395552a1423009c33d5518d9a0b2ec)
Ari Suonpaa [Wed, 3 Jun 2020 10:19:01 +0000 (13:19 +0300)]
Clear unused image aspects in buffer to depth/stencil copy tests
Some of the buffer to depth/stencil tests used a combined
depth/stencil format but copied only one of those aspects.
The result checking still always compared both aspects. Now
the aspects not being copied are cleared for both result
and reference images to ignore these values.
VK-GL-CTS Issue: 2394
Affects:
dEQP-VK.api.copy_and_blit.core.buffer_to_depthstencil.*
Components: Vulkan
Change-Id: Ie5eba010d4f5f6d484d4635e275492da197eef79
Alexander Galazin [Thu, 4 Jun 2020 13:39:00 +0000 (15:39 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I4c275dc2b38e9e722afd8a79227535bd59d3cb5e
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
(cherry picked from commit
0f323f593e9989190f0b8a5768aa25b594d7c1be)
Alexander Galazin [Thu, 4 Jun 2020 07:48:50 +0000 (09:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I8faea9ae44404bb48cd0cacc20f10cf8441f3b59
Alexander Galazin [Thu, 4 Jun 2020 07:48:50 +0000 (09:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I888b86ca0ad11da7329e4aace426274c44439d9e
Alexander Galazin [Thu, 4 Jun 2020 07:48:46 +0000 (09:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Iee8c3acc0f091ebb4b8a32c300ebddbcaa4fc73f
Alexander Galazin [Wed, 3 Jun 2020 12:35:35 +0000 (14:35 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I1aaa8a159b94d1396c0d53377d1adc98ce684e2b
Alexander Galazin [Wed, 3 Jun 2020 11:26:06 +0000 (13:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: Ia8efca269d913a5aa28a847596348fd6ed1e1571
Alexander Galazin [Wed, 3 Jun 2020 10:26:55 +0000 (12:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I5f4f177d073c81c46c3dc2996f5909353e5cd4ff
Alexander Galazin [Wed, 3 Jun 2020 07:06:31 +0000 (09:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I824fd73bbca4f8632d0fa7f982a8aa9e8c9294a5
Alexander Galazin [Tue, 2 Jun 2020 19:32:35 +0000 (21:32 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I2d3f55a79614417544130cd255cd32da9e5aa423
James Glanville [Fri, 17 Apr 2020 10:54:40 +0000 (11:54 +0100)]
Stop 10bit formats requiring GL_SRGB encoding
The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.
Components: EGL
VK-GL-CTS issue: 2288
Affects:
dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb
Change-Id: I41ab6c6a0467a29cf7e5e764bf2b2cfb78c51db3
Alexander Galazin [Mon, 1 Jun 2020 12:38:53 +0000 (14:38 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I6cf7fcf5c0fab0a28a09b7fd25fcaa89b02e7973
Slawomir Cygan [Fri, 22 May 2020 14:03:20 +0000 (16:03 +0200)]
Do not use 2D array d/s attachment created from 3D texture
Spec says, on VkFramebufferCreateInfo
"""
If flags does not include VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, each
element of pAttachments that is a 2D or 2D array image view taken from a 3D
image must not be a depth/stencil format
"""
This change changes image type to be 2D array, instead of 3D
Components: Vulkan
VK-GL-CTS Issue: 2379
Affects: dEQP-VK.geometry.layered.*.readback
Change-Id: Icd957c6badb17a0fcef82015c1ab2fba0896923b
Matthew Netsch [Wed, 27 May 2020 19:58:36 +0000 (15:58 -0400)]
Fixes clipping tests supported check
Adjacent line modes need to have check
that geometry shaders are supported
Component: Vulkan
VK-GL-CTS Issue: 2383
Affects:
dEQP-VK.clipping.clip_volume.depth_clamp.*
Change-Id: Ifcdc533ab0e9d54e834a7ac8fb609dec7c6ac248
Alexander Galazin [Tue, 26 May 2020 18:51:43 +0000 (20:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: If852bb48bdfbf7cc5168d68c6f296fc98bdb7f3c
Alexander Galazin [Mon, 4 May 2020 10:37:50 +0000 (12:37 +0200)]
Update glslang
Components: Framework, Vulkan, OpenGL
Change-Id: Iae3ab66b64114a79b0ef28b4c4efa610dcdd1ff7
Alexander Galazin [Sun, 24 May 2020 12:34:12 +0000 (14:34 +0200)]
Force Popen to text mode
Components: Framework
Change-Id: Idee7eee4e4f0cd2255c384f447ffe743f09d5a0b
(cherry picked from commit
68eda3f13422a8faac7c46da087132d7c021fe18)
Alexander Galazin [Thu, 7 May 2020 14:16:08 +0000 (16:16 +0200)]
Ensure alphabetical order of xml attributes
Python 3.8 removed artificial alphabetical ordering
of attributes in ElementTree. The recommended solution
to avoid changes in generated xml is to add attributes
in the alphabetical order directly in the source code.
See https://github.com/python/cpython/commit/
63673916464bace8e2147357395fdf3497967ecb
Components: Framework
VK-GL-CTS issue: 2358
Change-Id: Ife4b93a01d76f1f99fcdf2c1d13291ae5c706d85
(cherry picked from commit
b2d84418efc74c558be55c2934e14c2a93edefed)
Alexander Galazin [Fri, 22 May 2020 12:18:06 +0000 (14:18 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I670536e7c9c657dc578a76ad7964df03fefe592e
Alexander Galazin [Thu, 7 May 2020 14:16:08 +0000 (16:16 +0200)]
Fix Fedora 32 gcc/clang warnings
Component: AOSP, OpenGL, Vulkan
VK-GL-CTS issue: 2350
Affects:
KHR*direct_state_access.vertex_arrays*
KHR*core.arrays_of_arrays.sized_declarations_invalid*
dEQP-VK.geometry.*
Change-Id: I55680ac671d0610917d45f7187deec6e883dd6b7
(cherry picked from commit
a4ccc4a84710123839a4f4a9409e93af9ed1ddbc)
Mike Byrne [Mon, 18 Nov 2019 12:30:23 +0000 (12:30 +0000)]
Split spirv_assembly tests workload
The dEQP-VK.spirv_assembly.* tests should allow the render workload to
be split into multiple submissions if required to prevent GPU timeouts
encountered in some tests.
An additional flag is added to allow specific test groups to request
that the test workload is split.
Affects: dEQP-VK.spirv_assembly.*
VK-GL-CTS Issue: 2294
Components: Vulkan
Change-Id: I9295f675c06b3b966d89afae98334ebb5c9530c8
Alexander Galazin [Thu, 14 May 2020 15:13:47 +0000 (17:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I2594c8998a3e6dcc779d6fd84715ee26dddce726
Slawomir Cygan [Thu, 7 May 2020 15:47:08 +0000 (17:47 +0200)]
Add missing barrier to HOST in memory_barrier test
The test was lacking a barrier between device write access and
validation of the data on host.
Components: Vulkan
VK-GL-CTS Issue: 2359
Affects: dEQP-VK.memory_model.message_passing.*
Change-Id: Ia75277aaa2c7e25bff807cd3c6ebe14513403bfc
Matthew Netsch [Mon, 4 May 2020 18:15:49 +0000 (14:15 -0400)]
Fix wide line rasterization tests
Components: Vulkan
VK-GL-CTS Issue: 2347
Affects:
dEQP-VK.rasterization.primitives*line*wide
Change-Id: Ia27d80bfb57b9a09a631580e37d1f1277e99d365
Alexander Galazin [Thu, 7 May 2020 14:16:08 +0000 (16:16 +0200)]
Ensure alphabetical order of xml attributes
Python 3.8 removed artificial alphabetical ordering
of attributes in ElementTree. The recommended solution
to avoid changes in generated xml is to add attributes
in the alphabetical order directly in the source code.
See https://github.com/python/cpython/commit/
63673916464bace8e2147357395fdf3497967ecb
Components: Framework
VK-GL-CTS issue: 2358
Change-Id: Ife4b93a01d76f1f99fcdf2c1d13291ae5c706d85
(cherry picked from commit
b2d84418efc74c558be55c2934e14c2a93edefed)
Alexander Galazin [Fri, 8 May 2020 15:25:26 +0000 (17:25 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ibebde574b312ceb0f9077bcbe13ef5594387b2eb
Slawomir Cygan [Mon, 27 Apr 2020 13:14:42 +0000 (15:14 +0200)]
Avoid exceeding maxPerStageResources in descriptor_indexing tests
The 'calculateInLoop; (*_in_loop) variant of the test is using additional
uniform texel buffer descriptor binding in pipeline layout.
This binding was counted only against maxPerStageDescriptorSampledImages and
maxDescriptorSetSampledImages limits, but not maxPerStageResources.
The fix is to count it against all three limits - but do this only when needed (in
*_in_loop) tests.
Component: Vulkan
VK-GL-CTS Issue: 2333
Affects: dEQP-VK.descriptor_indexing.*
Change-Id: I1c3476cb8c50c3ed61e73ecd4c106e6e9b613022
Alexander Galazin [Thu, 7 May 2020 07:09:10 +0000 (09:09 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I2a9e7765fb9f8fd160fe57074aaba10f661a6761
Alexander Galazin [Thu, 7 May 2020 07:09:09 +0000 (09:09 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I1facde6f3a64f114648ab39432dd4a811e9cfb13
Alexander Galazin [Thu, 7 May 2020 07:09:07 +0000 (09:09 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Icb8ab043f942c02aa8571ffdd8f92ebd1ff606e1
Alexander Galazin [Thu, 7 May 2020 07:09:05 +0000 (09:09 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I8b23066dbc167b851f506efcfdfe4fcf87d7e00b
Alexander Galazin [Thu, 7 May 2020 07:09:03 +0000 (09:09 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: Ieb2b1e6bc78c052aab00f2e519afc897b12809f8
Alexander Galazin [Thu, 7 May 2020 07:09:00 +0000 (09:09 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I738103ad40372749d96b5357726361812828d3ef
Matthew Netsch [Wed, 28 Aug 2019 16:31:19 +0000 (12:31 -0400)]
Adds geometry shader check for test
Components: Vulkan
VK-GL-CTS Issue: 1900
Affects:
dEQP-VK.query_pool.statistics_query.input_assembly*.primary.*adjacency
Change-Id: I6aeb72143231d59711cb1d6ea98bc2cc0264bc84
(cherry picked from commit
c4416209513122ba8f21ca1d9c016a07d65bb7ba)
Chris Forbes [Fri, 1 May 2020 18:50:43 +0000 (11:50 -0700)]
Roll glslang forward to
02c70ad10e1f9dc88ae4ee509f26fe5f9fb31843
This includes fixes for newer compilers, including the official toolchain for the upcoming Android release.
For example, modern clang currently complains:
In file included from
external/deqp-deps/glslang/OGLCompilersDLL/InitializeDll.cpp:42:
external/deqp-deps/glslang/OGLCompilersDLL/../glslang/Include/PoolAlloc.h:307:54:
error: 'operator=' is a private member of 'glslang::TPoolAllocator'
void setAllocator(TPoolAllocator* a) { allocator = *a; }
~~~~~~~~~ ^
Affects: dEQP-VK.*
Components: Vulkan
VK-GL-CTS Issue: 2344
Change-Id: I85e94fea0621c3b72e6f30e7e68377c41449be99
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