platform/upstream/VK-GL-CTS.git
4 years agoAdd signal ordering tests
Lionel Landwerlin [Tue, 10 Sep 2019 11:36:19 +0000 (14:36 +0300)]
Add signal ordering tests

We want to verify that the signaling of semaphores in multiple
VkSubmitInfo a vkQueueSubmit() is ordered.

Add tests:
   dEQP-VK.synchronization.signal_order.*

Change-Id: Ibf47e7e4105f479ab33b5bafeda3efdd4c2782b5

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sun, 22 Sep 2019 15:35:18 +0000 (17:35 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ia974788920243b6eec4a8a2d04fc9c51f0748104

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sun, 22 Sep 2019 12:46:02 +0000 (14:46 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I20679642c02ba7125ce5ca203bcfd8c8ca2867a9

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sun, 22 Sep 2019 10:59:18 +0000 (12:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I60cff414f798299f39646c3a7a720971799d29a9

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Sun, 22 Sep 2019 08:23:16 +0000 (10:23 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I943694007a4e5e2512a3f93c257d5c08e7e50218

4 years agoFix depth store flag in seperate_channels tests
Jarred Davies [Fri, 13 Sep 2019 17:24:55 +0000 (18:24 +0100)]
Fix depth store flag in seperate_channels tests

Depth wasn't being stored despite being used.

Affects:

dEQP-VK.renderpass*.suballocation.subpass_dependencies.separate_channels.*

Components: Vulkan

VK-GL-CTS Issue: 2002

Change-Id: Ib2c678dcaef1f0c87756424c23057fb1df1c311e
(cherry picked from commit f5e267274daff5f11ad8e18f81d0abdbc064043d)

4 years agoUpdate glslang
Graeme Leese [Thu, 19 Sep 2019 16:01:07 +0000 (17:01 +0100)]
Update glslang

Change-Id: I2ac91546c86305cd72d69ced4c5a6d12d51287db

4 years agoInitialize output buffer in fragment_shader_interlock tests
Jeff Bolz [Fri, 13 Sep 2019 19:57:48 +0000 (14:57 -0500)]
Initialize output buffer in fragment_shader_interlock tests

In discard tests, not all output elements are written by the shader.
Clear the output buffer to zero to match what the test expects. The
output image was already being cleared.

Components: Vulkan
VK-GL-CTS issue: 2004
Affects: dEQP-VK.fragment_shader_interlock.*

Change-Id: Ie1049765ec4b7187b39e3d46261e9abef9f5104d
(cherry picked from commit 7b1cb5b16f44bd9598a2bc4726e78f7c13c84ea7)

4 years agoInitialize output buffer in fragment_shader_interlock tests
Jeff Bolz [Fri, 13 Sep 2019 19:57:48 +0000 (14:57 -0500)]
Initialize output buffer in fragment_shader_interlock tests

In discard tests, not all output elements are written by the shader.
Clear the output buffer to zero to match what the test expects. The
output image was already being cleared.

Components: Vulkan
VK-GL-CTS issue: 2004
Affects: dEQP-VK.fragment_shader_interlock.*

Change-Id: Ie1049765ec4b7187b39e3d46261e9abef9f5104d

4 years agoAdd build option for amber to use shared C runtime
Jari Komppa [Tue, 17 Sep 2019 08:27:59 +0000 (11:27 +0300)]
Add build option for amber to use shared C runtime

Adding build option for Amber to avoid C runtime conflicts with CTS

Affects: None
Components: Vulkan, Framework

VK-GL-CTS issue: 2001

Change-Id: Ie9f9d8efee887996de843e545b808ff200e5103a
(cherry picked from commit 6500c70cbbbf32709a80417f1a54b35e568fd9d7)

4 years agoAdd build option for amber to use shared C runtime
Jari Komppa [Tue, 17 Sep 2019 08:27:59 +0000 (11:27 +0300)]
Add build option for amber to use shared C runtime

Adding build option for Amber to avoid C runtime conflicts with CTS

Affects: None
Components: Vulkan, Framework

VK-GL-CTS issue: 2001

Change-Id: Ie9f9d8efee887996de843e545b808ff200e5103a

4 years agoCheck only Vulkan 1.1 and 1.2 limits
Boris Zanin [Mon, 16 Sep 2019 06:47:45 +0000 (08:47 +0200)]
Check only Vulkan 1.1 and 1.2 limits

Removce all extension limits check. They are expected to be tested
in a per-extension separate tests. The per-extension tests are
expected to be committed in a separate commit.

Update test:
 * dEQP-VK.api.info.vulkan1p2.limits_validation

Components: vulkan

VK-GL-CTS issue: 1999, 1924, 2008

Change-Id: Ice55c8f61500699dcfd7715df7dd3270193774b7

4 years agoUpdate headers
Alexander Galazin [Wed, 18 Sep 2019 19:14:03 +0000 (21:14 +0200)]
Update headers

Components: Vulkan

Change-Id: Id0a9c7f59e1557e53d9074ad73b73a80bcf2ef22

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Wed, 18 Sep 2019 18:55:38 +0000 (20:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ibce46c0c17c4466c708920ee1c2f93759cb7bcf1

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Wed, 18 Sep 2019 16:12:50 +0000 (18:12 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Iec182e5892633045b5f1b821e9f6259bd1c3d40c

4 years agoAdd tests checking max varyings per shader stage
Samuel Iglesias Gonsálvez [Mon, 17 Jun 2019 13:32:55 +0000 (15:32 +0200)]
Add tests checking max varyings per shader stage

It adds tests for checking that shaders defining the maximum number
of shader input/output components work as expected.

This patch doesn't test tessellation and geometry shader inputs.

Added tests:

dEQP-VK.pipeline.max_varyings.*

Components: Vulkan
VK-GL-CTS issue: 71

Change-Id: Id6528493ce2048d510365f030478934eaba9ad33

4 years agoCombine ARB and Core subgroupBroadcast code
Graeme Leese [Mon, 2 Sep 2019 16:49:51 +0000 (17:49 +0100)]
Combine ARB and Core subgroupBroadcast code

The ARB and core tests are attempting to do the same thing but using
slightly different names for the functions. Parameterise the names so
that we only have to maintain one copy of the test logic.

Also, make it so that we only have to write out the extensions that we
need once.

Components: Vulkan
Affects: dEQP-VK.subgroups.ballot_broadcast.*

Change-Id: I259249abba2b352dbd217aa4c26100ab7dbee637
(cherry picked from commit 84ddfc07a5b15a580590d5b405e1c5ff55b70fd9)

4 years agoCombine ARB and Core subgroupBroadcast code
Graeme Leese [Mon, 2 Sep 2019 16:49:51 +0000 (17:49 +0100)]
Combine ARB and Core subgroupBroadcast code

The ARB and core tests are attempting to do the same thing but using
slightly different names for the functions. Parameterise the names so
that we only have to maintain one copy of the test logic.

Also, make it so that we only have to write out the extensions that we
need once.

Components: Vulkan
Affects: dEQP-VK.subgroups.ballot_broadcast.*

Change-Id: I259249abba2b352dbd217aa4c26100ab7dbee637

4 years agoAdd OpFRem to SPIR-V precision tests
Ricardo Garcia [Thu, 15 Aug 2019 07:09:42 +0000 (09:09 +0200)]
Add OpFRem to SPIR-V precision tests

Test the precision of OpFRem with scalars and vectors using different
floating point types.

New tests:
dEQP-VK.glsl.builtin.precision*.frem.*

Components: Vulkan
VK-GL-CTS issue: 1928

Change-Id: I3cbba606e8f107105ae860c3ab88804874e3fa27

4 years agoIncrease the sleep measurement tolerance to 100ms
Piers Daniell [Tue, 10 Sep 2019 22:33:58 +0000 (16:33 -0600)]
Increase the sleep measurement tolerance to 100ms

The calibration_test works by measuring the "before"
device time, sleeping the thread for 200ms, and then
measuring the "after" device time. It then checks
the "after"-"before" delta is not more than 200ms
plus/minus 10ms.

This 10ms is too short for many systems and may
result in false failures. If the system is heavily
loaded the thread may sleep for more than 200ms.

Increasing the tolerance to 100ms appears to
eliminate the false failure I've been seeing.

Affects:

dEQP-VK.pipeline.timestamp.calibrated.calibration_test

Components: Vulkan

VK-GL-CTS issue: 1990

Change-Id: Ifc7f877daf8e361e39b3cd9ee447445529fd01d7

4 years agoRequire standardSampleLocations for imageless fb resolve tests
Gary Sweet [Wed, 11 Sep 2019 10:44:27 +0000 (11:44 +0100)]
Require standardSampleLocations for imageless fb resolve tests

The resolve tests require known sample locations in order to check
the results. If standardSampleLocations is not supported, report
these tests as unsupported.

Affects: dEQP-VK.imageless_framebuffer.*

Components: Vulkan

VK-GL-CTS issue: 1987

Change-Id: I4dbec37df8606ecb994d3b343dee42c5dee6738d

4 years agoFix indexing a push constant array member
Marcin Kańtoch [Fri, 13 Sep 2019 14:42:54 +0000 (16:42 +0200)]
Fix indexing a push constant array member

gl_VertexIndex is used to index a push constant array member.
Vulkan spec says: Any member of a push constant block that is
declared as an array must only be accessed with dynamically
uniform indices. But gl_VertexIndex is not dynamically uniform.

Changed the test to use dynamically uniform indexing.

Affects:
dEQP-VK.spirv_assembly.instruction.spirv1p4.entrypoint.vert_pc_entry_point

Components: Vulkan

VK-GL-CTS issue: 2000

Change-Id: I767aacfe0fde27e083f7b4a82f808cb99fb31d16

4 years agoMove part of the dEQP-VK.api.info.* tests into new place
Pawel Ksiezopolski [Fri, 6 Sep 2019 11:55:26 +0000 (13:55 +0200)]
Move part of the dEQP-VK.api.info.* tests into new place

Moving dEQP-VK.api.info.device.* and
dEQP-VK.api.info.instance.* tests to dEQP-VK.info.*.

Affects tests:
dEQP-VK.api.info.*
dEQP-VK.info.*

Components: Vulkan

VK-GL-CTS issue: 1897

Change-Id: I89d61bf320e39ed4660f6ac3073a8c7372bd8b56

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 12 Sep 2019 19:30:36 +0000 (20:30 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ie288cbafe76b3791a6cf75264c0c3cafbf1ea2da

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Alexander Galazin [Thu, 12 Sep 2019 18:10:05 +0000 (19:10 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master

Change-Id: Id7429810f24dcf55956635c88a6fdf77cfcf6f9c

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 12 Sep 2019 18:08:56 +0000 (19:08 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I138bdc04aecc86f159b8b755ad80fb9f84b11681

4 years agoRemove 16-bit storage requirement from half arithmetic tests
Alan Baker [Mon, 19 Aug 2019 14:33:06 +0000 (10:33 -0400)]
Remove 16-bit storage requirement from half arithmetic tests

* Rewrite float16 arithmetic tests to load/store 32-bit values
* Values store in uints and reinterpreted as half vectors
* New sets of functions to load and store variables

Component: Vulkan

VK-GL-CTS issue: 1931

Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.arithmetic*.*

Change-Id: I6b4665103f723b6eb1d6a11320a622c6c0470863

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Thu, 12 Sep 2019 17:26:06 +0000 (18:26 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I3b42845035fc496956deb9880ae222aa6eea1ad4

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 12 Sep 2019 16:13:36 +0000 (17:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: Ida04f504ce53ffeba95b59731cf9d0dd10e63896

4 years agoAccept saturated values for the 32bit buffer
Tomasz Owczarek [Mon, 9 Sep 2019 15:03:44 +0000 (16:03 +0100)]
Accept saturated values for the 32bit buffer

API documentation, extension 1.1, vkGetQueryPoolResults description:
"If VK_QUERY_RESULT_64_BIT is not set and the result overflows a 32-bit
value, the value may either wrap or saturate."

Affects:
dEQP-VK.pipeline.timestamp.misc_tests.*

Components: Vulkan

VK-GL-CTS issue: 1985

Change-Id: Id229ea4c13b52bf27c00de734c437d878365fef9
(cherry picked from commit 9eeec03a6dc5f6c05dab28eb418d25c5794f8d0e)

4 years agoAccept saturated values for the 32bit buffer
Tomasz Owczarek [Mon, 9 Sep 2019 15:03:44 +0000 (16:03 +0100)]
Accept saturated values for the 32bit buffer

API documentation, extension 1.1, vkGetQueryPoolResults description:
"If VK_QUERY_RESULT_64_BIT is not set and the result overflows a 32-bit
value, the value may either wrap or saturate."

Affects:
dEQP-VK.pipeline.timestamp.misc_tests.*

Components: Vulkan

VK-GL-CTS issue: 1985

Change-Id: Id229ea4c13b52bf27c00de734c437d878365fef9

4 years agovktAmberTestCase: Bump recipe timeout to 10 minutes.
Ben Clayton [Wed, 4 Sep 2019 15:52:07 +0000 (16:52 +0100)]
vktAmberTestCase: Bump recipe timeout to 10 minutes.

dEQP already provides mechanisms for timeouts - we don't need to rely
on additional timeouts inside amber.
Worse still, if the timeout in amber is actually hit, Vulkan objects
are destructed while the commands are still queued, which can
cause crashes instead of a clean test failure.

Components: Vulkan
VK-GL-CTS Issue: 1971
Affects:
  dEQP-VK.rasterization.provoking_vertex.*
  dEQP-VK.graphicsfuzz.*
  dEQP-VK.pipeline.vertex_only.*
  dEQP-VK.spirv_assembly.instruction.compute.ptr_access_chain.*
  dEQP-VK.spirv_assembly.instruction.compute.signed_int_compare.*

Change-Id: I3a2e1b1f2796af8eea7e26a8de27e8fc362b9653

4 years agoUpdate amber to 62ef3e4e.
Ben Clayton [Wed, 4 Sep 2019 15:46:49 +0000 (16:46 +0100)]
Update amber to 62ef3e4e.

This includes changes that allow us to specify the default
test timeout value.

Components: Vulkan
VK-GL-CTS Issue: 1971
Affects:
  dEQP-VK.rasterization.provoking_vertex.*
  dEQP-VK.graphicsfuzz.*
  dEQP-VK.pipeline.vertex_only.*
  dEQP-VK.spirv_assembly.instruction.compute.ptr_access_chain.*
  dEQP-VK.spirv_assembly.instruction.compute.signed_int_compare.*

Change-Id: I099c79214ca441f2d0bd31cb8101a7dec872b4bd

4 years agoUse 4 samples for imageless framebuffer resolve tests
John Anthony [Sun, 8 Sep 2019 14:25:48 +0000 (16:25 +0200)]
Use 4 samples for imageless framebuffer resolve tests

Change imageless framebuffer resolve tests to use sample count 4 instead
of 2 for multisample attachments, since 4 is required to be supported,
while 2 is optional.

Affects: dEQP-VK.imageless_framebuffer.*resolve

Components: Vulkan

VK-GL-CTS Issue: 1981

Change-Id: I781b64497ae689ea83609476810207e92cf2d9f6

4 years agoCorrect handling of independentResolveNone
Stephen Gallimore [Thu, 18 Jul 2019 16:48:41 +0000 (17:48 +0100)]
Correct handling of independentResolveNone

Some depth/stencil resolve tests are incorrectly reported
as unsupported, when the device's supported features include
independentResolveNone but not independentResolve.

Affects:

dEQP-VK.renderpass2.depth_stencil_resolve.*

VK-GL-CTS Issue: 1882
Components: Vulkan

Change-Id: I51f3fbf1447084a052e8f57a5726435f7947384e

4 years agoChange vertex buffer format to VK_FORMAT_R8G8B8A8_UNORM
Marcin Kańtoch [Wed, 11 Sep 2019 14:23:07 +0000 (16:23 +0200)]
Change vertex buffer format to VK_FORMAT_R8G8B8A8_UNORM

Change the vertex buffer format to VK_FORMAT_R8G8B8A8_UNORM
in spirv1p4.entrypoint* tests to make the tests pass, while
waiting on a fix in Amber.

Affects:
dEQP-VK.spirv_assembly.instruction.spirv1p4.entrypoint*

Components: Vulkan

VK-GL-CTS issue: 1992

Change-Id: Icb97b7328c2e1a61c1e1c20d7dda0449738619e1

4 years agoValidate Vulkan 1.2 limits
Boris Zanin [Wed, 4 Sep 2019 11:47:37 +0000 (13:47 +0200)]
Validate Vulkan 1.2 limits

Validate limits against Limit Requirements chapter.

Add test:
 * dEQP-VK.api.info.vulkan1p2.limits_validation

Components: vulkan

VK-GL-CTS issue: 1924

Change-Id: Ibe54ef2c6ced9864731c358172358d871d823312

4 years agoImplement getPhysicalDeviceVulkan1xProperties
Boris Zanin [Wed, 11 Sep 2019 13:38:53 +0000 (15:38 +0200)]
Implement getPhysicalDeviceVulkan1xProperties

Addtwo helper API functions to query properties:
 * getPhysicalDeviceVulkan11Properties
 * getPhysicalDeviceVulkan12Properties

Components: framework

VK-GL-CTS issue: 1924

Change-Id: Icf6e178da2ec7acc21752867348a0885feb78ecf

4 years agoMake Context class to query extensions properties
Boris Zanin [Fri, 6 Sep 2019 12:42:14 +0000 (14:42 +0200)]
Make Context class to query extensions properties

Add functionality into Context class to query extension's
properties from default device.

Components: framework

VK-GL-CTS issue: 1924

Change-Id: If456123fa9214fdf0c8360bf645531b2a00fd9b2

4 years agoDon't require 8bit storage features for SPIR-V tests
Graeme Leese [Tue, 10 Sep 2019 09:15:20 +0000 (10:15 +0100)]
Don't require 8bit storage features for SPIR-V tests

Return NotSupported if the features are not supported instead. (It's
checked elsewhere that an implementation supports the mandatory feature
set).

Components: Vulkan
VK-GL-CTS issue: 1988
Affects: dEQP-VK.spirv_assembly.*

Change-Id: I6f87a996b99f55902b1c5afa502b1cdbbd73197a

4 years agoCheck Vulkan 1.2 core features in 1.2 context
Piers Daniell [Mon, 9 Sep 2019 18:41:19 +0000 (12:41 -0600)]
Check Vulkan 1.2 core features in 1.2 context

Affects:
dEQP-VK.draw.shader_layer.*
dEQP-VK.draw.shader_viewport_index.*
dEQP-VK.pipeline.sampler.view_type.*.format.*
dEQP-VK.pipeline.sampler.*.address_mode.*

VK-GL-CTS issue: 1986

Components: Vulkan

Change-Id: Ie02326cb6891a206d49297b2c49e5f5d7e7c0198

4 years agoFix undersized buffer use in extend operands tests
Reed Koser [Thu, 5 Sep 2019 20:48:11 +0000 (13:48 -0700)]
Fix undersized buffer use in extend operands tests

Prior to this patch, the dEQP.image.extend_operands_spirv1p4.* tests
used the size of the input image as the buffer size. Since the tests
reuse the buffer to read back the output image (which is potentially
much larger, due to the unconditional use of R32G32B32A32_*INT formats),
this resulted in corruption of device memory.

Affects: dEQP-VK.image.extend_operands_spirv1p4.*

Components: Vulkan

VK-GL-CTS issue: 1980

Change-Id: I8d07cd7d54cc305635b9674074a7eafa52bf6dfa

4 years agoImplement getPhysicalDeviceVulkan12Features
Alexander Galazin [Sun, 8 Sep 2019 11:08:03 +0000 (13:08 +0200)]
Implement getPhysicalDeviceVulkan12Features

The generated helper returns all-0s since
there is an assumed extension check.

Affects:
dEQP-VK.draw.indirect_draw.*
dEQP-VK.descriptor_indexing.*

Components: Vulkan

VK-GL-CTS issue: 1983

Change-Id: Iace6611d6261d2e80fe6d4dc118b5c8de55b84de

4 years agoTest consistency between VkPhysicalDeviceVulkanXXFeatures and extensions
Pawel Ksiezopolski [Wed, 4 Sep 2019 12:44:53 +0000 (14:44 +0200)]
Test consistency between VkPhysicalDeviceVulkanXXFeatures and extensions

Check if appropriate fields of the VkPhysicalDeviceVulkanXXFeatures are
set when corresponding extensions are present.

New tests:
dEQP-VK.api.info.vulkan1p2.feature_extensions_consistency
dEQP-VK.api.info.vulkan1p2.property_extensions_consistency

Components: Vulkan

VK-GL-CTS issue: 1977

Change-Id: Ib9b55811293a4bc35ae32707888af761b6e8f656

4 years agoCheck whether the underlying format is supported in format_reinterpret tests
Chris Forbes [Thu, 29 Aug 2019 18:22:26 +0000 (11:22 -0700)]
Check whether the underlying format is supported in format_reinterpret tests

Affects: dEQP-VK.image.*
VK-GL-CTS Issue: 1969

Change-Id: I4e78351aa8746ebd2f2ea69980f747ded508802b

4 years agoRemove 1.1.0.3 from the list of accepted versions
Alexander Galazin [Thu, 5 Sep 2019 08:54:18 +0000 (10:54 +0200)]
Remove 1.1.0.3 from the list of accepted versions

Components: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: I34965c973c1fe003dc5ca61e37ddce79d491acd3

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Wed, 11 Sep 2019 07:52:21 +0000 (08:52 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Iccceac569e05719e40b147f3d0c3ebe8e2eace83

4 years agoVK_EXT_line_rasterization tests
Jeff Bolz [Wed, 22 May 2019 19:00:25 +0000 (14:00 -0500)]
VK_EXT_line_rasterization tests

Components: Vulkan

Affects: dEQP-VK.rasterization.*
Change-Id: I69a3be4c19005f5f944da57285687cf564473da4
(cherry picked from commit ad22b59722c8e19416cc9c9a9cc5cc377f7a848b)

4 years agoAccount for precision loss in unorm depth pipeline
Gary Sweet [Thu, 1 Aug 2019 11:50:40 +0000 (12:50 +0100)]
Account for precision loss in unorm depth pipeline

https://gerrit.khronos.org/#/c/4049/ introduced a regression
related to the use of depths other than 0.0 and 1.0 in the round-trip
to the depth buffer and back.

The test can now write 1.0/255.0 to gl_FragDepth and expects to see
exactly 1.0/255.0 when it is read back in the input attachment.
The unorm depth formats are only specified to be exact for the integer
values (0.0 and 1.0). We can differ by 1-bit after the round-trip.

This change adds an epsilon range check for the unorm depth tests
that resolve the issue.

Affected tests:
dEQP-VK.renderpass.dedicated_allocation.*
dEQP-VK.renderpass.suballocation.*
dEQP-VK.renderpass2.dedicated_allocation.*
dEQP-VK.renderpass2.suballocation.*

Components: Vulkan
VK_GL_CTS issue: 1908

Change-Id: Iaec3503595afd3409d2c21d8af72b469467d6673

4 years agoNotice of withdrawal of Vulkan CTS 1.1.2.x
Alexander Galazin [Wed, 4 Sep 2019 20:06:14 +0000 (22:06 +0200)]
Notice of withdrawal of Vulkan CTS 1.1.2.x

Components: Vulkan

Change-Id: Icd63b3d4bf9625c4235bc47b05194ebe04fed59e

4 years agoUpdate SPIR-V Tools
Alexander Galazin [Fri, 6 Sep 2019 18:22:19 +0000 (20:22 +0200)]
Update SPIR-V Tools

Components: Framework

Affects: dEQP-VK.*

Change-Id: I2b144d95efca4331bbb8bf0133983b523ff51a1a

4 years agoWhitelist Vulkan CTS 1.1.5.1
Alexander Galazin [Fri, 6 Sep 2019 12:27:23 +0000 (14:27 +0200)]
Whitelist Vulkan CTS 1.1.5.1

Components: Vulkan

Affects: dEQP-VK.api.driver_properties.properties

Change-Id: I8fe5d5d033e2c236e1556e100e44d7020f1066a1

4 years agoWhitelist Vulkan CTS 1.2.0.0
Alexander Galazin [Fri, 6 Sep 2019 12:25:45 +0000 (14:25 +0200)]
Whitelist Vulkan CTS 1.2.0.0

Affects: dEQP-VK.api.driver_properties.properties

Components: Vulkan

Change-Id: I6f3f4d2dd96d2c8540187cb55ffc888db3bb647e

4 years agoFix Android mustpass
Alexander Galazin [Fri, 6 Sep 2019 11:48:07 +0000 (13:48 +0200)]
Fix Android mustpass

Change-Id: Ifa36b7f6beee082b41773c069f6b01b330f09cf9

4 years agodEQP-VK.graphicsfuzz.write-red-in-loop-nest
Alastair Donaldson [Wed, 21 Aug 2019 07:48:43 +0000 (08:48 +0100)]
dEQP-VK.graphicsfuzz.write-red-in-loop-nest

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.write-red-in-loop-nest

Change-Id: I026829faffa3dc27fa2269ae67bff092b3bede7d

4 years agoVK_EXT_line_rasterization tests
Jeff Bolz [Wed, 22 May 2019 19:00:25 +0000 (14:00 -0500)]
VK_EXT_line_rasterization tests

Components: Vulkan

Affects: dEQP-VK.rasterization.*
Change-Id: I69a3be4c19005f5f944da57285687cf564473da4

4 years agoFunctions to initialize Vulkan structures
Boris Zanin [Mon, 2 Sep 2019 07:22:35 +0000 (09:22 +0200)]
Functions to initialize Vulkan structures

The commit adds three helper functions:
 * initStructureType
 * initStructureTypeConst
 * addToChainVulkanStructure

The functions designed to initialize Vulkan structures
during creation time.  The initStructureType designed
to initialize variables and initStructureTypeConst
designed to initialize constants.  Using pNext argument
it is useful to intialize chains of structures.

The functions do:
 * fill memory of the result structure with zeros
 * set sType field approprately to structure type
 * assign pNext field with passed value

The function addToChainVulkanStructure enables easily
chain Vulkan structures with pNext/sType fields.

Components: Framework

VK-GL-CTS issue: 1924

Change-Id: I228fb094e6c8df7b32028e2d01474d813c47ca01

4 years agoRemove input blocks from SPIR-V 1.4 compute shaders
Alan Baker [Tue, 3 Sep 2019 15:01:57 +0000 (11:01 -0400)]
Remove input blocks from SPIR-V 1.4 compute shaders

Split input blocks in compute shaders into flat variables.

Component: Vulkan

VK-GL-CTS Issue: 1967

Affects:
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrequal.ssbo_comparisons_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrequal.wg_comparisons_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrnotequal.ssbo_comparisons_not_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrnotequal.wg_comparisons_not_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrdiff.ssbo_comparisons_diff
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrdiff.wg_comparisons_diff

Change-Id: I228583843148e36a33d7f469cb90f628eb432c37

4 years agoFix API usage errors in geometry tests
Ilkka Saarelainen [Wed, 21 Aug 2019 11:41:07 +0000 (14:41 +0300)]
Fix API usage errors in geometry tests

Fixes validation errors in various geometry tests.

geometry.basic.output_* tests were potentially exceeding the
maxGeometryTotalOutputComponents limit because the gl_PerVertex was
implicitly declared and therefore contained gl_Position and gl_PointSize.
Now the gl_PerVertex is declared explicitly to contain only gl_Position.

Fixes flush/invalidate mapped memory range -validation errors by using the
flushAlloc/invalidateAlloc -framework functions.

Affects:
dEQP-VK.geometry.basic.output_*
dEQP-VK.geometry.instanced.*

Components: Vulkan

VK-GL-CTS issue: 1911

Change-Id: I8e4cfd5879ba8c61be3019578b8afbc76592d82e
(cherry picked from commit 06eddc62b934edb7672408252b03af1877dee01c)

4 years agoIntegrate SPIR-V 1.5 fixes
Alexander Galazin [Thu, 5 Sep 2019 10:06:38 +0000 (12:06 +0200)]
Integrate SPIR-V 1.5 fixes

Fixes validation errors that appeared with new 1.4 rules

Affects: dEQP-VK.spirv_assembly.instruction.*.spirv_version.*

Components: Vulkan

Change-Id: I9070357bd29092341229782f35bb0399532da1be

4 years agoUpdate support checks for descriptorIndexing/drawIndirectCount
Alexander Galazin [Wed, 4 Sep 2019 07:46:37 +0000 (09:46 +0200)]
Update support checks for descriptorIndexing/drawIndirectCount

Use core feature struct for checks in Vulkan 1.2 context and
extension feature struct for previous API versions.

Affects:
dEQP-VK.descriptor_indexing.*
dEQP-VK.binding_model.descriptorset_random*
dEQP-VK.draw.indirect_draw.*

Components: Vulkan

Change-Id: I07ca69a5d0e7c38523c2f06e8769fa38228e0b38

4 years agoAlias vkResetQueryPoolEXT to the core function
Alexander Galazin [Tue, 3 Sep 2019 19:23:08 +0000 (21:23 +0200)]
Alias vkResetQueryPoolEXT to the core function

Previously only KHR-suffixed functions were considered as
candidates for aliases. This changed in Vulkan 1.2 with promotion
of VK_EXT_host_query_reset to core.

This CL changes gen_framework.py to take into account
whether an extension was promoted to core and search for
aliases only among objects introduced by the extension.

This CL also adds VK_KHR_timeline_semaphore,
VK_KHR_spirv_1_4, and VK_EXT_separate_stencil_usage
to the list of promoted extensions.

Affects:
dEQP-VK.*.host_query_reset*
dEQP-VK.api.info.device.extensions

Components: Vulkan

VK-GL-CTS issue: 1976

Change-Id: I2e31e709f7c303b775e576e617820bd67d95d78d

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Thu, 5 Sep 2019 15:26:59 +0000 (17:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I44b8c90e31d532d29e601ec4dc40f5d87fc8643c

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Thu, 5 Sep 2019 15:18:55 +0000 (17:18 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I9127426326658bfa984eb90837e731d8a26139c1

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 5 Sep 2019 15:17:32 +0000 (17:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: Ia899f8486ce88f6fdb54cfb070a7026b815bb25b

4 years agoFix API usage errors in geometry tests
Ilkka Saarelainen [Wed, 21 Aug 2019 11:41:07 +0000 (14:41 +0300)]
Fix API usage errors in geometry tests

Fixes validation errors in various geometry tests.

geometry.basic.output_* tests were potentially exceeding the
maxGeometryTotalOutputComponents limit because the gl_PerVertex was
implicitly declared and therefore contained gl_Position and gl_PointSize.
Now the gl_PerVertex is declared explicitly to contain only gl_Position.

Fixes flush/invalidate mapped memory range -validation errors by using the
flushAlloc/invalidateAlloc -framework functions.

Affects:
dEQP-VK.geometry.basic.output_*
dEQP-VK.geometry.instanced.*

Components: Vulkan

VK-GL-CTS issue: 1911

Change-Id: I8e4cfd5879ba8c61be3019578b8afbc76592d82e

4 years agoAvoid timeouts in dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail
Chris Forbes [Wed, 14 Aug 2019 02:46:32 +0000 (19:46 -0700)]
Avoid timeouts in dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail

Components: Vulkan
Affects: dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail
VK-GL-CTS Issue: 1919
Google bug: b/139391065

Change-Id: Id5f20ef22147431aef2eabb97f2c7ef5171ed2ae

4 years agoFix build when DEQP_HAVE_GLSLANG not defined
David Emett [Wed, 21 Aug 2019 18:48:38 +0000 (19:48 +0100)]
Fix build when DEQP_HAVE_GLSLANG not defined

Change-Id: I437a51e03c72b823ae3093fbce178f556b0e23c1
(cherry picked from commit db50943898abca5bf39122a62d329c864809f96e)

4 years agoFix build when DEQP_HAVE_GLSLANG not defined
David Emett [Wed, 21 Aug 2019 18:48:38 +0000 (19:48 +0100)]
Fix build when DEQP_HAVE_GLSLANG not defined

Change-Id: I437a51e03c72b823ae3093fbce178f556b0e23c1

4 years agodEQP-VK.graphicsfuzz.unreachable-loops
Alastair Donaldson [Wed, 21 Aug 2019 07:51:26 +0000 (08:51 +0100)]
dEQP-VK.graphicsfuzz.unreachable-loops

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.unreachable-loops

Change-Id: I0dd661075f3ceb825bf542f0acd6bbeb3ea5c5c7

4 years agodEQP-VK.graphicsfuzz.write-before-break
Alastair Donaldson [Wed, 21 Aug 2019 07:53:19 +0000 (08:53 +0100)]
dEQP-VK.graphicsfuzz.write-before-break

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.write-before-break

Change-Id: I0a03a211a2d0696e4f6562c4604155be6eca7c24

4 years agoTest for loop with condition always false
Ari Suonpaa [Wed, 21 Aug 2019 11:02:25 +0000 (14:02 +0300)]
Test for loop with condition always false

Added a shader found by GraphicsFuzz: A function gets
passed a value which is used as a condition in a for
loop. The condition is always false. The shader should
get past the for loop and write a red color.

New tests:

dEQP-VK.graphicsfuzz.for-condition-always-false

Components: Vulkan

VK-GL-CTS issue: 1935

Change-Id: I0a1d19601d81d4aaad4961877839047f930ea735

4 years agoTest cbuffer packing with scalar block layout
Piotr Byszewski [Thu, 4 Jul 2019 11:40:03 +0000 (13:40 +0200)]
Test cbuffer packing with scalar block layout

Components: Vulkan

VK-GL-CTS issue: 1826

Add tests:
dEQP-VK.spirv_assembly.instruction.compute.hlsl_cases.cbuffer_packing

Change-Id: Ibeef726b4d0387b021184c68cd313173f834d06d

4 years agodEQP-VK.graphicsfuzz.do-while-loop-in-conditionals
Alastair Donaldson [Thu, 4 Jul 2019 13:17:15 +0000 (14:17 +0100)]
dEQP-VK.graphicsfuzz.do-while-loop-in-conditionals

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.do-while-loop-in-conditionals

Change-Id: I232d4bf0010f08d7c9352f7258fda34272e89cbc

4 years agoFix issues in VK_KHR_buffer_device_address tests
John Anthony [Mon, 26 Aug 2019 17:02:53 +0000 (19:02 +0200)]
Fix issues in VK_KHR_buffer_device_address tests

Fixes various issues in buffer_device_address tests:
- Prefer KHR over EXT if both are available
- Check if extension is supported before checking features
- Use appropriate version of vkGetBufferDeviceAddress*
- dEQP-VK.binding_model.buffer_device_address.*convert.* requires shaderInt64

Affects:
- dEQP-VK.binding_model.buffer_device_address*
- dEQP-VK.compute.cooperative_matrix*phys*
- dEQP-VK.memory_model.*phys*
- dEQP-VK.ssbo.*phys*
- dEQP-VK.spirv_assembly.*phys*

Components: Vulkan

VK-GL-CTS Issue: 1957

Change-Id: I914d50104c08a6974e7db5902d1e88b91b2deb67

4 years agoFix check support for (Sign|Zero)Extend tests
Piotr Byszewski [Mon, 2 Sep 2019 10:59:03 +0000 (12:59 +0200)]
Fix check support for (Sign|Zero)Extend tests

Components: Vulkan

Affects:
dEQP-VK.image.extend_operands_spirv1p4.*

Change-Id: I5c546afcfdc533957fbb7d78a0a98f8845a56a1b

4 years agoUncoment SPV_ENV_VULKAN_1_2 case
Alexander Galazin [Thu, 5 Sep 2019 09:12:31 +0000 (11:12 +0200)]
Uncoment SPV_ENV_VULKAN_1_2 case

Components: Vulkan

Change-Id: Ie8305971f82c355266021a6487893ebf291a6103

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Wed, 4 Sep 2019 11:49:10 +0000 (13:49 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I25d0a2fc46401dfa77f9a40362ec567a159c493e

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Alexander Galazin [Wed, 4 Sep 2019 11:48:17 +0000 (13:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master

Change-Id: I6404ea1298af477547223b20cfd29d24d679578d

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Wed, 4 Sep 2019 09:17:28 +0000 (11:17 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: If4c022edf815bc00ea6b8f64bb6aeac6ba44fbe6

4 years agoFixes binding_model tests check for shaderInt64
Matthew Netsch [Tue, 27 Aug 2019 19:30:31 +0000 (15:30 -0400)]
Fixes binding_model tests check for shaderInt64

Components: Vulkan
VK-GL-CTS Issue: 1956

Affects:
dEQP-VK.binding_model.buffer_device_address.*.convert.*

Change-Id: I36d71e75eb3767d2f94ef260436b8c036f0c4ea1

4 years agoCheck SPV_KHR_float_controls usage w/o OpExtension
Boris Zanin [Fri, 17 May 2019 09:46:12 +0000 (11:46 +0200)]
Check SPV_KHR_float_controls usage w/o OpExtension

Runs float controls test under Vulkan 1.2, that includes SPIR-V
with embedded float controls into core and thus does not require
SPV_KHR_float_controls extension in shader code.

Add tests:
 * dEQP-VK.spirv_assembly.instruction.compute.float_controls_extensionless.*

Components: Vulkan

VK-GL-CTS issue: 1707

Change-Id: I4da1183a59cce915b32b2e052235fd705342fb82
(cherry picked from commit 9d0c6a51fec7bfe1b9fd1178436dbf792c2e5015)

4 years agoCheck SPV_KHR_float_controls usage w/o OpExtension
Boris Zanin [Fri, 17 May 2019 09:46:12 +0000 (11:46 +0200)]
Check SPV_KHR_float_controls usage w/o OpExtension

Runs float controls test under Vulkan 1.2, that includes SPIR-V
with embedded float controls into core and thus does not require
SPV_KHR_float_controls extension in shader code.

Add tests:
 * dEQP-VK.spirv_assembly.instruction.compute.float_controls_extensionless.*

Components: Vulkan

VK-GL-CTS issue: 1707

Change-Id: I4da1183a59cce915b32b2e052235fd705342fb82

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 3 Sep 2019 08:05:02 +0000 (10:05 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Iff5f885adb0961f5e7960bddfce9c1f5c3c6487a

4 years agoUpdate SPIR-V tools and headers
Alexander Galazin [Tue, 3 Sep 2019 05:35:30 +0000 (07:35 +0200)]
Update SPIR-V tools and headers

Now with 1.5 support

Affects: dEQP-VK.*

Components: Vulkan, Framework

VK-GL-CTS issue: 1926

Change-Id: Ib45e3d917dd613d1615f7f9d5c5056959d48bfac

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 2 Sep 2019 11:31:25 +0000 (13:31 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I4a47ed9be6c500d7789bc443c98f80e403a85cac

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 2 Sep 2019 09:47:24 +0000 (11:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I9afb338c4e194bbb888ec55d940d2417b3e9b1eb

4 years agoUpdate glslang, SPIR-V tools
Alexander Galazin [Mon, 2 Sep 2019 08:37:02 +0000 (10:37 +0200)]
Update glslang, SPIR-V tools

Components: Framework

Affects: dEQP-VK.*

Change-Id: I0efb840ae228f6f88dc8555977484362dd5819d5

4 years agoUpdate Vulkan headers to 1.1.121
Samuel Iglesias Gonsálvez [Fri, 30 Aug 2019 09:27:03 +0000 (11:27 +0200)]
Update Vulkan headers to 1.1.121

Should be no functional change, just brings the header up to date
to ease submitting new tests for those extensions. It was needed
to add AMD in extension postfix list in gen_framework.py.

Components: Vulkan

Change-Id: I34725518baa9ada0948c0a0d473fb1101ef1541f

4 years agoTest enum with settings for separate controls
Piotr Byszewski [Mon, 10 Jun 2019 13:09:31 +0000 (15:09 +0200)]
Test enum with settings for separate controls

The original VK_KHR_shader_controls shipped with booleans named
"separateDenormSettings" and "separateRoundingModeSettings". In
recent specification update those boolean values were changed into
a tri-state enum. This change adjusts tests to that.

Components: Vulkan

VK-GL-CTS issue: 1791

Affects:
dEQP-VK.spirv_assembly.instruction.compute.float_controls.*
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.*
dEQP-VK.spirv_assembly.instruction.compute.float_controls.independence_settings.*
dEQP-VK.spirv_assembly.instruction.compute.float16.logical_nan.*
dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp*
dEQP-VK.spirv_assembly.instruction.graphics.float16.logical_nan.*
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.fp*

Change-Id: Ibabef071e32c75468176d505624c1cb140c26a47
(cherry picked from commit 79766c897f2fb5f36561cb63c5dd80bd75e5d045)

4 years agoTest enum with settings for separate controls
Piotr Byszewski [Mon, 10 Jun 2019 13:09:31 +0000 (15:09 +0200)]
Test enum with settings for separate controls

The original VK_KHR_shader_controls shipped with booleans named
"separateDenormSettings" and "separateRoundingModeSettings". In
recent specification update those boolean values were changed into
a tri-state enum. This change adjusts tests to that.

Components: Vulkan

VK-GL-CTS issue: 1791

Affects:
dEQP-VK.spirv_assembly.instruction.compute.float_controls.*
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.*
dEQP-VK.spirv_assembly.instruction.compute.float_controls.independence_settings.*
dEQP-VK.spirv_assembly.instruction.compute.float16.logical_nan.*
dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp*
dEQP-VK.spirv_assembly.instruction.graphics.float16.logical_nan.*
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.fp*

Change-Id: Ibabef071e32c75468176d505624c1cb140c26a47

4 years agoTests for VK_KHR_buffer_device_address
Jeff Bolz [Tue, 9 Jul 2019 04:09:44 +0000 (23:09 -0500)]
Tests for VK_KHR_buffer_device_address

Components: Vulkan
Affects: dEQP-VK.binding_model.buffer_device_address*
Affects: dEQP-VK.compute.cooperative_matrix*phys*
Affects: dEQP-VK.memory_model.*phys*
Affects: dEQP-VK.ssbo.*phys*
Affects: dEQP-VK.spirv_assembly.*phys*
Change-Id: I045b5832e9857f6e826957e204237a32e0bcbce4

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Alexander Galazin [Fri, 30 Aug 2019 11:59:52 +0000 (13:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master

Change-Id: If203fa7411adf24da1cd1b1c88ea793bd2fc117f

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 30 Aug 2019 11:48:28 +0000 (13:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ib45d4048f7ff9278ac5c376c17115e0e35984297

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Fri, 30 Aug 2019 09:24:03 +0000 (11:24 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I00f17a688d8b0b2e6c13cab41f9db2f1f853ec8b

4 years agoFix uniformBufferStandardLayout enforcement to match spec
Chris Forbes [Thu, 29 Aug 2019 16:59:43 +0000 (09:59 -0700)]
Fix uniformBufferStandardLayout enforcement to match spec

This extension isn't part of 1.1 -- the spec language was just unclear
if you were looking at the output. The spec has been fixed in
https://gitlab.khronos.org/vulkan/vulkan/commit/aa98ba6f89b9ea707d7efc0c8f71dd82ac9ffb60

Affects: dEQP-VK.api.info.device.mandatory_features
VK-GL-CTS Issue: 1966

Change-Id: I321730f747200036a3d635245bf978eb49b56c2c

4 years agoUse enumerateDeviceExtensionProperties in mandatory features
Alexander Galazin [Thu, 29 Aug 2019 06:04:01 +0000 (08:04 +0200)]
Use enumerateDeviceExtensionProperties in mandatory features

Affects: dEQP-VK.api.info.device.mandatory_features

Components: Vulkan

VK-GL-CTS issue: 1966

Change-Id: I4d72da3a36e6d31ac4025ff2b25fc3b83fdc20d3

4 years agoFixes sync test shader instance counts
Matthew Netsch [Wed, 28 Aug 2019 15:05:25 +0000 (11:05 -0400)]
Fixes sync test shader instance counts

Tests incorrectly required implementations to
execute only 1 vs instance per vertex.

Components: Vulkan
VK-GL-CTS Issue: 1958

Affects:
dEQP-VK.synchronization.op.*.write_indirect_buffer*

Change-Id: I17e42658706712a4f9d07931ac234c1e1807d693

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Fri, 30 Aug 2019 08:42:04 +0000 (10:42 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I3a118287f4387c798fb2beb82113029308f0762b

4 years agoAdds geometry shader check for test
Matthew Netsch [Wed, 28 Aug 2019 16:31:19 +0000 (12:31 -0400)]
Adds geometry shader check for test

Components: Vulkan
VK-GL-CTS Issue: 1900

Affects:
dEQP-VK.query_pool.statistics_query.input_assembly*.primary.*adjacency

Change-Id: I6aeb72143231d59711cb1d6ea98bc2cc0264bc84