Alexander Galazin [Sun, 25 Oct 2020 17:01:49 +0000 (18:01 +0100)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: Id1b01740cb67862f257cb668234cb760a15505df
Alexander Galazin [Sun, 25 Oct 2020 09:25:21 +0000 (10:25 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: Ie3a7279296c9a1bec8e0711b0efcf0265ebad249
Alexander Galazin [Sat, 24 Oct 2020 08:27:56 +0000 (10:27 +0200)]
Notice of withdrawal of Vulkan CTS 1.1.6.x
Components: Vulkan
Change-Id: I6f5df9b2b72c4838e0721a137eb9d43d314b83fe
Alexander Galazin [Fri, 23 Oct 2020 18:38:25 +0000 (20:38 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: I559614f2f74c3975eba31caa8025205eea5d0816
Alexander Galazin [Fri, 23 Oct 2020 15:30:46 +0000 (17:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I48eda80e9fcd03bb5d402e94b873cb536ffb53e7
Varvara Poskonina [Fri, 23 Oct 2020 12:23:44 +0000 (14:23 +0200)]
Fix validation of DRM modifier compatibility with image properties
Vulkan spec states that in case of image creation with list of
DRM modifiers (VkImageDrmFormatModifierListCreateInfoEXT), each
of them must be compatible with the parameters in
VkImageCreateInfo and its pNext chain.
This change adds a mandatory check for modifier compatibility with
the specified image properties by querying
vkGetPhysicalDeviceImageFormatProperties in a place where it was
missing prior to the actual image creation.
Components: Vulkan
Affects: dEQP-VK.drm_format_modifiers.create_list_modifiers.*
VK-GL-CTS Issue: 2611
Change-Id: Iab5deff6c8cbe6d2c510224322f7be91c7874acf
Alexander Galazin [Fri, 23 Oct 2020 09:30:12 +0000 (11:30 +0200)]
Update KC CTS reference
Components: Framework
Change-Id: I733864e2e41aa6ec10a444a282b105aa39925ffd
Mika Väinölä [Tue, 25 Aug 2020 06:29:07 +0000 (09:29 +0300)]
ANGLE waiver for GLES XFB array element capture
Tests waived:
dEQP-GLES3.functional.transform_feedback.array_element.*
dEQP-GLES3.functional.transform_feedback.random.*
dEQP-GLES31.functional.program_interface_query.transform_feedback_varying.*_array_element
dEQP-GLES31.functional.program_interface_query.transform_feedback_varying.type.*.array.*
KHR-GLES31.core.program_interface_query.transform-feedback-types
Components: OpenGL ES
VK-GL-CTS issue: 2237
Change-Id: I72be7800ced02423a4ac120e5d9ce581636a6a4f
Piotr Byszewski [Wed, 7 Oct 2020 09:35:55 +0000 (11:35 +0200)]
Waiver for wide-line attribute interpolation
Wide-line attribute interpolation tests recently added to
the mustpass list cannot be passed by any hardware that
Intel has ever shipped.
Components: OpenGL
Affects:
dEQP-GLES2.functional.rasterization.interpolation.basic.line_loop_wide
dEQP-GLES2.functional.rasterization.interpolation.basic.line_strip_wide
dEQP-GLES2.functional.rasterization.interpolation.basic.lines_wide
dEQP-GLES2.functional.rasterization.interpolation.projected.line_loop_wide
dEQP-GLES2.functional.rasterization.interpolation.projected.line_strip_wide
dEQP-GLES2.functional.rasterization.interpolation.projected.lines_wide
dEQP-GLES3.functional.rasterization.fbo.rbo_singlesample.interpolation.lines_wide
dEQP-GLES3.functional.rasterization.fbo.texture_2d.interpolation.lines_wide
dEQP-GLES3.functional.rasterization.interpolation.basic.line_loop_wide
dEQP-GLES3.functional.rasterization.interpolation.basic.line_strip_wide
dEQP-GLES3.functional.rasterization.interpolation.basic.lines_wide
dEQP-GLES3.functional.rasterization.interpolation.projected.line_loop_wide
dEQP-GLES3.functional.rasterization.interpolation.projected.line_strip_wide
dEQP-GLES3.functional.rasterization.interpolation.projected.lines_wide
VK-GL-CTS issue: 2601
Change-Id: I7508429613e0d8cde45d6e9d6b5d07f0b17f7753
Piotr Byszewski [Wed, 7 Oct 2020 14:27:02 +0000 (16:27 +0200)]
Add support for waiver mechanism to cts-runner
Affects: cts-runner
Change-Id: I147cbb49114386b939a6563a1b4b96f620310736
Components: Framework
Samuel Iglesias Gonsálvez [Fri, 9 Oct 2020 08:47:31 +0000 (10:47 +0200)]
Fix depth/stencil resolve compatibility tests
This commit fixes validation errors related to the depth/stencil resolve
attachment, making them follow validation rules. Depth/stencil resolve
attachments must match in bit size and format with their multisample
counterparts, but they can remove aspects (depth or stencil) in the
resolve operation.
Some of the existing tests did not match these rules.
Removed tests:
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.d16_unorm.compatibility_*
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.x8_d24_unorm_pack32.compatibility_*
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.d32_sfloat.compatibility_*
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.s8_uint.compatibility_*
Affected tests:
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.*.compatibility_*
Components: Vulkan
VK-GL-CTS issue: 2596
Change-Id: Ifa8d3de9ca71d9c2889a86949014774d6879e537
ajerecze [Thu, 15 Oct 2020 09:56:47 +0000 (11:56 +0200)]
Fix command buffer usage flags in dEQP-VK.query_pool.performance_query tests
The test is resubmitting command buffer few times in a loop, however it
is using beginCommandBuffer utility function, which sets the command buffer usage flag to
VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT by default. This commit changes that to
0 (no flags).
Moreover, VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT flag is removed, as it seems
The submits are serialized by a fence.
Additionally replaced raw vkCmdBeginCommandBuffr with beginCommandBuffer for clarity.
Components: Vulkan
VK-GL-CTS Issue: 2617
Affects:
dEQP-VK.query_pool.performance_query.query*
dEQP-VK.query_pool.performance_query.multiple_pools*
Change-Id: Iff25e4cc715582710f3ed23367a7fd8f9a23b29e
Ari Suonpaa [Wed, 9 Sep 2020 11:27:26 +0000 (14:27 +0300)]
Fix validation errors in AHB tests
AHB protected memory tests were also removed as the test
tried to use protected memory without creating a device
and queue that would support protected operations.
VK-GL-CTS Issue: 2508
Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.*
Components: Vulkan
Change-Id: I307e7450d06d20b6497f2a529e5724ae0538e5a9
Yiwei Zhang [Mon, 25 May 2020 22:32:49 +0000 (15:32 -0700)]
Add create and destroy object tests for the VK_EXT_device_memory_report extension
This test creates and destroys various kinds of Vulkan objects and
verifies that all the emitted callback events are properly paired.
Components: Vulkan
VK-GL-CTS issue: 2266
New tests: dEQP-VK.memory.device_memory_report.create_and_destroy_object.*
Change-Id: I1a3e83e1bfe6f89fbcc511e9b43facbddda79b60
Mikko Tiusanen [Thu, 23 Jul 2020 15:18:21 +0000 (18:18 +0300)]
Add tests for clamping of depth values
Added tests for clamping of depth values.
Includes depth bias and VK_EXT_depth_range_unrestricted tests for formats
that can support it.
New tests:
dEQP-VK.draw.depth_clamp.*
Components: Vulkan
VK-GL-CTS issue: 2312
Change-Id: Id9b27146032d6e08cbc7362aff3fd64cc9ed2556
Joshua Ashton [Fri, 17 Apr 2020 04:10:55 +0000 (05:10 +0100)]
Implement custom border color tests
New Tests:
dEQP-VK.pipeline.sampler.*.all_mode_clamp_to_border_custom_*
Components: Vulkan
Vulkan issue: 2088
Change-Id: I5b8b73147aad8b3398c9ba55577397b2224d3940
Ilia Mirkin [Sat, 1 Feb 2020 07:34:30 +0000 (02:34 -0500)]
Fix tests to work with pre-GL4 drivers
Components: OpenGL
Affects:
KHR-GL33.cull_distance.*
KHR-GL33.pipeline_statistics_query_tests_ARB.*
KHR-GL33.gpu_shader5_gl.*
KHR-GL33.transform_feedback.api_errors_test
(cherry picked from commit
e14d294a7b773e90b350b41d4cc791ea01185b29)
Change-Id: Iab1400128c644214d224b6e15daf09dbfe88951f
Eric Werness [Fri, 16 Nov 2018 21:50:40 +0000 (13:50 -0800)]
Support Python3 as well in gen_release_info.py
The CMake file version check can end up picking python3 in some cases -
making the Python code compatible with python3 seems easier than
adjusting the version check.
Components: Frameworks
Change-Id: Iab37090ab813dcb7839490225ca2a4bf2f721c12
(cherry picked from commit
f1bcdd5e9df1f83cc9dc4ef7235d3da16e9f7fab)
(cherry picked from commit
506598e19e7154d58b258f61f3b8a4cf5c87d0c5)
Alexander Galazin [Wed, 7 Oct 2020 10:28:33 +0000 (12:28 +0200)]
Update vk.xml revision
Components: Vulkan
Affects: dEQP-VK.api.info.*extensions
Change-Id: I2f47f4dfdcb83a05712a268c1e1117dc8fb571f3
Lionel Landwerlin [Sat, 26 Sep 2020 12:27:56 +0000 (15:27 +0300)]
Replace incorrect undefined->transfer-dst-opt layout transfers
The additional transfer from the UNDEFINED layout right after a clear
command seem incorrect, as they can have the effect of discarding the
previous command's effect on some implementations.
Put barriers in front of the clears using the same source & destination
layouts.
Affects:
dEQP-VK.api.image_clearing.core.clear_color_image.*
Components: Vulkan
VK-GL-CTS issue: 2603
Change-Id: I57377f12968f6ffd38ac017f874324cd4bfdf3e4
Michal Pawlowski [Sun, 4 Oct 2020 04:47:07 +0000 (06:47 +0200)]
Add cube compat. to array image copy tests
This commit adds image to image cube compatible to 2d image array and vice versa copy tests.
VK-GL-CTS Issue: 2542
New tests:
dEQP-VK.api.copy_and_blit.core.image_to_image.cube.*
Change-Id: I37d191b05c70a74f5e659018aab4c73114fc250e
Components: Vulkan
Mikko Tiusanen [Fri, 21 Aug 2020 09:55:51 +0000 (12:55 +0300)]
Tests for pipeline laoyut early destroy
Added tests that use the created graphics pipeline after destroying
the pipeline layout used to create them.
New tests:
dEQP-VK.pipeline.early_destroy.no_cache_destroy_layout
dEQP-VK.pipeline.early_destroy.cache_destroy_layout
Affects:
dEQP-VK.pipeline.early_destroy.*
Components: Vulkan
VK-GL-CTS issue: 2362
Change-Id: Ib296b2834ea7c31891532e5c8e7102f30acc000f
Matthew Netsch [Wed, 14 Oct 2020 20:51:51 +0000 (16:51 -0400)]
Fixes cubic filter copy and blt tests
Only 2D is supported per spec
Components: Vulkan
VK-GL-CTS Issue: 2600
Affects:
dEQP-VK.api.copy_and_blit.*3d*
Change-Id: I145ec2bf638c497e08f85b328c3e39bf6ee5c636
Timothy Arceri [Thu, 30 Apr 2020 07:31:13 +0000 (17:31 +1000)]
Fix broken layout binding tests
Some of the shaders being generated contain a misplaced ;
An example of the code being gererated is as follows:
fragColor = vec4(float(atomicCounter(atomic0)), 1.0, 0.0, 1.0);
+vec4(float(atomicCounter(atomic1)), 1.0, 0.0, 1.0);
+vec4(float(atomicCounter(atomic2)), 1.0, 0.0, 1.0);
+vec4(float(atomicCounter(atomic3)), 1.0, 0.0, 1.0);
Affects:
KHR-GL46.layout_binding.atomic_uint_layout_binding_atomic_*
Components: OpenGL
VK-GL-CTS issue: 2348
Change-Id: Ie209de8954c8b8e3920c17be9190030946c93354
(cherry picked from commit
64d344b60bb7b4324525e08766fdeb14bf1f18c6)
Alexander Galazin [Fri, 9 Oct 2020 15:32:21 +0000 (17:32 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: Id859c0fcaa52f04154e5686ec8a9659c75635ad2
Timothy Arceri [Sun, 3 May 2020 05:57:02 +0000 (15:57 +1000)]
Fix some egl robustness tests
Because the values of color were initially undefined an optimised
compiler can simply set all components of the vector to the value
being assigned to color[u_index] and eventually eliminate color and
u_index completely.
To avoid this we initialise color.
Affects:
dEQP-EGL.functional.robustness.reset_context.shaders*
Components: OpenGL
VK-GL-CTS issue: 2349
Change-Id: I6eb929eec07b039afb247427af91aba65dbade9b
(cherry picked from commit
4392facc87c2da80b5065f8663b9303fb1113e16)
Alexander Galazin [Fri, 9 Oct 2020 10:17:53 +0000 (12:17 +0200)]
Allow Vulkan CTS 1.2.4.1
Components: Vulkan
Affects: dEQP-VK.api.driver_properties.properties
Change-Id: I2bef3f7c8fb106ce98d450383d3f9cec7facd800
Mika Väinölä [Tue, 29 Sep 2020 06:58:03 +0000 (09:58 +0300)]
Modify/add GLES XFB tests without element capture
Some GLES implementations are unable to support array elements as
transform feedback varyings. Capture the full array when element
capture is not explicitly tested. Add new variants for tests where
different types of varyings are tested at the same time.
New tests:
dEQP-GLES3.functional.transform_feedback.random_full_array_capture.*
KHR-GLES31.core.program_interface_query.transform-feedback-types-full-array-capture
Affects:
dEQP-GLES3.functional.transform_feedback.random.*
KHR-GLES31.core.shader_image_size.*
KHR-GLES31.core.vertex_attrib_binding.basic-input*
Components: OpenGL ES
VK-GL-CTS issue: 2237
Change-Id: Ib6164d89bc99f8ca8287dad7cc1e0789916e3256
Alastair Donaldson [Wed, 16 Sep 2020 20:37:51 +0000 (21:37 +0100)]
Add a batch of GraphicsFuzz tests
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.spv-double-branch-to-same-block
dEQP-VK.graphicsfuzz.spv-double-branch-to-same-block2
dEQP-VK.graphicsfuzz.spv-double-branch-to-same-block3
dEQP-VK.graphicsfuzz.spv-load-from-frag-color
Change-Id: I8da268adc32c75e2cc78feb4c23040264b503e66
Samuel Iglesias Gonsálvez [Tue, 22 Sep 2020 15:28:43 +0000 (17:28 +0200)]
Fix wrong access flag for depth/stencil resolve
According to the spec:
"End-of-subpass multisample resolves are treated as color attachment
writes for the purposes of synchronization."
Affects: dEQP-VK.renderpass2.depth_stencil_resolve.*
Component: Vulkan
VK-GL-CTS issue: 2593
Change-Id: I055049fffc0fd4bdbd162c4468cf80ff0c5ca373
Lionel Landwerlin [Wed, 30 Sep 2020 15:19:27 +0000 (18:19 +0300)]
Fix wsi tests using disallowed image usage
Even though STORAGE usage might be reported by
VkSurfaceCapabilitiesKHR::supportedUsageFlags, an application should
always verify whether for a given format the STORAGE usage is
supported through vkGetPhysicalDeviceImageFormatProperties().
This also fixes validation layer warnings
(VUID-VkSwapchainCreateInfoKHR-imageFormat-01778).
Affects:
dEQP-VK.wsi.*.swapchain.simulate_oom.image_usage
Components: Vulkan
VK-GL-CTS issue: 2602
Change-Id: I21a5faff6206bdeaf6ecd5d8c8024d17965db548
Samuel Iglesias Gonsálvez [Thu, 24 Sep 2020 10:15:23 +0000 (12:15 +0200)]
Output depth image in case of failure
Affects:
dEQP-VK.draw.inverted_depth_ranges.*
Components: Vulkan
VK-GL-CTS issue: 2446
Change-Id: Ic60c321d8889638af71e5ed4828bfcd007a7e8f3
Karolina Palka [Thu, 24 Sep 2020 14:49:29 +0000 (16:49 +0200)]
Check SparseResidency flag before OpImageSparseRead
This patch adds check if SpvCapabilitySparseResidency
is supported before doing SpvOpImageSparseRead
Affects:
dEQP-VK.image.mismatched_formats.sparse_image_read.*
Components: Vulkan
VK-GL-CTS issue: 2591
Change-Id: I98852842285d4df9008e7e2403a4680c81b6a9f1
Varvara Poskonina [Wed, 7 Oct 2020 13:33:57 +0000 (15:33 +0200)]
Fix validation of DRM modifier compatibility with image properties
Vulkan spec states that in case of image creation with list of
DRM modifiers (VkImageDrmFormatModifierListCreateInfoEXT), each
of them must be compatible with the parameters in
VkImageCreateInfo and its pNext chain.
This change adds a mandatory check for modifier compatibility with
the specified image properties by querying
vkGetPhysicalDeviceImageFormatProperties in a place where it was
missing prior to the actual image creation.
Components: Vulkan
Affects: dEQP-VK.drm_format_modifiers.create_list_modifiers.*
VK-GL-CTS Issue: 2611
Change-Id: Iab5deff6c8cbe6d2c510224322f7be91c7874acf
Ari Suonpaa [Tue, 18 Aug 2020 12:45:29 +0000 (15:45 +0300)]
Fix result checking of output location tests
Output location tests were expecting bit accurate results
when comparing to reference values. However some of the
tests use lowp or mediump precision. This change adds
some tolerance for the result checking. Also lowp variants
are removed as they acted identically to mediump ones.
VK-GL-CTS Issue: 2513
VK-GL-CTS Issue: 2510
VK-GL-CTS Issue: 2550
Affects:
dEQP-VK.draw.output_location.*
Components: Vulkan
Change-Id: Ic7b96a5b5be441cd78a0e50be5fcf86308c80652
Alexander Galazin [Mon, 5 Oct 2020 07:43:21 +0000 (09:43 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: I476905a4d715e98b3499efe83fb0861f2f1e4a57
Alexander Galazin [Sat, 3 Oct 2020 08:45:05 +0000 (10:45 +0200)]
Notice of withdrawal of Vulkan CTS 1.2.0.x
Components: Vulkan
Change-Id: Iecc87a7a4ea482e7a0be102c1b11e72dce5f10d6
Alexander Galazin [Fri, 2 Oct 2020 16:32:58 +0000 (18:32 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: Icdd0f8c4935129168a8bf7d1607fc26a7fac9e32
Alexander Galazin [Fri, 2 Oct 2020 15:13:01 +0000 (17:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I0260b62c60b55364b6b0777c70ce605d36bda861
Alexander Galazin [Fri, 2 Oct 2020 11:29:44 +0000 (13:29 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: Ie884684e771f567171331f327cd6fa13f15c1fb3
Ari Suonpaa [Tue, 18 Aug 2020 12:45:29 +0000 (15:45 +0300)]
Fix result checking of output location tests
Output location tests were expecting bit accurate results
when comparing to reference values. However some of the
tests use lowp or mediump precision. This change adds
some tolerance for the result checking. Also lowp variants
are removed as they acted identically to mediump ones.
VK-GL-CTS Issue: 2513
VK-GL-CTS Issue: 2510
VK-GL-CTS Issue: 2550
Affects:
dEQP-VK.draw.output_location.*
Components: Vulkan
Change-Id: I3d48832f3818431332421172ef97f4900e2679ed
Ralph Potter [Mon, 20 Jul 2020 10:07:48 +0000 (11:07 +0100)]
Experimental crash postmortem use-after-free test
Adds a tests to deliberately free a buffer before executing a compute
shader that accesses it for the purposes of deliberately triggering
device-loss.
This test is intended for experimental/investigative use by the crash
postmortem TSG, is expected to fail, and should not be included in
mustpass lists.
Added Tests:
dEQP-VK-experimental.postmortem.use_after_free.*
Components: Vulkan
Vulkan issue: 2255
Change-Id: Icb7f47a37e864932044343493057ef4882473b94
Alexander Galazin [Fri, 2 Oct 2020 10:35:42 +0000 (12:35 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I2104e27164b15d2f66896b1c1c4f188fe8df83e4
Alexander Galazin [Fri, 2 Oct 2020 09:58:50 +0000 (11:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ia15f227ae78f00e0d142f0b2ce3d966d10a09cab
Alexander Galazin [Fri, 2 Oct 2020 09:15:55 +0000 (11:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I4c86e4fe92acca4c4260ab43a492ace9f527f986
Alexander Galazin [Thu, 1 Oct 2020 11:24:44 +0000 (13:24 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Id37d7b8198e8d5867e4b802e638eb1e0010c2351
Alexander Galazin [Thu, 1 Oct 2020 10:02:06 +0000 (12:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I840b7caa71134a32ba49b484b716b97c31ace9ee
Alexander Galazin [Thu, 1 Oct 2020 08:57:05 +0000 (10:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I04485faa2b85d5af689da6143b130e3c92bd9253
Alexander Galazin [Thu, 1 Oct 2020 07:43:39 +0000 (09:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Ic81486b5b158f0edf964d29a6e084a9c6e2dee00
Matthew Netsch [Wed, 30 Sep 2020 16:27:25 +0000 (12:27 -0400)]
Fixes multisample resolve sRGB cases
CTS expects downsampling in linear space,
where spec says implementation dependent
Components: Vulkan
VK-GL-CTS Issue: 2584
Affects:
dEQP-VK.renderpass.suballocation.multisample_resolve.*_srgb*
Change-Id: I8512ef058b03fe55c5429d3add5d2f4dc890c663
Graeme Leese [Thu, 10 Jan 2019 11:20:02 +0000 (11:20 +0000)]
Fix validation errors in subgroups tests
Some subgroups tests were attempting to create a descriptor pool of size
0, which is invalid. Instead, skip the whole construction of descriptor
sets since they aren't needed.
Components: Vulkan
Affects: dEQP-VK.subgroups.*.graphics.*
Change-Id: I5abedcc2360a0336c521aea855a9725b127c9a0f
(cherry picked from commit
a887be07dd7b63ce89794af9f70f893dc2de5955)
Alexander Galazin [Mon, 28 Sep 2020 11:07:26 +0000 (13:07 +0200)]
Update glslang, SPIR-V Tools and Headers
Change-Id: Ic18e8d56ea22256353bee952aa5aa081959600a7
Alexander Galazin [Mon, 28 Sep 2020 08:28:01 +0000 (10:28 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: I5201a8ce0fc604bad99fdcc4c2a2aa945e66ec2b
Alexander Galazin [Fri, 25 Sep 2020 09:13:55 +0000 (11:13 +0200)]
Merge vk-gl-cts/github-master into vk-gl-cts/master
Change-Id: Id08c5fcbaea1f9cee9671fa40e5490d000c38711
Alexander Galazin [Fri, 25 Sep 2020 09:12:48 +0000 (11:12 +0200)]
Merge pull request #228 from robclark/fix-surfaceless-config
platform/surfaceless: pick config's better
Mikko Tiusanen [Fri, 11 Sep 2020 09:19:22 +0000 (12:19 +0300)]
Avoid gcc divide by zero in getEdgeVolumeClip
Adjusted getEdgeVolumeClip equation to avoid divide by zero without
causing a meaningful change in the calculation. Fixes divide by zero when
compiled using the gcc toolset.
Affects:
dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.*
Components: OpenGL ES
VK-GL-CTS issue: 2035
Change-Id: I359f0486d98bfe4c642679d11bec4c8704c72943
Jeff Leger [Tue, 30 Jun 2020 01:04:14 +0000 (21:04 -0400)]
Add tests for KHR_copy_commands2
New Tests:
dEQP-VK.api.copy_and_blit.copy_commands2.*
Affects:
dEQP-VK.api.copy_and_blit.*
Component: Vulkan
VK-GL-CTS issue: 2430
Change-Id: I447f518248b43d4fbe2a84b5de6ee3f1e5e2eaf0
(cherry picked from commit
713d656677d147086e7814dd3ecfafa4f41071c6)
Karolina Palka [Wed, 2 Sep 2020 12:09:59 +0000 (14:09 +0200)]
Add tests for incompatible resolve attachments
Testing special case where resolve attachments (including depth/stencil) are completely different
New tests:
dEQP-VK.renderpass.suballocation.multisample_resolve.*.compatibility_*
dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.*.compatibility_*
Components: Vulkan
VK-GL-CTS issue: 2225
Change-Id: Ic442da66413714131d040891d56a8819d4cd4ff4
Alexander Galazin [Fri, 11 Sep 2020 09:34:55 +0000 (11:34 +0200)]
Enable more lines tests
Components: Vulkan
Affects:
dEQP-VK.rasterization.interpolation.basic.lines_wide
dEQP-VK.rasterization.interpolation.projected.line_strip_wide
dEQP-VK.rasterization.flatshading.lines_wide
dEQP-VK.pipeline.multisample.*.primitive_point_1px
dEQP-VK.pipeline.multisample.*.primitive_point_1px_sparse
VK-GL-CTS issue: 1274
Change-Id: If6a3debf1bf1794ca9175fd2c5404df2891ffb85
Alexander Galazin [Wed, 16 Sep 2020 07:12:43 +0000 (09:12 +0200)]
Update Amber
Components: Framework
Affects: dEQP-VK.*
Change-Id: I0bb5016b2ec063396cd797060e14d6de474b96af
Alexander Galazin [Mon, 21 Sep 2020 09:34:32 +0000 (11:34 +0200)]
Update headers
Components: Vulkan
Change-Id: Icfd9ec046c450a431e2723970b92a2a2a547dfd2
Alexander Galazin [Fri, 18 Sep 2020 09:07:54 +0000 (11:07 +0200)]
Merge vk-gl-cts/github-master into vk-gl-cts/master
Change-Id: I7dcae64a5618fbbed63da7bd8cd649add44d5e0a
Alexander Galazin [Fri, 18 Sep 2020 09:06:09 +0000 (11:06 +0200)]
Merge pull request #227 from kusma/nearest-edge-8-bit-precision
Lower precision required for texture-lookups
Michal Pawlowski [Fri, 4 Sep 2020 05:49:03 +0000 (07:49 +0200)]
Issues detected by synchronization validation layer fix
This commit fixes certain synchronization issues detected by synchronization validation layer.
Component: Vulkan
Affects:
dEQP-VK.api.image_clearing.core.clear_color_image.1d.optimal.remaining_array_layers_twostep.r4g4_unorm_pack8
dEQP-VK.pipeline.timestamp.transfer_tests.transfer_stage_with_copy_buffer_method
dEQP-VK.pipeline.dynamic_offset.compute.single_set.uniform_buffer.numcmdbuffers_1.sameorder.numdescriptorsetbindings_2.numdynamicbindings_1.numnondynamicbindings_0
dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.basic_type.flat
dEQP-VK.glsl.builtin_var.fragdepth.point_list_d32_sfloat_multisample_2
dEQP-VK.synchronization.op.single_queue.event.write_fill_buffer_read_copy_buffer.buffer_16384
dEQP-VK.compute.basic.copy_ssbo_to_image_small
dEQP-VK.image.store.with_format.1d.r32g32b32a32_sfloat
dEQP-VK.image.qualifiers.coherent.1d.r32f
dEQP-VK.image.image_size.1d.readonly_32
dEQP-VK.multiview.depth.3_6_12_9_6_12_9_3_6_12_9_3
dEQP-VK.pipeline.push_descriptor.graphics.binding0_numcalls1_input_attachment
dEQP-VK.pipeline.cache.graphics_tests.vertex_stage_fragment_stage
dEQP-VK.ycbcr.format.g8_b8_r8_3plane_420_unorm.vertex_linear_disjoint
dEQP-VK.imageless_framebuffer.depth_stencil_resolve
dEQP-VK.renderpass.suballocation.attachment_allocation.input_output.*
Public issue: 217
Change-Id: Idaed4cad0a15e84ed3803566eb2f3e9493c2f7a1
Graeme Leese [Mon, 7 Sep 2020 14:00:08 +0000 (15:00 +0100)]
Fix memory barriers in image_subresrouce tests
Having written the data from the CPU we need to flush the allocation,
not invalidate it.
Components: Vulkan
VK-GL-CTS issue: 2445
Affects: dEQP-VK.image.subresource_layout.*
Change-Id: I45e891e8476f2d4088ca9f7bb0e1923490579f43
Slawomir Cygan [Fri, 6 Dec 2019 13:36:11 +0000 (14:36 +0100)]
Bump fence timeout in Amber test cases to infinity
Components: Vulkan
VK-GL-CTS Issue: 2119
Affects: dEQP-VK.* (only Amber test cases)
Change-Id: I5f363b7509a72e82dfcc4b3ad37891908a34a5cf
Eric Anholt [Wed, 5 Aug 2020 22:17:21 +0000 (15:17 -0700)]
vulkan: Add temporary constant-data shader indexing tests.
Drivers often have a path for taking shader temps that are initialized
with constant data and uploading them through the UBO path instead of
as shader immediates (particularly for dynamic indexing). Add some
shader indexing tests that try to hit that path.
New tests:
dEQP-VK.glsl.indexing.tmp_array.*const_write*
Change-Id: I1072d796d8b4244c109eb5e639a291a0c49ca29e
Components: Vulkan
Ari Suonpaa [Thu, 18 Jun 2020 12:36:03 +0000 (15:36 +0300)]
Add transform feedback test with NULL offset array
Added a variant of an existing transform feedback test where
counter buffers are provided for vkCmd[Begin/End]TransformFeedbackEXT
but offset array is set to NULL. In that case offsets of zero
should be assumed.
VK-GL-CTS Issue: 2313
New tests:
dEQP-VK.transform_feedback.simple.backward_dependency_no_offset_array
Components: Vulkan
Change-Id: I9d80228d1d2c74f1feeda8e46de5db525b7b5825
Matthew Netsch [Thu, 17 Sep 2020 14:09:52 +0000 (10:09 -0400)]
Fixes multisample resolve sRGB cases
CTS expects downsampling in linear space,
where spec says implementation dependent
Components: Vulkan
VK-GL-CTS Issue: 2584
Affects:
dEQP-VK.renderpass.suballocation.multisample_resolve.*_srgb*
Change-Id: I9ab4ebf54e38c5c2cd1cc626dcf77f904d0e1e4d
Marcin Kańtoch [Tue, 15 Sep 2020 11:35:35 +0000 (13:35 +0200)]
Coverage not correct for pixels on shared edges
Added coverage check for the second "friend" triangle.
Components: Vulkan
VK-GL-CTS Issue: 2580
Affects:
dEQP-VK.rasterization.*
Change-Id: If30814ed81fb9b91ace4655c0ba50dfbcff7b37b
Jesse Hall [Mon, 23 Mar 2020 22:21:41 +0000 (15:21 -0700)]
Fix small errors in external/openglcts/README.md
Components: OpenGL
Change-Id: I0d0446fcf63045c07475d71d9c82286d70aad7de
Alexander Galazin [Fri, 11 Sep 2020 11:08:36 +0000 (13:08 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: Icf8bc25da3aeb7d89e102f4510f33fb1c1efc5e7
Piers Daniell [Wed, 26 Aug 2020 00:08:19 +0000 (18:08 -0600)]
Tweak matrix input values to avoid small determinants
Modify the matrix test input values to better avoid
zero and close to zero determinants, which can produce
invalid inverse matrices.
Affects:
dEQP-GLES3.functional.shaders.matrix.*
Components: OpenGL
VK-GL-CTS issue: 2559
Change-Id: I2015e0f60dbe6271bc540f95dc6631928d38c108
Ari Suonpaa [Wed, 26 Aug 2020 11:21:52 +0000 (14:21 +0300)]
Add coverage for uniform texel buffer SNORM formats
Also fixed comments in packed format tests.
VK-GL-CTS Issue: 2433
New Tests:
dEQP-VK.texture.texel_buffer.uniform.snorm.*
Components: Vulkan
Change-Id: I3fdaa7befa034d728b53029bd2a884219b6e7282
Graeme Leese [Thu, 27 Aug 2020 10:21:37 +0000 (11:21 +0100)]
Test OpVectorShuffle with index -1
This is supposed to give a valid vector containing undefined values but
there were no tests checking this functionality.
Components: Vulkan
VK-GL-CTS issue: 2565
New test:
dEQP-VK.spirv_assembly.instruction.compute.vector_shuffle.vector_shuffle
Change-Id: I4edc1a4d6c8a383aa8f31b335a625629b1a51ce2
Alexander Galazin [Fri, 11 Sep 2020 09:43:56 +0000 (11:43 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I55f22c0f9a865f2555bca29015f9c58c61b32ae6
Alexander Galazin [Fri, 11 Sep 2020 08:46:37 +0000 (10:46 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: Id8138712dcf8ae7779f2215402f1152580449c28
Alexander Galazin [Thu, 10 Sep 2020 17:30:44 +0000 (19:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: Ia92c224783e27c579310fe051b7acfd6967a37aa
Alexander Galazin [Thu, 10 Sep 2020 13:19:02 +0000 (15:19 +0200)]
Allow Vulkan CTS 1.2.3.3
Components: Vulkan
Change-Id: Ie6292bd41374cddf73fe295a75c11640740d03d5
James Fitzpatrick [Wed, 17 Jun 2020 08:48:27 +0000 (09:48 +0100)]
Add Imagination waiver #229
Add the existing waiver on PowerVR cores related to snorm filtering to
the new waiver list.
This adds both of the existing test groups to the waiver along with the
newly introduced tests which hit this bug in the affected GPUs.
Components: Vulkan
VK-GL-CTS issue: 229
VK-GL-CTS issue: 2418
VK-GL-CTS issue: 2189
Change-Id: I15b5d5121fc0a4026944bc73d772c4d9cddc9031
Alexander Galazin [Thu, 10 Sep 2020 16:25:52 +0000 (18:25 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I65c0b8f7c257881f2d559c91b4944fafa7664f99
Alexander Galazin [Thu, 10 Sep 2020 13:09:33 +0000 (15:09 +0200)]
Allow Vulkan CTS 1.2.2.2
Components: Vulkan
Change-Id: Id7cef07b4e41eecbc3eeb6478199d49a18f5bef5
Alexander Galazin [Thu, 10 Sep 2020 15:17:05 +0000 (17:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Ibd506d17881b6ba41439f44bb314e68b27c20637
Lionel Landwerlin [Wed, 5 Aug 2020 15:00:37 +0000 (18:00 +0300)]
Test imported signaled sync fd for VkSemaphore
New tests:
dEQP-VK.api.external.semaphore.sync_fd.import_signaled_temporary
Components: Vulkan
Change-Id: I86937f57d580f62a0bae4f2d06ee28057ca0e27e
Alexander Galazin [Thu, 10 Sep 2020 13:07:34 +0000 (15:07 +0200)]
Allow Vulkan CTS 1.2.1.2
Components: Vulkan
Change-Id: Ibc9f72ef89e85469c2e54a74b5cf80367ad5deed
Slawomir Cygan [Thu, 20 Aug 2020 15:15:24 +0000 (17:15 +0200)]
Make pipeline destruction exception aware in subgroups tests
This fixes a leak of pipelines, when exception occurs before the pipeline
is manually deleted. This may occur on device lost, etc.
VK-GL-CTS Issue: 2557
Components: Vulkan
Change-Id: I7c89914f264373464c7d8b8bf527cd3a05fa65bc
Affects: dEQP-VK.subgroups.*
Vihanakangas [Wed, 19 Aug 2020 11:54:58 +0000 (14:54 +0300)]
Check support for sampleRateShading
Some multisample tests attempted to use sampleRateShading without
checking for support.
Affects:
dEQP-VK.pipeline.multisample.mixed_count.*
dEQP-VK.pipeline.multisample.variable_rate.*
dEQP-VK.pipeline.multisample_shader_builtin.write_sample_mask.*
Components: Vulkan
VK-GL-CTS issue: 2532
Change-Id: Ieaeddc51183b005a78fd3cc847b767a8a5683b44
Daniel Koch [Wed, 9 Sep 2020 01:46:16 +0000 (21:46 -0400)]
move robust_buffer_access_behavior tests to NoContext group
VK-GL-CTS Issue: 2575
Cribbed some ideas from the glcRobustnessTests.cpp tests which are already in the
NoContext group.
Didn't really want to touch the ES version of the tests on this old GL-specific branch
but it was necessary to make them compile. This also necessitated removing the skips
for these tests (since they no longer exist as named). I don't expect anyone cares about
the ES tests here, but they do work now.
Components: Framework, OpenGL, OpenGL ES
Affects:
KHR-GL4{3456}.robust_buffer_access_behavior.* (removed)
KHR-GLES32.robust.robust_buffer_access_behavior.* (removed)
KHR-NoContext.gl43.robust_buffer_access_behavior.* (added)
KHR-NoContext.es32.robust_buffer_access_behavior.* (added)
Change-Id: If5198e05863547e79074ca15f48ae16b969040f4
Alexander Galazin [Mon, 7 Sep 2020 13:03:00 +0000 (15:03 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: Ie9a7b53fe36a4b4add3ff8165fb382ba1dffc482
Alexander Galazin [Sun, 6 Sep 2020 08:31:08 +0000 (10:31 +0200)]
Fix mustpass
Components: AOSP, Vulkan
Change-Id: I2815f5adba18b491b79d128919dff6d246111378
Michal Pawlowski [Mon, 24 Aug 2020 14:26:56 +0000 (16:26 +0200)]
Memory allocation size fix.
This commit fixes an issue where wrong memory size was used for allocation.
Affects:
dEQP-VK.memory.allocation.*
Component: Vulkan
Public issue: 224
Change-Id: I2488d9427197f1f4a40bfeee863e6b0bc2cf889e
Mikko Tiusanen [Thu, 30 Jul 2020 12:06:42 +0000 (15:06 +0300)]
Tests for sign handling in integer operations
Added tests to verify that integer operations are not sensitive to operand sign.
Includes tests for most built-in instructions and the glsl extension.
New tests:
dEQP-VK.spirv_assembly.instruction.compute.signed_op.*
Components: Vulkan
VK-GL-CTS issue: 2382
Change-Id: I71b4b1851b87ada137acb83498bf2a2de2ace698
Ricardo Garcia [Tue, 28 Jul 2020 16:38:22 +0000 (18:38 +0200)]
Check output depth in inverted depth range tests
This commit makes inverted depth range tests use a depth/stencil
attachment and checks values stored in it are correct after rendering,
which is specially important in the depth clamping case.
In addition, several magic constants and values have been given a name
and declared at the top, among other minor fixes.
tcu::dsThresholdCompare() has been fixed to use absolute values when
checking if depth value differences are above the given threshold. This
function is used in some copy and blitting tests.
Affected tests:
dEQP-VK.draw.inverted_depth_ranges.*
dEQP-VK.api.copy_and_blit.*.buffer_to_depthstencil.*
Components: Framework, Vulkan
VK-GL-CTS issue: 2446
Change-Id: I50568dce77d8bbf01ab50fd6e96e8aef7d1df685
Alexander Galazin [Thu, 3 Sep 2020 18:55:09 +0000 (20:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: I0876c458b707cae19b5ba697ecc8908533407f3f
Slawomir Cygan [Fri, 28 Aug 2020 19:39:14 +0000 (21:39 +0200)]
Fix regression in diff_attachments test
Fix issue introduced in
ce82fe2a: use same image layout for
barrier newLayout and subsequent renderpass initialLayout.
Components: Vulkan
VK-GL_CTS Issue: 2568
Change-Id: I3118a7a2b1c7548fe669484f24414648b4cd246c
Affects: dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*
Alexander Galazin [Thu, 3 Sep 2020 17:42:12 +0000 (19:42 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I90dc6c20253f621e43270d147c0b76dbbef5677d
Alexander Galazin [Thu, 3 Sep 2020 16:26:57 +0000 (18:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I90728376b5de3d1b84a0138a3fa3d68628ca19f3
Rob Clark [Wed, 2 Sep 2020 21:40:27 +0000 (14:40 -0700)]
platform/surfaceless: pick config's better
We really want to have a matching config. Otherwise we end up (for
example) picking 10_10_10_2 when reference renderer is using 5_6_5.
Alexander Galazin [Thu, 3 Sep 2020 14:59:11 +0000 (16:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Ia8c5685499d3f1357117f15b14f92e93b4bca866
Matthew Netsch [Wed, 2 Sep 2020 17:17:16 +0000 (13:17 -0400)]
Fixes missing timeline semaphore checks
Components: Vulkan
VK-GL-CTS Issue: 2572
Affects:
dEQP-VK.synchronization.op.multi_queue.*
dEQP-VK.synchronization.smoke.timeline_semaphores
Change-Id: I9829ae9f09ca3a45c6ce7a6aad5ad21c6caad3cd