platform/upstream/VK-GL-CTS.git
3 years agoIssues detected by synchronization validation layer fix
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

3 years agoFix memory barriers in image_subresrouce tests
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

3 years agoBump fence timeout in Amber test cases to infinity
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

3 years agovulkan: Add temporary constant-data shader indexing tests.
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

3 years agoAdd transform feedback test with NULL offset array
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

3 years agoFix small errors in external/openglcts/README.md
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

3 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
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

3 years agoTweak matrix input values to avoid small determinants
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

3 years agoAdd coverage for uniform texel buffer SNORM formats
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

3 years agoTest OpVectorShuffle with index -1
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

3 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
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

3 years agoAllow Vulkan CTS 1.2.3.3
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

3 years agoAdd Imagination waiver #229
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
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

3 years agoAllow Vulkan CTS 1.2.2.2
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
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

3 years agoTest imported signaled sync fd for VkSemaphore
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

3 years agoAllow Vulkan CTS 1.2.1.2
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

3 years agoMake pipeline destruction exception aware in subgroups tests
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.*

3 years agoCheck support for sampleRateShading
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

3 years agomove robust_buffer_access_behavior tests to NoContext group
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

3 years agoUpdate Vulkan headers
Alexander Galazin [Mon, 7 Sep 2020 13:03:00 +0000 (15:03 +0200)]
Update Vulkan headers

Components: Vulkan

Change-Id: Ie9a7b53fe36a4b4add3ff8165fb382ba1dffc482

3 years agoFix mustpass
Alexander Galazin [Sun, 6 Sep 2020 08:31:08 +0000 (10:31 +0200)]
Fix mustpass

Components: AOSP, Vulkan

Change-Id: I2815f5adba18b491b79d128919dff6d246111378

3 years agoMemory allocation size fix.
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

3 years agoTests for sign handling in integer operations
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

3 years agoCheck output depth in inverted depth range tests
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
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

3 years agoFix regression in diff_attachments test
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_*

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
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

3 years agoFixes missing timeline semaphore checks
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

3 years agoFixes sparse snorm tests
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

3 years agoAdd formats support in nearest_edge tests
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)

