Alexander Galazin [Wed, 15 Jan 2020 16:31:47 +0000 (17:31 +0100)]
Update SPIR-V Tools
Components: Framework
Change-Id: I587a0a0703ee15d308566102ad31d3cc3d3b5edb
Alexander Galazin [Wed, 15 Jan 2020 10:41:26 +0000 (11:41 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Id02e3ec3375ebdb8642e28b334ef3a42158c904a
Szymon Szczyrbak [Tue, 14 Jan 2020 12:40:51 +0000 (13:40 +0100)]
Add memory barrier to fragment shader interlock tests.
Image or buffer written by GPU are copied to host-visible buffer used to
verify test's results.
Added a TRANSFER_WRITE/HOST_READ pipeline barrier to make sure that the data
accessed by host is up-to-date.
Component: Vulkan
Affects: dEQP-VK.fragment_shader_interlock.basic.*
VK-GL-CTS Issue: 2165
Change-Id: I6d458b2e650a3813e62948d670b8a53e864aed37
Juan A. Suarez Romero [Wed, 8 Jan 2020 11:58:40 +0000 (11:58 +0000)]
Modify test line position in LinesTestInstance::generateLines()
This slightly change a test line position in order to fix
dEQP-VK.rasterization.primitives.no_stipple.smooth_lines_wide, to avoid
a false failure according to comments in CL#5152.
Affects: dEQP-VK.rasterization.primitives.*
Components: Vulkan
Change-Id: Ie8bde1d1d32f76939ce4a4ba21aaec4c471edd63
Alexander Galazin [Tue, 14 Jan 2020 06:50:35 +0000 (07:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I968d4cdd3c04321a4ff2544597203c77589a4d45
Alexander Galazin [Mon, 13 Jan 2020 17:26:53 +0000 (18:26 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I543ba324319cd3d227400be69d1d02bc323e6c0e
Alexander Galazin [Mon, 13 Jan 2020 14:34:33 +0000 (15:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I654934956a489ddcdec47ac8fc3e2fe638929950
Alexander Galazin [Mon, 13 Jan 2020 14:33:52 +0000 (15:33 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ifc85777682563e4ec769d2b32dbb4b3584a649a5
Alexander Galazin [Mon, 13 Jan 2020 12:10:10 +0000 (13:10 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I420bc4aa41a2f7a67434b4f674c3d3aa161dc6c3
Alexander Galazin [Mon, 13 Jan 2020 10:54:20 +0000 (11:54 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Id9ed312f96fa266a0e3809211b14566ece03e791
Alexander Galazin [Mon, 13 Jan 2020 09:45:56 +0000 (10:45 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I37d5b18d5980372057827bc4435239be98fd30bc
Alan Baker [Mon, 25 Nov 2019 18:03:36 +0000 (13:03 -0500)]
Fix SPIR-V assembly tests with bad cfgs
* Update SPIR-V assembly tests to not declare a continue target as a
merge block
Component: Vulkan
VK-GL-CTS Issue: 2122
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_loop_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_continue_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.continue*
dEQP-VK.spirv_assembly.instruction.graphics.loop.break*
dEQP-VK.spirv_assembly.instruction.graphics.loop.return*
Change-Id: I370331414aae27b53ed79b448b72581e2352c3d7
Alexander Galazin [Sun, 5 Jan 2020 10:06:15 +0000 (13:06 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: If9768a5f553036d5fc3e5fc52051368a37481f08
Alexander Galazin [Sun, 5 Jan 2020 09:19:26 +0000 (12:19 +0300)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I287aadcb16a73697d29d1d13f8de019c0508defd
Alexander Galazin [Sun, 5 Jan 2020 08:33:44 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Id7608050ab3f1c5ce3d26a1480af0de7d90d75ff
Alexander Galazin [Sun, 5 Jan 2020 08:33:03 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I5ebdf2135fdd096d8d35da3ba7d489270f30eba5
Alexander Galazin [Sun, 5 Jan 2020 07:48:47 +0000 (10:48 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I51213fc50189215a04c9206a8b805962052235cb
Alexander Galazin [Sun, 5 Jan 2020 06:36:56 +0000 (09:36 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I2a051b8a36b997c3f904ddd78657de8c1719a53b
Matthew Netsch [Fri, 20 Dec 2019 20:46:11 +0000 (15:46 -0500)]
Allows NaNs in an assert
Components: Vulkan
VK-GL-CTS Issue: 2103
Affects:
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_*
Change-Id: I5848660d120b5a4a07df589a74f47b8ca30befb5
Matthew Netsch [Fri, 20 Dec 2019 20:43:04 +0000 (15:43 -0500)]
Adds subgroup ops stage check
Components: Vulkan
VK-GL-CTS Issue: 2084
Affects:
dEQP-VK.memory_model.message_passing.*.subgroup.*
dEQP-VK.memory_model.write_after_read.ext.*.subgroup.*
Change-Id: Ibb820b4d3de1782bc844f3eb32b6e752745e9976
Chris Forbes [Thu, 19 Dec 2019 22:09:31 +0000 (14:09 -0800)]
Use VK_FORMAT_R32G32_UINT in unused attachment sparse filling tests
VK_FORMAT_R16G16_UINT is not guaranteed to be supported as a storage
image. Use something that is.
VK-GL-CTS Issue: 2155
Components: Vulkan
Affects: dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*
Change-Id: I9a116f824aa8ca00c2bf174b8786c8f9ae2cdafa
Alexander Galazin [Sat, 21 Dec 2019 11:23:06 +0000 (12:23 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I4b8288ca5eab177cd2a6c2684a78a6cf8786b739
Alexander Galazin [Sat, 21 Dec 2019 09:50:50 +0000 (10:50 +0100)]
Re-enable tests
Change-Id: Ic4d90d99b69ef931ba2f3f49538201762eb6746e
Alexander Galazin [Wed, 18 Dec 2019 18:56:23 +0000 (19:56 +0100)]
Update SPIR-V Tools
Components: Framework
Change-Id: Ifef943741a8d8532f5c289e8121d6c503a0a537d
Alexander Galazin [Fri, 20 Dec 2019 20:55:23 +0000 (21:55 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I54ba10b36ec4fabe9d4c9d6ff66857c8e2bbef62
Matthew Netsch [Fri, 4 Oct 2019 15:46:04 +0000 (11:46 -0400)]
Account for VS executing more than once when atomics are used.
Components: Vulkan
Affects: dEQP-VK.glsl.opaque_type_indexing.atomic_counter.*
dEQP-VK.glsl.atomic_operations.*
Change-Id: I15eabf9b47af204fd13370efdc323af141b6b11b
Alexander Galazin [Fri, 20 Dec 2019 15:20:52 +0000 (16:20 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I5e885ca6903eb166df83a1387c5592559e7df469
Ricardo Garcia [Wed, 23 Oct 2019 09:46:15 +0000 (11:46 +0200)]
Add buffer reference comparison tests
This commit adds tests to convert buffer references to both uint64_t and
uvec2 and compare them against zero and against other references.
In addition, new test variants also check cross conversions, i.e., when
a reference is loaded as a uint64_t and later converted to uvec2 or vice
versa.
New tests:
dEQP-VK.binding_model.buffer_device_address.*.convertchecku64.*
dEQP-VK.binding_model.buffer_device_address.*.convertcheckuv2.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertu2p.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertp2u.*
Components: Vulkan
VK-GL-CTS issue: 1968
Change-Id: I4ae5b66473953097a52f169e5b8c425647eedb2c
(cherry picked from commit
d0ee43aaa980dab94ed247e467999864373868d8)
Alexander Galazin [Fri, 20 Dec 2019 12:51:17 +0000 (13:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: If326d580f29fd87e9e72e81a11a39e8629d35bb5
Alexander Galazin [Fri, 20 Dec 2019 12:50:25 +0000 (13:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I0f9446b635621472d72566a6176c7d0c00306263
Dae Kim [Fri, 13 Dec 2019 09:26:05 +0000 (09:26 +0000)]
Avoid undefined behaviour when calculating subgroup ballot masks
The affected tests are shifting the bits of the last component of the
computed ballot masks by 32. However, the SPIR-V specification
establishes that the result of OpShift* is undefined if `Shift` is
greater than *or equal* to the bit width of the components of `Base`.
Affects:
dEQP-VK.subgroups.ballot_other.*
Components: Vulkan
VK-GL-CTS issue: 2083
Change-Id: I8c9b4373f1429669a40741986916e8d71b7eb573
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)
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
Graeme Leese [Thu, 5 Dec 2019 10:19:01 +0000 (10:19 +0000)]
Fix RGB9E5 encode
The overflow correction was broken and resulted in encoded values being
2x too large.
Components: Framework
VK-GL-CTS issue: 2132
Affects: dEQP-VK.*e5*
Change-Id: Ibcab4c889b044c8668aae3c7a1288b8cda1ff0e6
Samuel Iglesias Gonsálvez [Mon, 2 Dec 2019 11:11:48 +0000 (12:11 +0100)]
Remove todo in vktYCbCrFormatTests
VK_IMAGE_TILING_LINEAR and all shader stages are already tested.
Components: Vulkan
VK-GL-CTS issue: 1065
Change-Id: Ie23f53bf8e108799575b12c49149399d89bdde61
Samuel Iglesias Gonsálvez [Mon, 2 Dec 2019 11:06:56 +0000 (12:06 +0100)]
Remove memory alias todo in YCbCr tests
There are already tests implemented to test memory alias.
Components: Vulkan
VK-GL-CTS issue: 1064
Change-Id: I4ceee106fabb9945b9a77a8eedd46b6c07f9afb9
Alastair Donaldson [Fri, 1 Nov 2019 11:43:40 +0000 (11:43 +0000)]
dEQP-VK.graphicsfuzz.discard-in-loop-in-function
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.discard-in-loop-in-function
Change-Id: Ic486aa7665e01ba71d12f35dad66a668cb22554b
Piers Daniell [Mon, 21 Oct 2019 22:47:25 +0000 (16:47 -0600)]
Generate a non-zero exit code on test failure
If there are any failed tests, or the test run was not
compelte, the process will now generate EXIT_FAILURE (1)
instead of EXIT_SUCCESS (0).
Affects:
cts-runner
Components: Framework
VK-GL-CTS issue: 1982
Change-Id: I50fb7d51c095a09f53476b5ba56b72835337f339
Courtney Goeltzenleuchter [Thu, 21 Nov 2019 17:07:41 +0000 (10:07 -0700)]
Fix uninitialized index array
The test is doing a glDrawRangeElements using uninitialized data for
the element array. ANGLE validates that the indices fall within the
specified range. Data needs to be initialized to ensure that happens.
The spec says:
It is an error for index values (other than the primitive restart index,
when primitive restart is enabled) to lie outside the range [start, end], but
implementations are not required to check for this. Such indices will cause
implementation-dependent behavior.
Either the test needs to allow for an error or initialize the data so
as to be valid for the call.
Affected Test:
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_range_elements
Components: OpenGL ES
VK-GL-CTS issue: 2118
Change-Id: I51f8abb86f088b67990001454bb00d59313200c2
Alexander Galazin [Thu, 5 Dec 2019 09:37:17 +0000 (10:37 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: Ie910031c0296648e7ff34fb69cdbed0de5f24a1b
Alexander Galazin [Thu, 5 Dec 2019 09:35:38 +0000 (10:35 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: I379c93b2ba1b05af60dab773496d8fa81ebb7c33
Alexander Galazin [Thu, 5 Dec 2019 08:38:48 +0000 (09:38 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I13e1238c4bfc3cb1366e25def3b081591a8101de
Slawomir Cygan [Fri, 29 Nov 2019 13:06:03 +0000 (14:06 +0100)]
Do the 'from UNDEFINED' layout transition only on the first pass
The test uses multiple submissions, each rendering to a part
of the same render target. Only the first submission should do
the transition 'from' UNDEFINED layout, otherwise each pass (submit)
would invalidate render target contents from previous submits.
Components: Vulkan
VK-GL-CTS Issue: 2131
Change-Id: Ic424e391e0348f6333b50d4c0f4f57d161ec95fb
Affects: dEQP-VK.descriptor_indexing.*
Alexander Galazin [Thu, 5 Dec 2019 07:47:58 +0000 (08:47 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I4d9bef08ce50fbba4d6a61cbba1e3cdb28051543
Yanjun Zhang [Sat, 16 Nov 2019 05:54:57 +0000 (21:54 -0800)]
Add two more formats with proper threshold values.
Need to add two more formats with proper threshold values in
vkApiCopiesAndBlittingTests.cpp: getFormatThreshold() to make
CTS pass on some VSI mobile GPUs.
Affects:
dEQP-VK.api.copy_and_blit.core.blit_image.simple_tests.*
dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.*
Components: Vulkan
VK-GL-CTS issue: 2112
Change-Id: Ia3a314fd825ed13c44e49720fffffa2dff8f26af
Piotr Byszewski [Wed, 30 Oct 2019 16:04:22 +0000 (17:04 +0100)]
Create tests for VK_EXT_astc_decode_mode
VK-GL-CTS issue: 1672
Components: Vulkan
Affects:
dEQP-VK.image.astc_decode_mode.*
Change-Id: Ib76e7cca25a82e8712ea2fd4028f8b1d6db3f8c2
Alexander Galazin [Wed, 4 Dec 2019 09:42:50 +0000 (10:42 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I3696dd5668797086ee86d5c872bc2fb92c9366e9
Alexander Galazin [Wed, 4 Dec 2019 08:00:31 +0000 (09:00 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ibddbc03494b4a0f392003b4c96630cdbf4314bcc
Alexander Galazin [Tue, 3 Dec 2019 20:42:54 +0000 (21:42 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: I29f005101057e815c4ba8e6cd1fb1115e01a54ad
Alexander Galazin [Tue, 3 Dec 2019 20:19:18 +0000 (21:19 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: If4306c39b07180416c2b5187b26ed72ba994b892