Ari Suonpaa [Wed, 29 Jan 2020 06:50:45 +0000 (08:50 +0200)]
Prevent empty images from passing rasterization tests
Some of the rasterization tests passed even when skipping
primitive drawing. Narrow lines had only edge pixels and
those are not verified because the implementations may
vary. Now a sanity check is performed in all cases to
prevent empty results from passing.
New tests:
dEQP-VK.rasterization.*
dEQP-GLES*.functional.rasterization.*
Components: Framework, Vulkan, OpenGL ES
VK-GL-CTS issue: 2168
Change-Id: I8df0a7a9490253e1f825697420b22cd9f15f3986
Graeme Leese [Mon, 16 Dec 2019 18:52:03 +0000 (18:52 +0000)]
Simplify the test code for ballot bit counts
The old code was quite obscure and had many references to 'Undef'
despite nothing really being undefined. The 'undefTerritory' that was
referred to was actually places where the result should be 0.
The test was also doing one extra loop iteration (i == 128) which
duplicated the prior test for 'allZeros'.
This change highlights the fact that there is no testing that these are
returning the correct results. They are only ever checking whether the
result is 0 or not.
Components: Vulkan
VK-GL-CTS issue: 2192
Affects: dEQP-VK.subgroups.ballot_other.*bitcount*
Change-Id: I0e1f91b60f103311d0b75748ff21ac6005e01cfd
Graeme Leese [Fri, 14 Jun 2019 17:01:34 +0000 (18:01 +0100)]
Use float16 precision for testing mediump
The precision requirements for mediump are not in the spec, they're just
for the conformance test, so it makes sense to use the simplest thing.
Allow the same error margins for mediump's 16-bit as for true 16-bit
floats. This slightly increases the precision requirements on mediump
exp but loosens them for atan.
Note, however, that the requirements for fp16 are still stricter than
for mediump because of the FloatFormat involved. fp16 requires support
for a wider exponent range than mediump.
Components: Vulkan
Affects: dEQP-VK.glsl.builtin.precision.exp*.mediump.*
dEQP-VK.glsl.builtin.precision.atan*.mediump.*
Change-Id: I600a53984ba6a4f624bbb1525636f392d74ae96f
Pawel Ksiezopolski [Wed, 4 Dec 2019 11:01:45 +0000 (12:01 +0100)]
Extend tests for VK_EXT_fragment_density_map
New tests verify if following features work properly with
VK_EXT_fragment_density_map extension:
- multiview rendering using VK_KHR_multiview extension
- copying data using input attachments (deferred rendering scenario)
- subsampled image sizes that are not divisible by density map size
- multisampling
New tests:
dEQP-VK.renderpass2.fragment_density_map.*
Affects tests:
dEQP-VK.renderpass2.fragment_density_map.*
Components: Vulkan
VK-GL-CTS issue: 2114
Change-Id: Ie29c82ac84dc89697974736926a45e369ec87fe0
Samuel Iglesias Gonsálvez [Tue, 21 Jan 2020 12:37:16 +0000 (13:37 +0100)]
Add image clearing tests with multiple subresource ranges
Components: Vulkan
VK-GL-CTS issue: 2169
Added tests:
dEQP-VK.api.image_clearing.*_multiple_subresourcerange
Change-Id: Ie9a5fc427cc10cb8caf3beb668f275741fab98e6
Ricardo Garcia [Fri, 20 Dec 2019 10:45:02 +0000 (11:45 +0100)]
Test OpImageWrite with the Sample image operand
This commits adds tests to check OpImageWrite works properly when used
with the Sample image operand in multisample images, in order to write
to a specific sample.
New tests:
dEQP-VK.pipeline.multisample_shader_builtin.image_write_sample.*
Components: Vulkan
VK-GL-CTS issue: 2156
Change-Id: I1fa132f90fc1c58edbd4d0fcb7bac700c1310a05
Pawel Ksiezopolski [Thu, 5 Dec 2019 15:12:15 +0000 (16:12 +0100)]
Add geometry layered tests for 3D depth/stencil views
Also add geometry layered tests for non-power-of-two textures.
Affects tests:
dEQP-VK.geometry.layered.3d.*
New tests:
dEQP-VK.geometry.layered.3d.*
Components: Vulkan
VK-GL-CTS issue: 2123
Change-Id: Ic8f27f31b40a7f3fa16dc2977a0fbe1e6a0d351b
Samuel Iglesias Gonsálvez [Thu, 25 Jul 2019 13:34:26 +0000 (15:34 +0200)]
Add tests for VK_EXT_subgroup_size_control
For compute and graphics pipelines:
* Check the required subgroup size set by the tests is honored by the
driver (including for full subgroups and allow varying cases for
computer shaders).
* Check that enabling allow varying subgroup size reports a subgroup
size that falls within the limits of the driver.
* For compute pipeline, check that require full subgroups works as
expected.
On top of that, added requiredSubgroupSize case for subgroup's compute
shader tests that check all possible required subgroup sizes announced
by the driver.
Also there is a test that checks subgroup size control limits sanity.
Added tests:
dEQP-VK.subgroups.size_control.*
dEQP-VK.subgroups.*.compute*_requiredsubgroupsize
Affected tests:
dEQP-VK.subgroups.*
Components: Vulkan
VK-GL-CTS issue: 1864
Change-Id: Ia48deb9318420889754bd97545045f85b3c6fed7
Ari Suonpaa [Mon, 9 Dec 2019 07:04:27 +0000 (09:04 +0200)]
Add tests for subgroup LOD
Added tests that cover using different LOD for each vertex, thus
making sure subgroups in the same lane use their own LOD.
Amber was updated to support textures and mip maps used by these
new tests.
New tests:
dEQP-VK.texture.subgroup_lod.*
Components: Vulkan
VK-GL-CTS issue: 1809
Change-Id: I0499aca3fb673609afe7aa02e658e3c2ff968f0d
Alexander Galazin [Wed, 5 Feb 2020 07:59:26 +0000 (08:59 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/master
Change-Id: I405888772c14bcd201b177c8026d42c2b5a52590
Alexander Galazin [Tue, 4 Feb 2020 11:09:36 +0000 (12:09 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: I995b95c0a22cd69462f00a8fd938a56b1bd7410d
Alexander Galazin [Tue, 4 Feb 2020 09:58:04 +0000 (10:58 +0100)]
Update SPIR-V tools, headers, glslang, Vulkan headers
Components: Framework, Vulkan
Change-Id: Ib6b930f9bc11f8d8190310dd79d84e4b6dfa0383
Alexander Galazin [Tue, 4 Feb 2020 08:30:07 +0000 (09:30 +0100)]
Merge vk-gl-cgts/opengl-es-cts-3.2.5 into vk-gl-cts/opengl-es-cts-3.2.6
Change-Id: I0a9b7510a940e811c0bb0282f83df74cb6d83d33
Ari Suonpaa [Fri, 20 Dec 2019 12:50:11 +0000 (14:50 +0200)]
dEQP-VK.graphicsfuzz.cov-const-folding-dot-determinant
New Tests:
dEQP-VK.graphicsfuzz.cov-const-folding-dot-determinant
Components: Vulkan
Change-Id: I7edd11cbe1bc7acdfcbc13f027eba2fc537c8452
Ari Suonpaa [Fri, 27 Dec 2019 11:17:53 +0000 (13:17 +0200)]
dEQP-VK.graphicsfuzz.cov-const-folding-vector-shuffle
New tests:
dEQP-VK.graphicsfuzz.cov-const-folding-vector-shuffle
Components: Vulkan
Change-Id: I7d12d500046f6342c9e1aec8ecd0ce1f1332475a
Ari Suonpaa [Fri, 20 Dec 2019 13:26:08 +0000 (15:26 +0200)]
dEQP-VK.graphicsfuzz.cov-const-folding-clamp
New Tests:
dEQP-VK.graphicsfuzz.cov-const-folding-clamp
Components: Vulkan
Change-Id: Ie5ce90d64a2e85dc09a8db30f45994145e5f2d89
Ari Suonpaa [Fri, 3 Jan 2020 12:20:05 +0000 (14:20 +0200)]
dEQP-VK.graphicsfuzz.cov-constants-mix-uniform
New tests:
dEQP-VK.graphicsfuzz.cov-constants-mix-uniform
Components: Vulkan
Change-Id: Ie92c8c7f836fb54e78dedf878617a6fc2d402ae9
Alexander Galazin [Mon, 3 Feb 2020 09:49:48 +0000 (10:49 +0100)]
Fix compiler warning
Components: OpenGL
Change-Id: Ie61463fcd7d5ad006e364a8b18505af0a23ebf73
Ari Suonpaa [Mon, 13 Jan 2020 11:12:07 +0000 (13:12 +0200)]
dEQP-VK.graphicsfuzz.cov-fold-shift-gte32
New Tests: dEQP-VK.graphicsfuzz.cov-fold-shift-gte32
Components: Vulkan
Change-Id: I7a08a1c1a13e2e84c4a50bd8a7a7e962224f854d
Alexander Galazin [Thu, 30 Jan 2020 12:54:19 +0000 (13:54 +0100)]
Fix init in vktApiBufferMarkerTests.cpp
Components: Vulkan
Change-Id: Iaaebd99848858fb22234e29bc63361aa8fbdeb77
Ari Suonpaa [Mon, 13 Jan 2020 11:42:28 +0000 (13:42 +0200)]
dEQP-VK.graphicsfuzz.cov-folding-rules-merge-sub-add
New Tests:
dEQP-VK.graphicsfuzz.cov-folding-rules-merge-sub-add
Components: Vulkan
Change-Id: I2c313634b8fe6705de98139f1a0bbd655ac1b454
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alexander Galazin [Wed, 15 Jan 2020 16:31:47 +0000 (17:31 +0100)]
Update SPIR-V Tools
Components: Framework
Change-Id: I587a0a0703ee15d308566102ad31d3cc3d3b5edb
Petr Kraus [Wed, 13 Nov 2019 23:01:44 +0000 (00:01 +0100)]
Add tests of VkSwapchain acquiring too many images
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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