platform/upstream/VK-GL-CTS.git
4 years agoDisable stipple in GLES rasterisation tests
Graeme Leese [Mon, 16 Sep 2019 14:53:46 +0000 (15:53 +0100)]
Disable stipple in GLES rasterisation tests

Initialise stipple related fields in the LineSceneSpec so that stipple
is correctly disabled.

Components: OpenGL
VK-GL-CTS Issue: 2006
Affects: dEQP-GLES2.functional.rasterization.primitives.line*
         dEQP-GLES2.functional.rasterization.interpolation.*.line*
         dEQP-GLES3.functional.rasterization.primitives.line*
         dEQP-GLES3.functional.rasterization.interpolation.*.line*
         dEQP-GLES3.functional.rasterization.fbo.*.primitives.lines*
         dEQP-GLES3.functional.rasterization.fbo.*.interpolation.lines*

Change-Id: I1df4b4cb9cac892f27f6e1d81a06061c6d974e22

4 years agosurfaceless: Remove false dependencies on gbm, libkms, libdrm.
Eric Anholt [Mon, 26 Aug 2019 21:38:06 +0000 (14:38 -0700)]
surfaceless: Remove false dependencies on gbm, libkms, libdrm.

Our code doesn't directly use any of those, they're just internal
dependencies of the surfaceless platform.  Avoids Mesa CI's CTS build
requiring an installed Mesa already.

Change-Id: I573939d3f4be307232f559da0cda8bc9c0999314

4 years agoUpdate README to allow parallel execution
Alexander Galazin [Mon, 16 Sep 2019 13:05:09 +0000 (15:05 +0200)]
Update README to allow parallel execution

This change updates Vulkan CTS README to allow
parallel CTS execution and also outlines new
requirements for Conformance Submission Packages
collected from parallel runs.

Components: Vulkan

VK-GL-CTS issue: 1897

Change-Id: Iafe92c384bb5dbf79ccc0d3b3040c15dd6a25be8

4 years agoAdd list of tests for each fraction of CTS parallel run
Pawel Ksiezopolski [Thu, 12 Sep 2019 07:25:57 +0000 (09:25 +0200)]
Add list of tests for each fraction of CTS parallel run

The tests may be split in groups for parallel execution
using commandline deqp-fraction parameter.
This commit adds possibility to perform a list of tests
for each such fraction.
To achieve this - user must use parameter
deqp-fraction-mandatory-caselist-file defining a file with
a list of tests. File vk-fraction-mandatory-tests.txt
defines a list of mandatory tests when parallel execution
is applied.

Components: Vulkan Framework

VK-GL-CTS issue: 1897

Change-Id: I684eb07c24bbf3aeaf3386f205658dfe07b9fe25

4 years agoAdd VK_NV_ray_tracing infrastructure and test
Eric Werness [Fri, 7 Jun 2019 16:26:28 +0000 (09:26 -0700)]
Add VK_NV_ray_tracing infrastructure and test

Adds infrastructure and plumbing for VK_NV_ray_tracing tests to CTS
including plumbing for the new program stages and new pipeline type.

Includes integration into descriptor set random tests

Affects: dEQP-VK.binding_model.descriptorset_random.*

VK-GL-CTS issue: 1995

Change-Id: I0daa03124256060fe465d3a6a84e5d76b9be22d6

4 years agoRemove unnecessary extension from float16 constant tests
Alan Baker [Sun, 25 Aug 2019 17:23:42 +0000 (13:23 -0400)]
Remove unnecessary extension from float16 constant tests

Remove the 16-bit storage extension from the float16 constat tests. The
storage functionality is unused.

Component: Vulkan

VK-GL-CTS Issue: 1931

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.opconstant*

Change-Id: I5a69d77a72e34eecd4bc67f9916f44b1df848191

4 years agodEQP-VK.graphicsfuzz.discard-continue-return
Paul Thomson [Tue, 27 Aug 2019 09:57:30 +0000 (10:57 +0100)]
dEQP-VK.graphicsfuzz.discard-continue-return

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.discard-continue-return

Change-Id: I8645d5ccd5fa0259db46b7f38e0c5041bcf9b6c8

4 years agodEQP-VK.graphicsfuzz.nested-loops-switch
Paul Thomson [Sun, 1 Sep 2019 20:44:08 +0000 (21:44 +0100)]
dEQP-VK.graphicsfuzz.nested-loops-switch

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.nested-loops-switch

