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 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
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
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
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
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
Alexander Galazin [Tue, 3 Dec 2019 18:46:18 +0000 (19:46 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I0845a703755ac572d54f56394a04a9a4ace2fdce
Mike Byrne [Mon, 13 May 2019 14:15:02 +0000 (15:15 +0100)]
Extend rasterization testing, modify verification
dEQP-VK.rasterization.primitives.lines tests are extended to add tests
drawing vertical and horizontal lines.
Extend dEQP-VK.rasterization.primitives.lines and
dEQP-VK.rasterization.primitives_multisample_n_bit.lines to test at 258
resolution (a non power of two resolution).
The strict line verification coverage is modified to allow checking of
vertical and horizontal lines. Previously pixels in vertical or hori-
zontal lines were marked as partially covered and hence the test did
not detect whether the lines were rendered correctly or not.
Affects: dEQP-VK.rasterization.primitives*
Components: Vulkan
VK-GL-CTS Issue: 2062
Change-Id: Ifb76a44ba1ebdc97353bbd1a4b2552e415f2723d
(cherry picked from commit
d297d9af7e55da0b0377bec4b9c1eb9d7209a40b)
Mike Byrne [Mon, 13 May 2019 14:15:02 +0000 (15:15 +0100)]
Extend rasterization testing, modify verification
dEQP-VK.rasterization.primitives.lines tests are extended to add tests
drawing vertical and horizontal lines.
Extend dEQP-VK.rasterization.primitives.lines and
dEQP-VK.rasterization.primitives_multisample_n_bit.lines to test at 258
resolution (a non power of two resolution).
The strict line verification coverage is modified to allow checking of
vertical and horizontal lines. Previously pixels in vertical or hori-
zontal lines were marked as partially covered and hence the test did
not detect whether the lines were rendered correctly or not.
Affects: dEQP-VK.rasterization.primitives*
Components: Vulkan
VK-GL-CTS Issue: 2062
Change-Id: Ifb76a44ba1ebdc97353bbd1a4b2552e415f2723d
Alastair Donaldson [Sun, 3 Nov 2019 23:15:05 +0000 (23:15 +0000)]
dEQP-VK.graphicsfuzz.struct-and-unreachable-infinite-loop
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.struct-and-unreachable-infinite-loop
Change-Id: I65b528b4f4739dced9752d79a440884373aafe7e
Alastair Donaldson [Sun, 3 Nov 2019 23:16:55 +0000 (23:16 +0000)]
dEQP-VK.graphicsfuzz.transpose-rectangular-matrix
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.transpose-rectangular-matrix
Change-Id: Ibbef1909c846e35048fa8b9d3da62bddb91e05f4
Alastair Donaldson [Thu, 31 Oct 2019 11:42:55 +0000 (11:42 +0000)]
dEQP-VK.graphicsfuzz.unreachable-switch-case-with-discards
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.unreachable-switch-case-with-discards
Change-Id: Ic0bdb602fbcebd460072ca88acb3a8b4b4641bf1
Graeme Leese [Tue, 26 Nov 2019 10:21:20 +0000 (10:21 +0000)]
Correct link dependency for glc subgroups library
Because the 'subgroups' library depends on helper functions in the
'gl-common' library this needs to be added to the link command even
though it is its parent.
Components: OpenGL
Change-Id: I47f9c2c6491d241adcb241822225bf16273009cc
Graeme Leese [Wed, 27 Nov 2019 15:48:19 +0000 (15:48 +0000)]
Fix amber index parser for archive dir
The new amber index file parser wasn't taking account of the archive-dir
option.
Components: Vulkan
Affects: dEQP-VK.graphicsfuzz.*
dEQP-VK.amber-example.*
Change-Id: Ib955adbdbb979f9910c6ad82f3ca7288c52ef91a
Piers Daniell [Wed, 27 Nov 2019 22:58:45 +0000 (15:58 -0700)]
Fix a couple of typos with separate_layout clearing tests
The VkAttachmentReferenceStencilLayoutKHR structure was using the
wrong sType and VkAttachmentDescriptionStencilLayoutKHR was
using the wrong stencil-only initial layout.
Affects:
dEQP-VK.api.image_clearing.*.clear_depth_stencil_image.*
Components: Vulkan
VK-GL-CTS issue: 2130
Change-Id: I33141f69d03a788faf1618ab0f75f37dbbe62950
Samuel Iglesias Gonsálvez [Wed, 27 Nov 2019 10:06:54 +0000 (11:06 +0100)]
Check memory model support in volatile atomic tests
Volatile atomic tests were not checking vulkan memory model support.
Components: Vulkan
VK-GL-CTS issue: 2125
Affected tests:
dEQP-VK.spirv_assembly.*atomic*
Change-Id: I67557361e2df9fc057ab38a1104f66512a532cf0
(cherry picked from commit
5ded1abda3169e29a6116b6e6b53ce0b9a6d5ab2)
Samuel Iglesias Gonsálvez [Wed, 27 Nov 2019 10:06:54 +0000 (11:06 +0100)]
Check memory model support in volatile atomic tests
Volatile atomic tests were not checking vulkan memory model support.
Components: Vulkan
VK-GL-CTS issue: 2125
Affected tests:
dEQP-VK.spirv_assembly.*atomic*
Change-Id: I67557361e2df9fc057ab38a1104f66512a532cf0
(cherry picked from commit
5ded1abda3169e29a6116b6e6b53ce0b9a6d5ab2)
Samuel Iglesias Gonsálvez [Wed, 27 Nov 2019 10:06:54 +0000 (11:06 +0100)]
Check memory model support in volatile atomic tests
Volatile atomic tests were not checking vulkan memory model support.
Components: Vulkan
VK-GL-CTS issue: 2125
Affected tests:
dEQP-VK.spirv_assembly.*atomic*
Change-Id: I67557361e2df9fc057ab38a1104f66512a532cf0
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
Graeme Leese [Wed, 20 Nov 2019 10:48:45 +0000 (10:48 +0000)]
Fix merge problem with ballot_broadcast tests
Components: Vulkan
VK-GL-CTS issue: 2115
Affects: dEQP-VK.subgroups.ballot_broadcast.*nonconst_*
Change-Id: I85a95cd8a09fa59ba79230c2a58eac431391da51
Ricardo Garcia [Wed, 25 Sep 2019 09:51:47 +0000 (11:51 +0200)]
Fix device group rendering CTS crash
dEQP-VK.device_group.* tests use --deqp-vk-device-group-id as the group
id to use and --deqp-vk-device-id as the index for the physical device
to use from that group when creating the logical device.
--deqp-vk-device-id is checked by the program, in general, to be valid
regarding the total number of physical devices in the system, but these
tests were not verifying it to be valid regarding the selected group.
In a machine with two devices in two separate groups (one device per
group), the program would accept the following options as valid, only to
segfault later:
$ deqp-vk --deqp-vk-device-group-id=1 --deqp-vk-device-id=2 ...
or
$ deqp-vk --deqp-vk-device-group-id=2 --deqp-vk-device-id=2 ...
This commit checks the provided device id is valid for the selected
group.
Affected tests:
dEQP-VK.device_group.*
Components: Vulkan
VK-GL-CTS issue: 1553
Change-Id: Ied8f2fb73384303b793258cbaeaa7fad503a03c1
Graeme Leese [Fri, 6 Sep 2019 15:35:50 +0000 (16:35 +0100)]
Add new tests for quad broadcast with uniform IDs
Add tests for quad broadcasts with non-uniform lane IDs. These are
exactly analogous to the same tests for subgroupBroadcast.
Components: Vulkan
VK-GL-CTS issue: 1978
New tests: dEQP-VK.subgroups.quad.*broadcast_nonconst_*
Change-Id: I213a252d8ce8e02c4578c774a8c2c8c54216d0a5
Ricardo Garcia [Thu, 14 Nov 2019 09:47:45 +0000 (10:47 +0100)]
Add test checking depth/stencil resolve properties
Check VkPhysicalDeviceDepthStencilResolvePropertiesKHR values according
to the spec.
New tests:
dEQP-VK.renderpass2.depth_stencil_resolve.misc.properties
Components: Vulkan
VK-GL-CTS issue: 2089
Change-Id: I58bbf7a2d492a459cac35a213d10c144843bfd05
Ricardo Garcia [Thu, 14 Nov 2019 13:09:17 +0000 (14:09 +0100)]
Test stencil-only images in unused attachment clear tests
Affected and new tests:
dEQP-VK.renderpass*.unused_clear_attachments.*
Components: Vulkan
VK-GL-CTS issue: 2106
Change-Id: I2dfa2aafe1afe8c3a90a652c3c7f8c15aea48657
Ricardo Garcia [Fri, 15 Nov 2019 12:53:14 +0000 (13:53 +0100)]
Test VK_ATTACHMENT_UNUSED with depth/stencil resolve
This commit adds new tests to use VK_ATTACHMENT_UNUSED as the attachment
number for the depth/stencil resolve attachment and later verifies the
image has not been touched.
New tests:
dEQP-VK.renderpass2.depth_stencil_resolve.*unused_resolve*
Components: Vulkan
VK-GL-CTS issue: 2107
Change-Id: Ie00cf61c813b0993c8313c62f8f67a53505602ca
Pawel Ksiezopolski [Tue, 19 Nov 2019 14:36:15 +0000 (15:36 +0100)]
Add coverage for stencil image sampling
Add tests for sampling using nearest filter from following
stencil image formats: VK_FORMAT_S8_UINT, VK_FORMAT_D24_UNORM_S8_UINT,
VK_FORMAT_D32_SFLOAT_S8_UINT.
New tests:
dEQP-VK.texture.filtering.2d.formats.s8_uint.nearest
dEQP-VK.texture.filtering.2d.formats.d24_unorm_s8_uint_stencil.nearest
dEQP-VK.texture.filtering.2d.formats.d32_sfloat_s8_uint_stencil.nearest
dEQP-VK.texture.filtering.unnormal.formats.s8_uint.nearest
dEQP-VK.texture.filtering.unnormal.formats.d24_unorm_s8_uint_stencil.nearest
dEQP-VK.texture.filtering.unnormal.formats.d32_sfloat_s8_uint_stencil.nearest
dEQP-VK.texture.filtering.cube.formats.s8_uint.nearest
dEQP-VK.texture.filtering.cube.formats.d24_unorm_s8_uint_stencil.nearest
dEQP-VK.texture.filtering.cube.formats.d32_sfloat_s8_uint_stencil.nearest
dEQP-VK.texture.filtering.2d_array.formats.s8_uint.s8_uint_nearest
dEQP-VK.texture.filtering.2d_array.formats.d24_unorm_s8_uint_stencil.d24_unorm_s8_uint_stencil_nearest
dEQP-VK.texture.filtering.2d_array.formats.d32_sfloat_s8_uint_stencil.d32_sfloat_s8_uint_stencil_nearest
dEQP-VK.texture.filtering.3d.formats.s8_uint.s8_uint_nearest
dEQP-VK.texture.filtering.3d.formats.d24_unorm_s8_uint_stencil.d24_unorm_s8_uint_stencil_nearest
dEQP-VK.texture.filtering.3d.formats.d32_sfloat_s8_uint_stencil.d32_sfloat_s8_uint_stencil_nearest
Components: Vulkan
VK-GL-CTS issue: 2048
Change-Id: I43f28e6ec4eee5c04e444c9cded1c0a15b3d5e4c
Matthew Netsch [Fri, 15 Nov 2019 17:29:30 +0000 (12:29 -0500)]
Add feature checks to subgroups tests
Components: Vulkan
VK-GL-CTS Issue: 2082
Affects:
dEQP-VK.subgroups.*
Change-Id: Ide9aeaf106dcf1efbc2cf90cd6b46a61586c4f72
Mike Byrne [Mon, 13 May 2019 14:15:02 +0000 (15:15 +0100)]
Extend rasterization testing, modify verification
dEQP-VK.rasterization.primitives.lines tests are extended to add tests
drawing vertical and horizontal lines.
Extend dEQP-VK.rasterization.primitives.lines and
dEQP-VK.rasterization.primitives_multisample_n_bit.lines to test at 258
resolution (a non power of two resolution).
The strict line verification coverage is modified to allow checking of
vertical and horizontal lines. Previously pixels in vertical or hori-
zontal lines were marked as partially covered and hence the test did
not detect whether the lines were rendered correctly or not.
Affects: dEQP-VK.rasterization.primitives*
Components: Vulkan
VK-GL-CTS Issue: 2062
Change-Id: Ifb76a44ba1ebdc97353bbd1a4b2552e415f2723d
Piers Daniell [Wed, 13 Nov 2019 21:01:10 +0000 (14:01 -0700)]
Fix SFR swapchain test's implicit layout transitions
The Vulkan spec says that layout transitions done on peer bound
image memory requires the implementation to support
VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT and
VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT. The test never checked
for this capability and did implicit render pass layout
transitions anyway.
This CL updates the test to use an explicit layout transitions
on local aliases of the image when the implementation doesn't
support doing peer-to-peer transfer.
This CL also fixes a bug in the SFR rects definition in
VkBindImageMemoryDeviceGroupInfo to specify the correct number
of rectangles.
Affects:
dEQP-VK.wsi.win32.swapchain.render.*
dEQP-VK.wsi.win32.swapchain.modify.*
Components: Vulkan
VK-GL-CTS issue: 2094
Change-Id: I31b7099a6d5c4f11be83d6d14a5c02cca6408441
John Corbally [Thu, 7 Nov 2019 16:01:18 +0000 (16:01 +0000)]
Apply the same relaxed precision fix for interface_blocks.* to basic_type.*
Fix relaxed precision and no perspective dEQP tests
In the RelaxedPrecision case, change epsilon to 2e-3 for a 16-bit float.
In the NoPerspective case, change epsilon to 3e-7 for a 32-bit float.
The epsilon is now relative to the correct value.
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.basic_type.*
Components: Vulkan
VK-GL-CTS issue: 1818
Change-Id: I615e65f2f6e4287dc41ff981f18972cf14bcb374
Alastair Donaldson [Thu, 19 Sep 2019 11:29:42 +0000 (12:29 +0100)]
dEQP-VK.graphicsfuzz.discards-in-control-flow
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.discards-in-control-flow
Change-Id: I219e0660fc74ba972a5e949cb7cb209cedbfca92
Alexander Galazin [Fri, 22 Nov 2019 18:10:09 +0000 (19:10 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I36544847548d95fed2b094f00e7604f64790bdb0
Alexander Galazin [Fri, 22 Nov 2019 16:43:18 +0000 (17:43 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: I7c7197ea5881a8bdf500d19b834270807ed30ce9
Maciej Jesionowski [Wed, 16 Oct 2019 11:15:01 +0000 (13:15 +0200)]
Add VK_AMD_buffer_marker tests
This extension adds a new operation to execute pipelined writes
of small marker values into a VkBuffer object.
Components: Vulkan
VK-GL-CTS issue: 2104
New tests:
dEQP-VK.api.buffer_marker.*
Change-Id: I190b0b81564fe58707b6eae40f4768482b01699f
Alexander Galazin [Fri, 22 Nov 2019 13:41:59 +0000 (14:41 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/opengl-es-cts-3.2.6
Change-Id: I069be78b5ad4a7299152d342c5cbfee6b7fc84f1
Alexander Galazin [Fri, 22 Nov 2019 13:28:54 +0000 (14:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I08af02d150b2058c830ee6d12b6b5704a2b967d2
Alexander Galazin [Fri, 22 Nov 2019 12:57:57 +0000 (13:57 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Change-Id: Ia98b822ba5c6e36b25d80836911e0e14c8db9929