Alexander Galazin [Tue, 14 Jan 2020 07:51:12 +0000 (08:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I91079781c52f5bbb325ce987f9bd7aeea450f388
Alexander Galazin [Tue, 14 Jan 2020 06:50:35 +0000 (07:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I968d4cdd3c04321a4ff2544597203c77589a4d45
Alexander Galazin [Mon, 13 Jan 2020 19:51:00 +0000 (20:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I04f9f2bf7d4c1f75bd19279465d7e192cb50ca72
Alexander Galazin [Mon, 13 Jan 2020 17:26:53 +0000 (18:26 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I543ba324319cd3d227400be69d1d02bc323e6c0e
Alexander Galazin [Mon, 13 Jan 2020 14:34:33 +0000 (15:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I654934956a489ddcdec47ac8fc3e2fe638929950
Alexander Galazin [Mon, 13 Jan 2020 14:33:52 +0000 (15:33 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ifc85777682563e4ec769d2b32dbb4b3584a649a5
Alexander Galazin [Mon, 13 Jan 2020 12:10:10 +0000 (13:10 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I420bc4aa41a2f7a67434b4f674c3d3aa161dc6c3
Alexander Galazin [Mon, 13 Jan 2020 10:54:20 +0000 (11:54 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Id9ed312f96fa266a0e3809211b14566ece03e791
Alexander Galazin [Mon, 13 Jan 2020 09:45:56 +0000 (10:45 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I37d5b18d5980372057827bc4435239be98fd30bc
Alan Baker [Mon, 25 Nov 2019 18:03:36 +0000 (13:03 -0500)]
Fix SPIR-V assembly tests with bad cfgs
* Update SPIR-V assembly tests to not declare a continue target as a
merge block
Component: Vulkan
VK-GL-CTS Issue: 2122
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_loop_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_continue_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.continue*
dEQP-VK.spirv_assembly.instruction.graphics.loop.break*
dEQP-VK.spirv_assembly.instruction.graphics.loop.return*
Change-Id: I370331414aae27b53ed79b448b72581e2352c3d7
Alexander Galazin [Sun, 5 Jan 2020 11:50:56 +0000 (14:50 +0300)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I848936309a3dff9b27ccee2fc1eddc785d87ef6c
Alexander Galazin [Sun, 5 Jan 2020 11:17:10 +0000 (14:17 +0300)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I5ef4fab8334c908c996573a0fec9ec80f33f0788
Piotr Byszewski [Tue, 10 Dec 2019 16:47:57 +0000 (17:47 +0100)]
Extend multiview/occlusion queries tests
Adds tests for multiview interaction with non-precise occlusion
queries.
Components: Vulkan
VK-GL-CTS issue: 1943
Affects:
dEQP-VK.multiview.queries.*
dEQP-VK.multiview.non_precise_queries.*
dEQP-VK.multiview.renderpass2.queries.*
dEQP-VK.multiview.renderpass2.non_precise_queries.*
Change-Id: Iff69f640fd62a949cba9660c20838167e8ce5bfb
Venni Ihanakangas [Mon, 16 Dec 2019 11:01:31 +0000 (13:01 +0200)]
dEQP-VK.graphicsfuzz.switch-case-with-undefined-expression
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.switch-case-with-undefined-expression
Change-Id: Ifc03b32c6e77ea067af4117397b54f19670dcdcd
Venni Ihanakangas [Mon, 16 Dec 2019 11:23:51 +0000 (13:23 +0200)]
dEQP-VK.graphicsfuzz.return-inside-loop-in-function
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.return-inside-loop-in-function
Change-Id: Iecac2b9b639402b1bdfae3f23de5472271f55e5a
Alexander Galazin [Sun, 5 Jan 2020 10:06:15 +0000 (13:06 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: If9768a5f553036d5fc3e5fc52051368a37481f08
Alexander Galazin [Sun, 5 Jan 2020 10:04:42 +0000 (13:04 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: Ic25e82563986f46ea4a8b9356d0579f299740420
Alexander Galazin [Sun, 5 Jan 2020 09:19:26 +0000 (12:19 +0300)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I287aadcb16a73697d29d1d13f8de019c0508defd
Alexander Galazin [Sun, 5 Jan 2020 08:33:44 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Id7608050ab3f1c5ce3d26a1480af0de7d90d75ff
Alexander Galazin [Sun, 5 Jan 2020 08:33:03 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I5ebdf2135fdd096d8d35da3ba7d489270f30eba5
Alexander Galazin [Sun, 5 Jan 2020 07:48:47 +0000 (10:48 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I51213fc50189215a04c9206a8b805962052235cb
Alexander Galazin [Sun, 5 Jan 2020 06:36:56 +0000 (09:36 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I2a051b8a36b997c3f904ddd78657de8c1719a53b
Matthew Netsch [Fri, 20 Dec 2019 20:46:11 +0000 (15:46 -0500)]
Allows NaNs in an assert
Components: Vulkan
VK-GL-CTS Issue: 2103
Affects:
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_*
Change-Id: I5848660d120b5a4a07df589a74f47b8ca30befb5
Matthew Netsch [Fri, 20 Dec 2019 20:43:04 +0000 (15:43 -0500)]
Adds subgroup ops stage check
Components: Vulkan
VK-GL-CTS Issue: 2084
Affects:
dEQP-VK.memory_model.message_passing.*.subgroup.*
dEQP-VK.memory_model.write_after_read.ext.*.subgroup.*
Change-Id: Ibb820b4d3de1782bc844f3eb32b6e752745e9976
Jian Li [Mon, 9 Dec 2019 05:24:05 +0000 (13:24 +0800)]
Fix some bugs for EGL cases
eglTerminate() wasn't called in proper sequence.
Resource wasn't released properly for not supported cases.
Affects:
dEQP-EGL.functional.image.*
dEQP-EGL.functional.resize.*
dEQP-EGL.functional.buffer_age.*
dEQP-EGL.functional.partial_update.*
Components: AOSP
VK-GL-CTS issue: 2153
Change-Id: Ic0a82aa176b9a8344f757916d61ea8f64c58eca5
Chris Forbes [Thu, 19 Dec 2019 22:09:31 +0000 (14:09 -0800)]
Use VK_FORMAT_R32G32_UINT in unused attachment sparse filling tests
VK_FORMAT_R16G16_UINT is not guaranteed to be supported as a storage
image. Use something that is.
VK-GL-CTS Issue: 2155
Components: Vulkan
Affects: dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*
Change-Id: I9a116f824aa8ca00c2bf174b8786c8f9ae2cdafa
Alexander Galazin [Mon, 23 Dec 2019 08:29:55 +0000 (09:29 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ia77aacd61e797a2d68f03ae19aaee4f3a4568bcd
Alexander Galazin [Sat, 21 Dec 2019 14:11:11 +0000 (15:11 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: If270234dc06580cfeeed71c07920829576431fed
Alexander Galazin [Sat, 21 Dec 2019 11:24:10 +0000 (12:24 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I30fda495247058cbc41eff78d875a633748f28ff
Alexander Galazin [Sat, 21 Dec 2019 11:23:06 +0000 (12:23 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I4b8288ca5eab177cd2a6c2684a78a6cf8786b739
Alexander Galazin [Sat, 21 Dec 2019 09:50:50 +0000 (10:50 +0100)]
Re-enable tests
Change-Id: Ic4d90d99b69ef931ba2f3f49538201762eb6746e
Alexander Galazin [Sat, 21 Dec 2019 09:34:14 +0000 (10:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I68bfd98e153ba71f563004668c1cf56aa429b57d
Alexander Galazin [Wed, 18 Dec 2019 18:56:23 +0000 (19:56 +0100)]
Update SPIR-V Tools
Components: Framework
Change-Id: Ifef943741a8d8532f5c289e8121d6c503a0a537d
Alexander Galazin [Fri, 20 Dec 2019 20:56:09 +0000 (21:56 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I8c1f03c690605b73d41577eb715fc439c30e19e9
Alexander Galazin [Fri, 20 Dec 2019 20:55:23 +0000 (21:55 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I54ba10b36ec4fabe9d4c9d6ff66857c8e2bbef62
Matthew Netsch [Fri, 4 Oct 2019 15:46:04 +0000 (11:46 -0400)]
Account for VS executing more than once when atomics are used.
Components: Vulkan
Affects: dEQP-VK.glsl.opaque_type_indexing.atomic_counter.*
dEQP-VK.glsl.atomic_operations.*
Change-Id: I15eabf9b47af204fd13370efdc323af141b6b11b
Alexander Galazin [Fri, 20 Dec 2019 15:20:52 +0000 (16:20 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I5e885ca6903eb166df83a1387c5592559e7df469
Alexander Galazin [Fri, 20 Dec 2019 14:59:20 +0000 (15:59 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I35a136bf885def6a7aa1222b4c54433f2d8723fc
Ricardo Garcia [Wed, 23 Oct 2019 09:46:15 +0000 (11:46 +0200)]
Add buffer reference comparison tests
This commit adds tests to convert buffer references to both uint64_t and
uvec2 and compare them against zero and against other references.
In addition, new test variants also check cross conversions, i.e., when
a reference is loaded as a uint64_t and later converted to uvec2 or vice
versa.
New tests:
dEQP-VK.binding_model.buffer_device_address.*.convertchecku64.*
dEQP-VK.binding_model.buffer_device_address.*.convertcheckuv2.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertu2p.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertp2u.*
Components: Vulkan
VK-GL-CTS issue: 1968
Change-Id: I4ae5b66473953097a52f169e5b8c425647eedb2c
(cherry picked from commit
d0ee43aaa980dab94ed247e467999864373868d8)
Alexander Galazin [Fri, 20 Dec 2019 12:51:17 +0000 (13:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: If326d580f29fd87e9e72e81a11a39e8629d35bb5
Alexander Galazin [Fri, 20 Dec 2019 12:50:25 +0000 (13:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I0f9446b635621472d72566a6176c7d0c00306263
Dae Kim [Fri, 13 Dec 2019 09:26:05 +0000 (09:26 +0000)]
Avoid undefined behaviour when calculating subgroup ballot masks
The affected tests are shifting the bits of the last component of the
computed ballot masks by 32. However, the SPIR-V specification
establishes that the result of OpShift* is undefined if `Shift` is
greater than *or equal* to the bit width of the components of `Base`.
Affects:
dEQP-VK.subgroups.ballot_other.*
Components: Vulkan
VK-GL-CTS issue: 2083
Change-Id: I8c9b4373f1429669a40741986916e8d71b7eb573
Samuel Iglesias Gonsálvez [Thu, 28 Nov 2019 15:19:46 +0000 (16:19 +0100)]
Added DMA buffer external memory cases to cross instance sharing tests
Components: Vulkan
VK-GL-CTS issue: 1861
Added tests:
dEQP-VK.synchronization.cross_instance.*_dma_buf
Change-Id: I50dbf8af816e45ee122a5e15390d619daf19335a
Ricardo Garcia [Wed, 23 Oct 2019 09:46:15 +0000 (11:46 +0200)]
Add buffer reference comparison tests
This commit adds tests to convert buffer references to both uint64_t and
uvec2 and compare them against zero and against other references.
In addition, new test variants also check cross conversions, i.e., when
a reference is loaded as a uint64_t and later converted to uvec2 or vice
versa.
New tests:
dEQP-VK.binding_model.buffer_device_address.*.convertchecku64.*
dEQP-VK.binding_model.buffer_device_address.*.convertcheckuv2.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertu2p.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertp2u.*
Components: Vulkan
VK-GL-CTS issue: 1968
Change-Id: I4ae5b66473953097a52f169e5b8c425647eedb2c
Pawel Ksiezopolski [Tue, 15 Oct 2019 13:28:14 +0000 (15:28 +0200)]
Add SPIR-V Invariant decoration tests
Migration of the OpenGL Invariant decoration tests to Vulkan.
Modified structs and classes from vktDrawUtil.hpp so that they
may perform more than one rendering at once.
New tests:
dEQP-VK.glsl.invariance.*
Affects:
dEQP-VK.clipping.*
dEQP-VK.glsl.builtin_var.*
dEQP-VK.ycbcr.query.*
Components: Vulkan Framework
VK-GL-CTS issue: 2007
Change-Id: I0774f50c5a818b9ce4d012e4a1be5fdc1cbabb63
Graeme Leese [Thu, 3 Oct 2019 13:29:19 +0000 (14:29 +0100)]
ldexp tests do not test corner cases correctly
The ldexp tests never correctly implemented the resolution of bugzilla
11180, which specified that exp == 128 should give correct results.
Components: Vulkan
Affects: dEQP-VK.glsl.builtin.precision*.ldexp.*
Change-Id: Ic532df4b570f87602edf0ff8f302c04e7a35f174
Piers Daniell [Wed, 11 Dec 2019 22:19:18 +0000 (15:19 -0700)]
Fix bad merge from https://gerrit.khronos.org/#/c/5107/
When https://gerrit.khronos.org/#/c/4874/ was cherry-picked
to the vulkan-cts-1.1.6 branch it would have hit conflicts
with the new VK_EXT_line_rasterization tests from
https://gerrit.khronos.org/#/c/3997/.
This CL fixes a bad conflict resolution in
tcuRasterizationVerifier.cpp that forced the verification
mode of all line types top be scrict, when they should
have got their verification mode from
scene.verificationMode.
This CL also modifies the position of the test lines
for case 2 of LinesTestInstance::generateLines(). The
position of the last line, added with CL 5107, was moved
lower to avoid excessive overlap with the other three
lines. This excessive overlap caused many pixels to
share edges and aggravate a minor flaw in the software
line rasterizer where it always assumes full coverage on
pixels that share edges of two or more triangles.
They may actually still be only partial coverage when
doing smooth or multisample rendering, and forcing it
to full coverage won't match what hardware does.
Affects: dEQP-VK.rasterization.primitives.*
Components: Vulkan
VK-GL-CTS Issue: 2062
Change-Id: Ie865f46c24e8265fd47354faaf9be5efd002b2d4
Alan Baker [Thu, 19 Dec 2019 14:57:38 +0000 (09:57 -0500)]
Fix invalid CFG in SPIR-V 1.4 tests
VK-GL-CTS Issue: 2122
Component: Vulkan
Affected tests:
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrdiff.variable_pointers_vars_ssbo_2_diff
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrequal.variable_pointers_ssbo_2_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrnotequal.variable_pointers_ssbo_2_not_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.nonwritable.function_nonwritable
dEQP-VK.spirv_assembly.instruction.spirv1p4.nonwritable.private_nonwritable
Change-Id: Ie886aba331a7721d3d3468dd8c616ca7ab2d5664
Alan Baker [Thu, 19 Dec 2019 14:50:54 +0000 (09:50 -0500)]
Fix invalid CFG in SPIR-V 1.4 tests
VK-GL-CTS Issue: 2122
Component: Vulkan
Affected tests:
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrdiff.variable_pointers_vars_ssbo_2_diff
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrequal.variable_pointers_ssbo_2_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrnotequal.variable_pointers_ssbo_2_not_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.nonwritable.function_nonwritable
dEQP-VK.spirv_assembly.instruction.spirv1p4.nonwritable.private_nonwritable
Change-Id: Ifcdae634224c08be8ebbd7efaa9e63c046acbae5
Slawomir Cygan [Fri, 6 Dec 2019 13:26:00 +0000 (14:26 +0100)]
Fix texture shadow test using image views with zero aspect
addCubeTexture / add2DArrayTexture functions are wrongly used, backingMode is
passed as view aspect, leading to 0 aspect being used in vkImageViewCreateInfo
Components: Vulkan
VK-GL-CTS Issue: 2144
Affects:
dEQP-VK.texture.shadow.2d_array.*
dEQP-VK.texture.shadow.cube.*
Change-Id: I4c338756bb6e693b815c39ab8dc5c0c046fad2a5
(cherry picked from commit
b969f4eca91c110200389673c5b7d0500b2b3e59)
Slawomir Cygan [Fri, 6 Dec 2019 13:26:00 +0000 (14:26 +0100)]
Fix texture shadow test using image views with zero aspect
addCubeTexture / add2DArrayTexture functions are wrongly used, backingMode is
passed as view aspect, leading to 0 aspect being used in vkImageViewCreateInfo
Components: Vulkan
VK-GL-CTS Issue: 2144
Affects:
dEQP-VK.texture.shadow.2d_array.*
dEQP-VK.texture.shadow.cube.*
Change-Id: I4c338756bb6e693b815c39ab8dc5c0c046fad2a5
Alexander Galazin [Wed, 18 Dec 2019 12:00:58 +0000 (13:00 +0100)]
Fix initializaztion
Components: Vulkan
Change-Id: I291da7875b6604829cd5c6af789a3a9d67a4236b
Alexander Galazin [Wed, 18 Dec 2019 08:04:27 +0000 (09:04 +0100)]
Whitelist Vulkan CTS 1.2.1.0
Affects: dEQP-VK.api.driver_properties.properties
Components: Vulkan
Change-Id: I695bd9e5dc036ca3f96be8f58ffc400a86a5ef31
Alexander Galazin [Tue, 17 Dec 2019 19:45:09 +0000 (20:45 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I33077806ad26f3035b0de21db7e64eefc9390ea8
Alexander Galazin [Tue, 17 Dec 2019 18:03:54 +0000 (19:03 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I0203949263fcf64b57646556bf90655c36d82b4c
Alexander Galazin [Tue, 17 Dec 2019 16:42:08 +0000 (17:42 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I1480366fa7076b474ea7d3da34a1375c09b9da0c
Alexander Galazin [Tue, 17 Dec 2019 15:30:21 +0000 (16:30 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I7054b3a97f5f57fb5d5829f21991efe70108c77a
Alexander Galazin [Tue, 17 Dec 2019 15:29:31 +0000 (16:29 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I8752672f5ba4807bc8e638b117a7c37d5e161d05
Alexander Galazin [Tue, 17 Dec 2019 14:34:21 +0000 (15:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I4d9b046396a757d9fce9a0a326b150deb37015ce
Alexander Galazin [Tue, 17 Dec 2019 12:32:46 +0000 (13:32 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Ia01386a2e8fec477414b8488a7bfa883265c32ec
Paul Thomson [Tue, 8 Oct 2019 15:18:27 +0000 (16:18 +0100)]
dEQP-VK.graphicsfuzz.modf-temp-modf-color
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.modf-temp-modf-color
Change-Id: Ib41611b5813421bdfe24e4e9e4f2ccde4c9d008b
Alexander Galazin [Tue, 17 Dec 2019 10:58:46 +0000 (11:58 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: Iecc5fe7d8f5119a46a78fd7d6f3c3b613c45059d
Slawomir Cygan [Thu, 5 Dec 2019 18:27:11 +0000 (19:27 +0100)]
Fix setting Amber fence timeout
The call to SetFenceTimeout() does nothing, if the Amber
document is not parsed yet (it's a pimpl doing NOP, when
pimpl is not set).
Move setting the fence timeout after document parsing.
Components: Vulkan,Framework
VK-GL-CTS Issue 2119
Affects: dEQP-VK.* (Amber tests only).
Change-Id: I9debec1bc2709ad7ad2170a887dabc9bd92bd148
Boris Zanin [Fri, 6 Dec 2019 10:18:10 +0000 (11:18 +0100)]
Add helper function to query extension properties
Introduce template function getPhysicalDeviceExtensionProperties
that enables to query physical device extension properties in one call.
Components: Framework
VK-GL-CTS issue: 2142
Change-Id: I252fd5deb9883d1c93b7163ef26f13a479b685de
Paul Thomson [Mon, 9 Dec 2019 16:03:38 +0000 (16:03 +0000)]
Re-include some Android CTS tests
Components: Android
Included tests:
dEQP-VK.glsl.builtin.precision.*
dEQP-VK.spirv_assembly.instruction.compute.opfunord.*
dEQP-VK.spirv_assembly.instruction.*.indexing.*u32*
dEQP-VK.spirv_assembly.instruction.*.indexing.*s32*
Change-Id: Ib9be1f9ef388c7baeaf8f11b1dd7e60efdf72dc5
Paul Thomson [Thu, 5 Dec 2019 18:13:00 +0000 (18:13 +0000)]
Provide a highp variable to MAKE_HIGH_BALLOT_RESULT
The MAKE_HIGH_BALLOT_RESULT macro assumes the input is 32bit.
Given a mediump variable, ex: gl_SubgroupSize, would produce an
undefined result when the input value is >= 16 and the computation
is in 16 bits.
Provide a highp input would ensure the computation is in 32 bits.
Affects:
dEQP-VK.subgroups.ballot_other.*
Components: vulkan
VK-GL-CTS issue: 1894
Change-Id: I22987f20be3d08444c52cb722fc23494777a5636
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
Alexander Galazin [Sun, 8 Dec 2019 20:53:00 +0000 (21:53 +0100)]
Fix init error
Components: Vulkan
Change-Id: I32a3f494fdd0690ad839ff317d9458dd2644d04b
Courtney Goeltzenleuchter [Wed, 4 Dec 2019 21:01:39 +0000 (14:01 -0700)]
GLES 3.1 negative framebuffer texture2D test fails
Test is using wrong max size when checking cube map textures.
Affected Test:
dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.framebuffer_texture2d
Components: OpenGL ES
VK-GL-CTS issue: 2141
Change-Id: I35bcdcfb8181a9eb062da10234f56267c56ac188
Victor Khimenko [Tue, 10 Sep 2019 21:25:00 +0000 (23:25 +0200)]
Fix incorrect use of dlopen/dlclose
Function pointers returned by dlsym are retained after dlclose() is
called. If the library is actually unloaded by that dlclose() call, then
calling through those function pointers then triggers undefined
behavior.
Components: Vulkan
Affects: dEQP-VK.api.external.memory.android_hardware_buffer.*
Google Bug: b/
140826027
Change-Id: I1da2d10e97e5567578bf06d768820764882f7126
Arkadiusz Sarwa [Fri, 15 Nov 2019 16:35:24 +0000 (17:35 +0100)]
Fix memory leaks in dEQP-VK.api.invariance.random
Test dEQP-VK.api.invariance.random contains memory leaks.
Change fixes memory leaks.
Components: Vulkan
VK-GL-CTS Issue: 2110
Affects: dEQP-VK.api.invariance.random
Change-Id: I4ccd9d87b69f51da661ca85f10eb347086594aaa
Ricardo Garcia [Tue, 26 Nov 2019 16:13:23 +0000 (17:13 +0100)]
Fix VU error in swapchain creation tests
dEQP-VK.wsi.*.swapchain.create.image_sharing_mode checks if creating a
swapchain works with VK_SHARING_MODE_CONCURRENT, but passes a single
queue in the creation structure.
This commit changes the test to obtain all valid queue families for the
surface and uses all of them in the creation structure when using
concurrent sharing.
Affected tests:
dEQP-VK.wsi.*.swapchain.create.image_sharing_mode
Components: Vulkan
VK-GL-CTS issue: 2126
Change-Id: If745ed50c8223b6b73405f0af2f54a096e846bff
Michael Chock [Tue, 26 Nov 2019 19:32:50 +0000 (11:32 -0800)]
Yield inside looping worker thread
Add a deYield() inside a worker thread that does not otherwise contain
any thread synchronization. This avoids potential starvation of the main
thread.
Fix the spelling of 'monotonically' in the same file.
VK-GL-CTS issue: 2128
Components: Vulkan
Affects:
dEQP-VK.synchronization.timeline_semaphore.device_host.misc.max_difference_value
Change-Id: I8e7cf83583a39e7d3a732d8a8e8c7caa48f824e4
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
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.always-false-if-in-do-while
dEQP-VK.graphicsfuzz.call-if-while-switch
dEQP-VK.graphicsfuzz.complex-nested-loops-and-call
dEQP-VK.graphicsfuzz.continue-and-merge
dEQP-VK.graphicsfuzz.control-flow-switch
dEQP-VK.graphicsfuzz.disc-and-add-in-func-in-loop
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-before-writing-wrong-color
dEQP-VK.graphicsfuzz.return-float-from-while-loop
dEQP-VK.graphicsfuzz.return-in-loop-in-function
dEQP-VK.graphicsfuzz.two-nested-do-whiles
dEQP-VK.graphicsfuzz.undefined-integer-in-function
dEQP-VK.graphicsfuzz.uninit-element-cast-in-loop
dEQP-VK.graphicsfuzz.unreachable-continue-statement
dEQP-VK.graphicsfuzz.while-function-always-false
Change-Id: Ie216398ba044cb936b4e8a36fe44f7f0ced5dbbf
Piotr Byszewski [Thu, 28 Nov 2019 12:57:56 +0000 (13:57 +0100)]
Extra testing for layouts
This change extends layout tests with tests that use
VK_EXT_descriptor_indexing.
Components: Vulkan
VK-GL-CTS issue: 1453
Affects:
dEQP-VK.ssbo.*
dEQP-VK.ubo.*
Change-Id: I320ba9b46d08605dd98a60d9bbc4000a664da6b8
Ricardo Garcia [Tue, 3 Dec 2019 09:52:04 +0000 (10:52 +0100)]
Add memory model padding access test
This commit adds a test to make sure padding bytes at the end of
structures are not touched when performing structure-wise store
operations, as required by the memory model spec.
New tests:
dEQP-VK.memory_model.padding.*
Components: Vulkan
VK-GL-CTS issue: 2088
Change-Id: Ib271c6ab44bd402c2499cc7549809ab6d5178ee1
Alastair Donaldson [Wed, 4 Dec 2019 17:42:55 +0000 (17:42 +0000)]
dEQP-VK.graphicsfuzz.two-2-iteration-loops
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.two-2-iteration-loops
Change-Id: Ic5f9f1683ec96bd45889d3b9f73628e7492fca7d
Alastair Donaldson [Wed, 4 Dec 2019 17:44:23 +0000 (17:44 +0000)]
dEQP-VK.graphicsfuzz.mat-mul-in-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.mat-mul-in-loop
Change-Id: Iac5112a7bb0f8abfb02da029348427986c79ebf0
Alastair Donaldson [Wed, 4 Dec 2019 17:44:59 +0000 (17:44 +0000)]
dEQP-VK.graphicsfuzz.int-mat2-struct
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.int-mat2-struct
Change-Id: I806cc78bb14d955a4e9c256640e3583924ab7134
Alastair Donaldson [Wed, 4 Dec 2019 17:45:29 +0000 (17:45 +0000)]
dEQP-VK.graphicsfuzz.struct-controlled-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.struct-controlled-loop
Change-Id: Iff73d5ed464c0e88c33555becd641f49b64e5072
Venni Ihanakangas [Tue, 19 Nov 2019 07:45:31 +0000 (09:45 +0200)]
dEQP-VK.graphicsfuzz.break-in-do-while-with-nested-if
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.break-in-do-while-with-nested-if
Change-Id: Ibc066e302b78827137c0f4501f92e1a62f1258a3
Graeme Leese [Fri, 6 Sep 2019 16:00:13 +0000 (17:00 +0100)]
Extend non-const quad broadcast tests
Add two extra broadcasts to the _nonconst tests for lane indices that
are:
1. dynamically uniform in all active lanes but not all lanes are active.
2. Uniform within a quad but different in adjacent quads.
Components: Vulkan
VK-GL-CTS issue: 1978
Affects: dEQP-VK.subgroups.quad.*broadcast_nonconst_*
Change-Id: I1b4c95423de12f3750ed19789e7ca35bf718d366
Ricardo Garcia [Tue, 26 Nov 2019 16:13:23 +0000 (17:13 +0100)]
Test vkQueuePresentKHR with multiple swapchains
This commit adds test to call vkQueuePresentKHR with multiple swapchains
and check results from the results array.
In addition, some common code has been moved to vkWsiUtil and reused in
several different places. Hence marking all swapchain tests as affected.
Affected tests:
dEQP-VK.wsi.*.swapchain.*
New tests:
dEQP-VK.wsi.*.swapchain.render.*swapchains*
Components: Vulkan
VK-GL-CTS issue: 2113
Change-Id: I312ad1500fa5172e7a5e5d45300d986d8712a4fb
Pawel Ksiezopolski [Thu, 14 Nov 2019 09:39:21 +0000 (10:39 +0100)]
Add tests for presentation support functions
Test concerns platform-specific presentation support functions
defined in chapter 32.4 ( Querying for WSI Support ) of the
Vulkan specification.
New tests:
dEQP-VK.wsi.*.surface.query_presentation_support
Components: Vulkan Framework
VK-GL-CTS issue: 1798
Change-Id: I0b5017e58fe3b4c2f49c94b2f2808103734793eb
Alastair Donaldson [Sun, 3 Nov 2019 23:13:40 +0000 (23:13 +0000)]
dEQP-VK.graphicsfuzz.smoothstep-after-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.smoothstep-after-loop
Change-Id: I7b58ea75980f0eded5f5d09e4a729d7c0d75194b
Alexander Galazin [Sun, 8 Dec 2019 18:05:33 +0000 (19:05 +0100)]
Fix compiler warning
Components: OpenGL
Change-Id: I12feaac604e8a7c9a0617cc3b62bde8d04cbf8e1
Alexander Galazin [Fri, 6 Dec 2019 19:28:58 +0000 (20:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: Ia42787234c2094a0e7f92b0b40ae00edf3ae9361
Ricardo Garcia [Wed, 20 Nov 2019 17:19:23 +0000 (18:19 +0100)]
Add tests to check blend constant clamping
Add tests to check unsigned and signed normalized values for the source
color and blend constants are clamped to the proper ranges when using
color blending, as required by the spec.
New tests:
dEQP-VK.pipeline.blend.clamp.*
Components: Vulkan
VK-GL-CTS issue: 2021
Change-Id: I76abb5f720564d3c5c0f6c965a97276638fe923c
Piotr Byszewski [Tue, 12 Nov 2019 08:27:04 +0000 (09:27 +0100)]
Add tests for VK_EXT_display_control
VK-GL-CTS issue: 1680
Components: Vulkan
Affects:
dEQP-VK.wsi.display_control.*
Change-Id: I56ca004a884f459958287a96ff342c51a0962075
Alastair Donaldson [Fri, 1 Nov 2019 11:26:48 +0000 (11:26 +0000)]
dEQP-VK.graphicsfuzz.discard-in-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.discard-in-loop
Change-Id: I7ff8a88209bba73932f86fbf397b721e994c4c18
Alexander Galazin [Thu, 5 Dec 2019 10:48:22 +0000 (11:48 +0100)]
Whitelist Vulkan CTS 1.1.6.3
Affects: dEQP-VK.api.driver_properties.properties
Components: Vulkan
Change-Id: Ib46d2ea03898930641539bd0ad1cf657c2994aa4
Alexander Galazin [Thu, 5 Dec 2019 17:14:19 +0000 (18:14 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I09306fa49d83c7421e370054676427ef0dad1d24
Jeff Bolz [Tue, 24 Sep 2019 22:01:10 +0000 (17:01 -0500)]
uvec2 tests for VK_KHR_buffer_device_address
Add variants of the 'convert' tests that convert to and from uvec2
rather than uint64_t.
Components: Vulkan
VK-GL-CTS Issue: 2018
Affects: dEQP-VK.binding_model.buffer_device_address.*
Change-Id: I9e1a2f031e295b9200faff571aae2fc5cbb9005c
(cherry picked from commit
bcc3bf2dee4bcd8505c1b0c16ee05cafad185749)
Jeff Bolz [Tue, 9 Jul 2019 04:09:44 +0000 (23:09 -0500)]
Tests for VK_KHR_buffer_device_address
Components: Vulkan
Affects: dEQP-VK.binding_model.buffer_device_address*
Affects: dEQP-VK.compute.cooperative_matrix*phys*
Affects: dEQP-VK.memory_model.*phys*
Affects: dEQP-VK.ssbo.*phys*
Affects: dEQP-VK.spirv_assembly.*phys*
Change-Id: I045b5832e9857f6e826957e204237a32e0bcbce4
(cherry picked from commit
86db0cf343430c2b434f9313c6c4ef5188d9bc23)
Ben Clayton [Wed, 4 Dec 2019 17:13:41 +0000 (17:13 +0000)]
Bump timeout for the basic fence tests
10ms for the LONG_FENCE_WAIT could cause spurious test failures for CPU-based
Vulkan implementations when the CPU is under heavy load.
This is now bumped to a second, but assuming the test passes, this should never
block for the entire second.
Affects: dEQP-VK.synchronization.basic.fence.*
Components: Vulkan
Change-Id: Ice07a1697b57e789b9f57f4a5da663c83a0c132a
Alexander Galazin [Thu, 5 Dec 2019 16:22:40 +0000 (17:22 +0100)]
Temporarily remove lines_wide tests
Components: Vulkan
Affects:
dEQP-VK.rasterization.primitives.no_stipple.smooth_lines_wide
dEQP-VK.rasterization.primitives_multisample_2_bit.no_stipple.smooth_lines_wide
dEQP-VK.rasterization.primitives_multisample_4_bit.no_stipple.smooth_lines_wide
dEQP-VK.rasterization.primitives_multisample_8_bit.no_stipple.rectangular_line_strip_wide
dEQP-VK.rasterization.primitives_multisample_8_bit.no_stipple.smooth_lines_wide
dEQP-VK.rasterization.primitives_multisample_16_bit.no_stipple.smooth_lines_wide
Change-Id: Id74c00f56519d03fb300a4a06bc20f8f0365bd3e
Paul Thomson [Mon, 9 Sep 2019 14:20:33 +0000 (15:20 +0100)]
dEQP-VK.graphicsfuzz.modf-gl-color
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.modf-gl-color
Change-Id: I8394577742339f2c02a6c1e2d1b7a7093542c68e
Alexander Galazin [Thu, 5 Dec 2019 11:19:21 +0000 (12:19 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I551ad86d1ae9ea8c9ff8fbd04402ee9c7c0e5a89
Alexander Galazin [Thu, 5 Dec 2019 10:36:41 +0000 (11:36 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I682747bb0bea6ceec1604222f26531996bc3f113