Change-Id: Ia5d96e7fbeacc0df39cbd9d31fe119c145e6d732

4 years agodEQP-VK.graphicsfuzz.control-flow-in-function
Paul Thomson [Mon, 2 Sep 2019 14:47:44 +0000 (15:47 +0100)]
dEQP-VK.graphicsfuzz.control-flow-in-function

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.control-flow-in-function

Change-Id: Ie6d6e87acd34ed705b076b9b78de55bf4a190d06

4 years agodEQP-VK.graphicsfuzz.loop-nested-ifs
Paul Thomson [Mon, 2 Sep 2019 20:26:59 +0000 (21:26 +0100)]
dEQP-VK.graphicsfuzz.loop-nested-ifs

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.loop-nested-ifs

Change-Id: I5b06c42ebc27fc513be9538dfde0b2baacc96b0e

4 years agodEQP-VK.graphicsfuzz.max-mix-conditional-discard
Paul Thomson [Mon, 9 Sep 2019 10:36:58 +0000 (11:36 +0100)]
dEQP-VK.graphicsfuzz.max-mix-conditional-discard

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.max-mix-conditional-discard

Change-Id: Ie9ada9c6e7a71a4ad09ad6f09f0ee8264e02d9c1

4 years agodEQP-VK.graphicsfuzz.similar-nested-ifs
Paul Thomson [Mon, 9 Sep 2019 13:21:28 +0000 (14:21 +0100)]
dEQP-VK.graphicsfuzz.similar-nested-ifs

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.similar-nested-ifs

Change-Id: Ia7cad0b33e7e526fc54ef2024edbc8a207baba84

4 years agodEQP-VK.graphicsfuzz.two-loops-set-struct
Paul Thomson [Mon, 9 Sep 2019 14:44:16 +0000 (15:44 +0100)]
dEQP-VK.graphicsfuzz.two-loops-set-struct

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.two-loops-set-struct

Change-Id: I8c08d5bc486d228ebf2dbaa8a7c7fb2bae4a7410

4 years agodEQP-VK.graphicsfuzz.for-with-ifs-and-return
Ilkka Saarelainen [Wed, 11 Sep 2019 13:10:34 +0000 (16:10 +0300)]
dEQP-VK.graphicsfuzz.for-with-ifs-and-return

Components: Vulkan

New tests:

dEQP-VK.graphicsfuzz.for-with-ifs-and-return

Change-Id: Id92db5a1ba4279816c728ce6ee2c4b4f37c7f931

4 years agoAdd copy tests for wide and tall images
Toni Merilehti [Fri, 3 May 2019 11:12:46 +0000 (14:12 +0300)]
Add copy tests for wide and tall images

Test image copying on wide and tall images on YCbCr and
non-YCbCr formats with the following image dimensions:
-Wide: large pot x small pot
-Wide: large pot x small npot
-Tall: small pot x large pot
-Tall: small npot x large pot

This CL also changes the initialization of the source image
in image_to_image copy tests to gradient from the current
solid red color to detect that the copy regions are handled
correctly.

Affects:

dEQP-VK.api.copy_and_blit.*.image_to_image.*

New tests:

dEQP-VK.api.copy_and_blit.*.image_to_image.dimensions.*
dEQP-VK.ycbcr.copy_dimensions.*

Components: Vulkan

VK-GL-CTS issue: 1724

Change-Id: I9d61a782ba5a07b6cd9c47e158d441cf935b5ac7

4 years agoAdd tests for VK_KHR_shader_subgroup_extended_types
Neil Henning [Thu, 14 Mar 2019 13:35:02 +0000 (13:35 +0000)]
Add tests for VK_KHR_shader_subgroup_extended_types

This change adds support for VK_KHR_shader_subgroup_extended_types by
extending the existing subgroup tests for the new types.

I've also taken the liberty to reduce the width parameter for graphics
tests from 1024 -> 256 (4x reduction) to offset for the over 2x increase
in number of formats.

Components: Vulkan

Affects:
dEQP-VK.subgroups.*int8_t
dEQP-VK.subgroups.*float16_t
dEQP-VK.subgroups.*int16_t
dEQP-VK.subgroups.*int64_t
dEQP-VK.subgroups.*8vec*
dEQP-VK.subgroups.*16vec*
dEQP-VK.subgroups.*64vec*

Change-Id: I70c4c5a0c444666648057050108043d14ce3c3c7
(cherry picked from commit 5f37b5269276244370a7ecaf282122f3423728ef)

