Slawomir Cygan [Thu, 7 Nov 2019 16:27:16 +0000 (17:27 +0100)]
Add check comparing conformanceVersion to API version
Fail if reported conformanceVersion is older than API version.
Components: Vulkan
VK-GL-CTS Issue: 2091
Change-Id: If2a3337a11cc04c777ab28ea890eace994ced76e
Affects: dEQP-VK.api.driver_properties.conformance_version
Thomas Spurden [Fri, 25 Oct 2019 10:50:34 +0000 (11:50 +0100)]
Use cmake find_package for ZLIB and PNG libraries
This is the standard cmake way to find packages.
Change-Id: I193290c413fe917ceaad47519ababfb435c363cb
Graeme Leese [Tue, 5 Nov 2019 12:56:45 +0000 (12:56 +0000)]
Enable storage image tests for more formats
On implementations that don't support the whole ExtendedFormat set, tests
that used any format from that set would return NotSupported. Changing
this to checking the actual format for storage image support allows us
still to run these tests on implementations where they're supported.
Component: Vulkan
VK-GL-CTS issue: 2090
Affects: dEQP-VK.image.mutable.*
dEQP-VK.image.texel_view_compatible.*
dEQP-VK.synchronization.*
Change-Id: I7de9c0bde1613d2cc1fc9f8490955c580a1939c1
Alan Baker [Mon, 26 Aug 2019 19:39:27 +0000 (15:39 -0400)]
Remove 16-bit storage from float16 composite tests
Remove the use of the 16-bit storage extension from float16 tests for
composite construct, insert and extract opcodes.
Component: Vulkan
VK-GL-CTS Issue: 1931
Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.opcompositeconstruct*
dEQP-VK.spirv_assembly.instruction.*.float16.opcompositeinsert*
dEQP-VK.spirv_assembly.instruction.*.float16.opcompositeextract*
Change-Id: I8e17585148e7416e9bfbb3c500cffe27ae609599
Ricardo Garcia [Thu, 23 May 2019 12:18:39 +0000 (14:18 +0200)]
Fix extension struct usage in descriptorset_random
dEQP-VK.binding_model.descriptorset_random tests were using extension
structures when creating the descriptor set layout without checking
first if the extension was supported.
Affected tests:
dEQP-VK.binding_model.descriptorset_random.*
Components: Vulkan
VK-GL-CTS issue: 1652
Change-Id: Ifc165293cb846316be4493a0f499b63719b61ac2
Jari Komppa [Mon, 4 Nov 2019 13:51:27 +0000 (15:51 +0200)]
Add index file for amber tests
This change adds index file for amber tests, making it possible to add
new amber tests without having to recompile the cts binary itself.
This change does not affect the tests themselves, just the way they are
discovered.
Affects: none
Components: Vulkan
VK-GL-CTS issue: 2086
Change-Id: Iba1d2b6cfe8816360fe520dec90621a71a4d2769
Boris Zanin [Tue, 15 Oct 2019 13:36:57 +0000 (15:36 +0200)]
Extend maps with raygeneration types
Make QP to recognize ray tracing types
* RayGenShader
* AnyHitShader
* ClosestHitShader
* MissShader
* IntersectionShader
* CallableShader
Affects:
* dEQP-VK.binding_model.descriptorset_random.*
Components: framework, vulkan
VK-GL-CTS issue: 2058, 1995
Change-Id: Idaba22c1fe07e040dbdcc143db2c9a5e52f2ae01
Alexander Galazin [Mon, 18 Nov 2019 13:44:32 +0000 (14:44 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: Id479d9ffe34b394d216d8961bdd06e76611fcf18
Alexander Galazin [Mon, 18 Nov 2019 12:39:00 +0000 (13:39 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I163fd1d3c3f3a600e3a89031d350eb2b08f81e4d
Chris Mayer [Fri, 8 Nov 2019 12:28:16 +0000 (13:28 +0100)]
Add memory barrier to VK transform_feedback tests
The transform feedback tests are reading the transform
feedback buffers which was written by the GPU from the
host. Added a memory barrier to make sure the data is up to
date when it is accessed by the host.
Affects: dEQP-VK.transform_feedback.*
Components: Vulkan
VK-GL-CTS issue: 2096
Change-Id: Ibf9f86e9c1f02bdbfe822f62c44c30155ed8c555
Alexander Galazin [Mon, 18 Nov 2019 11:28:51 +0000 (12:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: Idea5f48ee1eb6dfa2290d738cabff96c7e88daad
Alexander Galazin [Mon, 18 Nov 2019 10:06:07 +0000 (11:06 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I9adaa87d0bf5d06a12bfc2fcd4b8a30568cefb48
Pawel Ksiezopolski [Thu, 4 Jul 2019 08:11:38 +0000 (10:11 +0200)]
Add tests for VK_EXT_fragment_density_map
Extension VK_EXT_fragment_density_map may reduce the amount of fragment shader calls
by broadcasting result of a single FS call to multiple pixels of a color attachment.
New tests:
dEQP-VK.renderpass2.fragment_density_map.*
Components: Vulkan
VK-GL-CTS issue: 1681
Change-Id: I1109c39f6b4100f380b99cb35ed7281c120157b1
Graeme Leese [Fri, 15 Nov 2019 11:33:35 +0000 (11:33 +0000)]
Fix gerrit rebasing conflict
The new tests for sparse input attachments used the old syntax for
requiring extensions, so change it to the new method.
Change-Id: Ia0be4bce779f55b8d44fdc07b12d969f0bc88e43
Pawel Ksiezopolski [Fri, 25 Oct 2019 13:26:39 +0000 (15:26 +0200)]
Test sparse input attachments in VkSubpassDescription
According to specification VkSubpassDescription::pInputAttachments can
handle more input attachments than maxPerStageDescriptorInputAttachments
as long as the number of used input attachments is below this limit.
The rest must have VK_ATTACHMENT_UNUSED flag set in pInputAttachments.
New tests:
dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*
dEQP-VK.renderpass2.suballocation.attachment_sparse_filling.*
Components: Vulkan
VK-GL-CTS issue: 2034
Change-Id: I10bec67b6fd8eb722d81bd8ee7344475b7b0511a
Piers Daniell [Wed, 9 Oct 2019 16:12:47 +0000 (10:12 -0600)]
Add coverage for pipeline cache hit of active pipeline
This CL adds coverage to the dEQP-VK.pipeline.creation_feedback.*
tests for the case where the newly created pipeline has
a cache hit of another pipeline that was created previously,
and that other pipeline is still open and active.
Previously the test only had coverage for pipeline cache
hit of previous pipelines that were destroyed. This adds
coverage for both scenarios.
Affects:
dEQP-VK.pipeline.creation_feedback.*
Components: Vulkan
VK-GL-CTS issue: 2032
Change-Id: I7320d0bf075ea430eafbcf6c3b2518b985c024b8
Alexander Galazin [Thu, 14 Nov 2019 16:28:11 +0000 (17:28 +0100)]
Whitelist Vulkan CTS 1.1.6.2
Affects: dEQP-VK.api.driver_properties.properties
Components: Vulkan
Change-Id: I88e01d7a9c754c8a11cb5f4505257fd338eabbf7
Lionel Landwerlin [Wed, 13 Nov 2019 22:05:31 +0000 (00:05 +0200)]
Do not reset perf queries in multi submitted cmdbuffer
Some implementations can require multiple passes to gather values for
their performance queries. It's important not to reset the query pool
in a batch that can be submitted multiple times, otherwise the queries
result risk to never become available.
Compontents: Vulkan
Affects: dEQP-VK.query_pool.performance_query.*
Change-Id: Ief00457fc0808a7c5ee7c0bf6aaf7de7f3042ca5
Lionel Landwerlin [Tue, 15 Oct 2019 15:22:38 +0000 (18:22 +0300)]
Update VK_KHR_performance_query enumerate
Components: Vulkan
Affects: dEQP-VK.query_pool.performance_query.enumerate*
Change-Id: I443c1c9b7a1903063b27b77fc47cbb88259aa407
(cherry picked from commit
bc519fecec3d1b27e0e5ee1a4947257260202eff)
Boris Zanin [Thu, 16 Aug 2018 08:55:01 +0000 (10:55 +0200)]
Tests for VK_KHR_performance_query
Add tests:
* dEQP-VK.query_pool.performance_query.*
Components: Vulkan
VK-GL-CTS issue: 1302
Update VK_KHR_performance_query headers
Align CTS header for VK_KHR_performance_query with API MR 3268
Components: Vulkan
Affects:
dEQP-VK.query_pool.performance_query.*
dEQP-VK.api.info.get_physical_device_properties2.features
dEQP-VK.api.info.get_physical_device_properties2.properties
VK-GL-CTS issue: 1947
Change-Id: I4d3c62dace2d259061f78d3014deb05bc4eac9d7
(cherry picked from commit
32556493fcafd676ec5d8fcfd3492a8c30fa0f97)
(cherry picked from commit
57bdbad1c7d6d527a30ae211164edab945818def)
Ricardo Garcia [Tue, 12 Nov 2019 12:22:22 +0000 (13:22 +0100)]
Check renderpass2 support in image clearing tests
This commit makes sure VK_KHR_create_renderpass2 is supported before
using it in some image clearing tests.
Affected tests:
dEQP-VK.api.image_clearing.*separate_layouts*
Components: Vulkan
VK-GL-CTS issue: 2101
Change-Id: Ib1a44b44f771bb31fd1ef798d2727370d143a1fa
Alexander Galazin [Thu, 14 Nov 2019 11:50:30 +0000 (06:50 -0500)]
Merge "Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master"
Alexander Galazin [Mon, 21 Oct 2019 07:39:11 +0000 (09:39 +0200)]
Move DE_3RD_PARTY_CXX*FLAGS definition to the end
Components: Framework
Change-Id: I67d550046e52eeb80467dc691f2c7c31423ebd8c
Alexander Galazin [Thu, 14 Nov 2019 10:10:50 +0000 (11:10 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I033c9220c75bfe0747e6d7b75c7eb00f4619c383
Lionel Landwerlin [Wed, 13 Nov 2019 16:04:22 +0000 (18:04 +0200)]
Fix check of api features
Fixes the cherry pick
282341d2cf5da0d9aaea1547958eb54c3f84ee0f.
Compontents: Vulkan
Affects: dEQP-VK.api.info.get_physical_device_properties2.features
Change-Id: I1d102716767c7bef0b872a5ebe1eb1d77bcd11b5
Alexander Galazin [Wed, 13 Nov 2019 15:17:00 +0000 (16:17 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I96bc5705c41b8ec87b7f14afc0cfa354b84cad4e
Alexander Galazin [Wed, 13 Nov 2019 11:36:30 +0000 (12:36 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: Ie8ae10da8cc6b375e2d137d535d87cddc1170a49
Venni Ihanakangas [Wed, 2 Oct 2019 10:58:33 +0000 (13:58 +0300)]
dEQP-VK.graphicsfuzz.undefined-integer-in-function
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.undefined-integer-in-function
Change-Id: I3fa2b040bae1fa8b9c1db98488bfa95b170c1b59
Venni Ihanakangas [Mon, 16 Sep 2019 09:33:07 +0000 (12:33 +0300)]
dEQP-VK.graphicsfuzz.while-function-always-false
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.while-function-always-false
Change-Id: Ia741567432e6edd9071b92ea3adb6222bbbc163f
Mike Byrne [Fri, 1 Nov 2019 16:50:17 +0000 (16:50 +0000)]
Split descriptor set indexing render pass workload
The render pass workload for descriptor set indexing tests which call
DynamicBuffersInstance::iterate should be split into multiple
submissions to prevent timeouts observed in
dEQP-VK.descriptor_indexing.uniform_buffer_dynamic_in_loop
test.
A number (16) of command buffers, each for a separate render area, are
created and submitted separately.
Affects: dEQP-VK.descriptor_indexing*
Components: Vulkan
VK-GL-CTS Issue: 2061
Change-Id: Ib232854a1224aadbd63eaad30e15f893eeb48f85
Investigation for Khronos issue;
https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/2061
Change-Id: Ib232854a1224aadbd63eaad30e15f893eeb48f85
Tom Cooper [Mon, 28 Oct 2019 15:04:36 +0000 (15:04 +0000)]
Reduce dEQP-VK.pipeline.render_to_image allocs to within platform limits
These tests allocate an image of upto 25% of VkMemoryHeap heapSize and
should be limited to the value in
PlatformMemoryLimits.totalSystemMemory.
Component: Vulkan
VK-GL-CTS Issue: 2087
Affects:
dEQP-VK.pipeline.render_to_image*
Change-Id: Ie7d775cc55fdb54e448fc1c973d1e17925711e47
Iago Toral Quiroga [Tue, 15 Oct 2019 11:16:21 +0000 (13:16 +0200)]
Fix geometry shader limits regarding available image units
The test case KHR-GLES31.core.geometry_shader.api.max_image_uniforms
would fail if the implementations reports:
MAX_GEOMETRY_TEXTURE_IMAGE_UNITS < MAX_GEOMETRY_IMAGE_UNIFORMS
However, the latter was introduced with ARB_shader_image_load_store,
whereas the former refers to samplers. From the GLES 3.2 spec:
"Note that image units used for image variables are independent
of the texture image units used for sampler variables; the number
of units provided by the implementation may differ. Textures
are bound independently and separately to image and texture image
units".
In fact the ARB_shader_image_load_store spec doesn't mention any of
the MAX_{*}_TEXTURE_IMAGE_UNITS at all, and it only talks about
MAX_IMAGE_UNITS and MAX_{*}_IMAGE_UNIFORMS.
Specifically, the test calls glBindImageTexture for as many
units as reported by MAX_GEOMETRY_IMAGE_UNIFORMS and the spec for
glBindImageTexture only requires that:
"An INVALID_VALUE error is generated if unit is greater than
or equal tothe value of MAX_IMAGE_UNITS, (...)"
So this changes the test to fail only if:
MAX_IMAGE_UNITS < MAX_GEOMETRY_IMAGE_UNIFORMS
VK-GL-CTS issue: 2057
Components: OpenGL ES
Affects: KHR-GLES31.core.geometry_shader.api.max_image_uniforms
Change-Id: I24566a1372c486512b64ce5d4b329925d859e0af
Ari Suonpaa [Thu, 23 May 2019 17:34:08 +0000 (20:34 +0300)]
Add tests for variable init from global variable
The existing OpVariable init tests were using
only constants as the initialization value. Now
also global scope variables are tested. There
are two variations for these global variables:
one where it's initialized from a constant and
one where the value is written in the code before
using the global as an initialization source.
Affects:
dEQP-VK.spirv_assembly.*.variable_init.*
New tests:
dEQP-VK.spirv_assembly.*.variable_init.*_from_*
Components: Vulkan
VK-GL-CTS issue: 1773
Change-Id: If19f8c3ec5b5da5626c41991add15eaa3183d77f
Slawomir Cygan [Wed, 6 Nov 2019 17:53:20 +0000 (12:53 -0500)]
Revert "Remove NaNs from double compare tests"
This reverts commit
fd434f47d86cd9f866c9e41adbb5d1d2b982a19b.
Affected tests:
dEQP-VK.spirv_assembly.instruction.*.64bit_compare.double.*
Components: Vulkan
VK-GL-CTS issue: 2066
Change-Id: Id0764ce159ca7edd96ec95864f62b928f3831718
Paul Thomson [Mon, 2 Sep 2019 16:51:12 +0000 (17:51 +0100)]
dEQP-VK.graphicsfuzz.call-if-while-switch
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.call-if-while-switch
Change-Id: Ia0806ffc67be9f9b6eacdab6747bd8217bed7b46
Slawomir Cygan [Mon, 28 Oct 2019 16:04:44 +0000 (17:04 +0100)]
Remove dead members from synchronization OperationContext
These are not used since the switch to `requireDeviceFunctionality`
test case API.
Components: Vulkan
Affects: dEQP-VK.synchronization.*
Change-Id: Ib6e0b817e5732e1be2e58b5b781a4f5af9d824a3
Graeme Leese [Mon, 30 Sep 2019 16:47:22 +0000 (17:47 +0100)]
subgroups: Use common boilerplate for shader code
The code that set up the input values and wrote the output values to
appropriate locations was the same in all sets of subgroup tests and
duplicated into each of them, meaning any bugs had to be fixed multiple
times. Put all this common boilerplate into the TestUtils.
Components: Vulkan
Affects: dEQP-VK.subgroups.ballot_broadcast.*
dEQP-VK.subgroups.arithmetic.*
dEQP-VK.subgroups.clustered.*
dEQP-VK.subgroups.quad.*
Change-Id: Ibde86869c33df4d057b9fd39705feeb9dff8c248
Tom Cooper [Sat, 26 Oct 2019 18:14:42 +0000 (19:14 +0100)]
Fix descriptor_indexing.input_attachment subpass description
The input attachments in the subpass description did not match the
descriptor set layout and shader. Unused attachment references have
been inserted to pad out the subpass description.
Components: Vulkan
VK-GL-CTS Issue: 2072
Affects: dEQP-VK.descriptor_indexing.input_attachment*
Change-Id: Iab36be779007828ddb25fe0600305a19be448804
Alexander Galazin [Fri, 1 Nov 2019 14:05:53 +0000 (15:05 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I74696bcb3e23aa3e8bde59ebea3137b262dd1394
Venni Ihanakangas [Mon, 14 Oct 2019 12:32:08 +0000 (15:32 +0300)]
dEQP-VK.graphicsfuzz.undefined-assign-in-infinite-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.undefined-assign-in-infinite-loop
Change-Id: I8dac4a3fe6570bf3a38de206434af534862e0544
Ricardo Garcia [Wed, 23 Oct 2019 16:38:45 +0000 (18:38 +0200)]
Check NaN support in double comparison tests
This commit makes sure NaNs are supported in shaders before using them
in double comparison tests, activating the needed extensions and
capabilities.
Affected and new tests:
dEQP-VK.spirv_assembly.instruction.*.64bit_compare.*
Components: Vulkan
VK-GL-CTS issue: 2066
Change-Id: I3d4d344a0fdaa574d7653d30d1ddc248eda0047e
Alexander Galazin [Fri, 1 Nov 2019 11:16:47 +0000 (12:16 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Ia5d78f0656fb1a2b2e4f989ba556edc3154856f7
Ilkka Saarelainen [Wed, 9 Oct 2019 06:11:03 +0000 (09:11 +0300)]
dEQP-VK.graphicsfuzz.conditional-return-in-infinite-while
Components: Vulkan
New tests:
dEQP-VK.graphicsfuzz.conditional-return-in-infinite-while
Change-Id: I9939759eb848c1a8bb9789eb0234bde10bc53335
Piers Daniell [Tue, 30 Apr 2019 22:50:00 +0000 (16:50 -0600)]
Tests for VK_KHR_separate_depth_stencil_layouts
Test coverage for VK_KHR_separate_depth_stencil_layouts. See
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/3172
This change modifies several test groups to use a single
image aspect bit for depth+stencil formats rather than the
VU required D+S aspects.
Where appropriate the tests are also modified to use
the new depth-only or stencil-only optimal layouts.
Affects:
dEQP-VK.api.copy_and_blit.*d16_unorm_s8_uint*
dEQP-VK.api.copy_and_blit.*d24_unorm_s8_uint*
dEQP-VK.api.copy_and_blit.*d32_sfloat_s8_uint*
dEQP-VK.api.image_clearing*d16_unorm_s8_uint*
dEQP-VK.api.image_clearing*d24_unorm_s8_uint*
dEQP-VK.api.image_clearing*d32_sfloat_s8_uint*
dEQP-VK.pipeline.stencil*d16_unorm_s8_uint*
dEQP-VK.pipeline.stencil*d24_unorm_s8_uint*
dEQP-VK.pipeline.stencil*d32_sfloat_s8_uint*
dEQP-VK.pipeline.depth*d16_unorm_s8_uint*
dEQP-VK.pipeline.depth*d24_unorm_s8_uint*
dEQP-VK.pipeline.depth*d32_sfloat_s8_uint*
dEQP-VK.*.depth_stencil_resolve*d16_unorm_s8_uint*
dEQP-VK.*.depth_stencil_resolve*d24_unorm_s8_uint*
dEQP-VK.*.depth_stencil_resolve*d32_sfloat_s8_uint*
Change-Id: I147f3736614cc897f1319c5aac5ed1fdba2d7b66
Compontents: Vulkan
(cherry picked from commit
39e17004ec33f0e546e6f391f933fb938e8c507d)
Alexander Galazin [Fri, 25 Oct 2019 15:31:07 +0000 (17:31 +0200)]
Whitelist Vulkan CTS 1.1.6.1
Affects: dEQP-VK.api.driver_properties.properties
Components: Vulkan
Change-Id: Id79758cf4688ec414176433edae0914826f088df
Paul Thomson [Tue, 8 Oct 2019 15:27:14 +0000 (16:27 +0100)]
dEQP-VK.graphicsfuzz.loops-ifs-continues-call
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.loops-ifs-continues-call
Change-Id: I2210e55707fc698b5913166f05e833f8cc329dc5
Ilkka Saarelainen [Mon, 14 Oct 2019 12:39:46 +0000 (15:39 +0300)]
dEQP-VK.graphicsfuzz.access-new-vector-inside-if-condition
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.access-new-vector-inside-if-condition
Change-Id: I61948b3e73e4e761a65783420df29f080fab7132
Venni Ihanakangas [Mon, 23 Sep 2019 07:50:14 +0000 (10:50 +0300)]
dEQP-VK.graphicsfuzz.two-nested-for-loops-with-returns
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-nested-for-loops-with-returns
Change-Id: I862653671a578c4910b691c0c7e78d9c373871de
Venni Ihanakangas [Thu, 19 Sep 2019 09:39:21 +0000 (12:39 +0300)]
dEQP-VK.graphicsfuzz.unreachable-discard-statement-in-if
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.unreachable-discard-statement-in-if
Change-Id: I88cf495fffb65b5288143b352628a737c621b933
Ilkka Saarelainen [Mon, 14 Oct 2019 12:34:24 +0000 (15:34 +0300)]
dEQP-VK.graphicsfuzz.return-float-from-while-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.return-float-from-while-loop
Change-Id: Ic3d8f5f7ec29de0e9af677a13b68f390fe40256d
Venni Ihanakangas [Wed, 2 Oct 2019 10:51:12 +0000 (13:51 +0300)]
dEQP-VK.graphicsfuzz.uninitialized-var-decrement-and-add
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.uninitialized-var-decrement-and-add
Change-Id: Iacb6064282253a8107d3d3aee04d133ab36503d7
Venni Ihanakangas [Thu, 31 Oct 2019 10:11:05 +0000 (12:11 +0200)]
dEQP-VK.graphicsfuzz.returned-boolean-in-vector
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.returned-boolean-in-vector
Change-Id: I6976dd7e81ee6056cd28ed8cc23846bac2a35ebe
Alexander Galazin [Thu, 31 Oct 2019 12:33:12 +0000 (13:33 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I2db83dc66e6f9b7bc98171060d27192ea8353e7a
Venni Ihanakangas [Thu, 3 Oct 2019 12:52:08 +0000 (15:52 +0300)]
dEQP-VK.graphicsfuzz.always-false-if-in-do-while
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.always-false-if-in-do-while
Change-Id: I31714d74ce659d0c2a78f279d3477aafdfc7c6c1
Alexander Galazin [Thu, 31 Oct 2019 10:46:59 +0000 (11:46 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I592b6674f5e3a5a1f2a6d050dcc7263b0e5d682c
Venni Ihanakangas [Thu, 26 Sep 2019 09:25:48 +0000 (12:25 +0300)]
dEQP-VK.graphicsfuzz.for-loop-with-return
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.for-loop-with-return
Change-Id: I567181e35ed9effa60edb390019cf75a8ec6eb43
Venni Ihanakangas [Tue, 17 Sep 2019 11:01:29 +0000 (14:01 +0300)]
dEQP-VK.graphicsfuzz.two-nested-infinite-loops-discard
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-nested-infinite-loops-discard
Change-Id: I10f80a5b5640b209c9dfb0b612ab232735cda7e2
Dae Kim [Wed, 30 Oct 2019 12:32:17 +0000 (12:32 +0000)]
Add missing write to PointSize
The primitive topology is POINT_LIST for test cases covering the vertex
stage, but the vertex shader in these cases isn't supplying a value for
PontSize.
Affects:
dEQP-VK.binding_model.buffer_device_address.*.vert
Components: Vulkan
VK-GL-CTS issue: 2080
Change-Id: Ibbbeb143bf957f9494b1df84e69bc4a01c891c6a
John Corbally [Wed, 30 Oct 2019 11:14:45 +0000 (11:14 +0000)]
Fix missing image memory barrier in WSI display timing tests
The key part of the missing image memory barrier is changing
VK_IMAGE_LAYOUT_UNDEFINED to VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL
(for the first time).
Affects: dEQP-VK.wsi.android.display_timing.*
Components: Vulkan
VK-GL-CTS issue: 2079
Change-Id: I79e142c9c2a602e066a51e69e3aca9a1d2c0e650
Alexander Galazin [Tue, 29 Oct 2019 14:48:06 +0000 (15:48 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: Ic181ad20201d78dc31564319ab56cbb4323de1c9
Alexander Galazin [Tue, 29 Oct 2019 13:13:41 +0000 (14:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I34ada51e1b9c00280fb9f9d60463989e05f11953
Alexander Galazin [Mon, 28 Oct 2019 15:18:03 +0000 (16:18 +0100)]
Add timelineSempahore to mandatory ext features
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/3421
clarifies that timelineSemaphore is mandatory for
implementations exposing VK_KHR_timeline_semaphore
This CL updates the test to align with the MR.
Components: Vulkan
Affects: dEQP-VK.api.info.device.mandatory_features
Change-Id: I12f9c9e6b05a77109cb0207b748cc9ccfa872d9b
(cherry picked from commit
33cc61974078e64d66e64ccf67ecc906f7a7f3fb)
Alexander Galazin [Mon, 28 Oct 2019 20:36:18 +0000 (21:36 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I67e8f8fc2b64060fca9e5a8016cf7d5b53ec5477
Alexander Galazin [Mon, 28 Oct 2019 18:51:20 +0000 (19:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I3fd2e50726e016645834052ba95fa761f84c5686
Piotr Byszewski [Mon, 28 Oct 2019 15:09:36 +0000 (16:09 +0100)]
Fix check in testMandatoryExtensions
Affects:
dEQP-VK.api.info.android.mandatory_extensions
Change-Id: Iec3b405cb168daa7dd7fc2183963778ef7d6eb0b
Components: Vulkan
Pawel Ksiezopolski [Mon, 28 Oct 2019 14:03:51 +0000 (15:03 +0100)]
Remove deprecated std::bind2nd() call
std::bind2nd() was deprecated in C++11 and removed in C++17.
Affects:
dEQP-VK.descriptor_indexing.*
Components: Vulkan
VK-GL-CTS issue: 2074
Change-Id: I408a39ce9f1632515e3ff6bcfb95966e19aa4b22
Boris Zanin [Mon, 30 Sep 2019 12:22:24 +0000 (14:22 +0200)]
Test multiple overlapping cube maps
Test cube map images containing multiple overlapping cube maps.
Add tests:
* dEQP-VK.image.misaligned_cube.*
Components: vulkan
VK-GL-CTS issue: 1889
Change-Id: I24eeba1eea1513e51cc3c4cd0b23d18e3ce8234d
Chris Forbes [Wed, 9 Oct 2019 23:27:01 +0000 (16:27 -0700)]
Special-case RenderbufferStorageMultisampleEXT in codegen
Android has additional tests for this ES extension, which we had
observed was shipping broken on various Android devices. Unfortunately,
the ES extension which introduces this function specifies very different
semantics from the same-named function in desktop GL. In desktop GL,
this function is also defined to alias the core
RenderbufferStorageMultisample, and is assigned the same GLX opcode.
We had previously tried to unalias the function in the registry, but
that proved unworkable due to the GLX opcode aliasing.
Instead, add a special case in the CTS code generation.
Change-Id: Id62394cae2b2f01e0a91fdc4d9d357b634a26cf1
Components: Framework
Emmanuel Tanguy [Thu, 24 Oct 2019 07:14:53 +0000 (08:14 +0100)]
Unsized internalformats not valid GetInternalFormat
Spec changed where unsized internal formats are not
valid for GetInternalFormativ
https://www.khronos.org/members/login/bugzilla/show_bug.cgi?id=15912
Components: OpenGL ES
VK-GL-CTS Issue: 2067
Affects:
dEQP-GLES3.functional.state_query.internal_format.*
Change-Id: I468c06bda3f077e02d8a811f32e0d3c894f1116b
Alexander Galazin [Sun, 27 Oct 2019 18:28:49 +0000 (19:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I21178b89019aad73d0b1862e10d5590361fcdcc8
Slawomir Cygan [Thu, 24 Oct 2019 15:45:28 +0000 (17:45 +0200)]
Add scissor matching renderArea to descriptor indexing tests
This fixes rendering outside of render area, what
is forbidden by spec.
This also fixes regression from
7b7ba4e0, where
looping the RenderPass caused workload execution time
to increase and trigger OS-specific device timeout.
Components: Vulkan
VK-GL-CTS Issue: 2069
Affects: dEQP-VK.descriptor_indexing.*
Change-Id: I40f665ff892d03004860583029eb393e09c1ae95
Alexander Galazin [Fri, 25 Oct 2019 19:01:47 +0000 (21:01 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I563fc81549024a61aadc779285e8d4686c9c931a
Alexander Galazin [Fri, 25 Oct 2019 16:07:46 +0000 (18:07 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I365220265de5dd5b239cca76b1ffcd0221404824
Alan Baker [Sun, 25 Aug 2019 18:32:09 +0000 (14:32 -0400)]
Remove 16-bit storage from float16 vector tests
Replace loads and stores of float16s with specialized function to
reinterpret as appropriate uints for vector extract dynamic, vector
insert dynamic and vector shuffle tests.
Component: Vulkan
VK-GL-CTS Issue: 1931
Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.opvectorextractdynamic*
dEQP-VK.spirv_assembly.instruction.*.float16.opvectorinsertdynamic*
dEQP-VK.spirv_assembly.instruction.*.float16.opvectorshuffle*
Change-Id: I1757d2dc3dd8a45098b79ce519d26b351f298a00
Paul Thomson [Tue, 8 Oct 2019 15:24:24 +0000 (16:24 +0100)]
dEQP-VK.graphicsfuzz.loop-dead-if-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.loop-dead-if-loop
Change-Id: Ib621527105a57eabea346f7184d210ec8d66c5c1
Paul Thomson [Mon, 9 Sep 2019 16:13:49 +0000 (17:13 +0100)]
dEQP-VK.graphicsfuzz.complex-nested-loops-and-call
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.complex-nested-loops-and-call
Change-Id: Idc47ce81d4bc24c8c09b9b9a4b0ebff2f86aabcd
Venni Ihanakangas [Tue, 10 Sep 2019 07:22:56 +0000 (10:22 +0300)]
Add tests for formats with mandatory feature bits
Some formats were missing from color attachment and blend tests.
New tests:
dEQP-VK.pipeline.blend.format.a2b10g10r10_unorm_pack32.*
dEQP-VK.pipeline.blend.format.a1r5g5b5_unorm_pack16.*
dEQP-VK.pipeline.image.suballocation.sampling_type.*.format.a2b10g10r10_unorm_pack32.*
dEQP-VK.pipeline.render_to_image.*.a1r5g5b5_unorm_pack16*
dEQP-VK.pipeline.render_to_image.*.r5g6b5_unorm_pack16*
dEQP-VK.pipeline.render_to_image.*.a2b10g10r10_uint_pack32*
dEQP-VK.pipeline.render_to_image.*.a2b10g10r10_unorm_pack32*
Components: Vulkan
VK-GL-CTS issue: 1921
Change-Id: Id300e3946f4e8753d29b405cee36039884ba062b
Alastair Donaldson [Thu, 19 Sep 2019 11:31:41 +0000 (12:31 +0100)]
dEQP-VK.graphicsfuzz.discard-in-array-manipulating-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.discard-in-array-manipulating-loop
Change-Id: I40c19f241955caa3b2168218a400f766bb2d4a82
Venni Ihanakangas [Thu, 19 Sep 2019 13:19:36 +0000 (16:19 +0300)]
dEQP-VK.graphicsfuzz.two-for-loops-with-barrier-function
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-for-loops-with-barrier-function
Change-Id: Ie5de54846997779caac7db94f9eddf5be77404c0
Venni Ihanakangas [Wed, 25 Sep 2019 06:05:20 +0000 (09:05 +0300)]
dEQP-VK.graphicsfuzz.loops-breaks-returns
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.loops-breaks-returns
Change-Id: Ie6f3b52f4466245981e46bf6448959c5e4e2f140
Venni Ihanakangas [Thu, 26 Sep 2019 12:25:45 +0000 (15:25 +0300)]
dEQP-VK.graphicsfuzz.do-while-with-always-true-if
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.do-while-with-always-true-if
Change-Id: Ibb8f3aeac2ca2bb328ad406bbe4cea7c67aee065
Venni Ihanakangas [Wed, 2 Oct 2019 06:58:18 +0000 (09:58 +0300)]
dEQP-VK.graphicsfuzz.unreachable-discard-statement
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.unreachable-discard-statement
Change-Id: If693c48dbeee308c613c110bab93ed22c8282d8f
Venni Ihanakangas [Wed, 9 Oct 2019 06:24:38 +0000 (09:24 +0300)]
dEQP-VK.graphicsfuzz.two-nested-do-whiles
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-nested-do-whiles
Change-Id: Ib3c16de65acb79e1764b815edd8d016907635ae8
Venni Ihanakangas [Wed, 9 Oct 2019 06:51:49 +0000 (09:51 +0300)]
dEQP-VK.graphicsfuzz.return-before-writing-wrong-color
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.return-before-writing-wrong-color
Change-Id: Id37174663e6573c0c17c9b2141570cacff52bff9
Venni Ihanakangas [Mon, 14 Oct 2019 12:29:31 +0000 (15:29 +0300)]
dEQP-VK.graphicsfuzz.wrong-color-in-always-false-if
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.wrong-color-in-always-false-if
Change-Id: I157cca21c7083238826c5bf7837386d657c1f29d
Piotr Byszewski [Tue, 15 Oct 2019 15:12:54 +0000 (17:12 +0200)]
Improve image atomic tests
Image atomic tests were operating only on positive numbers which
potentially could hide issues related to min/max operations
on negative numbers. This change makes half of input data for
min/max negative and properly performs verification depending on
tested format (whether its signed format or unsigned).
Components: Vulkan
VK-GL-CTS issue: 1940
Affects:
dEQP-VK.image.atomic_operations.*
Change-Id: I8c6ad882cab330a1b1d17921fd2fca097e24721c
Ricardo Garcia [Fri, 11 Oct 2019 12:28:30 +0000 (14:28 +0200)]
Add OpFConvert precision tests
This commit adds tests to verify OpFConvert works as expected to convert
to and from 16, 32 and 64-bit wide floats in scalar and vector forms.
It does not use the existing precision tests framework due to the strict
precision requirements of OpFConvert, which require knowing the original
number exactly and are not suited for working with intervals.
New tests:
dEQP-VK.glsl.builtin.precision_fconvert.*
Components: Vulkan, Framework
VK-GL-CTS issue: 1868
Change-Id: I4161dae9d9f2c494cc873d5d11b40286bdfb6466
Alexander Galazin [Fri, 25 Oct 2019 14:29:30 +0000 (16:29 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: Id21fae15bb0fad00a22e2d5798f958e6640804e2
Alexander Galazin [Fri, 25 Oct 2019 11:58:22 +0000 (13:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I58c329c990cacdb992c4c9be0b95cb65aa469a80
Graeme Leese [Tue, 1 Oct 2019 17:05:18 +0000 (18:05 +0100)]
Remove magic numbers from subgroupElect tests
Most of these tests use defined constants for the elected and unelected
values for the tess_e version of the tests mysteriously used hardcoded
values. Obviously any attempt to change the constants would have been
broken.
Also, only keep one copy of the loop over stages in the framebuffer
tests. Two was extravagant.
Components: OpenGL, Vulkan
Affects: KHR-Single-*.subgroups.basic.framebuffer.subgroupelect_tess_eval
Change-Id: I6f9c7e02d04c75c5dcfee290a21a85bb97124be6
Tomek Bury [Mon, 7 Oct 2019 11:37:48 +0000 (12:37 +0100)]
Fix EGL config incompatibility in negative_partial_update tests
Choosing 2 separate EGL configs, one for a window and a different one for
a pbuffer surface doesn't guarantee that those configs are compatible.
The dummyPbuffer surface may use different bit depths than the window
surface. This causes an unintended failure in eglMakeCurrent().
Choose a single EGL config suitable for both: the window and the pbuffer,
if both are being used.
Components: EGL
VK-GL-CTS issue: 2037
Affects: dEQP-EGL.functional.negative_partial_update.*
Change-Id: I676f760cbe2df3c906c376304efefa3170760438
Signed-off-by: Tomek Bury <tomek.bury@broadcom.com>
Alexander Galazin [Fri, 18 Oct 2019 08:36:23 +0000 (10:36 +0200)]
Remove use of ANDROID_NDK_HOST_OS
The CMake variable is not needed after removal of the NDK r11 cmake files
Component: Framework
VK-GL-CTS issue: 2056
Change-Id: I6993d48e098dc567c7fc9edcfc13d0f39e6f04ad
Piers Daniell [Thu, 26 Sep 2019 21:42:31 +0000 (15:42 -0600)]
Use the new VK_LAYER_KHRONOS_validation layer
In more recent SDKs the VK_LAYER_LUNARG_standard_validation
meta layer has been replaced by the VK_LAYER_KHRONOS_validation
layer.
The latest SDK documentation about this can be found here:
https://vulkan.lunarg.com/doc/sdk/1.1.121.2/windows/validation_layers.html
It also notes that a bunch of the other individual validation layers
have also been deprecated. I've commented this fact in CTS, but
have not removed them because CTS might be used with older SDKs.
Affects all CTS with --deqp-validation=enable:
dEQP-VK.*
Components: Framework, Vulkan
VK-GL-CTS issue: -1
Change-Id: I6925f7dc55f10d7a00d1089effe491b9caebe909
Ricardo Garcia [Wed, 18 Sep 2019 13:53:19 +0000 (15:53 +0200)]
Fix time calibration tests so they use all host time domains
When using std::set_intersection to check which time domains are
available, the input sets are not guaranteed to be sorted. This makes
the code skip some host time domains under Linux-like systems, which may
have more than one host time domain available.
Affected tests:
dEQP-VK.pipeline.timestamp.calibrated.*
Components: Vulkan
VK-GL-CTS issue: 2010
Change-Id: Iea9f0e375d675f9a63671165a78218ca04c6cde9
Piotr Byszewski [Tue, 15 Oct 2019 09:06:51 +0000 (11:06 +0200)]
Check available functionality with context method
This change adds Context::isDeviceFunctionalitySupported and
Context::isInstanceFunctionalitySupported methods that replace
isDeviceExtensionSupported/isInstanceExtensionSupported.
Components: Framework
VK-GL-CTS issue: 2005
Affects:
dEQP-VK.*
Change-Id: If796fc31fe6e769495cdf1ccefa4ae8192caf2b5
Ari Suonpaa [Wed, 23 Oct 2019 04:45:27 +0000 (07:45 +0300)]
Update Amber
Updated Amber to get support for new image comparison features.
Components: Framework
Change-Id: I9b750912dd0324395a5b8c43f6317f341121e9e9
Ricardo Garcia [Wed, 23 Oct 2019 16:11:52 +0000 (18:11 +0200)]
Remove NaNs from double compare tests
Affected tests:
dEQP-VK.spirv_assembly.instruction.*.64bit_compare.double.*
Components: Vulkan
VK-GL-CTS issue: 2066
Change-Id: I8d735bbffe2db5d2c8cfac5a616efd6010057408
Arkadiusz Sarwa [Wed, 23 Oct 2019 15:15:12 +0000 (17:15 +0200)]
Fix incorrect assumption for pipeline cache hit
The test incorrectly assumes that adding a pipeline creation flag bit
VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT to only one pipeline
still should cause a cache hit. Fixed the problem by adding the
VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT flag bit to both pipelines.
Affects:
dEQP-VK.pipeline.creation_feedback.compute_tests.compute_stage
Components: Vulkan
VK-GL-CTS issue: 2068
Change-Id: Idb963219a4e894eee6a0bb3b1fc20797d5b0323e
Alexander Galazin [Wed, 23 Oct 2019 10:40:52 +0000 (12:40 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: Id91cbdafbce603e6cd681035b8a535e3aaa294dd
Courtney Goeltzenleuchter [Tue, 13 Aug 2019 00:10:39 +0000 (18:10 -0600)]
Add tests for uploading depth/stencil
Components: Vulkan
Affects:
dEQP-VK.api.copy_and_blit.core.buffer_to_depthstencil.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.buffer_to_depthstencil.*
VK-GL-CTS issue: 1888
Change-Id: Id2153ef90014175f5b52811c80a905164e491735