Alexander Galazin [Wed, 21 Oct 2020 19:39:37 +0000 (21:39 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vk_khr_ray_tracing
Change-Id: Ibedf80e7b25e227e5055531a308ef3a48095bb54
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
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
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
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
Ricardo Garcia [Mon, 14 Sep 2020 11:25:42 +0000 (13:25 +0200)]
Fix post-trace rgen image write barriers
Use VK_ACCESS_SHADER_WRITE_BIT when synchronizing image stores from the
rgen shader stage to the transfer stage before copying result image
contents to a buffer.
Some ray tracing pipeline tests are not affected but most of them are,
hence marking them all as affected.
Affected tests:
dEQP-VK.ray_tracing_pipeline.*
Components: Vulkan
VK-GL-CTS issue: 2579
Change-Id: Ifccd0b5d9a039f7cfef8ca09a9a397e99987b821
Dominik Witczak [Wed, 30 Sep 2020 16:38:38 +0000 (18:38 +0200)]
Add tests that trace rays recursively.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.recursiveTraces_*
Components: Vulkan
VK-GL-CTS issue: 2480
Change-Id: I33cc90fb44fbef139de43d1df53634d8620ac2bc
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
Dominik Witczak [Wed, 23 Sep 2020 11:12:18 +0000 (13:12 +0200)]
Add tests verifying shader record blocks work as expected.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.shaderRecord*
Components: Vulkan
VK-GL-CTS: 2423
Change-Id: I15c59b0147c3779ca8c103bb2c2b27f3a30fb890
Ricardo Garcia [Fri, 18 Sep 2020 15:10:39 +0000 (17:10 +0200)]
Ray Tracing barrier tests
Tests exercising barriers of different types using ray tracing stages,
mixing them with other stages, different resource types, accesses and
pipeline types.
New tests:
dEQP-VK.ray_tracing_pipeline.barrier.*
Components: Vulkan
VK-GL-CTS issue: 2492
Change-Id: Iad910c4513362fabcc75b9ba4d8ca0291afa672d
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
Piotr Byszewski [Tue, 22 Sep 2020 08:32:24 +0000 (10:32 +0200)]
Test passing RayQueryKHR object through function
Components: Vulkan
VK-GL-CTS issue: 2578
New tests:
dEQP-VK.ray_query.advanced.using_wrapper_function.*
Affects:
dEQP-VK.ray_query.advanced.*
dEQP-VK.ray_query.builtin.*
Change-Id: I8edfa27a481e7903580a4be6567824620397f1a0
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
Piotr Byszewski [Fri, 11 Sep 2020 12:44:12 +0000 (14:44 +0200)]
Test the return value of reportIntersectionEXT
Components: Vulkan
VK-GL-CTS issue: 2564
Affects:
dEQP-VK.ray_tracing_pipeline.misc.report_intersection_result
Change-Id: I0323e03724dcb7fd48811856689b1d5c4e2e1a6a
Dominik Witczak [Thu, 17 Sep 2020 07:27:35 +0000 (09:27 +0200)]
Add tests verifying the impl can trace as many rays in a single dispatch as reported.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.maxrtinvocations_*
Changed tests:
dEQP-VK.ray_tracing_pipeline.misc.NO_DUPLICATE_ANY_HIT_*
Components: Vulkan
VK-GL-CTS issue: 2481
Change-Id: Ib66b022e2cd09ef806ad87232050e1c248d8358
Dominik Witczak [Thu, 10 Sep 2020 14:04:59 +0000 (16:04 +0200)]
Re-introduce AS stress tests which have been accidentally removed while I was away.
NOTE: These are NOT new tests, so this change can be considered as safe to merge, as soon
as Jenkins confirm it builds correctly.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.AS_stresstest_*
Components: Vulkan
VK-GL-CTS issue: 2444
Change-Id: I0dfd652302f69900a82a88fe17aed9244394f37f
Dominik Witczak [Wed, 16 Sep 2020 16:21:00 +0000 (18:21 +0200)]
New tests verifying ray payloads work as expected.
The new tests fill ray payload with data in rgen shader stage,
and dump input ray payload data seen in ahit/chit/miss shader stages
into storage buffer, later verified by CPU.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.raypayloadin_*
Components: Vulkan
VK-GL-CTS issue: 2548
Change-Id: I6f7bb03781e0fda8163b1df7bdaadfe9914f678f
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
Dominik Witczak [Thu, 10 Sep 2020 13:02:43 +0000 (15:02 +0200)]
Extend existing RT ray query tests to include gl_RayQueryCommittedIntersectionNoneEXT
New tests:
dEQP-VK.ray_query.builtin.getintersectiontypeCandidate.*
dEQP-VK.ray_query.builtin.getintersectiontypeCommitted.*
Components: Vulkan
VK-GL-CTS issue: 2549
Change-Id: I97cbfd596b7eaea4767a6c93a1c5f953719757ec
Dominik Witczak [Thu, 10 Sep 2020 11:06:20 +0000 (13:06 +0200)]
Add tests that 1) recursively invoke callable shaders 2) use dynamic/default stack sizes
New tests:
dEQP-VK.ray_tracing_pipeline.misc.callableshaderstress_*
Components: Vulkan
VK-GL-CTS issue: 2486, 2487
Change-Id: If5aec26fb616e1bbae8999b4e97bc206c7871a63
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
Dominik Witczak [Thu, 10 Sep 2020 11:36:54 +0000 (13:36 +0200)]
New RT tests which verify >1 simultaneous ray queries and rayQueryTerminate() work as per spec.
New tests:
dEQP-VK.ray_query.builtin.rayqueryterminate.*
Components: Vulkan
VK-GL-CTS issue: 2474, 2478
Change-Id: I122559838676891fa9ed67615ff9e184aa0d6a89
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
Dominik Witczak [Tue, 18 Aug 2020 16:22:26 +0000 (18:22 +0200)]
Add tests verifying that setting unused cull mask bits does not affect test outcome.
New tests:
dEQP-VK.dEQP-VK.ray_tracing_pipeline.misc.cullmask_*_extrabits
Components: Vulkan
VK-GL-CTS issue: 2477
Change-Id: I3184ef1abcbf0d2aaec4b059ea7a0cfc00007b1b
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
Dominik Witczak [Wed, 19 Aug 2020 07:43:11 +0000 (09:43 +0200)]
Verify extraneous bits of SBT offset & miss index parametets are ignored as per spec.
New tests:
dEQP-VK.ray_tracing_pipeline.shader_binding_table.*extrabits
Components: Vulkan
VK-GL-CTS issue: 2477
Change-Id: I2d4512ba416ed45e9384e1c9a7be5476f1d2b074
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
Matthew Netsch [Wed, 2 Sep 2020 17:37:50 +0000 (13:37 -0400)]
Fixes sparse snorm tests
Test using values outside of defined
snorm range.
Components: Vulkan
VK-GL-CTS Issue: 2573
Affects:
dEQP-VK.sparse_resources.mipmap_sparse_residency.*snorm*
Change-Id: Id0027c252ea348dd4756809b280d92072219975c
Neslisah [Mon, 31 Aug 2020 21:40:25 +0000 (17:40 -0400)]
Address GPU Hang due to 65536 rayQuery inquieries at a single invocation
at TE/TC shaders.
Changed Tests:
* dEQP-VK.ray_query.watertightness.nomiss.tesc.triangles
* dEQP-VK.ray_query.watertightness.nomiss.tese.triangles
Components: Vulkan
VK-GL-CTS issue: 2570
Change-Id: I0d8dff02dd235a093fee646085619b18f94576d3
amhagan [Mon, 31 Aug 2020 19:43:08 +0000 (15:43 -0400)]
Misc test group exceeds maxMemoryAllocationCount
Free the Acceleration Structures after each test completes in
the misc group. Currently the AS allocations aren't deAllocated
between tests and the dEQP-VK.ray_tracing_pipeline.misc.mixedPrimTL
test is exceeding the maxMemoryAllocationCount.
Changed tests:
* dEQP-VK.ray_tracing_pipeline.misc.*
Components: Vulkan
VK-GL-CTS issue: 2569
Change-Id: I74a09e0b3abfdfe66f595d04d155f90006795cd8
Ricardo Garcia [Thu, 13 Aug 2020 09:22:04 +0000 (11:22 +0200)]
Test empty acceleration structure corner cases
Test tracing rays against geometry created empty through different means
results in no hits:
* Inactive triangle geometry (NaN in the first component).
* Inactive instances (null handles).
* geometryCount zero when building bottom acceleration structures.
* primitiveCount zero when building bottom acceleration structures.
* primitiveCount zero when building top acceleration structures.
These cases are allowed by the spec.
New tests:
dEQP-VK.ray_*.acceleration_structures.empty.*
Components: Vulkan
VK-GL-CTS issue: 2531
Change-Id: Ibadaa2c7c25c9f1f87e333b99bf92d35ec3363df
Ancheng Qiao [Mon, 17 Aug 2020 07:02:11 +0000 (15:02 +0800)]
Add formats support in nearest_edge tests
Add RGBA_10_10_10_2 and RGBA_F16 support to pixelFormatMap
Affects:
KHR-GLES32.core.nearest_edge.*
Components: OpenGL
VK-GL-CTS issue: 2547
Change-Id: I6a96f4e5c87967b06bbfed1566df7e784009ad50
(cherry picked from commit
dea39590d12bf91ac37e66460a0aa908c5816216)
Matthew Netsch [Wed, 2 Sep 2020 17:09:15 +0000 (13:09 -0400)]
Fixes timeline sempahore queue flags
Components: Vulkan
VK-GL-CTS Issue: 2571
Affects:
dEQP-VK.synchronization.signal_order.timeline_semaphore.*
Change-Id: Ibba5d7ac7279cb87a53433ef4c04b57050629efb
Alexander Galazin [Wed, 2 Sep 2020 14:52:49 +0000 (16:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Change-Id: I7cb1bf89d66207b489a97960c47d2056e80ce4bd