4 years agoAlways require glslang and spirv-tools to be present
Chris Forbes [Fri, 6 Sep 2019 21:01:18 +0000 (22:01 +0100)]
Always require glslang and spirv-tools to be present

The prebuilt shader paths are no longer used. Just require both
dependencies to be present and drop the !DEQP_HAVE_GLSLANG /
!DEQP_HAVE_SPIRV_TOOLS paths.

Mention of prebuilt binaries is removed from the Vulkan CTS readme.

The machinery to actually build all the shaders upfront is left
in place for now as it has value as a presubmit check.

Components: Vulkan, OpenGL
VK-GL-CTS Issue: 1951

Change-Id: I6a79766a07e5aeb3c9c43236a3a220f8b654511e

4 years agogen_ext_deps.py made independent from VK versions
Pawel Ksiezopolski [Wed, 18 Sep 2019 12:16:22 +0000 (14:16 +0200)]
gen_ext_deps.py made independent from VK versions

Script gen_ext_deps.py has been modified so that it's independent
from incoming Vulkan versions ( it uses <feature> information
from vk.xml to establish what VK versions will be required ).
Accompanying CTS tests have been modified to take advantage
of this modification.

Components: Vulkan Framework

VK-GL-CTS issue: 1954

Change-Id: I2b691e1bd64a6bcb8d1cb7193318aca6bc70655c

4 years agoRemove 16 storage from float16 logicals tests
Alan Baker [Wed, 21 Aug 2019 19:08:46 +0000 (15:08 -0400)]
Remove 16 storage from float16 logicals tests

Modify the float16 logicals tests to not require 16-bit storage
extensions. Instead data is treated as uints and functions are used to
load and store the appropriate bit patterns. Same functions are used as
in other float16 tests.

Components: Vulkan

VK-GL-CTS issue: 1931

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

