platform/upstream/VK-GL-CTS.git
4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/master
Alexander Galazin [Thu, 30 Jan 2020 08:46:08 +0000 (09:46 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/master

Change-Id: Id86b6898a1b7e55b9e2f46e9b6dd085dcb64c5da

4 years agoDeprecation notice for Vulkan CTS 1.1.3.x
Alexander Galazin [Fri, 24 Jan 2020 09:04:13 +0000 (10:04 +0100)]
Deprecation notice for Vulkan CTS 1.1.3.x

Components: Vulkan

Change-Id: Ib1e2374a11dfc789f97d54ac2f866315354c56de

4 years agoAdd more format feature verification
Samuel Iglesias Gonsálvez [Thu, 16 Jan 2020 15:07:25 +0000 (16:07 +0100)]
Add more format feature verification

Some bits were missing when checking the formats have the required
features.

Components: Vulkan
VK-GL-CTS issue: 2167

Affected tests:

   dEQP-VK.api.info.format_properties.*

Change-Id: I411800c341b70b91bbffc2544adb5107fce62941

4 years agoRemove duplicated code that handles Android hardware buffer
Samuel Iglesias Gonsálvez [Fri, 24 Jan 2020 07:04:54 +0000 (08:04 +0100)]
Remove duplicated code that handles Android hardware buffer

It is the same code than the previous if case.

Components: Vulkan

Change-Id: Idda2bc40087f9ec4ea7b045cfcbb5bad1e4993e5

4 years agodEQP-VK.graphicsfuzz.cov-folding-rules-construct-extract
Ari Suonpaa [Wed, 15 Jan 2020 05:35:21 +0000 (07:35 +0200)]
dEQP-VK.graphicsfuzz.cov-folding-rules-construct-extract

New Tests:

dEQP-VK.graphicsfuzz.cov-folding-rules-construct-extract

Components: Vulkan
Change-Id: I64c367531f27a21504d6ae199a59c9174d0dd255

4 years agodEQP-VK.graphicsfuzz.cov-folding-rules-merge-sub-sub
Ari Suonpaa [Mon, 13 Jan 2020 11:45:56 +0000 (13:45 +0200)]
dEQP-VK.graphicsfuzz.cov-folding-rules-merge-sub-sub

New Tests:

dEQP-VK.graphicsfuzz.cov-folding-rules-merge-sub-sub

Components: Vulkan
Change-Id: Ifa40ccd7af98d1cd9da8b464097dab948261bb21

4 years agodEQP-VK.graphicsfuzz.cov-fold-logical-and-const-variable
Ari Suonpaa [Tue, 7 Jan 2020 06:35:47 +0000 (08:35 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-logical-and-const-variable

New tests:

dEQP-VK.graphicsfuzz.cov-fold-logical-and-const-variable

Components: Vulkan
Change-Id: I0a994b109d8074d6de9cd54c36a5532b6b65f672

4 years agodEQP-VK.graphicsfuzz.cov-fold-switch-udiv
Ari Suonpaa [Wed, 15 Jan 2020 06:06:52 +0000 (08:06 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-switch-udiv

New Tests:

dEQP-VK.graphicsfuzz.cov-fold-switch-udiv

Components: Vulkan
Change-Id: Ie5ed55013ad4a432c972c38de80849dda42b9885

4 years agoAlways use GLSL version 450 for Vulkan testing
Graeme Leese [Mon, 17 Jun 2019 12:20:16 +0000 (13:20 +0100)]
Always use GLSL version 450 for Vulkan testing

Since this isn't going to be consumed by the driver there's no
compatibility cost to just using high version for everything. Not having
the code for choosing the version is better for those reading and
maintaining the code and sets a better example for future code.

Components: Vulkan
Affects: dEQP-VK.glsl.texture_functions.*

Change-Id: I461d12b33acd7bc4039b09882ed98d9b9a46f49e

4 years agodEQP-VK.graphicsfuzz.cov-fold-logical-and-constant
Ari Suonpaa [Tue, 7 Jan 2020 06:33:18 +0000 (08:33 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-logical-and-constant

New tests:

dEQP-VK.graphicsfuzz.cov-fold-logical-and-constant

Components: Vulkan
Change-Id: Ia92837a69775fba4838687ebcb3fbdb0c096c7ce

4 years agoMerge vk-gl-cts/github-master into vk-gl-cts/master
Alexander Galazin [Wed, 29 Jan 2020 08:12:46 +0000 (09:12 +0100)]
Merge vk-gl-cts/github-master into vk-gl-cts/master

Change-Id: I94f35958ac691838f594ad47f12ba98101fc6eb0

4 years agodEQP-VK.graphicsfuzz.cov-folding-rules-merge-add-sub
Ari Suonpaa [Mon, 13 Jan 2020 11:39:43 +0000 (13:39 +0200)]
dEQP-VK.graphicsfuzz.cov-folding-rules-merge-add-sub

New Tests:

dEQP-VK.graphicsfuzz.cov-folding-rules-merge-add-sub

Components: Vulkan
Change-Id: Ic5eade3ee62cfa0692503cc24f2e7e56a652c25e

4 years agoMerge pull request #166 from werman/fix/gl31/gl3cTextureSizePromotion
Alexander Galazin [Tue, 28 Jan 2020 11:28:35 +0000 (12:28 +0100)]
Merge pull request #166 from werman/fix/gl31/gl3cTextureSizePromotion

Fix texture_size_promotion failures with OpenGL 3.1

4 years agodEQP-VK.graphicsfuzz.cov-fold-div-variable-by-zero
Ari Suonpaa [Tue, 7 Jan 2020 07:00:49 +0000 (09:00 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-div-variable-by-zero

New tests:

dEQP-VK.graphicsfuzz.cov-fold-div-variable-by-zero

Components: Vulkan
Change-Id: I04911eadf7bed8243b800b5fdca3b6bd41e9c942

4 years agodEQP-VK.graphicsfuzz.cov-fold-shift-right-arithmetic
Ari Suonpaa [Fri, 3 Jan 2020 12:46:07 +0000 (14:46 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-shift-right-arithmetic

New tests:

dEQP-VK.graphicsfuzz.cov-fold-shift-right-arithmetic

Components: Vulkan
Change-Id: I11f37cc5ef387f6b37ca6a1810a8a962d435c727

4 years agodEQP-VK.graphicsfuzz.cov-fold-div-uniform-by-zero
Ari Suonpaa [Tue, 7 Jan 2020 06:58:06 +0000 (08:58 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-div-uniform-by-zero

New tests:

dEQP-VK.graphicsfuzz.cov-fold-div-uniform-by-zero

Components: Vulkan
Change-Id: I6296f2d9f33d5fbe92e9a7d6c0908e4ddc34d3f6

4 years agodEQP-VK.graphicsfuzz.cov-fold-bitwise-xor
Ari Suonpaa [Fri, 3 Jan 2020 12:50:09 +0000 (14:50 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-bitwise-xor

New tests:

dEQP-VK.graphicsfuzz.cov-fold-bitwise-xor

Components: Vulkan
Change-Id: I63d60814a8a44693cda3f651c4d3c68ec10da9ad

4 years agodEQP-VK.graphicsfuzz.cov-fold-negate-variable
Ari Suonpaa [Fri, 3 Jan 2020 12:42:35 +0000 (14:42 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-negate-variable

New tests:

dEQP-VK.graphicsfuzz.cov-fold-negate-variable

Components: Vulkan
Change-Id: Ib16c2a70151bc62a27a5e4d3fcea85bcdcbf5d0c

4 years agodEQP-VK.graphicsfuzz.cov-const-folding-clamp-min
Ari Suonpaa [Mon, 23 Dec 2019 11:44:53 +0000 (13:44 +0200)]
dEQP-VK.graphicsfuzz.cov-const-folding-clamp-min

New tests:

dEQP-VK.graphicsfuzz.cov-const-folding-clamp-min

Components: Vulkan
Change-Id: Idade5e8347a4e82c76aea22a428b648ab54002e3

4 years agodEQP-VK.graphicsfuzz.cov-copy-prop-arrays-param-uniform
Ari Suonpaa [Tue, 7 Jan 2020 06:30:02 +0000 (08:30 +0200)]
dEQP-VK.graphicsfuzz.cov-copy-prop-arrays-param-uniform

New tests:

dEQP-VK.graphicsfuzz.cov-copy-prop-arrays-param-uniform

Components: Vulkan
Change-Id: Ie0c4de10a022f2ecddfe9757f2d2b4a3293a6367

4 years agodEQP-VK.graphicsfuzz.cov-const-folding-clamp-max
Ari Suonpaa [Mon, 23 Dec 2019 11:26:56 +0000 (13:26 +0200)]
dEQP-VK.graphicsfuzz.cov-const-folding-clamp-max

New tests:

dEQP-VK.graphicsfuzz.cov-const-folding-clamp-max

Components: Vulkan
Change-Id: I9d621705ccfd5ea1f3239b68e93a7100a1fc3be0

4 years agodEQP-VK.graphicsfuzz.cov-copy-prop-arrays-func-argument
Ari Suonpaa [Tue, 7 Jan 2020 06:26:51 +0000 (08:26 +0200)]
dEQP-VK.graphicsfuzz.cov-copy-prop-arrays-func-argument

New tests:

dEQP-VK.graphicsfuzz.cov-copy-prop-arrays-func-argument

Components: Vulkan
Change-Id: Ifccb9811d04d16592e2fe35c258cad94dc4ad62b

4 years agodEQP-VK.graphicsfuzz.cov-fold-logical-or-constant
Ari Suonpaa [Tue, 7 Jan 2020 07:03:02 +0000 (09:03 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-logical-or-constant

New tests:

dEQP-VK.graphicsfuzz.cov-fold-logical-or-constant

Components: Vulkan
Change-Id: I3a4785e58cb6eaaf31505d20d1ef0330d43dd40b

4 years agodEQP-VK.graphicsfuzz.cov-copy-prop-arrays-no-stores
Ari Suonpaa [Fri, 3 Jan 2020 12:33:21 +0000 (14:33 +0200)]
dEQP-VK.graphicsfuzz.cov-copy-prop-arrays-no-stores

New tests:

dEQP-VK.graphicsfuzz.cov-copy-prop-arrays-no-stores

Components: Vulkan
Change-Id: Ia4e08abd39847d8648e96e70cd2eb793cabcfa00

4 years agodEQP-VK.graphicsfuzz.cov-const-folding-dot-condition-true
Ari Suonpaa [Fri, 27 Dec 2019 11:20:53 +0000 (13:20 +0200)]
dEQP-VK.graphicsfuzz.cov-const-folding-dot-condition-true

New tests:

dEQP-VK.graphicsfuzz.cov-const-folding-dot-condition-true

Components: Vulkan
Change-Id: Ia8da819dd075704c8557590ea1236917e5dd886a

4 years agoMerge "Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master"
Alexander Galazin [Thu, 23 Jan 2020 16:37:20 +0000 (11:37 -0500)]
Merge "Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master"

4 years agodEQP-VK.graphicsfuzz.uv-value-comparison-as-boolean
Venni Ihanakangas [Tue, 19 Nov 2019 07:40:52 +0000 (09:40 +0200)]
dEQP-VK.graphicsfuzz.uv-value-comparison-as-boolean

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.uv-value-comparison-as-boolean

Change-Id: Id36f1477d728cdab7f19eb7477baef8ec78c06b1

4 years agodEQP-VK.graphicsfuzz.injection-switch-as-comparison
Venni Ihanakangas [Mon, 16 Dec 2019 12:16:09 +0000 (14:16 +0200)]
dEQP-VK.graphicsfuzz.injection-switch-as-comparison

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.injection-switch-as-comparison

Change-Id: I28735bed4508d04c9f88397e4b028e5b4e5bad27

4 years agoMerge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Alexander Galazin [Thu, 23 Jan 2020 11:06:38 +0000 (12:06 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master

Change-Id: I6c93bbf972e69bc0a3f33a8b70da986085a5104f

4 years agoMerge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/opengl-es-cts-3.2.6
Alexander Galazin [Thu, 23 Jan 2020 08:41:23 +0000 (09:41 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/opengl-es-cts-3.2.6

Change-Id: I0eff6803c285cd39b3f6eab0343522f48c1701cf

4 years agodEQP-VK.graphicsfuzz.cov-dead-code-unreachable-merge
Ari Suonpaa [Fri, 20 Dec 2019 13:09:47 +0000 (15:09 +0200)]
dEQP-VK.graphicsfuzz.cov-dead-code-unreachable-merge

New Tests:

dEQP-VK.graphicsfuzz.cov-dead-code-unreachable-merge

Components: Vulkan
Change-Id: If288a53195dc3cc7463260056a33286ff9610f8a

4 years agoAdd tests recording multisubpass renderpass instances
Samuel Iglesias Gonsálvez [Fri, 13 Dec 2019 07:10:18 +0000 (08:10 +0100)]
Add tests recording multisubpass renderpass instances

As an implementation could store the current subpass index in the wrong
place, there could be issues when recording multi-subpass renderpass
instances into multiple command buffers simultaneously.

Components: Vulkan
VK-GL-CTS issue: 1942

Added tests:

   dEQP-VK.renderpass*.multiple_subpasses_multiple_command_buffers.test

Change-Id: I475ab8993486d1c58a20aed036e568b6f602bc01

4 years agodEQP-VK.graphicsfuzz.cov-fold-bitwise-and-zero
Ari Suonpaa [Wed, 15 Jan 2020 06:15:08 +0000 (08:15 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-bitwise-and-zero

New Tests:

dEQP-VK.graphicsfuzz.cov-fold-bitwise-and-zero

Components: Vulkan
Change-Id: I13bd8b897db2338590de9253e84722dcdb302e06

4 years agodEQP-VK.graphicsfuzz.nested-for-break-mat-color
Paul Thomson [Wed, 15 Jan 2020 14:09:20 +0000 (14:09 +0000)]
dEQP-VK.graphicsfuzz.nested-for-break-mat-color

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.nested-for-break-mat-color

Change-Id: I369ec647b0730cbf8863fb6bb597793734ced087

4 years agodEQP-VK.graphicsfuzz.global-array-loops
Paul Thomson [Wed, 15 Jan 2020 16:03:36 +0000 (16:03 +0000)]
dEQP-VK.graphicsfuzz.global-array-loops

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.global-array-loops

Change-Id: Icd9b68e77695f2ae01a085897fcd15225e90b0e7

4 years agoTest creation of overly large buffers
Piotr Byszewski [Thu, 5 Dec 2019 15:02:40 +0000 (16:02 +0100)]
Test creation of overly large buffers

Components: Vulkan

VK-GL-CTS issue: 2121

Affects:
dEQP-VK.api.buffer.basic.size_max_uint64

Change-Id: I19fe99b64e60fd4e3c5488da3a7c3acf25dbb080

4 years agoOpenGL ES: Use shader storage alignment
Courtney Goeltzenleuchter [Tue, 17 Dec 2019 14:40:46 +0000 (07:40 -0700)]
OpenGL ES: Use shader storage alignment

Affected Test:
  KHR-GLES31.core.shader_storage_buffer_object.advanced-switchBuffers-vs

Components: OpenGL ES
VK-GL-CTS issue: 2151

Change-Id: If427cad30ac36cc96a29f936e2ef7a0c4a301667

4 years agoMigrate deRoundUp32 to deInt32.h
Courtney Goeltzenleuchter [Fri, 20 Dec 2019 20:29:38 +0000 (13:29 -0700)]
Migrate deRoundUp32 to deInt32.h

deRoundUp32 is used in a number of places, promote to utility function.

Components: OpenGL ES
VK-GL-CTS issue: 2151

Change-Id: I26a648f3c228564c6d269e211a9cb7115b7fcbbe

4 years agoInitialize gl_PointSize if the test draws points
Amy Liu [Tue, 14 Jan 2020 08:34:30 +0000 (16:34 +0800)]
Initialize gl_PointSize if the test draws points

From GLSL specification: "If gl_PointSize is not written to,
its value is undefined in subsequent pipe stages"

Affects:

dEQP-GLES3.functional.primitive_restart.basic.points.*
dEQP-GLES3.functional.fragment_ops.scissor.partial_points

Components: AOSP

VK-GL-CTS issue: 2161

Change-Id: I3016287f7e55331522d6a7a8d562d8b57ab27e43

4 years agoFix image checking for sparse image binding tests
Pawel Ksiezopolski [Thu, 14 Nov 2019 13:56:21 +0000 (14:56 +0100)]
Fix image checking for sparse image binding tests

vkGetPhysicalDeviceSparseImageFormatProperties() function
should only be used for SPARSE_RESIDENCY images.
Removed function call for SPARSE_BINDING tests.

Affects:
dEQP-VK.sparse_resources.image_sparse_binding.*

Components: Vulkan

VK-GL-CTS issue: 2093

Change-Id: I280768df12e99b16060eb9220157e792d1ede65e

4 years agoMerge vk-gl-cts/github-master into vk-gl-cts/master
Alexander Galazin [Sun, 19 Jan 2020 10:52:16 +0000 (11:52 +0100)]
Merge vk-gl-cts/github-master into vk-gl-cts/master

Change-Id: I2256e323016cbd539deb79d0bc6d208da1698aaf

4 years agoMerge pull request #173 from krOoze/acquire_test
Alexander Galazin [Sun, 19 Jan 2020 10:36:03 +0000 (11:36 +0100)]
Merge pull request #173 from krOoze/acquire_test

Add tests of VkSwapchain acquiring too many images

4 years agoMerge vk-gl-cts/vulkan-cts-next-dev into vk-gl-cts/master
Alexander Galazin [Fri, 17 Jan 2020 09:07:59 +0000 (10:07 +0100)]
Merge vk-gl-cts/vulkan-cts-next-dev into vk-gl-cts/master

Change-Id: I0b8416a57af7db43786475fe1f6e846eb100457c

4 years agoFix use of pointer to stack allocated struct
Tyler Schicke [Wed, 15 Jan 2020 00:47:57 +0000 (16:47 -0800)]
Fix use of pointer to stack allocated struct

The dEQP-VK.wsi.display_control.swapchain_counter test's
createSwapchainConfig was returning a struct containing a pointer to
another struct that was stack allocated, so after the return that
pointer is no longer valid.

This change stores the inner struct in the SwapchainCounterTestInstance
instead of on the stack of createSwapchainConfig, and uses a pointer to
that struct, which remains valid while the test runs.

Components: Vulkan

VK-GL-CTS issue: 2184

Affects:
dEQP-VK.wsi.display_control.swapchain_counter

Change-Id: I8e83f810427167113e5cee843cbafda237606dcf

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/master
Alexander Galazin [Thu, 16 Jan 2020 17:51:40 +0000 (18:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/master

Change-Id: I05f8e0d8240f265b9e150f37e580850e7a259a08

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Thu, 16 Jan 2020 14:24:27 +0000 (15:24 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: I84a900086c6b01e5dda04b34aaf1b946cad1750d

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 16 Jan 2020 13:57:08 +0000 (14:57 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ieecd67926b70899b5a7ecb8685e51a2597e0d889

4 years agoReport Windows EOLs as a failure under Windows
Boris Zanin [Tue, 7 Jan 2020 14:59:35 +0000 (15:59 +0100)]
Report Windows EOLs as a failure under Windows

Make Python 3 to validate line endings under Windows.
We should specify additional parameter to make Python
to keep line endings for the script to analyze.

Components: vulkan

VK-GL-CTS issue: 1665

Change-Id: Ifde3ffb95009d7e0e7c09edced1bf7ef3779db74

4 years agoRun SPIR-V builtin precision tests on 64-bit floats
Ricardo Garcia [Fri, 9 Aug 2019 12:20:51 +0000 (14:20 +0200)]
Run SPIR-V builtin precision tests on 64-bit floats

This commit makes SPIR-V builtin instruction precision tests run on
64-bit floating point values.

It also fixes a few bugs and makes some small changes, hence marking all
precision tests as affected.

New tests:
dEQP-VK.glsl.builtin.precision_double.*

Affected tests:
dEQP-VK.glsl.builtin.precision*

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

Change-Id: I57338af22076322726c7c907ba85e561af7b3e05

4 years agoTest SpecConstantOp/CompositeInsert in arrays and structs
Ricardo Garcia [Wed, 11 Dec 2019 16:34:50 +0000 (17:34 +0100)]
Test SpecConstantOp/CompositeInsert in arrays and structs

This commit modifies the SpecConstantOp test with CompositeInsert in
vectors so it also uses CompositeInsert with arrays and structs, a
combination that was not being tested, and makes test results also
depend on correct execution of the new instructions.

Affected tests:
dEQP-VK.spirv_assembly.instruction.*.opspecconstantop.vector_related*

Components: Vulkan
VK-GL-CTS issue: 2147

Change-Id: I77a29c8b1e4443d3bd4f251ae04c77f451c3405f

4 years agoUpdate SPIR-V Tools
Alexander Galazin [Wed, 15 Jan 2020 16:31:47 +0000 (17:31 +0100)]
Update SPIR-V Tools

Components: Framework

Change-Id: I587a0a0703ee15d308566102ad31d3cc3d3b5edb

4 years agoAdd tests of VkSwapchain acquiring too many images
Petr Kraus [Wed, 13 Nov 2019 23:01:44 +0000 (00:01 +0100)]
Add tests of VkSwapchain acquiring too many images

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Wed, 15 Jan 2020 11:49:50 +0000 (12:49 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I6f126fba1d44cfaa9b91d67555f8b37acc57637d

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Wed, 15 Jan 2020 10:41:26 +0000 (11:41 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: Id02e3ec3375ebdb8642e28b334ef3a42158c904a

4 years agoAdd memory barrier to fragment shader interlock tests.
Szymon Szczyrbak [Tue, 14 Jan 2020 12:40:51 +0000 (13:40 +0100)]
Add memory barrier to fragment shader interlock tests.

Image or buffer written by GPU are copied to host-visible buffer used to
verify test's results.
Added a TRANSFER_WRITE/HOST_READ pipeline barrier to make sure that the data
accessed by host is up-to-date.

Component: Vulkan

Affects: dEQP-VK.fragment_shader_interlock.basic.*

VK-GL-CTS Issue: 2165

Change-Id: I6d458b2e650a3813e62948d670b8a53e864aed37

4 years agoModify test line position in LinesTestInstance::generateLines()
Juan A. Suarez Romero [Wed, 8 Jan 2020 11:58:40 +0000 (11:58 +0000)]
Modify test line position in LinesTestInstance::generateLines()

This slightly change a test line position in order to fix
dEQP-VK.rasterization.primitives.no_stipple.smooth_lines_wide, to avoid
a false failure according to comments in CL#5152.

Affects: dEQP-VK.rasterization.primitives.*

Components: Vulkan

Change-Id: Ie8bde1d1d32f76939ce4a4ba21aaec4c471edd63

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 14 Jan 2020 09:05:34 +0000 (10:05 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I6786178171047f7bb790e4bb3f97539f1c9f314a

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 14 Jan 2020 07:51:12 +0000 (08:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I91079781c52f5bbb325ce987f9bd7aeea450f388

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Tue, 14 Jan 2020 06:50:35 +0000 (07:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I968d4cdd3c04321a4ff2544597203c77589a4d45

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 13 Jan 2020 19:51:00 +0000 (20:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I04f9f2bf7d4c1f75bd19279465d7e192cb50ca72

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Mon, 13 Jan 2020 17:28:05 +0000 (18:28 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: I0997c33ed5207880e09439a2fdd7a77d1f902bc5

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Mon, 13 Jan 2020 17:26:53 +0000 (18:26 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I543ba324319cd3d227400be69d1d02bc323e6c0e

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Mon, 13 Jan 2020 14:34:33 +0000 (15:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I654934956a489ddcdec47ac8fc3e2fe638929950

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Mon, 13 Jan 2020 14:33:52 +0000 (15:33 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: Ifc85777682563e4ec769d2b32dbb4b3584a649a5

4 years agoAllow tests to pass with a ES3+ context.
Emmanuel Tanguy [Mon, 7 Oct 2019 12:49:25 +0000 (13:49 +0100)]
Allow tests to pass with a ES3+ context.

Setting gl_MaxDrawBuffers ref value to GL_MAX_DRAW_BUFFERS for ES3 context.

Reduce code duplication where the same check exists in other tests.

Components: OpenGL ES

VK-GL-CTS issue: 2011

Affected tests:
dEQP-GLES2.functional.shaders.builtin_variable.max_draw_buffers_vertex
dEQP-GLES2.functional.shaders.builtin_variable.max_draw_buffers_fragment
dEQP-GLES2.functional.negative_api.buffer.framebuffer_texture2d
dEQP-GLES2.functional.texture.mipmap.cube.*

Change-Id: I6c5e522940256c98b54e5533f29fdafeac60a256
(cherry picked from commit 96d4f7bafa35a9567eef5c4d7658a316837b8a0b)

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Mon, 13 Jan 2020 12:10:10 +0000 (13:10 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I420bc4aa41a2f7a67434b4f674c3d3aa161dc6c3

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Mon, 13 Jan 2020 10:54:20 +0000 (11:54 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: Id9ed312f96fa266a0e3809211b14566ece03e791

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Alexander Galazin [Mon, 13 Jan 2020 09:45:56 +0000 (10:45 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3

Change-Id: I37d5b18d5980372057827bc4435239be98fd30bc

4 years agoFix SPIR-V assembly tests with bad cfgs
Alan Baker [Mon, 25 Nov 2019 18:03:36 +0000 (13:03 -0500)]
Fix SPIR-V assembly tests with bad cfgs

* Update SPIR-V assembly tests to not declare a continue target as a
merge block

Component: Vulkan

VK-GL-CTS Issue: 2122

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_loop_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.multi_block_continue_construct*
dEQP-VK.spirv_assembly.instruction.graphics.loop.continue*
dEQP-VK.spirv_assembly.instruction.graphics.loop.break*
dEQP-VK.spirv_assembly.instruction.graphics.loop.return*

Change-Id: I370331414aae27b53ed79b448b72581e2352c3d7

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sun, 5 Jan 2020 11:50:56 +0000 (14:50 +0300)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I848936309a3dff9b27ccee2fc1eddc785d87ef6c

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sun, 5 Jan 2020 11:17:10 +0000 (14:17 +0300)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I5ef4fab8334c908c996573a0fec9ec80f33f0788

4 years agoExtend multiview/occlusion queries tests
Piotr Byszewski [Tue, 10 Dec 2019 16:47:57 +0000 (17:47 +0100)]
Extend multiview/occlusion queries tests

Adds tests for multiview interaction with non-precise occlusion
queries.

Components: Vulkan

VK-GL-CTS issue: 1943

Affects:
dEQP-VK.multiview.queries.*
dEQP-VK.multiview.non_precise_queries.*
dEQP-VK.multiview.renderpass2.queries.*
dEQP-VK.multiview.renderpass2.non_precise_queries.*

Change-Id: Iff69f640fd62a949cba9660c20838167e8ce5bfb

4 years agodEQP-VK.graphicsfuzz.switch-case-with-undefined-expression
Venni Ihanakangas [Mon, 16 Dec 2019 11:01:31 +0000 (13:01 +0200)]
dEQP-VK.graphicsfuzz.switch-case-with-undefined-expression

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.switch-case-with-undefined-expression

Change-Id: Ifc03b32c6e77ea067af4117397b54f19670dcdcd

4 years agodEQP-VK.graphicsfuzz.return-inside-loop-in-function
Venni Ihanakangas [Mon, 16 Dec 2019 11:23:51 +0000 (13:23 +0200)]
dEQP-VK.graphicsfuzz.return-inside-loop-in-function

Components: Vulkan

New Tests:

dEQP-VK.graphicsfuzz.return-inside-loop-in-function

Change-Id: Iecac2b9b639402b1bdfae3f23de5472271f55e5a

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Sun, 5 Jan 2020 10:06:15 +0000 (13:06 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: If9768a5f553036d5fc3e5fc52051368a37481f08

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Sun, 5 Jan 2020 10:04:42 +0000 (13:04 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: Ic25e82563986f46ea4a8b9356d0579f299740420

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Sun, 5 Jan 2020 09:19:26 +0000 (12:19 +0300)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I287aadcb16a73697d29d1d13f8de019c0508defd

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Sun, 5 Jan 2020 08:33:44 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: Id7608050ab3f1c5ce3d26a1480af0de7d90d75ff

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Sun, 5 Jan 2020 08:33:03 +0000 (11:33 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: I5ebdf2135fdd096d8d35da3ba7d489270f30eba5

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Alexander Galazin [Sun, 5 Jan 2020 07:48:47 +0000 (10:48 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5

Change-Id: I51213fc50189215a04c9206a8b805962052235cb

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Alexander Galazin [Sun, 5 Jan 2020 06:36:56 +0000 (09:36 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4

Change-Id: I2a051b8a36b997c3f904ddd78657de8c1719a53b

4 years agoAllows NaNs in an assert
Matthew Netsch [Fri, 20 Dec 2019 20:46:11 +0000 (15:46 -0500)]
Allows NaNs in an assert

Components: Vulkan
VK-GL-CTS Issue: 2103

Affects:
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_*

Change-Id: I5848660d120b5a4a07df589a74f47b8ca30befb5

4 years agoAdds subgroup ops stage check
Matthew Netsch [Fri, 20 Dec 2019 20:43:04 +0000 (15:43 -0500)]
Adds subgroup ops stage check

Components: Vulkan
VK-GL-CTS Issue: 2084

Affects:
dEQP-VK.memory_model.message_passing.*.subgroup.*
dEQP-VK.memory_model.write_after_read.ext.*.subgroup.*

Change-Id: Ibb820b4d3de1782bc844f3eb32b6e752745e9976

4 years agoFix some bugs for EGL cases
Jian Li [Mon, 9 Dec 2019 05:24:05 +0000 (13:24 +0800)]
Fix some bugs for EGL cases

eglTerminate() wasn't called in proper sequence.
Resource wasn't released properly for not supported cases.

Affects:

dEQP-EGL.functional.image.*
dEQP-EGL.functional.resize.*
dEQP-EGL.functional.buffer_age.*
dEQP-EGL.functional.partial_update.*

Components: AOSP

VK-GL-CTS issue: 2153

Change-Id: Ic0a82aa176b9a8344f757916d61ea8f64c58eca5

4 years agoUse VK_FORMAT_R32G32_UINT in unused attachment sparse filling tests
Chris Forbes [Thu, 19 Dec 2019 22:09:31 +0000 (14:09 -0800)]
Use VK_FORMAT_R32G32_UINT in unused attachment sparse filling tests

VK_FORMAT_R16G16_UINT is not guaranteed to be supported as a storage
image. Use something that is.

VK-GL-CTS Issue: 2155
Components: Vulkan
Affects: dEQP-VK.renderpass.suballocation.attachment_sparse_filling.*

Change-Id: I9a116f824aa8ca00c2bf174b8786c8f9ae2cdafa

4 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 23 Dec 2019 08:29:55 +0000 (09:29 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ia77aacd61e797a2d68f03ae19aaee4f3a4568bcd

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sat, 21 Dec 2019 14:11:11 +0000 (15:11 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: If270234dc06580cfeeed71c07920829576431fed

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Sat, 21 Dec 2019 11:24:10 +0000 (12:24 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: I30fda495247058cbc41eff78d875a633748f28ff

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Sat, 21 Dec 2019 11:23:06 +0000 (12:23 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I4b8288ca5eab177cd2a6c2684a78a6cf8786b739

4 years agoRe-enable tests
Alexander Galazin [Sat, 21 Dec 2019 09:50:50 +0000 (10:50 +0100)]
Re-enable tests

Change-Id: Ic4d90d99b69ef931ba2f3f49538201762eb6746e

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Sat, 21 Dec 2019 09:34:14 +0000 (10:34 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I68bfd98e153ba71f563004668c1cf56aa429b57d

4 years agoUpdate SPIR-V Tools
Alexander Galazin [Wed, 18 Dec 2019 18:56:23 +0000 (19:56 +0100)]
Update SPIR-V Tools

Components: Framework

Change-Id: Ifef943741a8d8532f5c289e8121d6c503a0a537d

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Fri, 20 Dec 2019 20:56:09 +0000 (21:56 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I8c1f03c690605b73d41577eb715fc439c30e19e9

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 20 Dec 2019 20:55:23 +0000 (21:55 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I54ba10b36ec4fabe9d4c9d6ff66857c8e2bbef62

4 years agoAccount for VS executing more than once when atomics are used.
Matthew Netsch [Fri, 4 Oct 2019 15:46:04 +0000 (11:46 -0400)]
Account for VS executing more than once when atomics are used.

Components: Vulkan

Affects: dEQP-VK.glsl.opaque_type_indexing.atomic_counter.*
         dEQP-VK.glsl.atomic_operations.*

Change-Id: I15eabf9b47af204fd13370efdc323af141b6b11b

4 years agoMerge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Alexander Galazin [Fri, 20 Dec 2019 15:20:52 +0000 (16:20 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1

Change-Id: I5e885ca6903eb166df83a1387c5592559e7df469

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master
Alexander Galazin [Fri, 20 Dec 2019 14:59:20 +0000 (15:59 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/master

Change-Id: I35a136bf885def6a7aa1222b4c54433f2d8723fc

4 years agoAdd buffer reference comparison tests
Ricardo Garcia [Wed, 23 Oct 2019 09:46:15 +0000 (11:46 +0200)]
Add buffer reference comparison tests

This commit adds tests to convert buffer references to both uint64_t and
uvec2 and compare them against zero and against other references.

In addition, new test variants also check cross conversions, i.e., when
a reference is loaded as a uint64_t and later converted to uvec2 or vice
versa.

New tests:
dEQP-VK.binding_model.buffer_device_address.*.convertchecku64.*
dEQP-VK.binding_model.buffer_device_address.*.convertcheckuv2.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertu2p.*
dEQP-VK.binding_model.buffer_device_address.*.crossconvertp2u.*

Components: Vulkan
VK-GL-CTS issue: 1968

Change-Id: I4ae5b66473953097a52f169e5b8c425647eedb2c
(cherry picked from commit d0ee43aaa980dab94ed247e467999864373868d8)

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Alexander Galazin [Fri, 20 Dec 2019 12:51:17 +0000 (13:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0

Change-Id: If326d580f29fd87e9e72e81a11a39e8629d35bb5

4 years agoMerge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Alexander Galazin [Fri, 20 Dec 2019 12:50:25 +0000 (13:50 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6

Change-Id: I0f9446b635621472d72566a6176c7d0c00306263