Alexander Galazin [Fri, 28 Aug 2020 19:47:55 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: Ie2a63dbf107ed0d976aabc1a0b6fada71bcb0cbd
Alexander Galazin [Fri, 28 Aug 2020 19:47:53 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I67f0624c98b8e04d313db207d3174cfd1f9bd2c4
Alexander Galazin [Fri, 28 Aug 2020 19:47:51 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: Ic59337f761fdea080f215f93a9f773b1ec0fac19
Alexander Galazin [Fri, 28 Aug 2020 19:47:49 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I60e4e39fe689917fbd262c3d3502c08577b7cd75
Alexander Galazin [Fri, 28 Aug 2020 19:47:47 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I7819afa5a0f79fa9859828376c59273bee3ab120
Alexander Galazin [Fri, 28 Aug 2020 19:47:47 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I79af85ae37015656853e9f12f9b1beefe0a1df8f
Alexander Galazin [Fri, 28 Aug 2020 19:47:43 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I39a6bf72421c7adc0e28469622fe6880d8b54c48
Alexander Galazin [Fri, 28 Aug 2020 19:47:42 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ib748d52d82158a63ba3b79a528bcb54276e1df57
Paul Thomson [Thu, 20 Aug 2020 15:21:40 +0000 (16:21 +0100)]
Add a batch of GraphicsFuzz tests
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.stable-quicksort-max-value-as-index
dEQP-VK.graphicsfuzz.stable-quicksort-for-loop-with-injection
dEQP-VK.graphicsfuzz.stable-quicksort-if-false-else-return
Change-Id: Icf1e943af61c9bf3e2a194a1f269a7f0101718be
Jari Komppa [Thu, 6 Aug 2020 10:52:31 +0000 (13:52 +0300)]
Added test for reusing query handle
Added a test which uses a query handle with
GL_TIMESTAMP, deletes it, allocates a new handle
(which is assumed to be the same as previous)
and uses the handle for something else.
Components: OpenGL
VK-GL-CTS issue: 2523
New test: KHR-GL45.direct_state_access.queries_reuse
Change-Id: I7df01fd2b7d6a2ea1530d954313ade831be7b08c
Alexander Galazin [Fri, 28 Aug 2020 09:41:48 +0000 (11:41 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: I06e1adf1dd877a3048c59b2faebb91875db72145
Alexander Galazin [Fri, 28 Aug 2020 09:27:36 +0000 (11:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I32ee9cf4f1a17df56e76e36d57490aa66a20e972
Alexander Galazin [Thu, 27 Aug 2020 07:54:45 +0000 (09:54 +0200)]
Update libpng
Components: Framework
Change-Id: I5f218837c8a58e35b2d37ca170a93eb01d6b0057
Alexander Galazin [Fri, 28 Aug 2020 08:19:53 +0000 (10:19 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I74fcaa3f186e78abaa516520c1fc83493603dde8
Alexander Galazin [Fri, 28 Aug 2020 08:19:51 +0000 (10:19 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: Ia49792e3340b101a5f348eb2a5867a3225e2d156
Piers Daniell [Wed, 26 Aug 2020 22:36:10 +0000 (16:36 -0600)]
Ignore helper pixel invocations with atomic operations tests
The extra helper pixel invocations caused the test to access array
elements that were out of bounds. The fix is to just ignore
those invocations since they aren't part of the expected test
results anyway.
Affects:
dEQP-VK.glsl.atomic_operations.*
Components: Vulkan
VK-GL-CTS issue: 2563
Change-Id: I1b700c007489dbe72db8bbeda0ca327aac3d055f
Alexander Galazin [Fri, 28 Aug 2020 07:13:28 +0000 (09:13 +0200)]
Merge vk-gl-cts/github-master into vk-gl-cts/master
Change-Id: Ide0b3a9bb393c3ba13a21488494b956a8d540eb6
Alexander Galazin [Fri, 28 Aug 2020 07:11:57 +0000 (09:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: Ia00788fea8a18be8138c2dc0fd66db6263c9966d
Alexander Galazin [Fri, 28 Aug 2020 07:10:59 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I5fc3faf6a3bb46fe0daa59c2e911ac94ad1561b1
Alexander Galazin [Fri, 28 Aug 2020 07:10:57 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Ief445c43092cdf2d1c7e432ba72cfffb185de59c
Alexander Galazin [Fri, 28 Aug 2020 07:10:55 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ie4f286836d822239983ba886eee14cd991676afe
Alexander Galazin [Fri, 28 Aug 2020 07:10:54 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I6bb8696c337a0cef0501cf6879a43bc4f95bdfcd
Alexander Galazin [Fri, 28 Aug 2020 07:10:53 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I4801810e09dab1c07ec862b7a3add86291408a22
Alexander Galazin [Fri, 28 Aug 2020 07:10:51 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I0c4266d49b22f1d2f4f02d5c3a02c12665be38ec
Alexander Galazin [Fri, 28 Aug 2020 05:34:21 +0000 (07:34 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I08d446d669112864315659de6c9443e176e9f575
Alexander Galazin [Thu, 27 Aug 2020 15:10:41 +0000 (17:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I8dd42b54d5d9b559f86affd2518cce0ea13f4b33
Karolina Palka [Tue, 11 Aug 2020 15:41:26 +0000 (16:41 +0100)]
Add tests for Read/Write ops on mismatched formats
New tests:
dEQP-VK.image.mismatched_formats.*
Components: Vulkan
VK-GL-CTS issue: 2414
Change-Id: Ic5e28f202f7624a5387f32f0107119c4acd36e31
Ari Suonpaa [Thu, 25 Jun 2020 11:16:48 +0000 (14:16 +0300)]
Add tests for shader reuse with differing layout
These new tests run two pipelines with the same
shaders but a different layout and dynamic offsets.
This covers a reported driver bug where the offsets
were not updated when switching layouts.
VK-GL-CTS Issue: 2324
New tests:
dEQP-VK.binding_model.dynamic_offset.*
Components: Vulkan
Change-Id: Ie0f42f6c2fd182b51dba13f3975e07c37c18ab2b
Mikko Tiusanen [Thu, 30 Jul 2020 08:35:30 +0000 (11:35 +0300)]
Move texel_offset into it's own test group
Moved texel_offset amber test into new test group.
Renamed tests:
Old: dEQP-VK.graphicsfuzz.texel_offset
New: dEQP-VK.texture.texel_offset.texel_offset
Components: Vulkan
VK-GL-CTS issue: 2421
Change-Id: I2d8aa8c1b19f01e2171f4c9445bb49753925764e
Ricardo Garcia [Fri, 7 Aug 2020 13:19:26 +0000 (15:19 +0200)]
Enable random writes for dynamic storage buffers
This commit enables random writes in the descriptor set random tests for
descriptors of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC.
Affected tests:
dEQP-VK.binding_model.descriptorset_random.*sbolimitlow*
dEQP-VK.binding_model.descriptorset_random.*sbolimithigh*
Components: Vulkan
VK-GL-CTS issue: 1973
Change-Id: I5ce90f676e0325fc4794eb886417acc46443aec3
Austin Shafer [Tue, 23 Jun 2020 20:45:28 +0000 (16:45 -0400)]
Add support for FreeBSD
The FreeBSD build is similar to the generic Unix build, with
a couple differences in the available functions.
FreeBSD needs certain flags defined for all the correct symbol
declarations to be visible (__BSD_VISIBLE, __XOPEN_SOURCE=600)
To keep the diff small, a new DE_OS_* macro for FreeBSD was not
made, since FreeBSD only differs from DE_OS_UNIX in a few places.
Where it differs the __FreeBSD__ macro is used, since there is
no good way to tell unices apart with the DE_OS_* macros.
Change-Id: I58fe857c898e9735762ffddb1fdd8e893460322f
Alexander Galazin [Mon, 20 Jul 2020 14:56:24 +0000 (16:56 +0200)]
Restore cubic filtering tests
Components: Vulkan
Change-Id: Ia0d675a9be2d1791bcbfcb695002255d6c8364b4
Reed Koser [Mon, 3 Aug 2020 22:58:33 +0000 (15:58 -0700)]
Offset tris from fragments for triangle tests
At some render resolutions, these tests can rely on the outcome of a
rasterizer tie-break. Since such behavior is left unspecified, we
offset the generated triangles slightly to ensure that they reliably
hit (or miss) the fragment locations we expect them to.
Affects:
KHR-GLES31.core.draw_indirect.basic-mode-drawArrays-triangle_strip_adjacency
KHR-GLES31.core.draw_indirect.basic-mode-drawArrays-triangles_adjacency
KHR-GLES31.core.draw_indirect.basic-mode-drawElements-triangle_strip_adjacency
KHR-GLES31.core.draw_indirect.basic-mode-drawElements-triangles_adjacency
Components: OpenGL ES
VK-GL-CTS issue: 2522
Change-Id: I63ab56dba99b5e6f6369aa4fd8b4538c9d01d874
Alastair Donaldson [Wed, 1 Apr 2020 15:48:46 +0000 (16:48 +0100)]
Account for aliasing exceptions in codegen
Fixes a problem where functions for which aliasing exceptions are in
place (at present this is just glRenderbufferStorageMultisampleEXT)
were not being treated properly in code generation -- their aliased
names were being erroneously used.
Component: Framework
Affects: dEQP-GLES*multisample*
VK-GL-CTS issue: 2291
Change-Id: I5e9caf8828b192d15bb3c91f53a9d09aa9442129
Alexander Galazin [Thu, 27 Aug 2020 06:58:24 +0000 (08:58 +0200)]
Merge pull request #223 from jpark37/colorspace-common-instance
Fix instance mixing in surfaceFormatRenderTest
Matthew Netsch [Wed, 26 Aug 2020 19:52:46 +0000 (15:52 -0400)]
Fix renderdoc library name on android
Components: Framework, Vulkan
VK-GL-CTS Issue: 2562
Change-Id: I05657bd83f7bc97107792dd4d742c346883f589b
Matthew Netsch [Wed, 26 Aug 2020 02:41:11 +0000 (19:41 -0700)]
Fixes descriptor indexing tests
Tests were exceeding the max number of input
attachments
Components: Vulkan
VK-GL-CTS Issue: 2561
Affects:
dEQP-VK.descriptor_indexing.*
Change-Id: If135ecee8aca6480d28f2e66ca574a5a9fbbc201
Slawomir Cygan [Mon, 24 Aug 2020 15:01:15 +0000 (17:01 +0200)]
Set dEQP process to be high-dpi aware on Windows
On systems with DPI scaling enabled the thread should
be high-DPI aware to create windows, that could be used for
exlusive full-screen swapchains with application control.
Components: Vulkan, Framework
VK-GL-CTS Issue: 2558
Affects: dEQP-VK.wsi.win32.full_screen_exclusive.application_controlled
Change-Id: Ibfedb804d902ef41eafcb10cde0d3c2d8e281797
Alexander Galazin [Fri, 21 Aug 2020 16:11:28 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I6f40552d082f7b9e9ad367c4777a1e5474abf8ae
Alexander Galazin [Fri, 21 Aug 2020 14:19:50 +0000 (16:19 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: Ide95e912e13d3a98a8f967bbe9233a2585aee268
Timothy Arceri [Sun, 3 May 2020 05:57:02 +0000 (15:57 +1000)]
Fix some egl robustness tests
Because the values of color were initially undefined an optimised
compiler can simply set all components of the vector to the value
being assigned to color[u_index] and eventually eliminate color and
u_index completely.
To avoid this we initialise color.
Affects:
dEQP-EGL.functional.robustness.reset_context.shaders*
Components: OpenGL
VK-GL-CTS issue: 2349
Change-Id: I6eb929eec07b039afb247427af91aba65dbade9b
(cherry picked from commit
4392facc87c2da80b5065f8663b9303fb1113e16)
Alexander Galazin [Fri, 21 Aug 2020 10:57:07 +0000 (12:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Ib0765cdf1f4a2666eee555d00999b68f8e316905
Iago Toral Quiroga [Mon, 27 Jul 2020 08:07:22 +0000 (10:07 +0200)]
Fix shaderCullDistance limit checks
The maxCullDistances limit is related to the
shaderCullDistance feature, not shaderClipDistance.
VK-GL-CTS issue: 2504
Components: Vulkan
Affects: dEQP-VK.info.device_properties
Change-Id: I705c430912b1c5e162b96f57af7a7ddbec82d973
(cherry picked from commit
cc9c836e2e9e64c1e4bfe0ce687ed4f4236a3450)
Christopher Gautier [Wed, 19 Aug 2020 12:18:19 +0000 (14:18 +0200)]
Fix incorrect buffer type in some protected memory tests
Certain Vulkan tests, such as
dEQP-VK.protected_memory.buffer.fill.<type>_buffer.*, create a BufferView with
a format that is always set to VK_FORMAT_R32G32B32A32_UINT, independently of
the actual test type (float_buffer, integer_buffer, unsigned_buffer). Reading
floats from an integer BufferView may return incorrect values on some
implementations.
This patch propagates a VkFormat parameter so that each test can create a
BufferView with the appropriate format.
Components: Vulkan
Affects:
- dEQP-VK.protected_memory.buffer.copy.*
- dEQP-VK.protected_memory.buffer.fill.*
- dEQP-VK.protected_memory.buffer.update.*
VK-GL-CTS Issue: 2551
Change-Id: I1e79ae2761a028025148c3a63775a0d464278285
(cherry picked from commit
8d42d5d9c0e48ea76fad2cb4e232334b4a849d0f)
Alexander Galazin [Thu, 20 Aug 2020 19:22:23 +0000 (21:22 +0200)]
Allow Vulkan CTS 1.2.4.0
Compnonents: Vulkan
Affects: dEQP-VK.api.driver_properties.properties
Change-Id: Id5254e56ffb7b41e6c30288b5b4bd41bbf7a3be1
Alexander Galazin [Thu, 20 Aug 2020 18:31:20 +0000 (20:31 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: I460f8c8008bf2fa6a19d319035ff67eda902be2b
Christopher Gautier [Wed, 19 Aug 2020 12:18:19 +0000 (14:18 +0200)]
Fix incorrect buffer type in some protected memory tests
Certain Vulkan tests, such as
dEQP-VK.protected_memory.buffer.fill.<type>_buffer.*, create a BufferView with
a format that is always set to VK_FORMAT_R32G32B32A32_UINT, independently of
the actual test type (float_buffer, integer_buffer, unsigned_buffer). Reading
floats from an integer BufferView may return incorrect values on some
implementations.
This patch propagates a VkFormat parameter so that each test can create a
BufferView with the appropriate format.
Components: Vulkan
Affects:
- dEQP-VK.protected_memory.buffer.copy.*
- dEQP-VK.protected_memory.buffer.fill.*
- dEQP-VK.protected_memory.buffer.update.*
VK-GL-CTS Issue: 2551
Change-Id: I1e79ae2761a028025148c3a63775a0d464278285
Tony Zlatinski [Thu, 13 Aug 2020 16:26:45 +0000 (11:26 -0500)]
Fix Image layout transitions for diff_attachments_*
Fix an incorrect image layout transition before
using images as COLOR ATTACHMENT in a render pass
for the dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*
tests.
After the clear operation, the test under question,
should have transitioned the images to
COLOR_ATTACHMENT_OPTIMAL with ACCESS_COLOR_ATTACHMENT_WRITE.
Instead, the layout was incorrectly transitioned to
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT / VK_IMAGE_LAYOUT_GENERAL.
Affects:
dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*
Components: Vulkan
VK-GL-CTS issue: 2545
Change-Id: I815b1cf459b033f02871eebff5b71cb1a45b9d1c
Vihanakangas [Tue, 11 Aug 2020 11:48:19 +0000 (14:48 +0300)]
Fix creation of signaled fences in swapchain tests
According to the vkAcquireNextImageKHR spec,
if fence is not VK_NULL_HANDLE it must be unsignaled.
Some parts of swapchain tests created signaled
fences and immediately called vkAcquireNextImageKHR using those fences.
Affects:
dEQP-VK.wsi.*.swapchain.acquire.*
Components: Vulkan
VK-GL-CTS issue: 2505
Change-Id: I001896f885240d20d2c3fda9458d0c9c0bd743eb
Alexander Galazin [Thu, 6 Aug 2020 08:16:08 +0000 (10:16 +0200)]
Update KC CTS
Components: Framework
Change-Id: Ib90a1476659063d4475cd88c8ec8fbf755d042db
(cherry picked from commit
a26b668be20196cfabbab855f621c4a43c286e84)
Timothy Arceri [Thu, 30 Apr 2020 07:31:13 +0000 (17:31 +1000)]
Fix broken layout binding tests
Some of the shaders being generated contain a misplaced ;
An example of the code being gererated is as follows:
fragColor = vec4(float(atomicCounter(atomic0)), 1.0, 0.0, 1.0);
+vec4(float(atomicCounter(atomic1)), 1.0, 0.0, 1.0);
+vec4(float(atomicCounter(atomic2)), 1.0, 0.0, 1.0);
+vec4(float(atomicCounter(atomic3)), 1.0, 0.0, 1.0);
Affects:
KHR-GL46.layout_binding.atomic_uint_layout_binding_atomic_*
Components: OpenGL
VK-GL-CTS issue: 2348
Change-Id: Ie209de8954c8b8e3920c17be9190030946c93354
(cherry picked from commit
64d344b60bb7b4324525e08766fdeb14bf1f18c6)
Peter Quayle [Mon, 3 Aug 2020 10:17:57 +0000 (11:17 +0100)]
Disable interval watchdog during long shader compiles
On some platforms some shaders take sufficiently long to
compile that the interval watchdog times out. This change
disables the interval watchdog during pipeline creation
in some tests but leaves in place the total time limit,
and re-enables the interval timer after pipeline creation.
Affects:
dEQP-VK.ssbo.phys.layout.*
dEQP-VK.binding_model.buffer_device_address.*
Components: Framework, Vulkan
VK-GL-CTS issue: 2499
Change-Id: Ifb2fad14c8275162414b96f3e823f5544c7b04ec
Dave Airlie [Mon, 1 Jun 2020 21:32:17 +0000 (07:32 +1000)]
Fix pixel pack/unpack in nearest edge tests
With certain fbconfigs and width/height combos, this would
corrupt memory due to overwriting too many bytes by 1.
Components: OpenGL
VK-GL-CTS Issue: 2496
Affects: KHR-GL46.nearest_edge.offset_*
KHR-GLES32.core.nearest_edge.offset*
Change-Id: I2b31c8791337555b0bb154cea1f676f0daf43c7e
(cherry picked from commit
9486b751ce73aa581af1c16494506569cf2e8364)
Alejandro Piñeiro [Sun, 16 Aug 2020 22:07:23 +0000 (00:07 +0200)]
Fix firstInstance for vkCmdDraw call
At vktShaderRender. The tests using that common code doesn't seems to
be setting several instances, but the call to cmddraw is setting first
instance to 1. Note that CmdDraw is called on an else path. The if
codepath is already calling CmdDrawIndexed with firstInstance to 0.
Affects:
dEQP-VK.glsl.builtin_var.simple.pointcoord
dEQP-VK.glsl.builtin_var.simple.pointcoord_uniform_vert
dEQP-VK.glsl.builtin_var.simple.pointcoord_uniform_frag
Components: Vulkan
VK-GL-CTS issue: 2546
Change-Id: Ia608f75e5dbf3879cecf20fd8e0a3a4605c2d2e8
Eric Anholt [Tue, 4 Aug 2020 20:13:50 +0000 (13:13 -0700)]
gles2: Add temporary constant-data shader indexing tests.
Drivers often have a path for taking shader temps that are initialized
with constant data and uploading them through the UBO path instead of
as shader immediates (particularly for dynamic indexing). Add some
shader indexing tests that try to hit that path.
Components: GLES2
Affects: dEQP-GLES2.functional.shaders.indexing.tmp_array.*
Change-Id: I3b06e89eb14120d536ca9ffe97a0300a8e6435a3
Vikram Kushwaha [Tue, 19 May 2020 04:20:23 +0000 (21:20 -0700)]
Add tests for floating-point atomic operations
This commit adds a new set of tests that verify atomic operations
on floating point (32 bit and 64 bit numbers). The operations are atomic
add, exchange, load and store on images, buffers and shared memory
New tests:
dEQP-VK.glsl.atomic_operations.add_float*
dEQP-VK.glsl.atomic_operations.exchange_float*
dEQP-VK.image.atomic_operations.add*r32f*
dEQP-VK.image.atomic_operations.exchange*r32f*
dEQP-VK.memory_model.message_passing.ext.f32.*
dEQP-VK.memory_model.message_passing.ext.f64.*
dEQP-VK.memory_model.write_after_read.ext.f32.*
dEQP-VK.memory_model.write_after_read.ext.f64.*
Components: Vulkan
VK-GL-CTS issue: 2371
Change-Id: I0eceae717352e7dea979fe54e406d6f946db016b
Alexander Galazin [Thu, 13 Aug 2020 14:06:56 +0000 (16:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: I5bf5ef9bbcebdfbb464229c4884a1cc002ec62d6
Ricardo Garcia [Thu, 30 Jul 2020 08:11:58 +0000 (10:11 +0200)]
Try alternative DS formats in extended dynamic state tests
Try both D24_UNORM_S8_UINT and D32_SFLOAT_S8_UINT due to depth/stencil
support only being mandatory for either one.
Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*
VK-GL-CTS issue: 2507
Components: Vulkan
Change-Id: I48c203c9cef22c77513d8f472d16963e66471322
Piers Daniell [Mon, 10 Aug 2020 19:45:57 +0000 (13:45 -0600)]
Don't crash when there are zero displays
Resizing a vector to zero size and then attempting to dereference
the first element cause STL to throw an exceptoin or other
undesirable behavior.
Instead just throw NotSupportedError when there are zero displays.
Affects:
dEQP-VK.wsi.display.*
Components: Vulkan
VK-GL-CTS issue: 2534
Change-Id: Ifd097d8043e8bcb9c20809873d146a7fa4263b4a
jpark37 [Sat, 8 Aug 2020 05:34:32 +0000 (22:34 -0700)]
Fix instance mixing in surfaceFormatRenderTest
Piotr Byszewski [Mon, 15 Jun 2020 07:59:59 +0000 (09:59 +0200)]
Revert workaround for SNORM linear filtering
CL776 for issue 229 introduced changes that relaxed precision for
SNORM formats verification. This change reverts that since
the new waiver mechanism can now be used to disable tests for
specific device id.
VK-GL-CTS issue: 229
Components: Vulkan
Affects:
dEQP-VK.pipeline.sampler.view_type*format*_snorm*_filter.linear
Change-Id: I593b077a3e9e4e65e0773923e61cc5ef558d6d35
Ricardo Garcia [Fri, 17 Jul 2020 08:44:11 +0000 (10:44 +0200)]
More extended dynamic state variants
This commits adds new extended dynamic state variants for some command
sequences that were not tested initially. In particular:
1. Binding a dynamic state pipeline with wrong dynamic values followed
by a static state one with good values before drawing.
2. Binding static pipeline, drawing, binding dynamic one, drawing.
3. Binding dynamic pipeline, drawing, binding static one, drawing.
New tests:
dEQP-VK.pipeline.extended_dynamic_state.before_good_static.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_dynamic.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_static.*
Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*
Components: Framework, Vulkan
VK-GL-CTS issue: 2459
Change-Id: I5d75854e2417b1ecc291b4ecf2108dab6c09dec2
Pawel Ksiezopolski [Thu, 4 Jun 2020 14:20:21 +0000 (16:20 +0200)]
Add tests for VK_EXT_full_screen_exclusive extension
New tests:
dEQP-VK.wsi.*.full_screen_exclusive.*
Components: Vulkan
VK-GL-CTS issue: 1685
Change-Id: Ife5394dcb2f207eedd8ac55da6a06d1fb31202f8
Alexander Galazin [Thu, 6 Aug 2020 11:32:55 +0000 (13:32 +0200)]
Allow Vulkan CTS 1.2.3.2
Components: Vulkan
Affects: dEQP-VK.api.driver_properties.properties
Change-Id: Ibbb510402049a36cf28b3852f4fc93f7c028b704
Alexander Galazin [Thu, 6 Aug 2020 18:52:31 +0000 (20:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into into/vulkan-cts-1.2.3
Change-Id: I3acf8badddc40281feed39932dd297859705dfc7
Alexander Galazin [Thu, 6 Aug 2020 18:21:54 +0000 (20:21 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Ied950b7f9720bb0d6539fa08a0f0123b68554dd0
Alexander Galazin [Thu, 6 Aug 2020 16:03:17 +0000 (12:03 -0400)]
Merge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"
Karolina Palka [Tue, 14 Jul 2020 11:16:42 +0000 (13:16 +0200)]
Add tests for VK_EXT_global_priority
New tests:
dEQP-VK.api.device_init.create_device_global_priority
Components: Vulkan
VK-GL-CTS issue: 1686
Change-Id: I06bd3f24580009b5c038144e98aa4525c803a8e9
Matthew Netsch [Wed, 5 Aug 2020 16:33:35 +0000 (09:33 -0700)]
Fix support check for sparse input attachment test
Components: Vulkan
VK-GL-CTS Issue: 2528
Affects:
dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*
Change-Id: I4c143273e9f337f7d5dcfc0230c800955304633b
Alexander Galazin [Thu, 6 Aug 2020 13:03:48 +0000 (15:03 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: Ib15fc404b544f741f4279f63188f8fea26a5526d
Alexander Galazin [Thu, 6 Aug 2020 13:00:02 +0000 (09:00 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"
Ricardo Garcia [Fri, 17 Jul 2020 09:29:42 +0000 (11:29 +0200)]
Check per-sample copy results in multisample copy tests
This commit adds an intermediate verification step in multisample copy
tests to make sure multisample copy operations are correct on a
per-sample basis.
Affected tests:
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_copy_before_resolving.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image_one_region.*
Components: Vulkan
VK-GL-CTS issue: 2448
Change-Id: I140ec0e9d6f34ca9954aa1e519e2e5dd384f264f
Alexander Galazin [Thu, 6 Aug 2020 11:30:32 +0000 (13:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: Ie9007d2b00108f8ed1dabf99830a7cb7011198c3
Toni Salmivalli [Thu, 16 Jul 2020 10:34:06 +0000 (13:34 +0300)]
Add a batch of GraphicsFuzz tests
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-injected-conditional-true
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-true-conditional-simple-loop
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-vec3-values-from-matrix
Change-Id: I1ce7de9fcd4dc9afb414d99230316e22b3191371
Alexander Galazin [Thu, 6 Aug 2020 10:20:26 +0000 (12:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I9b3cd47707fa2f7d56cc3fc1037c3fb556c20f90
Alexander Galazin [Thu, 6 Aug 2020 08:16:08 +0000 (10:16 +0200)]
Update KC CTS
Components: Framework
Change-Id: Ib90a1476659063d4475cd88c8ec8fbf755d042db
Alexander Galazin [Thu, 6 Aug 2020 08:11:00 +0000 (10:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I7f2c0916bffde736bf0e47a306249e0f78a47193
Dave Airlie [Mon, 1 Jun 2020 21:32:17 +0000 (07:32 +1000)]
Fix pixel pack/unpack in nearest edge tests
With certain fbconfigs and width/height combos, this would
corrupt memory due to overwriting too many bytes by 1.
Components: OpenGL
VK-GL-CTS Issue: 2496
Affects: KHR-GL46.nearest_edge.offset_*
Change-Id: I2b31c8791337555b0bb154cea1f676f0daf43c7e
Dave Airlie [Fri, 24 Jul 2020 00:44:54 +0000 (10:44 +1000)]
fix 1d depth component 16 sizing in layout locations tests.
VK-GL-CTS Issue: 2497
Components: OpenGL
Affects:
KHR-GL45.layout_location.*
KHR-GLES31.shaders.layout_location.*
Change-Id: I47534a0c5b66fadc847e8aeca4c5600cdb7fef8c
Dave Airlie [Thu, 23 Jul 2020 04:14:18 +0000 (14:14 +1000)]
Fix more expected errors for some DSA functions
In commit
03c16305943cf98bbe1d55aaca7666d796c1398c
Piers fixed most of these but he missed two.
Affects:
Components: OpenGL
VK-GL-CTS Issue: 2275
KHR-GL46.direct_state_access.textures_parameter_setup_errors
Change-Id: Ia469aef4c7ad65a63ef6bc2f659c135776efdc2c
Karol Herbst [Mon, 27 Apr 2020 11:07:17 +0000 (13:07 +0200)]
glspirv: don't cause aborted test runs.
These test also need checks in their deinit, and one missing init function.
Components: OpenGL
VK-GL-CTS Issue: 2498
Affects: KHR-GL45.gl_spirv.spirv_glsl_to_spirv*
Change-Id: I374c0980f68daf418c15b03625e12d4e78271076
Dave Airlie [Fri, 10 Apr 2020 01:24:12 +0000 (11:24 +1000)]
Fix pipeline statistics test
The test calls glDrawRangeElements (mode=10, start=0, end=1, count=4, type=5125, indices=0x40)
But the index data is 0, 2, 1, 3
But a LINE adjacent primitive would use indices 2, 1 to make the line, now if the end == 1,
I don't think the behaviour for the first vertex is defined. If it gets clamped to 1,
you end up with a line 1,1 which our culling throws away as an empty line,
and we never run a fragment shader.
Now I think this is a bug in the test, in PipelineStatisticsQueryTestFunctionalBase::initVBO
m_vbo_n_indices = sizeof(raw_index_data_size) / sizeof(unsigned int);
VK-GL-CTS Issue: 2501
Components: OpenGL
Affects: KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations
Change-Id: Ie4ce573521ec7e1f169b9ec8ce6e76f41a0ce6f7
Paul Thomson [Thu, 30 Jul 2020 17:11:05 +0000 (18:11 +0100)]
Convert GraphicsFuzz vkscript to AmberScript
Also re-disassembled some SPIR-V shaders so that IDs are numbers instead
of names. Corrected some comments. Changed some tests to check ALL
pixels colors where this was possible.
Components: Vulkan
Affected tests:
dEQP-VK.graphicsfuzz.*
Change-Id: Iea2e7d852cf2b02886af84e986d180614ae543ff
Matthew Netsch [Wed, 29 Jul 2020 22:12:52 +0000 (18:12 -0400)]
Fixes capability checks in subgroup tests
Components: Vulkan
VK-GL-CTS Issue: 2517
Affects:
dEQP-VK.subgroups.vote.*
dEQP-VK.subgroups.vote.frag_helper.*
Change-Id: I49832e7fe34eddbc655ca4d5d7e155d311685c8a
Matthew Netsch [Wed, 29 Jul 2020 22:03:46 +0000 (18:03 -0400)]
Splits protected memory test shaders
Components: Vulkan
VK-GL-CTS Issue: 2516
Affects:
dEQP-VK.protected_memory.stack.stacksize_*
Change-Id: I5ac52229cd59e9b4b92914a60b0ffa37cdff70c7
Toni Salmivalli [Fri, 17 Jul 2020 10:28:50 +0000 (13:28 +0300)]
dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix
Change-Id: I1c8c0ff590c7cbb2ab55c9d682c6d643556c5483
Lionel Landwerlin [Sun, 19 Jul 2020 19:13:18 +0000 (22:13 +0300)]
Test imported signaled sync fd
New tests:
dEQP-VK.api.external.fence.sync_fd.import_signaled_temporary
Components: Vulkan
Change-Id: Ifb79338443d09596494c30d3d1527f79ac39e1b4
Alexander Galazin [Wed, 5 Aug 2020 09:38:14 +0000 (11:38 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: I331485a1817e81f9b1c0d2a9c025e07b8c436216
Alexander Galazin [Wed, 5 Aug 2020 08:10:42 +0000 (10:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: If6ab8dd1d8164a6977a8af611ac20283f89fb86c
Alexander Galazin [Mon, 20 Jul 2020 15:00:35 +0000 (17:00 +0200)]
Restore dual source blending tests
Components: Vulkan
Change-Id: Ic727ae43d7ddc5b296d20ad5762047e815299023
Alexander Galazin [Mon, 3 Aug 2020 14:28:25 +0000 (16:28 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: I05af7697bce1cbd0d6e89ead8db2f552c77d0768
Paul Thomson [Wed, 29 Jul 2020 15:18:30 +0000 (16:18 +0100)]
Delete excluded graphicsfuzz test
This test was excluded, but we should just delete it.
Components: Vulkan
VK-GL-CTS Issue: 2457
Affects:
dEQP-VK.graphicsfuzz.return-mat2x3-value-from-func
Change-Id: Ibd026a9a8138c9de0cc2fd119399cc4935f655bc
Zoltowski, Wojciech [Fri, 3 Jul 2020 07:45:14 +0000 (09:45 +0200)]
Throw an error on missing cmake in build config
This raises the error instead on falling back to using cmake
from PATH (which is not in PATH, as already checked)
Components: Framework
VK-GL-CTS Issue: 2442
Change-Id: Id85b9097dffb7c8a69794ff4cfd5ad677cc73b10
Charles Johnston [Wed, 22 Jul 2020 16:54:13 +0000 (12:54 -0400)]
Fix for dEQP-VK.subgroups.*_requiredsubgroupsize
The tests in the group dEQP-VK.subgroups.*_requiredsubgroupsize do
not check if requiredSubgroupSizeStages from the structure
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT contain the
shader stage the tests are using.
Affected tests:
dEQP-VK.subgroups.*_requiredsubgroupsize
Components: Vulkan
VK-GL-CTS issue: 2494
Change-Id: I2a932248698658a75364b9adc907f5454ff1d969
Iago Toral Quiroga [Mon, 27 Jul 2020 08:07:22 +0000 (10:07 +0200)]
Fix shaderCullDistance limit checks
The maxCullDistances limit is related to the
shaderCullDistance feature, not shaderClipDistance.
VK-GL-CTS issue: 2504
Components: Vulkan
Affects: dEQP-VK.info.device_properties
Change-Id: I705c430912b1c5e162b96f57af7a7ddbec82d973
Ricardo Garcia [Thu, 16 Jul 2020 07:38:40 +0000 (09:38 +0200)]
Test mipmaps with linear tiling
This commit adds a new set of tests to check the basic aspects of
working with mimaps in linearly-tiled images. The tests fill image contents
using vkCmdCopyBufferToImage and check image access with
vkGetImageSubresourceLayout from the host.
New tests:
dEQP-VK.image.subresource_layout.*
Components: Vulkan
VK-GL-CTS issue: 2445
Change-Id: Idfb994a9038d6c1f6aa88d336cfaa79939129ca8
Ricardo Garcia [Tue, 30 Jun 2020 07:25:12 +0000 (09:25 +0200)]
Enable random descriptor writes for storage buffers
This commit activates random writes for storage buffers in the
descriptor set random tests.
Affected tests:
dEQP-VK.binding_model.descriptorset_random.*sbolimitlow*
dEQP-VK.binding_model.descriptorset_random.*sbolimithigh*
Components: Vulkan
VK-GL-CTS issue: 1973
Change-Id: Ia840d4fc57a695fb1e3bc7aa628cafa71e42badd
Alexander Galazin [Thu, 30 Jul 2020 07:27:32 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: Ic2ff8372d3b281eafdf710845bf74a1019ce504b
Alexander Galazin [Thu, 30 Jul 2020 07:27:30 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: Ib6ad16a84861396d4216b00bdbdf55fcd82fbd77
Alexander Galazin [Thu, 30 Jul 2020 07:27:28 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I85270b15bd84ce01ee927c5bd4687a4d2196e1fe