Change-Id: Ic8befece08f56405bfc8628f9745b36942674bdc

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Alexander Galazin [Sun, 22 Sep 2019 09:16:02 +0000 (11:16 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master

Change-Id: I2a4a1873df0d05a2333a91cdaadf7a347905e717

4 years agoRun SPIR-V assembly type tests in compute shaders
Ricardo Garcia [Wed, 7 Aug 2019 12:10:38 +0000 (14:10 +0200)]
Run SPIR-V assembly type tests in compute shaders

Add *_comp variants for every SPIR-V assembly type test, making them run
in compute shaders in addition to graphical shader stages.

New tests:
dEQP-VK.spirv_assembly.type.*_comp

Components: Vulkan
VK-GL-CTS issue: 1914

Change-Id: Ia14b7ac03ad2522d02b1b178448d453c4e4901d1

4 years agoMake sure vkGetDescriptorSetLayoutSupport limits are tested
Ricardo Garcia [Wed, 10 Jul 2019 13:23:30 +0000 (15:23 +0200)]
Make sure vkGetDescriptorSetLayoutSupport limits are tested

The dEQP-VK.api.maintenance3_check.descriptor_set test tried several
descriptor set types and count combinations and checked if they falled
within acceptable limits. If they did not, no check was performed for
that combination. The test may have ended up passing with no check being
done because of that.

This commit makes the test combinatorial in nature and adds support for
inline uniform blocks in reasonable cases.

Affected tests:
dEQP-VK.api.maintenance3_check.descriptor_set

Components: Vulkan
VK-GL-CTS issue: 1879

Change-Id: Id641b53968b69b991af881a696918490fa4822be

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

4 years agoMerge "Merge vk-gl-cts/vulkan-cts-next-dev@46270b03 into vk-gl-cts/master"
Alexander Galazin [Thu, 19 Sep 2019 15:44:56 +0000 (11:44 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-next-dev@46270b03 into vk-gl-cts/master"

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 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 agoRemove 16-bit storage requirement from float16 func tests
Alan Baker [Fri, 23 Aug 2019 19:36:52 +0000 (15:36 -0400)]
Remove 16-bit storage requirement from float16 func tests

Reuse the load and store functions introduced for arithmetic tests to
avoid directly loading or storing 16-bit values.

Component: Vulkan

VK-GL-CTS issue: 1931

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

Change-Id: I72f5dd3b8ed991ba708e8358c60555a066c6ea9d

4 years agoMerge vk-gl-cts/vulkan-cts-next-dev@46270b03 into vk-gl-cts/master
Alexander Galazin [Thu, 19 Sep 2019 12:45:29 +0000 (14:45 +0200)]
Merge vk-gl-cts/vulkan-cts-next-dev@46270b03 into vk-gl-cts/master

Change-Id: Icdfc0febd1ce7dafa0ff44707ae6902685ed5a2d

4 years agoMerge "Merge vk-gl-cts/vulkan-cts-next-dev@c3a417fd into vk-gl-cts/master"
Alexander Galazin [Thu, 19 Sep 2019 11:40:02 +0000 (07:40 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-next-dev@c3a417fd into vk-gl-cts/master"

4 years agoMerge vk-gl-cts/vulkan-cts-next-dev@c3a417fd into vk-gl-cts/master
Alexander Galazin [Thu, 19 Sep 2019 10:09:25 +0000 (12:09 +0200)]
Merge vk-gl-cts/vulkan-cts-next-dev@c3a417fd into vk-gl-cts/master

Change-Id: Ifc09742c8098448b35071ab94c8fcf632f4f9f72

4 years agoUpdate headers to 1.1.123
Alexander Galazin [Wed, 18 Sep 2019 19:32:23 +0000 (21:32 +0200)]
Update headers to 1.1.123

Components: Vulkan

Change-Id: Ib7ac22758223861540d50b1fc3ff9ca15330a593

4 years agoUse unsized internal format in KHR-GLES2.texture_3d.[copy_sub_image|framebuffer_textu...
Tim Van Patten [Wed, 28 Aug 2019 18:15:23 +0000 (12:15 -0600)]
Use unsized internal format in KHR-GLES2.texture_3d.[copy_sub_image|framebuffer_texture].rgba8

These tests are using GL_RGBA8 as an internal format for TexImage2D.
Sized internal formats are not allowed for GLES 2.0.

Affects:
KHR-GLES2.texture_3d.copy_sub_image.rgba
KHR-GLES2.texture_3d.framebuffer_texture.rgba8

VK-GL-CTS issue: 1960

Change-Id: I8272e4ca0e2a9eda1161a5135e11f67b4ea5af6d

4 years agoTest minimum alignment for texel buffers.
Jeff Bolz [Wed, 5 Jun 2019 20:08:53 +0000 (15:08 -0500)]
Test minimum alignment for texel buffers.

For https://gitlab.khronos.org/vulkan/vulkan/issues/1705

If VK_EXT_texel_buffer_alignment is supported, compute the alignment for the
format, else use minTexelBufferOffsetAlignment.

Always use the minimum alignment for texel buffers in shader access tests.
Add variants of image load/store tests that use single texel alignment.

Components: Vulkan
Affects: dEQP-VK.binding_model.*offset_nonzero*
Affects: dEQP-VK.image*store*buffer*

Change-Id: I160c91b8c98ee4d518924e00e02770626763934c

4 years agoMerge "Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master"
Alexander Galazin [Wed, 18 Sep 2019 19:01:16 +0000 (15:01 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master"

4 years agoUse GL_MAX_3D_TEXTURE_SIZE_OES when testing textures 3D
Alejandro Piñeiro [Wed, 28 Aug 2019 22:12:52 +0000 (00:12 +0200)]
Use GL_MAX_3D_TEXTURE_SIZE_OES when testing textures 3D

Components: OpenGL-ES

VK-GL-CTS issue: 1962

Affects:
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_tex_image
KHR-GLES2.texture_3d.framebuffer_texture.negative

Change-Id: I1b721755da9fd02cd47d1abce670bc788abf8f61

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

Change-Id: I99b34ab4ebc31e530d24d61772bcada52e2637d4

4 years agoUse SAMPLE_ZERO resolve mode in imageless framebuffer test
John Anthony [Mon, 9 Sep 2019 10:03:44 +0000 (12:03 +0200)]
Use SAMPLE_ZERO resolve mode in imageless framebuffer test

Change imageless framebuffer depth+stencil resolve test to use
SAMPLE_ZERO resolve mode for both depth and stencil, as that resolve
mode is the only one required to be supported.

Affects: dEQP-VK.imageless_framebuffer.depth_stencil_resolve

Components: Vulkan

VK-GL-CTS Issue: 1984

Change-Id: Ib96d6d9f765b336afc2d02cd084ec3ba3c945196

4 years agoTest SPIRV comparison operations with 64-bit types
Ricardo Garcia [Tue, 23 Jul 2019 13:51:25 +0000 (15:51 +0200)]
Test SPIRV comparison operations with 64-bit types

Test every comparison operation with 64-bit floats, including all
ordered and unordered variants, as well as 64-bit signed and unsigned
integers.

Every operation is tested on single scalars as well as vectors, and made
to run in vertex, fragment and compute shaders, to take into account
some implementations may use different compilers for different stages.

New tests:
dEQP-VK.spirv_assembly.instruction.*.64bit_compare.*

Components: Vulkan
VK-GL-CTS issue: 1902

Change-Id: I804c12820334d7bfb23c3406833c952ae0e12b44

4 years agoEnable validation layers for custom devices and instances
Ricardo Garcia [Thu, 13 Jun 2019 09:43:52 +0000 (11:43 +0200)]
Enable validation layers for custom devices and instances

Honor the --deqp-validation=enable command line option in tests using
custom devices and instances.

Affected tests:
dEQP-VK.api.buffer.*
dEQP-VK.api.device_init.*
dEQP-VK.api.external.memory.*
dEQP-VK.api.info.*
dEQP-VK.api.object_management.*
dEQP-VK.api.version_check.*
dEQP-VK.compute.basic.*
dEQP-VK.compute.device_group.*
dEQP-VK.device_group.*
dEQP-VK.image.swapchain_mutable.*
dEQP-VK.memory.allocation.*
dEQP-VK.memory.device_group_allocation.*
dEQP-VK.multiview.*
dEQP-VK.pipeline.push_descriptor.*
dEQP-VK.protected_memory.*
dEQP-VK.robustness.*
dEQP-VK.sparse_resources.*
dEQP-VK.synchronization.basic.semaphore.*
dEQP-VK.synchronization.cross_instance.*
dEQP-VK.synchronization.internally_synchronized_objects.*
dEQP-VK.synchronization.op.multi_queue.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.synchronization.win32_keyed_mutex.*
dEQP-VK.wsi.*
dEQP-VK.ycbcr.format.*

Components: Vulkan
VK-GL-CTS issue: 1831

Change-Id: Id4f8f1d5053807740f3cb850554e9e80f5d7319b

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

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 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.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 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

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

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

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.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

4 years agoReduce long execution time in spirv_asm float16
Matthew Netsch [Wed, 28 Aug 2019 16:17:00 +0000 (12:17 -0400)]
Reduce long execution time in spirv_asm float16

Components: Vulkan
VK-GL-CTS Issue: 1959

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

Change-Id: Iddfa825ffe5bf32607043eb31b517dbba1ff62dc

4 years agoFix pixels_resolution computation in GLSL shader
Yanjun Zhang [Wed, 28 Aug 2019 00:35:26 +0000 (17:35 -0700)]
Fix pixels_resolution computation in GLSL shader

branch: vulkan-cts-1.1.3
Components: Vulkan

Affects:
dEQP-VK.image.texel_view_compatible.graphic.extended.*

VK-GL-CTS issue: 1890

Change-Id: I4aa3270545e0b873bdc8baacaf1fc3947004d003

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
Alexander Galazin [Thu, 29 Aug 2019 14:02:15 +0000 (16:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master

Change-Id: I3a8423407ccb77943a3ce85b6dfbfaf679508c49

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Thu, 29 Aug 2019 12:06:21 +0000 (14:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: Ic4d2bda684057e57ae78e3894e646a8b4653da74

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Thu, 29 Aug 2019 10:34:59 +0000 (12:34 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I75388239129fe489793729297b9aff59da4d77da

4 years agoexternal fence tests: account for sync fd -1 in multiple export case
Lingfeng Yang [Wed, 21 Aug 2019 15:45:10 +0000 (08:45 -0700)]
external fence tests: account for sync fd -1 in multiple export case

Spec allows for sync fd == -1 to be returned from vkGetFenceFdKHR
as a signal that the fence is signaled.

VK-GL-CTS issue: 1937

Components: Vulkan

Affects:
dEQP-VK.api.external.fence.sync_fd.export_multiple_times_temporary

Change-Id: I7391d180bdc1a585c7b57930fc1750d13f7151e1
(cherry picked from commit e266d2f1ee82d20c06c3c48064f60ac4fecd8b1d)

4 years agoExplicitly use -A Win32 platform in CMake Visual Studio 2019 builds
Slawomir Cygan [Fri, 23 Aug 2019 12:33:19 +0000 (14:33 +0200)]
Explicitly use -A Win32 platform in CMake Visual Studio 2019 builds

There is a new CMake switch "-A" for selecting a platform in
Visual Studion CMake generators.

It was set only for 64-bit builds (to x64), however it seems it does not
default to Win32 - so it must be set also for 32-bit builds.

Components: Framework

VK-GL-CTS Issue: 1950

Change-Id: I4d0e9f1a9c8dd0f3060e138f613c8e5326b6fc9f

4 years agodEQP-VK.graphicsfuzz.unreachable-barrier-in-loops
Alastair Donaldson [Tue, 16 Jul 2019 10:09:38 +0000 (11:09 +0100)]
dEQP-VK.graphicsfuzz.unreachable-barrier-in-loops

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.unreachable-barrier-in-loops

Change-Id: I2b24da2b4df4e446fe7ac716b0fdc159290137d9

4 years agoImprove verification in sampled image tests
Toni Merilehti [Thu, 25 Jul 2019 10:46:52 +0000 (13:46 +0300)]
Improve verification in sampled image tests

Currently the tests use texelFetch (OpImageFetch) to get sample colors
per texel from a multisampled image and verifies that the color is
either the clear color or the primitive color used. This CL makes
the verification more strict by requiring that at least some texels
have samples of both colors as the image used is multisampled.

Affects:

dEQP-VK.pipeline.multisample.sampled_image.*

Components: Vulkan

VK-GL-CTS issue: 1797

Change-Id: I266538cad5f655ad96eb7221fbdd601b8b055ae8

4 years agodEQP-VK.graphicsfuzz.struct-used-as-temporary
Alastair Donaldson [Thu, 15 Aug 2019 15:07:13 +0000 (16:07 +0100)]
dEQP-VK.graphicsfuzz.struct-used-as-temporary

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.struct-used-as-temporary

Change-Id: Icf9311a20bbe59302e0df1b75e07f18e5d788f91

4 years agodEQP-VK.graphicsfuzz.write-red-after-search
Alastair Donaldson [Fri, 16 Aug 2019 16:21:24 +0000 (17:21 +0100)]
dEQP-VK.graphicsfuzz.write-red-after-search

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.write-red-after-search

Change-Id: Ibf93d1408b29fcdb40acc6026457e355a0294d9f

4 years agoAdd a command line option to run a fraction of tests
Jeff Bolz [Tue, 16 Jul 2019 16:34:11 +0000 (11:34 -0500)]
Add a command line option to run a fraction of tests

This is useful to easily parallelize test runs across several CPU cores.
A command line option like --deqp-case-fraction=0,2 will run 1/2 of the
tests (use 1,2 in another process to run the other half).

Components: Framework
Change-Id: I0fd2755d5b6fe458c72c22930c24346decaccbb0

4 years agoUpdate dependency test
Alexander Galazin [Mon, 26 Aug 2019 14:47:34 +0000 (16:47 +0200)]
Update dependency test

Components: Vulkan

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

Change-Id: Ia034c1521edfe2bdf3770b06c3b19416675540fa

4 years agoAdds cubic filter to allowed ycbcr format features
Matthew Netsch [Mon, 26 Aug 2019 16:26:12 +0000 (12:26 -0400)]
Adds cubic filter to allowed ycbcr format features

Components: Vulkan
VK-GL-CTS Issue: 1938

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

Change-Id: I9f32b902820d7a50db9ae51a5ba61f8bab9042ba

4 years ago1d_image: enforce height 1 in decompress stage as well
Lingfeng Yang [Thu, 15 Aug 2019 22:41:23 +0000 (15:41 -0700)]
1d_image: enforce height 1 in decompress stage as well

Affects:
dEQP-VK.image.texel_view_compatible.compute.basic.1d_image*

Components: Vulkan

VK-GL-CTS issue: 1920

Change-Id: Id98f0a8dd132da5bcd6a3f1426021c8f36a48149

4 years agoRemove unnecessary 16-bit storage requirement
Alan Baker [Wed, 21 Aug 2019 14:42:44 +0000 (10:42 -0400)]
Remove unnecessary 16-bit storage requirement

Remove Vulkan 16-bit storage extension from float16 constant composite
tests. These tests do not load/store half floats.

Components: Vulkan

VK-GL-CTS issue: 1931

Affects:
dEQP-VK.spirv_assembly.instruction.compute.opconstantcomposite.*

Change-Id: I5dc26a8f2d922862f68eec01910164d827e9fd8a