platform/upstream/VK-GL-CTS.git
4 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

4 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

4 years agoFix Image layout transitions for diff_attachments_*
Tony Zlatinski [Thu, 13 Aug 2020 16:26:45 +0000 (11:26 -0500)]
Fix Image layout transitions for diff_attachments_*

Fix an incorrect image layout transition before
using images as COLOR ATTACHMENT in a render pass
for the dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*
tests.
After the clear operation, the test under question,
should have transitioned the images to
COLOR_ATTACHMENT_OPTIMAL with ACCESS_COLOR_ATTACHMENT_WRITE.
Instead, the layout was incorrectly transitioned to
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT / VK_IMAGE_LAYOUT_GENERAL.

Affects:
dEQP-VK.pipeline.framebuffer_attachment.diff_attachments_*

Components: Vulkan

VK-GL-CTS issue: 2545

Change-Id: I815b1cf459b033f02871eebff5b71cb1a45b9d1c

4 years agoFix creation of signaled fences in swapchain tests
Vihanakangas [Tue, 11 Aug 2020 11:48:19 +0000 (14:48 +0300)]
Fix creation of signaled fences in swapchain tests

According to the vkAcquireNextImageKHR spec,
if fence is not VK_NULL_HANDLE it must be unsignaled.
Some parts of swapchain tests created signaled
fences and immediately called vkAcquireNextImageKHR using those fences.

Affects:
dEQP-VK.wsi.*.swapchain.acquire.*

Components: Vulkan

VK-GL-CTS issue: 2505

Change-Id: I001896f885240d20d2c3fda9458d0c9c0bd743eb

4 years agoDisable interval watchdog during long shader compiles
Peter Quayle [Mon, 3 Aug 2020 10:17:57 +0000 (11:17 +0100)]
Disable interval watchdog during long shader compiles

On some platforms some shaders take sufficiently long to
compile that the interval watchdog times out. This change
disables the interval watchdog during pipeline creation
in some tests but leaves in place the total time limit,
and re-enables the interval timer after pipeline creation.

Affects:

dEQP-VK.ssbo.phys.layout.*
dEQP-VK.binding_model.buffer_device_address.*

Components: Framework, Vulkan

VK-GL-CTS issue: 2499

Change-Id: Ifb2fad14c8275162414b96f3e823f5544c7b04ec

4 years agoFix firstInstance for vkCmdDraw call
Alejandro Piñeiro [Sun, 16 Aug 2020 22:07:23 +0000 (00:07 +0200)]
Fix firstInstance for vkCmdDraw call

At vktShaderRender. The tests using that common code doesn't seems to
be setting several instances, but the call to cmddraw is setting first
instance to 1. Note that CmdDraw is called on an else path. The if
codepath is already calling CmdDrawIndexed with firstInstance to 0.

Affects:

dEQP-VK.glsl.builtin_var.simple.pointcoord
dEQP-VK.glsl.builtin_var.simple.pointcoord_uniform_vert
dEQP-VK.glsl.builtin_var.simple.pointcoord_uniform_frag

Components: Vulkan

VK-GL-CTS issue: 2546

Change-Id: Ia608f75e5dbf3879cecf20fd8e0a3a4605c2d2e8

4 years agogles2: Add temporary constant-data shader indexing tests.
Eric Anholt [Tue, 4 Aug 2020 20:13:50 +0000 (13:13 -0700)]
gles2: 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.

Components: GLES2
Affects: dEQP-GLES2.functional.shaders.indexing.tmp_array.*

Change-Id: I3b06e89eb14120d536ca9ffe97a0300a8e6435a3

4 years agoAdd tests for floating-point atomic operations
Vikram Kushwaha [Tue, 19 May 2020 04:20:23 +0000 (21:20 -0700)]
Add tests for floating-point atomic operations

This commit adds a new set of tests that verify atomic operations
on floating point (32 bit and 64 bit numbers). The operations are atomic
add, exchange, load and store on images, buffers and shared memory

New tests:
dEQP-VK.glsl.atomic_operations.add_float*
dEQP-VK.glsl.atomic_operations.exchange_float*
dEQP-VK.image.atomic_operations.add*r32f*
dEQP-VK.image.atomic_operations.exchange*r32f*
dEQP-VK.memory_model.message_passing.ext.f32.*
dEQP-VK.memory_model.message_passing.ext.f64.*
dEQP-VK.memory_model.write_after_read.ext.f32.*
dEQP-VK.memory_model.write_after_read.ext.f64.*

Components: Vulkan

VK-GL-CTS issue: 2371