3 years agoFixes timeline sempahore queue flags
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
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

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Wed, 2 Sep 2020 14:52:03 +0000 (16:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: Ided9a1e3f0c6a6bd61b493748608a9fa0b04d955

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Wed, 2 Sep 2020 14:52:01 +0000 (16:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I6e366f7bdde3333aea7f130a4d4d918fe2b48187

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Wed, 2 Sep 2020 14:51:58 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Iab4d5330b41e5d237cae5eb572cdc18035f20280

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Wed, 2 Sep 2020 14:51:55 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I96350d6395f5f21a2d33e74ecd153eac1b420bc9

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Wed, 2 Sep 2020 14:51:55 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ia8467b7749d07e2f73b8aaef4c9a51a8b7789495

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Wed, 2 Sep 2020 14:51:52 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I19b5ee4378122e348e1d1fa427e0322c0900a94b

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Wed, 2 Sep 2020 14:51:50 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ib36fe69650d2c93592c3d1ea48d5871326871bae

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Wed, 2 Sep 2020 14:51:49 +0000 (16:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: Iea4251d6635a9fa68f0426714641acd50f87e166

3 years agoRevert back to libpng 1.6.27
Alexander Galazin [Wed, 2 Sep 2020 10:33:43 +0000 (12:33 +0200)]
Revert back to libpng 1.6.27

Components: Framework

Change-Id: I6576aeff8d0a1c9375f829518cb4035c53af5e82
(cherry picked from commit f3b873529b8f1b62e8a79055045c1a368ce21ea4)

3 years agoRevert back to libpng 1.6.27
Alexander Galazin [Wed, 2 Sep 2020 10:33:43 +0000 (12:33 +0200)]
Revert back to libpng 1.6.27

Components: Framework

Change-Id: I6576aeff8d0a1c9375f829518cb4035c53af5e82
(cherry picked from commit f3b873529b8f1b62e8a79055045c1a368ce21ea4)

3 years agoRevert back to libpng 1.6.27
Alexander Galazin [Wed, 2 Sep 2020 10:33:43 +0000 (12:33 +0200)]
Revert back to libpng 1.6.27

Components: Framework

Change-Id: I6576aeff8d0a1c9375f829518cb4035c53af5e82

3 years agoAdd a batch of GraphicsFuzz tests
Alastair Donaldson [Fri, 17 Jul 2020 11:53:46 +0000 (12:53 +0100)]
Add a batch of GraphicsFuzz tests

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.spv-access-chains
dEQP-VK.graphicsfuzz.spv-composite-phi
dEQP-VK.graphicsfuzz.spv-composite2
dEQP-VK.graphicsfuzz.spv-composites
dEQP-VK.graphicsfuzz.spv-copy-object
dEQP-VK.graphicsfuzz.spv-dead-break-and-unroll
dEQP-VK.graphicsfuzz.spv-declare-bvec4
dEQP-VK.graphicsfuzz.spv-null-in-phi-and-unroll

Change-Id: I5229fbb25871948318461875b2786e319bd73bc9

3 years agoAdd coverage for negative float to clear color values
Mikko Tiusanen [Mon, 8 Jun 2020 07:14:57 +0000 (10:14 +0300)]
Add coverage for negative float to clear color values

Added tests for clamping of negative clear color values to
valid range in image and color attachment clear tests for
image formats with unsigned fixed point color channels.

New tests:

dEQP-VK.api.image_clearing.core.clear_color_image.*_clamp_input
dEQP-VK.api.image_clearing.core.clear_color_attachment.*_clamp_input

Components: Vulkan
VK-GL-CTS Issue: 2360

Change-Id: Ie8b01105e34769b0840068ed8439835a8b87be7c

3 years agoExecute the graphics/compute pipeline
Vihanakangas [Tue, 18 Aug 2020 07:54:53 +0000 (10:54 +0300)]
Execute the graphics/compute pipeline

Execute graphics/compute pipeline to test descriptor
set layout lifetime.

Affects:
dEQP-VK.api.descriptor_set.descriptor_set_layout_lifetime.*

Components: Vulkan

VK-GL-CTS issue: 2325

Change-Id: I1922d37a2a672a04135b4b403d67ba76a78389bd

3 years agoAdd formats support in nearest_edge tests
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

3 years agoExperimental crash postmortem shader timeout test
Ralph Potter [Mon, 20 Jul 2020 10:07:48 +0000 (11:07 +0100)]
Experimental crash postmortem shader timeout test

Adds a set of tests to execute a compute shader containing large
nested loops for the purposes of deliberately triggering timeouts and
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.shader_timeout.*

Components: Vulkan

Vulkan issue: 2255

Change-Id: Ie4272d48d523c50a18c337447b16c36df7bd9bed

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Alexander Galazin [Fri, 28 Aug 2020 19:47:55 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master

Change-Id: Ie2a63dbf107ed0d976aabc1a0b6fada71bcb0cbd

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Fri, 28 Aug 2020 19:47:53 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: I67f0624c98b8e04d313db207d3174cfd1f9bd2c4

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 28 Aug 2020 19:47:51 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ic59337f761fdea080f215f93a9f773b1ec0fac19

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 28 Aug 2020 19:47:49 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I60e4e39fe689917fbd262c3d3502c08577b7cd75

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 19:47:47 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I7819afa5a0f79fa9859828376c59273bee3ab120

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 19:47:47 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I79af85ae37015656853e9f12f9b1beefe0a1df8f

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 28 Aug 2020 19:47:43 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I39a6bf72421c7adc0e28469622fe6880d8b54c48

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 28 Aug 2020 19:47:42 +0000 (21:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ib748d52d82158a63ba3b79a528bcb54276e1df57

3 years agoAdd a batch of GraphicsFuzz tests
Paul Thomson [Thu, 20 Aug 2020 15:21:40 +0000 (16:21 +0100)]
Add a batch of GraphicsFuzz tests

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.stable-quicksort-max-value-as-index
dEQP-VK.graphicsfuzz.stable-quicksort-for-loop-with-injection
dEQP-VK.graphicsfuzz.stable-quicksort-if-false-else-return

Change-Id: Icf1e943af61c9bf3e2a194a1f269a7f0101718be

3 years agoAdded test for reusing query handle
Jari Komppa [Thu, 6 Aug 2020 10:52:31 +0000 (13:52 +0300)]
Added test for reusing query handle

Added a test which uses a query handle with
GL_TIMESTAMP, deletes it, allocates a new handle
(which is assumed to be the same as previous)
and uses the handle for something else.

Components: OpenGL
VK-GL-CTS issue: 2523
New test: KHR-GL45.direct_state_access.queries_reuse

Change-Id: I7df01fd2b7d6a2ea1530d954313ade831be7b08c

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
Alexander Galazin [Fri, 28 Aug 2020 09:41:48 +0000 (11:41 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master

Change-Id: I06e1adf1dd877a3048c59b2faebb91875db72145

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 28 Aug 2020 09:27:36 +0000 (11:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I32ee9cf4f1a17df56e76e36d57490aa66a20e972

3 years agoUpdate libpng
Alexander Galazin [Thu, 27 Aug 2020 07:54:45 +0000 (09:54 +0200)]
Update libpng

Components: Framework

Change-Id: I5f218837c8a58e35b2d37ca170a93eb01d6b0057

3 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Alexander Galazin [Fri, 28 Aug 2020 08:19:53 +0000 (10:19 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master

Change-Id: I74fcaa3f186e78abaa516520c1fc83493603dde8

3 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Alexander Galazin [Fri, 28 Aug 2020 08:19:51 +0000 (10:19 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master

Change-Id: Ia49792e3340b101a5f348eb2a5867a3225e2d156

3 years agoIgnore helper pixel invocations with atomic operations tests
Piers Daniell [Wed, 26 Aug 2020 22:36:10 +0000 (16:36 -0600)]
Ignore helper pixel invocations with atomic operations tests

The extra helper pixel invocations caused the test to access array
elements that were out of bounds. The fix is to just ignore
those invocations since they aren't part of the expected test
results anyway.

Affects:

dEQP-VK.glsl.atomic_operations.*

Components: Vulkan

VK-GL-CTS issue: 2563

Change-Id: I1b700c007489dbe72db8bbeda0ca327aac3d055f

3 years agoMerge vk-gl-cts/github-master into vk-gl-cts/master
Alexander Galazin [Fri, 28 Aug 2020 07:13:28 +0000 (09:13 +0200)]
Merge vk-gl-cts/github-master into vk-gl-cts/master

Change-Id: Ide0b3a9bb393c3ba13a21488494b956a8d540eb6

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Fri, 28 Aug 2020 07:11:57 +0000 (09:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: Ia00788fea8a18be8138c2dc0fd66db6263c9966d

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 28 Aug 2020 07:10:59 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I5fc3faf6a3bb46fe0daa59c2e911ac94ad1561b1

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 28 Aug 2020 07:10:57 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ief445c43092cdf2d1c7e432ba72cfffb185de59c

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 07:10:55 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ie4f286836d822239983ba886eee14cd991676afe

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 28 Aug 2020 07:10:54 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I6bb8696c337a0cef0501cf6879a43bc4f95bdfcd

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 28 Aug 2020 07:10:53 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I4801810e09dab1c07ec862b7a3add86291408a22

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 28 Aug 2020 07:10:51 +0000 (09:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I0c4266d49b22f1d2f4f02d5c3a02c12665be38ec

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 28 Aug 2020 05:34:21 +0000 (07:34 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I08d446d669112864315659de6c9443e176e9f575

3 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 27 Aug 2020 15:10:41 +0000 (17:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I8dd42b54d5d9b559f86affd2518cce0ea13f4b33

3 years agoAdd tests for Read/Write ops on mismatched formats
Karolina Palka [Tue, 11 Aug 2020 15:41:26 +0000 (16:41 +0100)]
Add tests for Read/Write ops on mismatched formats

New tests:
dEQP-VK.image.mismatched_formats.*

Components: Vulkan

VK-GL-CTS issue: 2414

Change-Id: Ic5e28f202f7624a5387f32f0107119c4acd36e31

3 years agoAdd tests for shader reuse with differing layout
Ari Suonpaa [Thu, 25 Jun 2020 11:16:48 +0000 (14:16 +0300)]
Add tests for shader reuse with differing layout

These new tests run two pipelines with the same
shaders but a different layout and dynamic offsets.
This covers a reported driver bug where the offsets
were not updated when switching layouts.

VK-GL-CTS Issue: 2324

New tests:

dEQP-VK.binding_model.dynamic_offset.*

Components: Vulkan
Change-Id: Ie0f42f6c2fd182b51dba13f3975e07c37c18ab2b

3 years agoMove texel_offset into it's own test group
Mikko Tiusanen [Thu, 30 Jul 2020 08:35:30 +0000 (11:35 +0300)]
Move texel_offset into it's own test group

Moved texel_offset amber test into new test group.

Renamed tests:

Old: dEQP-VK.graphicsfuzz.texel_offset
New: dEQP-VK.texture.texel_offset.texel_offset

Components: Vulkan

VK-GL-CTS issue: 2421

Change-Id: I2d8aa8c1b19f01e2171f4c9445bb49753925764e

3 years agoEnable random writes for dynamic storage buffers
Ricardo Garcia [Fri, 7 Aug 2020 13:19:26 +0000 (15:19 +0200)]
Enable random writes for dynamic storage buffers

This commit enables random writes in the descriptor set random tests for
descriptors of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC.

Affected tests:
dEQP-VK.binding_model.descriptorset_random.*sbolimitlow*
dEQP-VK.binding_model.descriptorset_random.*sbolimithigh*

Components: Vulkan
VK-GL-CTS issue: 1973

Change-Id: I5ce90f676e0325fc4794eb886417acc46443aec3

3 years agoAdd support for FreeBSD
Austin Shafer [Tue, 23 Jun 2020 20:45:28 +0000 (16:45 -0400)]
Add support for FreeBSD

The FreeBSD build is similar to the generic Unix build, with
a couple differences in the available functions.

FreeBSD needs certain flags defined for all the correct symbol
declarations to be visible (__BSD_VISIBLE, __XOPEN_SOURCE=600)

To keep the diff small, a new DE_OS_* macro for FreeBSD was not
made, since FreeBSD only differs from DE_OS_UNIX in a few places.
Where it differs the __FreeBSD__ macro is used, since there is
no good way to tell unices apart with the DE_OS_* macros.

Change-Id: I58fe857c898e9735762ffddb1fdd8e893460322f

3 years agoRestore cubic filtering tests
Alexander Galazin [Mon, 20 Jul 2020 14:56:24 +0000 (16:56 +0200)]
Restore cubic filtering tests

Components: Vulkan

Change-Id: Ia0d675a9be2d1791bcbfcb695002255d6c8364b4

3 years agoOffset tris from fragments for triangle tests
Reed Koser [Mon, 3 Aug 2020 22:58:33 +0000 (15:58 -0700)]
Offset tris from fragments for triangle tests

At some render resolutions, these tests can rely on the outcome of a
rasterizer tie-break. Since such behavior is left unspecified, we
offset the generated triangles slightly to ensure that they reliably
hit (or miss) the fragment locations we expect them to.

Affects:
KHR-GLES31.core.draw_indirect.basic-mode-drawArrays-triangle_strip_adjacency
KHR-GLES31.core.draw_indirect.basic-mode-drawArrays-triangles_adjacency
KHR-GLES31.core.draw_indirect.basic-mode-drawElements-triangle_strip_adjacency
KHR-GLES31.core.draw_indirect.basic-mode-drawElements-triangles_adjacency

Components: OpenGL ES

VK-GL-CTS issue: 2522

Change-Id: I63ab56dba99b5e6f6369aa4fd8b4538c9d01d874

3 years agoAccount for aliasing exceptions in codegen
Alastair Donaldson [Wed, 1 Apr 2020 15:48:46 +0000 (16:48 +0100)]
Account for aliasing exceptions in codegen

Fixes a problem where functions for which aliasing exceptions are in
place (at present this is just glRenderbufferStorageMultisampleEXT)
were not being treated properly in code generation -- their aliased
names were being erroneously used.

Component: Framework

Affects: dEQP-GLES*multisample*

VK-GL-CTS issue: 2291

Change-Id: I5e9caf8828b192d15bb3c91f53a9d09aa9442129

3 years agoMerge pull request #223 from jpark37/colorspace-common-instance
Alexander Galazin [Thu, 27 Aug 2020 06:58:24 +0000 (08:58 +0200)]
Merge pull request #223 from jpark37/colorspace-common-instance

Fix instance mixing in surfaceFormatRenderTest

3 years agoFix renderdoc library name on android
Matthew Netsch [Wed, 26 Aug 2020 19:52:46 +0000 (15:52 -0400)]
Fix renderdoc library name on android

Components: Framework, Vulkan
VK-GL-CTS Issue: 2562

Change-Id: I05657bd83f7bc97107792dd4d742c346883f589b

3 years agoFixes descriptor indexing tests
Matthew Netsch [Wed, 26 Aug 2020 02:41:11 +0000 (19:41 -0700)]
Fixes descriptor indexing tests

Tests were exceeding the max number of input
attachments

Components: Vulkan
VK-GL-CTS Issue: 2561

Affects:
dEQP-VK.descriptor_indexing.*

Change-Id: If135ecee8aca6480d28f2e66ca574a5a9fbbc201

3 years agoSet dEQP process to be high-dpi aware on Windows
Slawomir Cygan [Mon, 24 Aug 2020 15:01:15 +0000 (17:01 +0200)]
Set dEQP process to be high-dpi aware on Windows

On systems with DPI scaling enabled the thread should
be high-DPI aware to create windows, that could be used for
exlusive full-screen swapchains with application control.

Components: Vulkan, Framework

VK-GL-CTS Issue: 2558

Affects: dEQP-VK.wsi.win32.full_screen_exclusive.application_controlled

Change-Id: Ibfedb804d902ef41eafcb10cde0d3c2d8e281797

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Alexander Galazin [Fri, 21 Aug 2020 16:11:28 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4

Change-Id: I6f40552d082f7b9e9ad367c4777a1e5474abf8ae

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Fri, 21 Aug 2020 14:19:50 +0000 (16:19 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ide95e912e13d3a98a8f967bbe9233a2585aee268

3 years agoFix some egl robustness tests
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)

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Fri, 21 Aug 2020 10:57:07 +0000 (12:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ib0765cdf1f4a2666eee555d00999b68f8e316905

3 years agoFix shaderCullDistance limit checks
Iago Toral Quiroga [Mon, 27 Jul 2020 08:07:22 +0000 (10:07 +0200)]
Fix shaderCullDistance limit checks

The maxCullDistances limit is related to the
shaderCullDistance feature, not shaderClipDistance.

VK-GL-CTS issue: 2504
Components: Vulkan
Affects: dEQP-VK.info.device_properties
Change-Id: I705c430912b1c5e162b96f57af7a7ddbec82d973
(cherry picked from commit cc9c836e2e9e64c1e4bfe0ce687ed4f4236a3450)

3 years agoFix incorrect buffer type in some protected memory tests
Christopher Gautier [Wed, 19 Aug 2020 12:18:19 +0000 (14:18 +0200)]
Fix incorrect buffer type in some protected memory tests

Certain Vulkan tests, such as
dEQP-VK.protected_memory.buffer.fill.<type>_buffer.*, create a BufferView with
a format that is always set to VK_FORMAT_R32G32B32A32_UINT, independently of
the actual test type (float_buffer, integer_buffer, unsigned_buffer). Reading
floats from an integer BufferView may return incorrect values on some
implementations.

This patch propagates a VkFormat parameter so that each test can create a
BufferView with the appropriate format.

Components: Vulkan

Affects:
 - dEQP-VK.protected_memory.buffer.copy.*
 - dEQP-VK.protected_memory.buffer.fill.*
 - dEQP-VK.protected_memory.buffer.update.*

VK-GL-CTS Issue: 2551

Change-Id: I1e79ae2761a028025148c3a63775a0d464278285
(cherry picked from commit 8d42d5d9c0e48ea76fad2cb4e232334b4a849d0f)

3 years agoAllow Vulkan CTS 1.2.4.0
Alexander Galazin [Thu, 20 Aug 2020 19:22:23 +0000 (21:22 +0200)]
Allow Vulkan CTS 1.2.4.0

Compnonents: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: Id5254e56ffb7b41e6c30288b5b4bd41bbf7a3be1

3 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Thu, 20 Aug 2020 18:31:20 +0000 (20:31 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I460f8c8008bf2fa6a19d319035ff67eda902be2b