Change-Id: I0eceae717352e7dea979fe54e406d6f946db016b

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Thu, 13 Aug 2020 14:06:56 +0000 (16:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I5bf5ef9bbcebdfbb464229c4884a1cc002ec62d6

4 years agoTry alternative DS formats in extended dynamic state tests
Ricardo Garcia [Thu, 30 Jul 2020 08:11:58 +0000 (10:11 +0200)]
Try alternative DS formats in extended dynamic state tests

Try both D24_UNORM_S8_UINT and D32_SFLOAT_S8_UINT due to depth/stencil
support only being mandatory for either one.

Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*

VK-GL-CTS issue: 2507
Components: Vulkan

Change-Id: I48c203c9cef22c77513d8f472d16963e66471322

4 years agoDon't crash when there are zero displays
Piers Daniell [Mon, 10 Aug 2020 19:45:57 +0000 (13:45 -0600)]
Don't crash when there are zero displays

Resizing a vector to zero size and then attempting to dereference
the first element cause STL to throw an exceptoin or other
undesirable behavior.

Instead just throw NotSupportedError when there are zero displays.

Affects:

dEQP-VK.wsi.display.*

Components: Vulkan

VK-GL-CTS issue: 2534

Change-Id: Ifd097d8043e8bcb9c20809873d146a7fa4263b4a

4 years agoRevert workaround for SNORM linear filtering
Piotr Byszewski [Mon, 15 Jun 2020 07:59:59 +0000 (09:59 +0200)]
Revert workaround for SNORM linear filtering

CL776 for issue 229 introduced changes that relaxed precision for
SNORM formats verification. This change reverts that since
the new waiver mechanism can now be used to disable tests for
specific device id.

VK-GL-CTS issue: 229

Components: Vulkan

Affects:
dEQP-VK.pipeline.sampler.view_type*format*_snorm*_filter.linear

Change-Id: I593b077a3e9e4e65e0773923e61cc5ef558d6d35

4 years agoMore extended dynamic state variants
Ricardo Garcia [Fri, 17 Jul 2020 08:44:11 +0000 (10:44 +0200)]
More extended dynamic state variants

This commits adds new extended dynamic state variants for some command
sequences that were not tested initially. In particular:

1. Binding a dynamic state pipeline with wrong dynamic values followed
   by a static state one with good values before drawing.
2. Binding static pipeline, drawing, binding dynamic one, drawing.
3. Binding dynamic pipeline, drawing, binding static one, drawing.

New tests:
dEQP-VK.pipeline.extended_dynamic_state.before_good_static.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_dynamic.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_static.*

Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*

Components: Framework, Vulkan
VK-GL-CTS issue: 2459

Change-Id: I5d75854e2417b1ecc291b4ecf2108dab6c09dec2

4 years agoAdd tests for VK_EXT_full_screen_exclusive extension
Pawel Ksiezopolski [Thu, 4 Jun 2020 14:20:21 +0000 (16:20 +0200)]
Add tests for VK_EXT_full_screen_exclusive extension

New tests:
dEQP-VK.wsi.*.full_screen_exclusive.*

Components: Vulkan

VK-GL-CTS issue: 1685

Change-Id: Ife5394dcb2f207eedd8ac55da6a06d1fb31202f8

4 years agoAllow Vulkan CTS 1.2.3.2
Alexander Galazin [Thu, 6 Aug 2020 11:32:55 +0000 (13:32 +0200)]
Allow Vulkan CTS 1.2.3.2

Components: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: Ibbb510402049a36cf28b3852f4fc93f7c028b704

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

Change-Id: I3acf8badddc40281feed39932dd297859705dfc7

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 6 Aug 2020 18:21:54 +0000 (20:21 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: Ied950b7f9720bb0d6539fa08a0f0123b68554dd0

4 years agoMerge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"
Alexander Galazin [Thu, 6 Aug 2020 16:03:17 +0000 (12:03 -0400)]
Merge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"

4 years agoAdd tests for VK_EXT_global_priority
Karolina Palka [Tue, 14 Jul 2020 11:16:42 +0000 (13:16 +0200)]
Add tests for VK_EXT_global_priority

New tests:
dEQP-VK.api.device_init.create_device_global_priority

Components: Vulkan

VK-GL-CTS issue: 1686

Change-Id: I06bd3f24580009b5c038144e98aa4525c803a8e9

4 years agoFix support check for sparse input attachment test
Matthew Netsch [Wed, 5 Aug 2020 16:33:35 +0000 (09:33 -0700)]
Fix support check for sparse input attachment test

Components: Vulkan
VK-GL-CTS Issue: 2528

Affects:
dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*

Change-Id: I4c143273e9f337f7d5dcfc0230c800955304633b

4 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Alexander Galazin [Thu, 6 Aug 2020 13:03:48 +0000 (15:03 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master

Change-Id: Ib15fc404b544f741f4279f63188f8fea26a5526d

4 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"
Alexander Galazin [Thu, 6 Aug 2020 13:00:02 +0000 (09:00 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"

4 years agoCheck per-sample copy results in multisample copy tests
Ricardo Garcia [Fri, 17 Jul 2020 09:29:42 +0000 (11:29 +0200)]
Check per-sample copy results in multisample copy tests

This commit adds an intermediate verification step in multisample copy
tests to make sure multisample copy operations are correct on a
per-sample basis.

Affected tests:
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_copy_before_resolving.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image_one_region.*

Components: Vulkan
VK-GL-CTS issue: 2448

Change-Id: I140ec0e9d6f34ca9954aa1e519e2e5dd384f264f

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Thu, 6 Aug 2020 11:30:32 +0000 (13:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: Ie9007d2b00108f8ed1dabf99830a7cb7011198c3

4 years agoAdd a batch of GraphicsFuzz tests
Toni Salmivalli [Thu, 16 Jul 2020 10:34:06 +0000 (13:34 +0300)]
Add a batch of GraphicsFuzz tests

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-injected-conditional-true
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-true-conditional-simple-loop
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-vec3-values-from-matrix

Change-Id: I1ce7de9fcd4dc9afb414d99230316e22b3191371

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 6 Aug 2020 10:20:26 +0000 (12:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I9b3cd47707fa2f7d56cc3fc1037c3fb556c20f90

4 years agoUpdate KC CTS
Alexander Galazin [Thu, 6 Aug 2020 08:16:08 +0000 (10:16 +0200)]
Update KC CTS

Components: Framework

Change-Id: Ib90a1476659063d4475cd88c8ec8fbf755d042db

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 6 Aug 2020 08:11:00 +0000 (10:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I7f2c0916bffde736bf0e47a306249e0f78a47193

4 years agoFix pixel pack/unpack in nearest edge tests
Dave Airlie [Mon, 1 Jun 2020 21:32:17 +0000 (07:32 +1000)]
Fix pixel pack/unpack in nearest edge tests

With certain fbconfigs and width/height combos, this would
corrupt memory due to overwriting too many bytes by 1.

Components: OpenGL

VK-GL-CTS Issue: 2496

Affects: KHR-GL46.nearest_edge.offset_*

Change-Id: I2b31c8791337555b0bb154cea1f676f0daf43c7e

4 years agofix 1d depth component 16 sizing in layout locations tests.
Dave Airlie [Fri, 24 Jul 2020 00:44:54 +0000 (10:44 +1000)]
fix 1d depth component 16 sizing in layout locations tests.

VK-GL-CTS Issue: 2497

Components: OpenGL

Affects:
KHR-GL45.layout_location.*
KHR-GLES31.shaders.layout_location.*

Change-Id: I47534a0c5b66fadc847e8aeca4c5600cdb7fef8c

4 years agoFix more expected errors for some DSA functions
Dave Airlie [Thu, 23 Jul 2020 04:14:18 +0000 (14:14 +1000)]
Fix more expected errors for some DSA functions

In commit 03c16305943cf98bbe1d55aaca7666d796c1398c
Piers fixed most of these but he missed two.

Affects:

Components: OpenGL

VK-GL-CTS Issue: 2275

KHR-GL46.direct_state_access.textures_parameter_setup_errors

Change-Id: Ia469aef4c7ad65a63ef6bc2f659c135776efdc2c

4 years agoglspirv: don't cause aborted test runs.
Karol Herbst [Mon, 27 Apr 2020 11:07:17 +0000 (13:07 +0200)]
glspirv: don't cause aborted test runs.

These test also need checks in their deinit, and one missing init function.

Components: OpenGL

VK-GL-CTS Issue: 2498

Affects: KHR-GL45.gl_spirv.spirv_glsl_to_spirv*

Change-Id: I374c0980f68daf418c15b03625e12d4e78271076

4 years agoFix pipeline statistics test
Dave Airlie [Fri, 10 Apr 2020 01:24:12 +0000 (11:24 +1000)]
Fix pipeline statistics test

The test calls glDrawRangeElements (mode=10, start=0, end=1, count=4, type=5125, indices=0x40)

But the index data is 0, 2, 1, 3

But a LINE adjacent primitive would use indices 2, 1 to make the line, now if the end == 1,
I don't think the behaviour for the first vertex is defined. If it gets clamped to 1,
you end up with a line 1,1 which our culling throws away as an empty line,
and we never run a fragment shader.

Now I think this is a bug in the test, in PipelineStatisticsQueryTestFunctionalBase::initVBO
m_vbo_n_indices = sizeof(raw_index_data_size) / sizeof(unsigned int);

VK-GL-CTS Issue: 2501
Components: OpenGL

Affects: KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations

Change-Id: Ie4ce573521ec7e1f169b9ec8ce6e76f41a0ce6f7

4 years agoConvert GraphicsFuzz vkscript to AmberScript
Paul Thomson [Thu, 30 Jul 2020 17:11:05 +0000 (18:11 +0100)]
Convert GraphicsFuzz vkscript to AmberScript

Also re-disassembled some SPIR-V shaders so that IDs are numbers instead
of names. Corrected some comments. Changed some tests to check ALL
pixels colors where this was possible.

Components: Vulkan

Affected tests:

dEQP-VK.graphicsfuzz.*

Change-Id: Iea2e7d852cf2b02886af84e986d180614ae543ff

4 years agoFixes capability checks in subgroup tests
Matthew Netsch [Wed, 29 Jul 2020 22:12:52 +0000 (18:12 -0400)]
Fixes capability checks in subgroup tests

Components: Vulkan
VK-GL-CTS Issue: 2517

Affects:
dEQP-VK.subgroups.vote.*
dEQP-VK.subgroups.vote.frag_helper.*

Change-Id: I49832e7fe34eddbc655ca4d5d7e155d311685c8a

4 years agoSplits protected memory test shaders
Matthew Netsch [Wed, 29 Jul 2020 22:03:46 +0000 (18:03 -0400)]
Splits protected memory test shaders

Components: Vulkan
VK-GL-CTS Issue: 2516

Affects:
dEQP-VK.protected_memory.stack.stacksize_*

Change-Id: I5ac52229cd59e9b4b92914a60b0ffa37cdff70c7

4 years agodEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix
Toni Salmivalli [Fri, 17 Jul 2020 10:28:50 +0000 (13:28 +0300)]
dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix

Change-Id: I1c8c0ff590c7cbb2ab55c9d682c6d643556c5483

4 years agoTest imported signaled sync fd
Lionel Landwerlin [Sun, 19 Jul 2020 19:13:18 +0000 (22:13 +0300)]
Test imported signaled sync fd

New tests:
dEQP-VK.api.external.fence.sync_fd.import_signaled_temporary

Components: Vulkan

Change-Id: Ifb79338443d09596494c30d3d1527f79ac39e1b4

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Wed, 5 Aug 2020 09:38:14 +0000 (11:38 +0200)]
Merge  vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I331485a1817e81f9b1c0d2a9c025e07b8c436216

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Wed, 5 Aug 2020 08:10:42 +0000 (10:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: If6ab8dd1d8164a6977a8af611ac20283f89fb86c

4 years agoRestore dual source blending tests
Alexander Galazin [Mon, 20 Jul 2020 15:00:35 +0000 (17:00 +0200)]
Restore dual source blending tests

Components: Vulkan

Change-Id: Ic727ae43d7ddc5b296d20ad5762047e815299023

4 years agoUpdate Vulkan headers
Alexander Galazin [Mon, 3 Aug 2020 14:28:25 +0000 (16:28 +0200)]
Update Vulkan headers

Components: Vulkan

Change-Id: I05af7697bce1cbd0d6e89ead8db2f552c77d0768

4 years agoDelete excluded graphicsfuzz test
Paul Thomson [Wed, 29 Jul 2020 15:18:30 +0000 (16:18 +0100)]
Delete excluded graphicsfuzz test

This test was excluded, but we should just delete it.

Components: Vulkan

VK-GL-CTS Issue: 2457

Affects:
dEQP-VK.graphicsfuzz.return-mat2x3-value-from-func

Change-Id: Ibd026a9a8138c9de0cc2fd119399cc4935f655bc

4 years agoThrow an error on missing cmake in build config
Zoltowski, Wojciech [Fri, 3 Jul 2020 07:45:14 +0000 (09:45 +0200)]
Throw an error on missing cmake in build config

This raises the error instead on falling back to using cmake
from PATH (which is not in PATH, as already checked)

Components: Framework

VK-GL-CTS Issue: 2442

Change-Id: Id85b9097dffb7c8a69794ff4cfd5ad677cc73b10

4 years agoFix for dEQP-VK.subgroups.*_requiredsubgroupsize
Charles Johnston [Wed, 22 Jul 2020 16:54:13 +0000 (12:54 -0400)]
Fix for dEQP-VK.subgroups.*_requiredsubgroupsize

The tests in the group dEQP-VK.subgroups.*_requiredsubgroupsize do
not check if requiredSubgroupSizeStages from the structure
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT contain the
shader stage the tests are using.

Affected tests:
dEQP-VK.subgroups.*_requiredsubgroupsize

Components: Vulkan
VK-GL-CTS issue: 2494

Change-Id: I2a932248698658a75364b9adc907f5454ff1d969

4 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

4 years agoTest mipmaps with linear tiling
Ricardo Garcia [Thu, 16 Jul 2020 07:38:40 +0000 (09:38 +0200)]
Test mipmaps with linear tiling

This commit adds a new set of tests to check the basic aspects of
working with mimaps in linearly-tiled images. The tests fill image contents
using vkCmdCopyBufferToImage and check image access with
vkGetImageSubresourceLayout from the host.

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

Components: Vulkan
VK-GL-CTS issue: 2445

Change-Id: Idfb994a9038d6c1f6aa88d336cfaa79939129ca8

4 years agoEnable random descriptor writes for storage buffers
Ricardo Garcia [Tue, 30 Jun 2020 07:25:12 +0000 (09:25 +0200)]
Enable random descriptor writes for storage buffers

This commit activates random writes for storage buffers in the
descriptor set random tests.

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: Ia840d4fc57a695fb1e3bc7aa628cafa71e42badd

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Thu, 30 Jul 2020 07:27:32 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: Ic2ff8372d3b281eafdf710845bf74a1019ce504b

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 30 Jul 2020 07:27:30 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: Ib6ad16a84861396d4216b00bdbdf55fcd82fbd77

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 30 Jul 2020 07:27:28 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I85270b15bd84ce01ee927c5bd4687a4d2196e1fe

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Thu, 30 Jul 2020 07:27:27 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Ife743420baa1f4998a8d0f1b9ee32dd93a5a74f4

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Thu, 30 Jul 2020 07:27:27 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I7bac3dcb8580348fe7aa1238145c55640a3f75da

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 30 Jul 2020 07:27:25 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ic03b0ca5deecc32b574df399b12314d16150574f

4 years ago1D and 3D image copy and blitting tests
Ricardo Garcia [Fri, 24 Jul 2020 19:01:33 +0000 (21:01 +0200)]
1D and 3D image copy and blitting tests

This commit adds new tests to check image copy and blitting operations
work on 1D and 3D color images.

In order to minimize the number of tests being added, the new 1D and 3D
test groups only use copy and blitting operations with the same source
and destination image format. Cross-format tests are still present in
the 2D variants.

These new tests revealed problems in the way the Z coordinate is handled
in blitting operations in several implementations.

These implementations were also wrongly passing 1D and 3D depth/stencil
copy and blitting tests due to the source image depth value not
depending on the Z coordinate.

For this reason, this commit also modifies the way gradients are
generated for 3D images to make all color, depth and stencil channels
depend on the 3 coordinate values. Due to the gradient-filling operation
being used in many other tests, this change has been made by introducing
a new function, tcu::fillWithComponentGradients2, instead of replacing
the existing implementation. Other tests using the old
tcu::fillWithComponentGradients function should be incrementally changed
to use the new function if possible due to the improved coverage.

In addition, test variants for separate depth/stencil layouts that were
only being applied to 3D depth/stencil images are now also applied to 1D
and 2D images.

New tests:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.1d.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.3d.*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.1d.*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.3d.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.depth_stencil.1d.*_separate_layouts*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.depth_stencil.2d.*_separate_layouts*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.depth_stencil.1d.*_separate_layouts*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.depth_stencil.2d.*_separate_layouts*

Renamed tests:
Old: dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.*
New: dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.2d.*
Old: dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.*
New: dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.2d.*

Affected tests:
dEQP-VK.api.copy_and_blit.*

Components: Framework, Vulkan
VK-GL-CTS issue: 2391

Change-Id: Ica59c3522234cfa81774b5ac7befaa1727cc4401

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Wed, 29 Jul 2020 10:41:15 +0000 (12:41 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I9257feb431f2edf54f39f0912df10c115115f75a

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Wed, 29 Jul 2020 09:39:53 +0000 (11:39 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I9a0205ade4419a8e0260ac487fa3e443e93609cc

4 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Alexander Galazin [Wed, 29 Jul 2020 09:38:44 +0000 (11:38 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master

Change-Id: Ie39cc52a2a8d69ce90223aae6678374d575242ee

4 years agoStop 10bit formats requiring GL_SRGB encoding
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding

The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.

Components: EGL

VK-GL-CTS issue: 2288

Affects:

dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb

Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b

4 years agoDisable a test that access uninitialized variable
Ruiling Song [Wed, 22 Jul 2020 09:42:41 +0000 (17:42 +0800)]
Disable a test that access uninitialized variable

The test case expect clamp(uninitialized_variable, 1, 1) returning 1.
But accessing the uninitialized variable will get undefined value,
and the undefined value may be further propagated. Then some compiler
may just optimize such case into undef.

Components: Vulkan

VK-GL-CTS Issue: 2457

Affects:
dEQP-VK.graphicsfuzz.return-mat2x3-value-from-func

Change-Id: Iedfe91fdf0ebda89bb62db6144e1161f47eb5898

4 years agoUpdate Amber to fix regression
Paul Thomson [Mon, 20 Jul 2020 15:00:08 +0000 (16:00 +0100)]
Update Amber to fix regression

Affects:

dEQP-VK.glsl.combined_operations.*
dEQP-VK.compute.basic.write_ssbo_array
dEQP-VK.draw.output_location.array.*
dEQP-VK.graphicsfuzz.*
dEQP-VK.pipeline.vertex_only.position_to_ssbo
dEQP-VK.rasterization.provoking_vertex.*
dEQP-VK.rasterization.line_continuity.*
dEQP-VK.spirv_assembly.*
dEQP-VK.texture.conversion.*
dEQP-VK.texture.multisample.*
dEQP-VK.texture.subgroup_lod.*
dEQP-VK.texture.texel_buffer.*

Components: Vulkan

VK-GL-CTS issue: 2443

Change-Id: I3c6ec1eb0ee8695468c54f95c210cc81b50a4f1a

4 years agoSupport for VkPhysicalDeviceVulkan1{1,2}Properties in framework
Michal Pawlowski [Fri, 10 Jul 2020 11:03:30 +0000 (13:03 +0200)]
Support for VkPhysicalDeviceVulkan1{1,2}Properties in framework

Use VkPhysicalDeviceVulkan11Properties and
VkPhysicalDeviceVulkan12Properties in DefaultDevice chain.

Components: Framework

VK-GL-CTS issue: 2425

Change-Id: I0858509ccd33e394249d1355ae9c87d0e6735898
Affects: dEQP-VK.*

4 years agoLet requireDeviceFunctionality support Android AHB extension
Yiwei Zhang [Mon, 13 Jul 2020 21:21:53 +0000 (14:21 -0700)]
Let requireDeviceFunctionality support Android AHB extension

Components: Vulkan

VK-GL-CTS Issue: 2455

Change-Id: I9d7c741cbbb1fbf30ece9aa03f8a9496c70273cc

4 years agoAdd timeline semaphore polling tests
Lionel Landwerlin [Mon, 6 Jul 2020 15:26:41 +0000 (18:26 +0300)]
Add timeline semaphore polling tests

New Tests:
dEQP-VK.synchronization.timeline_semaphore.wait.poll_*

Components: Vulkan

Change-Id: I29c54ae536ec75a4147036497886f1403d7f0de6

4 years agoTest 3D image blit with differing depth
Ari Suonpaa [Mon, 25 May 2020 10:56:55 +0000 (13:56 +0300)]
Test 3D image blit with differing depth

The existing 3D image blit tests were always
using the same depth for the source and the
destination. These new tests cover nearest
and linear filtering for the z axis.

VK-GL-CTS Issue: 2263

New tests:

dEQP-VK.api.copy_and_blit.*.blit_image.*_3d*

Components: Vulkan
Change-Id: I5141466e5f3d15c7a55777344db7725cd81dd1eb

4 years agouse correct delete function for arrays
Dave Airlie [Thu, 23 Jul 2020 23:51:44 +0000 (09:51 +1000)]
use correct delete function for arrays

These triggered ASAN errors.

Components: OpenGL

VK-GL-CTS Issue: 2495

Affects:
KHR-GL45.direct_state_access.framebuffers_draw_read_buffers_errors
KHR-GL45.gpu_shader_fp64.fp64.varyings

Change-Id: I5b2420f6c0a6a0ca7b18b579bd7a2639c4a0ce55

4 years agoStop 10bit formats requiring GL_SRGB encoding
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding

The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.

Components: EGL

VK-GL-CTS issue: 2288

Affects:

dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb

Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b

4 years agoStop 10bit formats requiring GL_SRGB encoding
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding

The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.

Components: EGL

VK-GL-CTS issue: 2288

Affects:

dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb

Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b

4 years agoUpdate the date in the notice of withdrawal
Alexander Galazin [Thu, 23 Jul 2020 07:34:28 +0000 (09:34 +0200)]
Update the date in the notice of withdrawal

Components: Vulkan

Change-Id: If107f544462e363594b19433ba682b6d543fbba1

4 years agoNotice of withdrawal of Vulkan CTS 1.1.5.x
Alexander Galazin [Thu, 23 Jul 2020 06:44:55 +0000 (08:44 +0200)]
Notice of withdrawal of Vulkan CTS 1.1.5.x

Components: Vulkan

Change-Id: Ia01f9b9877fc699e4cadbb7dde6099560b082c1d

4 years agoAllow Bresenham for single-sample non-strict lines
Ricardo Garcia [Wed, 15 Jul 2020 13:22:33 +0000 (15:22 +0200)]
Allow Bresenham for single-sample non-strict lines

Bresenham rasterization is allowed by Vulkan when using single-sample
non-strict lines but the current test verification function only checks
that possibility when the line width is 1.0.

Affected tests:
dEQP-VK.rasterization.interpolation.*line*
dEQP-VK.rasterization.flatshading.*line*

Components: Framework, Vulkan
VK-GL-CTS issue: 2437

Change-Id: I98a8a393fa387989faa40325629bfbf0b1f0567b

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Tue, 21 Jul 2020 08:07:41 +0000 (10:07 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I21a941c199d59bfcbe14c953e0df643d0b861b6e

4 years agoRemove Amber example test
Alexander Galazin [Mon, 20 Jul 2020 14:44:01 +0000 (16:44 +0200)]
Remove Amber example test

Components: Vulkan

Change-Id: Idd01986ee9436366a8152ed73a1e18d07609def9

4 years agoRelaxes tolerance for arithmetic subgroup tests
Matthew Netsch [Mon, 20 Jul 2020 16:03:17 +0000 (12:03 -0400)]
Relaxes tolerance for arithmetic subgroup tests

Components: Vulkan
VK-GL-CTS Issue: 2460

Affects:
dEQP-VK.subgroups.arithmetic.compute.*

Change-Id: I1bc97414d1a18b41f05e110c7f525a222f6c7f8f

4 years agoReintroduce excluded dEQP-VK.binding_model.descriptorset_random tests
Slawomir Cygan [Thu, 9 Jul 2020 15:54:10 +0000 (17:54 +0200)]
Reintroduce excluded dEQP-VK.binding_model.descriptorset_random tests

Components: Vulkan

VK-GL-CTS Issue: 2453

New Tests:
dEQP-VK.binding_model.descriptorset_random.sets4.unifindexed.noubo.nosbo.nosampledimg.outimgonly.noiub.uab.comp.noia.0
dEQP-VK.binding_model.descriptorset_random.sets4.dynindexed.noubo.nosbo.nosampledimg.outimgonly.noiub.uab.comp.noia.0
dEQP-VK.binding_model.descriptorset_random.sets4.runtimesize.noubo.nosbo.nosampledimg.outimgonly.noiub.uab.comp.noia.0
dEQP-VK.binding_model.descriptorset_random.sets8.noarray.ubolimitlow.sbolimitlow.sampledimglow.outimgtexlow.iublimitlow.uab.comp.noia.0
dEQP-VK.binding_model.descriptorset_random.sets8.unifindexed.noubo.nosbo.nosampledimg.outimgonly.noiub.uab.comp.noia.0
dEQP-VK.binding_model.descriptorset_random.sets8.dynindexed.noubo.nosbo.nosampledimg.outimgonly.noiub.uab.comp.noia.0

Change-Id: I10cf0bfd8662afb6810c3262e6431701a79c1821

4 years agoVK_EXT_image_robustness tests
Gary Sweet [Thu, 28 May 2020 13:18:17 +0000 (14:18 +0100)]
VK_EXT_image_robustness tests

Re-uses much of the robustness2 test code.
Parameterizes the code to test just the subset
of robustness2 relevant to image_robustness
with the appropriate relaxations.

New tests: dEQP-VK.robustness.image_robustness.*

Affects: dEQP-VK.robustness.robustness2.*

Components: Vulkan

Change-Id: Ifaf4ffe4e4718cc7e80afc305ab73e8c9ea1ff4a
(cherry picked from commit ab2b0eb2921b649bee5f0c81f6cd42c1aad471a5)

4 years agoVK_EXT_robustness2 tests
Jeff Bolz [Wed, 8 Jan 2020 02:52:31 +0000 (20:52 -0600)]
VK_EXT_robustness2 tests

New tests: dEQP-VK.robustness.robustness2.*

Components: Vulkan

Change-Id: I93e6970ab8662b7041f258065116a924ccd7d1e4
(cherry picked from commit a0673086d0f9beea895dd529c59415a0c7389f71)

4 years agoUpdate Vulkan headers
Alexander Galazin [Mon, 20 Jul 2020 08:25:15 +0000 (10:25 +0200)]
Update Vulkan headers

Components: Vulkan

Change-Id: I8c6dd047b6308cb9e4d67b98d8487e704e3151ac
(cherry picked from commit 06b6d666795b6c7a5132ee368a9ee074f548da79)

4 years agoUpdate Vulkan headers
Alexander Galazin [Mon, 20 Jul 2020 08:25:15 +0000 (10:25 +0200)]
Update Vulkan headers

Components: Vulkan

Change-Id: I8c6dd047b6308cb9e4d67b98d8487e704e3151ac

4 years agoVK_EXT_image_robustness tests
Gary Sweet [Thu, 28 May 2020 13:18:17 +0000 (14:18 +0100)]
VK_EXT_image_robustness tests

Re-uses much of the robustness2 test code.
Parameterizes the code to test just the subset
of robustness2 relevant to image_robustness
with the appropriate relaxations.

New tests: dEQP-VK.robustness.image_robustness.*

Affects: dEQP-VK.robustness.robustness2.*

Components: Vulkan

Change-Id: Ifaf4ffe4e4718cc7e80afc305ab73e8c9ea1ff4a

4 years agoUpdate glslang, SPIR-V Headers and tools
Alexander Galazin [Mon, 20 Jul 2020 07:33:18 +0000 (09:33 +0200)]
Update glslang, SPIR-V Headers and tools

Components: Framework

Change-Id: Iefc9c69ea9dd3136e1c360aaa971cb185fcc94eb

4 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Alexander Galazin [Fri, 17 Jul 2020 09:08:25 +0000 (11:08 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master

Change-Id: I2d11f3d4f51b568adaff1fc94e40d3dde00bcd50

4 years agoCheck presence of WGL_EXT_colorspace before use
Piers Daniell [Tue, 30 Jun 2020 18:09:19 +0000 (12:09 -0600)]
Check presence of WGL_EXT_colorspace before use

This CL fixes an issue where the WGL_COLORSPACE_EXT_attribute
pixel format query was used without checking the implementation
supports the WGL_EXT_colorspace extension.

Affects:

cts-runner initialization on WGL
glcts.exe initialization on WGL

Components: OpenGL

VK-GL-CTS issue: 2257

Change-Id: Ib4177b851c856570c4b125d537ffa476a02c04f3

4 years agoTest pipeline layout lifetime after ending cmd buffer
Ricardo Garcia [Thu, 2 Jul 2020 15:29:10 +0000 (17:29 +0200)]
Test pipeline layout lifetime after ending cmd buffer

This commit adds a new test to check the lifetime of a pipeline layout
object does not go beyond ending a command buffer that uses it. For
that, a pipeline layout object is destroyed just after ending a command
buffer that uses the layout both when binding a descriptor set and when
recording push constant values.

In addition, the code for other previously-existing pipeline layout
API tests (compute and graphics) has been unified and fixed by removing
an unneeded barrier and avoid requesting unneeded transfer image usage
flags that were unused and not checked to be available.

New test:
dEQP-VK.api.pipeline.pipeline_layout.lifetime.destroy_after_end

Affected tests:
dEQP-VK.api.pipeline.*

Components: Vulkan
VK-GL-CTS issue: 2398

Change-Id: Ie8709ce0f1407aac0380227b1f3548220ceb356d

4 years agoAdd export/import drm modifier test
Daniele Castagna [Mon, 15 Jun 2020 17:00:43 +0000 (13:00 -0400)]
Add export/import drm modifier test

This CL adds a test to export/import images using modifiers.

To simulate exporting from a client and importing in another one the test is organaized as following:
- an image is upload to srcImage (no modifiers)
- srcImage is blitted to dstImage (with modifiers)
- the memory underlaying dstImage is exported
- the memory is reimported and an image importedSrcImage (with modifiers) is bound to it
- importedSrcImage is blit to outImage

At the end the test verifies that the conetnts of srcImage and outImage are the same.

These tests were run against mesa/intel with
https://gitlab.freedesktop.org/chadversary/mesa/-/tree/anv-drm-format-mod applied on top.

Components: Vulkan

Change-Id: I01c20397c1b49eb355efda3a6e199572cb56652b
Affects: dEQP-VK.drm_format_modifiers.export_import.*

4 years agoTest frag shader side effects are not removed by optimizations
Ricardo Garcia [Thu, 7 May 2020 12:15:56 +0000 (14:15 +0200)]
Test frag shader side effects are not removed by optimizations

This commit adds a net set of tests that check fragment shader side
effects, in the form of an SSBO write, are not removed by optimizations
done when the fragment is discarded by several possible means:

* Calling "discard" for the fragment (translated to OpKill).
* Calling "demote" for the fragment (translated to
  OpDemoteToHelperInvocationEXT).
* Setting SampleMask to zero.
* Setting alphaToCoverageEnable and output 0 in the alpha component.
* Making the depth bounds test fail.
* Making the depth test fail.
* Making the stencil test fail.

New tests:
dEQP-VK.rasterization.frag_side_effects.*

Components: Vulkan
VK-GL-CTS issue: 2336

Change-Id: I6de8a50f137f37538fe614088f289f4ae05d88d0

4 years agoVK_EXT_robustness2 tests
Jeff Bolz [Wed, 8 Jan 2020 02:52:31 +0000 (20:52 -0600)]
VK_EXT_robustness2 tests

New tests: dEQP-VK.robustness.robustness2.*

Components: Vulkan

Change-Id: I93e6970ab8662b7041f258065116a924ccd7d1e4

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Mon, 13 Jul 2020 12:52:03 +0000 (14:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I4d99daf62d0ff2b7082e7d57f80df1ea1500ef93

4 years agoAdd support for comments in amber index files
Ilkka Saarelainen [Mon, 15 Jun 2020 10:33:41 +0000 (13:33 +0300)]
Add support for comments in amber index files

Adds support for comments in amber index files.
Comments can be used e.g. for describing purpose of the test group.
Comment starts with #-character.

VK-GL-CTS issue: 2420

Components: Framework

Change-Id: Iaee7bcfd3f5bd0738b49289f6d45eed82808cdff

4 years agoTest texelfetch on uniform texel buffer with packed format
Ari Suonpaa [Fri, 19 Jun 2020 12:03:28 +0000 (15:03 +0300)]
Test texelfetch on uniform texel buffer with packed format

VK-GL-CTS Issue: 2245

New tests:

dEQP-VK.texture.texel_buffer.*

Components: Vulkan
Change-Id: Ieca891e2f6fc4293b414a44b756b61deb4d81f4d

4 years agoWhitelist Vulkan CTS 1.2.3.1
Alexander Galazin [Thu, 9 Jul 2020 14:05:07 +0000 (16:05 +0200)]
Whitelist Vulkan CTS 1.2.3.1

Affects: dEQP-VK.api.driver_properties.properties

Components: Vulkan

Change-Id: Ia56f34c1fa98dcd55f28572731a232fdd16bd072

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Alexander Galazin [Thu, 9 Jul 2020 17:17:09 +0000 (19:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3

Change-Id: I39fda12511570ac092cc8c8759797d7c32c08bf6

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Alexander Galazin [Thu, 9 Jul 2020 15:25:52 +0000 (17:25 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2

Change-Id: I4b1a75f774b599659cec5a866f74d4406ae3fd5b

4 years agoAdd calls to touchWatchdog()
Paul Thomson [Fri, 26 Jun 2020 16:03:59 +0000 (17:03 +0100)]
Add calls to touchWatchdog()

...to prevent a timeout when creating eight pipelines with large compute
shaders.

Components: Vulkan

Affects:

dEQP-VK.subgroups.*

Change-Id: Icab408e382a5c4d582786128bb88188c657dd9da

4 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Alexander Galazin [Wed, 8 Jul 2020 08:40:16 +0000 (10:40 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master

Change-Id: I8448a4f245f866b38b2048f65847a0f55bb6d933

4 years agoMerge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/opengl-es-cts-3.2.6
Alexander Galazin [Wed, 8 Jul 2020 07:34:26 +0000 (09:34 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/opengl-es-cts-3.2.6

Change-Id: Ib82d397035bcfd1903575e28aefd21addb29d69b

4 years agoFix the sorting order in eglChooseConfig test
Jianle Wang [Sat, 9 May 2020 08:00:43 +0000 (16:00 +0800)]
Fix the sorting order in eglChooseConfig test

EGL_COLOR_COMPONENT_TYPE_EXT should be before EGL_COLOR_BUFFER_TYPE
in sorting.

Components: AOSP

VK-GL-CTS issue: 2370

Affects:
dEQP-EGL.functional.choose_config.color_component_type_ext.dont_care

Change-Id: Ic502f17c800dac9f889931eb71971366a5cdb392
(cherry picked from commit 137766c7c9b4f7dac80b90ebf6f9a032188afe0f)

4 years agoTest transitions between command buffer states
Piotr Byszewski [Tue, 28 Apr 2020 16:46:25 +0000 (18:46 +0200)]
Test transitions between command buffer states

This change adds tests that drive command buffer state
transitions that weren't covered by existing tests.
This change also corrects record_many_secondary test that
previously was not operating on secondary command buffer
(it had the same source as record_many_primary).

Components: Vulkan

VK-GL-CTS issue: 802

Affects:
dEQP-VK.api.command_buffers.*_to_ininitial
dEQP-VK.api.command_buffers.record_single_secondary

Change-Id: Id3ee86b6e019e13fca9c129c642ca2452ea1b719

4 years agoUpdate SPIR-V Tools/Headers and glslang
Alexander Galazin [Sat, 4 Jul 2020 13:41:22 +0000 (15:41 +0200)]
Update SPIR-V Tools/Headers and glslang

Components: Framework

Change-Id: I3c85a41c09bcf2d87e99488eb230345118feb664

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Alexander Galazin [Sat, 4 Jul 2020 13:47:31 +0000 (15:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master

Change-Id: I9adddd74bc3bf9851fcb11ab44f107ea8ece7da6