Chris Forbes [Tue, 28 Aug 2018 01:07:53 +0000 (18:07 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev
Change-Id: I17fe4454a499f701ef7660c22eab8049eb949615
Chris Forbes [Mon, 27 Aug 2018 17:31:42 +0000 (10:31 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: Iaa4f4bec631129c71d93c2a3fa7fa6d5c53acbb5
Alexander Galazin [Mon, 27 Aug 2018 11:57:12 +0000 (13:57 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I2ed414f071867f3664529a283421f35f4bcf27b9
Alexander Galazin [Mon, 27 Aug 2018 10:45:37 +0000 (12:45 +0200)]
Update glslang
Components: Framework
Change-Id: I9f331d1e09f78d5b6dd40b6784c57349989c005d
asokolow [Tue, 12 Jun 2018 08:59:10 +0000 (10:59 +0200)]
Do not expect TCS shader with XFB variables to fail linkging in GL
The test tries to link shader with XFB variables in TCS, without TES stage.
The test expects the shader to fail linking, but this behavior does not
seem to be mandated by GL spec.
According to GL 4.6 spec (
https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf - page 387)
- It is not forbidden to use TransformFeedbackVaryings with Tessellation Control
Shader and the spec does not mandate linking failure, even without NV_gpu_shader5
extension.
Test seems to derive this behavior from OGL ES spec where XFB is not allowed
within TCS shader.
Components: OpenGL
VK-GL-CTS Issue: 1221
Affects:
KHR-GL45.tessellation_shader.single.xfb_captures_data_from_correct_stage
Change-Id: Ie7c4209e0a36d48e56df04030ed095741bda155a
Kenneth Russell [Mon, 23 Jul 2018 22:26:47 +0000 (15:26 -0700)]
Add cases for structs as inout and out parameters.
Structs with lowp, mediump and highp (when supported in fragment
shaders) members are tested as inout and out parameters in both ES 2.0
and 3.0 shaders.
The highp variant of this test catches a bug which was found by the
Three.js community in https://github.com/mrdoob/three.js/issues/14137 .
Similar tests were integrated into the WebGL conformance suite in
https://github.com/KhronosGroup/WebGL/pull/2663 .
Verified on:
Qualcomm Adreno 308 (LG Aristo) - bug reproduces in both ES2 and ES3
highp fragment shaders
Qualcomm Adreno 540 (Pixel 2),
NVIDIA Tegra (SHIELD Tablet) - all tests pass
New tests:
dEQP-GLES[23].functional.shaders.struct.local.parameter_inout_*
dEQP-GLES[23].functional.shaders.struct.local.parameter_out_*
VK-GL-CTS Issue 1280
Change-Id: Ie332aede0ad52453815d9e123145ec035009430b
(cherry picked from commit
3b0365b1a090c4e15f72b2cb877ee15f65c8befe)
Chris Forbes [Sat, 25 Aug 2018 00:52:04 +0000 (17:52 -0700)]
Reinstate dot & reflect tests
There is now enough coverage of alternative evaluation orders that these
can be enabled.
Bug: b/
28767510
Change-Id: I65de890cd8106ff12f4f5bf76e3db31966681023
Chris Forbes [Fri, 24 Aug 2018 16:14:03 +0000 (09:14 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev
Change-Id: Ic7c969b1b52cf6b3fee8e8879508bf13de9a354e
Alexander Galazin [Fri, 24 Aug 2018 13:48:05 +0000 (15:48 +0200)]
Fix Vulkan build
Components: Vulkan
Change-Id: Id35717953f8727e1996d356f56f870c9455a9c39
Slawomir Cygan [Thu, 2 Aug 2018 16:01:57 +0000 (18:01 +0200)]
Fix asserts and check for base image format support in image.mutable tests
This adds a check if base image can be created given the format.
It is required for implementations supporting VK_KHR_maintenance2 or 1.1:
if these are supported, the exisiting VkImageView format support does not
cover base image format support.
Additionally, fix malformed asserts and missign case switches in this test.
Components: Vulkan
Affects: dEQP-VK.image.mutable
VK-GL-CTS Issue: 1295, 1294
Change-Id: I010a8823e2f7fa53a845366e489f071dbdc2f7f2
Ari Suonpaa [Tue, 5 Jun 2018 12:30:38 +0000 (15:30 +0300)]
New test for copying 16bit input to two outputs.
Added a test where 16bit input is copied into two outputs. This
verifies a 16bit intermediate value can be used twice.
New tests:
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_*_16_to_16x2.*
Components: Vulkan
VK-GL-CTS issue: 893
Change-Id: Ifc4bd97f65d38e018b5600bd445a7cc625dd358d
Alexander Galazin [Fri, 24 Aug 2018 12:50:05 +0000 (14:50 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: Id608fc80ae08fe2c61d72c65cca3188e37095130
Alexander Galazin [Fri, 24 Aug 2018 12:08:57 +0000 (14:08 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I9446aef49cc962cddbca7928fd6415ec13169295
Alexander Galazin [Fri, 24 Aug 2018 12:08:54 +0000 (14:08 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: Ida0335ab0cd96894bdcd55837afcdac0470fb85a
Alexander Galazin [Fri, 24 Aug 2018 07:27:02 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Change-Id: I9a83f25ba7ad9bf007cd9b6778893a6f90587533
Alexander Galazin [Fri, 24 Aug 2018 07:26:58 +0000 (09:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Change-Id: Ib1bfbe439ce0b734de4328d9d9577bc0a3793288
Alexander Galazin [Fri, 24 Aug 2018 07:26:54 +0000 (09:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: Ie5d1d301b96c8eff6a7d974de13c1d35195d7b26
Alexander Galazin [Fri, 24 Aug 2018 07:26:51 +0000 (09:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Change-Id: I5b4bdc020c0dda7ec55aafd498cd1f1193b9c77b
Chris Forbes [Thu, 23 Aug 2018 17:31:30 +0000 (10:31 -0700)]
Merge remote-tracking branch 'khronos/master' into HEAD
Change-Id: I58c439e2cf8859ca9cae5c78b8e065c5a652b1cd
Alexander Galazin [Thu, 23 Aug 2018 13:51:53 +0000 (15:51 +0200)]
Update Vulkan CTS mustpass
Components: Vulkan
Change-Id: I419768f938469473196797dc0d68f7776a9affb1
Pierre Tsai [Thu, 2 Aug 2018 15:13:14 +0000 (11:13 -0400)]
bufSize of glGetInternalformativ does not follow spec
In the specification section 22.3 Internal Format Queries
(glspec46.core.pdf page 564), it is written:
No more than bufSize integers will be written into params.
The confusion may come from the man page where in one point it is said:
"No more than bufSize basic machine units will be written to this
memory." But the above description is still a number of integers.
Affects:
KHR-GL46.sparse_texture_tests.SparseDSATextureCommitment
KHR-GL46.sparse_texture_tests.SparseTextureAllocation
KHR-GL46.sparse_texture_tests.SparseTextureCommitment
KHR-GL46.sparse_texture_tests.TextureParameterQueries
KHR-GL46.sparse_texture_tests.InternalFormatQueries
Components: OpenGL
VK-GL-CTS issue: 1296
Change-Id: I05ea0cbe54539f6f8711278cb7b08ad7e5862aa9
Yabin Zheng [Fri, 27 Jul 2018 06:29:20 +0000 (14:29 +0800)]
Throw NotSupported if MAX_FRAGMENT_IMAGE_UNIFORMS = 0
GLES 3.1 implementations may expose MAX_FRAGMENT_IMAGE_UNIFORMS = 0
which would prevent KHR-GLES31.shaders.layout_location.*image.* tests
from running.
Components: OpenGL
Affects:
KHR-GLES31.shaders.layout_location.*
VK-GL-CTS issue: 1284
Change-Id: I41299b58da0e7ec46587f2893dfb4a3859516669
Kenneth Russell [Mon, 23 Jul 2018 22:26:47 +0000 (15:26 -0700)]
Add cases for structs as inout and out parameters.
Structs with lowp, mediump and highp (when supported in fragment
shaders) members are tested as inout and out parameters in both ES 2.0
and 3.0 shaders.
The highp variant of this test catches a bug which was found by the
Three.js community in https://github.com/mrdoob/three.js/issues/14137 .
Similar tests were integrated into the WebGL conformance suite in
https://github.com/KhronosGroup/WebGL/pull/2663 .
Verified on:
Qualcomm Adreno 308 (LG Aristo) - bug reproduces in both ES2 and ES3
highp fragment shaders
Qualcomm Adreno 540 (Pixel 2),
NVIDIA Tegra (SHIELD Tablet) - all tests pass
New tests:
dEQP-GLES[23].functional.shaders.struct.local.parameter_inout_*
dEQP-GLES[23].functional.shaders.struct.local.parameter_out_*
VK-GL-CTS Issue 1280
Change-Id: Ie332aede0ad52453815d9e123145ec035009430b
James Hauxwell [Fri, 13 Jul 2018 13:52:40 +0000 (14:52 +0100)]
Fix invalid combinations for texture/copy on ES2 driver
The OES_rgb8_rgba8 extension specification only specifies
RenderbufferStorageOES for additional GL_RGB8/GL_RGBA8 tokens. ES3 spec
made these mandatory formats for texturing/copying.
Affects:
KHR-GLES2.core.internalformat.texture2d.rgb_unsigned_byte_rgb8
KHR-GLES2.core.internalformat.texture2d.rgba_unsigned_byte_rgb8
KHR-GLES2.core.internalformat.copy_tex_image.rgba8
KHR-GLES2.core.internalformat.copy_tex_image.rgb8
Components: OpenGL
VK-GL-CTS issue: 1260
Change-Id: Icbbd8882c5e623f5ac4725eebf977f535cfbfa31
Tony Zlatinski [Thu, 16 Aug 2018 13:17:28 +0000 (08:17 -0500)]
Vulkan AHB - fix incorrect structure definition
Fix a missing VkComponentMapping field of the VkAndroidHardwareBufferFormatPropertiesANDROID
structure. This is causing incorrect values to be populated to the
structure, as well as, a stack overwrite of other stack-located locals.
Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r8g8b8a8_unorm
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r5g6b5_unorm_pack16
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r16g16b16a16_sfloat
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.a2b10g10r10_unorm_pack32
Components: Vulkan
VK-GL-CTS issue: 1305
VK-GL-CTS issue: 1316
Change-Id: I81eb1cc605912bf0adebe67b65d7ccdd31236ec9
Daniel Koch [Thu, 16 Aug 2018 02:55:06 +0000 (22:55 -0400)]
Fix copy/paste errors in opundef assembly tests
The tests were using %is_nan_0 repeatedly instead of %is_nan_<i>
Affects: dEQP-VK.spirv_assembly.instruction.graphics.opundef.*
(likely only the vec4float32 and matrix subsets)
Component: Vulkan
VK-GL-CTS: 1315
Change-Id: I2bed6e94f6867c424c5102ef3eeab8ac32021dcd
(cherry picked from commit
a46089154137e0939c02bdcabc74f5daa303ffb2)
Ari Suonpaa [Wed, 8 Aug 2018 10:43:45 +0000 (13:43 +0300)]
Test push descriptors
Added uniform and storage buffer push descriptor tests. Tests for other
descriptor types should be added later.
New tests:
dEQP-VK.pipeline.push_descriptor.*
Components: Vulkan
VK-GL-CTS issue: 1187
Change-Id: I6c8a2ae96f23cff3da1cdeed1659da61e3aa347c
Boris Zanin [Wed, 4 Jul 2018 09:02:23 +0000 (11:02 +0200)]
Refactor: Compatible compute and graphics VerifyIO
Refactoring:
* Compatibilize VerifyIO function declaration
* Add isCoreFeatureSupported
* Graphic shader can run over whole area
Affects tests:
* dEQP-VK.spirv_assembly.*
Components: Vulkan
VK-GL-CTS issue: 1095
Change-Id: Iba9bab9d40a06f1eba90572cc60f1c334c4b8474
Slawomir Cygan [Thu, 12 Jul 2018 17:00:15 +0000 (19:00 +0200)]
Split subgroups tests into test groups
Subgroup test hierarchy was a bit too flat, with many test variants
added by permutating test case names.
This change splits the test into compute, graphic, framebuffer..
groups.
Components: Vulkan
VK-GL-CTS Issue: 1276
Affects: dEQP-VK.subgroups.*
Change-Id: I2a3c3a4ad8c5a8116d0c58b41d030b36eccc80e5
Treehugger Robot [Tue, 21 Aug 2018 01:12:31 +0000 (01:12 +0000)]
Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count"
Ostrowski, Igor [Fri, 9 Feb 2018 10:56:15 +0000 (11:56 +0100)]
RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
This change add new tests for VK_KHR_draw_indirect_count
extension, and adds the extension to the whitelist.
New Tests:
dEQP-VK.draw.indirect_draw.*.indirect_draw_count.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_instanced.*
Note: for Android CTS backport, adjusted excluded test list to not impact
previously-passing implementations that don't care about this extension.
Affected tests:
dEQP-VK.api.info.device.extensions
Components: Vulkan, Framework
VK-GL-CTS issue: 1004
Bug: b/
111786155
Change-Id: I7078e1104c1ebd29320fa04afa20549757e56bc5
(cherry picked from Khronos commit
7b47cd53c6656b866e7c3a3c0a590da85f3b2de1)
(cherry picked from commit
43622dc64ce9f19461828b0bd62ca5342c26eb40)
Jiayuan Ren [Mon, 20 Aug 2018 21:55:58 +0000 (14:55 -0700)]
Fix: rendering complete times not monotonic am:
59b6ba9bb2 am:
c23074d57c
am:
85d1e56494
Change-Id: I163fbb3b0d80663561f5d2fcd67c9b8fa345a358
Jiayuan Ren [Mon, 20 Aug 2018 21:52:12 +0000 (14:52 -0700)]
Fix: rendering complete times not monotonic am:
59b6ba9bb2
am:
c23074d57c
Change-Id: I68ded1c7963a388629e34ba5c3fa59755c109ac9
Jiayuan Ren [Mon, 20 Aug 2018 21:48:05 +0000 (14:48 -0700)]
Fix: rendering complete times not monotonic
am:
59b6ba9bb2
Change-Id: I3a1fc45cf76cb1ca0b5cc0e84fceb7808d68537f
Colin Cross [Mon, 20 Aug 2018 17:21:55 +0000 (17:21 +0000)]
Merge "Revert "Revert "Convert external/deqp/android/cts to Android.bp"""
Chris Forbes [Sat, 18 Aug 2018 00:27:26 +0000 (17:27 -0700)]
Merge "Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD" into pie-cts-dev
am:
b6c2ed7121
Change-Id: I95bd47a45fcaef4d89b765e1f29fb3db5e8f210c
Jiayuan Ren [Tue, 14 Aug 2018 19:09:01 +0000 (12:09 -0700)]
Fix: rendering complete times not monotonic
We run into an intermittent issue that two neighboring
frames have the same rendering complete timestamp.
The timers will always have finite granularity.
The timestamp is in nanosecond but the timer producing
these timestamps might not actually be able to produce
timestamps at 1ns resolution. When the timer used for
these events has not enough granularity, events that
happen very quickly right after one another will appear
as if they appear at the same point in time.
Two neighboring frames have the same timestamp is allowed.
Components: AOSP
VK-GL-CTS issue: 1311
Bug: b/
112778381
Affects:
dEQP-EGL.functional.get_frame_timestamps.*
Treehugger Robot [Fri, 17 Aug 2018 23:15:48 +0000 (23:15 +0000)]
Merge "Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD" into pie-cts-dev
Julien Desprez [Fri, 17 Aug 2018 17:34:45 +0000 (17:34 +0000)]
Merge "Update CTS runner after TF interface update"
Ostrowski, Igor [Fri, 17 Aug 2018 01:58:49 +0000 (18:58 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo-mr1-cts-dev am:
9bbaf74230 -s ours
am:
a51e7a7d9c -s ours
Change-Id: Ia2a1e26d432456e0fd173e0f9878bf254f4272c8
Ostrowski, Igor [Fri, 17 Aug 2018 00:08:52 +0000 (17:08 -0700)]
[automerger skipped] RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
am:
43622dc64c -s ours
Change-Id: Ifad35fa0297f9099e3da124153c8200f168611f0
Tony Zlatinski [Fri, 17 Aug 2018 00:06:12 +0000 (17:06 -0700)]
Vulkan AHB - fix incorrect structure definition
am:
181b5cd80e
Change-Id: Ie3c769146a1dc5862067e5a61a194300a7825168
Ostrowski, Igor [Fri, 17 Aug 2018 00:04:06 +0000 (17:04 -0700)]
[automerger skipped] Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo-mr1-cts-dev
am:
9bbaf74230 -s ours
Change-Id: I4de7ad984886cb4508f9e5f408e8c8e610f75434
Chris Forbes [Thu, 16 Aug 2018 23:56:16 +0000 (16:56 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into HEAD
Change-Id: I8db2d3d6347c92f0f4fdd0d9db07a812a96243d8
Bug: b/
112439889
Ostrowski, Igor [Fri, 9 Feb 2018 10:56:15 +0000 (11:56 +0100)]
RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
This change add new tests for VK_KHR_draw_indirect_count
extension, and adds the extension to the whitelist.
New Tests:
dEQP-VK.draw.indirect_draw.*.indirect_draw_count.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_instanced.*
Note: for Android CTS backport, adjusted excluded test list to not impact
previously-passing implementations that don't care about this extension.
Affected tests:
dEQP-VK.api.info.device.extensions
Components: Vulkan, Framework
VK-GL-CTS issue: 1004
Bug: b/
111786155
Change-Id: I3d53806eb1a45293a77b940d9c2fa540a6d83d50
(cherry picked from Khronos commit
7b47cd53c6656b866e7c3a3c0a590da85f3b2de1)
Tony Zlatinski [Thu, 16 Aug 2018 13:17:28 +0000 (08:17 -0500)]
Vulkan AHB - fix incorrect structure definition
Fix a missing VkComponentMapping field of the VkAndroidHardwareBufferFormatPropertiesANDROID
structure. This is causing incorrect values to be populated to the
structure, as well as, a stack overwrite of other stack-located locals.
Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r8g8b8a8_unorm
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r5g6b5_unorm_pack16
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r16g16b16a16_sfloat
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.a2b10g10r10_unorm_pack32
Components: Vulkan
VK-GL-CTS issue: 1305
VK-GL-CTS issue: 1316
Bug: b/
112705952
Change-Id: I81eb1cc605912bf0adebe67b65d7ccdd31236ec9
(cherry picked from Khronos commit
0116a17ddb4eb4f25624698bc0ba1c68e51a6950)
Treehugger Robot [Thu, 16 Aug 2018 18:47:59 +0000 (18:47 +0000)]
Merge "RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count" into oreo-mr1-cts-dev
Colin Cross [Thu, 16 Aug 2018 18:16:01 +0000 (18:16 +0000)]
Revert "Revert "Convert external/deqp/android/cts to Android.bp""
This reverts commit
10848da9348e610bd6e938836ae846abcf540a3d.
Bug:
112654980
Change-Id: I5c5d5b932eb7df0b710668dadaf788344ca5b1e2
Daniel Koch [Thu, 16 Aug 2018 02:55:06 +0000 (22:55 -0400)]
Fix copy/paste errors in opundef assembly tests
The tests were using %is_nan_0 repeatedly instead of %is_nan_<i>
Affects: dEQP-VK.spirv_assembly.instruction.graphics.opundef.*
(likely only the vec4float32 and matrix subsets)
Component: Vulkan
VK-GL-CTS: 1315
Change-Id: I2bed6e94f6867c424c5102ef3eeab8ac32021dcd
Treehugger Robot [Wed, 15 Aug 2018 23:48:33 +0000 (23:48 +0000)]
Merge "Revert "Convert external/deqp/android/cts to Android.bp""
Colin Cross [Wed, 15 Aug 2018 21:55:29 +0000 (21:55 +0000)]
Revert "Convert external/deqp/android/cts to Android.bp"
This reverts commit
e674df42dddcba06641861912154be98a7937884.
Reason for revert: broke tradefed/general_tests_zip
Bug:
112654980
Change-Id: I251b5e2372cb9c7c12e87ce94c07222a97500406
Chris Forbes [Wed, 15 Aug 2018 14:49:36 +0000 (14:49 +0000)]
Merge "Fix build for surfaceless target"
Eric Anholt [Sat, 21 Jul 2018 00:52:28 +0000 (17:52 -0700)]
Avoid spurious failures in create_context when desktop GL 3.x is unsupported.
On a driver advertising GLES 3.0 and GL 2.1, the test was failing with:
Creating OpenGL context with config ID 29
Fail, context: 0x00000000, error: EGL_BAD_MATCH
This was because
b60ae978ad04 ("Handle unsupported no_config
contexts") added a requirement for GL 3.x, even though EGL doesn't
require that.
Affects: dEQP-EGL.functional.create_context.*
Components: AOSP
VK-GL-CTS issue: 1283
Change-Id: Id99ad51c1d0dca2c68e42a7bffe282f12a101027
Colin Cross [Wed, 15 Aug 2018 01:51:16 +0000 (01:51 +0000)]
Merge "Convert external/deqp/android/cts to Android.bp"
Julien Desprez [Tue, 14 Aug 2018 23:50:12 +0000 (16:50 -0700)]
Update CTS runner after TF interface update
Test: unit tests
Bug:
112468193
Change-Id: I82a0ef4c894ad56dc426e856cfb3dfdbb70d8edd
Chris Forbes [Tue, 14 Aug 2018 23:23:12 +0000 (16:23 -0700)]
Fix build for surfaceless target
Bug: crbug/873651
Change-Id: I80b88bd6022edbe7936c17e11d1f3f79d8b9500d
Components: Framework
Chris Forbes [Mon, 13 Aug 2018 23:35:16 +0000 (16:35 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD am:
d502cf9784
am:
c4a6a1e68a
Change-Id: I2bd6a3d3adf162ae02fceea8dcde436c66cc5c0f
Chris Forbes [Mon, 13 Aug 2018 23:34:34 +0000 (16:34 -0700)]
Remove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass
am:
aa99687ef4
Change-Id: If404960e299db089d05906c49b8529729be25df8
Chris Forbes [Mon, 13 Aug 2018 23:26:24 +0000 (16:26 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
am:
d502cf9784
Change-Id: I070ab06a20d335f4fdb8286d51c64da2cb61836c
Chris Forbes [Mon, 13 Aug 2018 20:15:16 +0000 (13:15 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev
Change-Id: I22f18ebbb60ec1cb841e6084433c406154690f1d
Chris Forbes [Mon, 13 Aug 2018 17:56:45 +0000 (10:56 -0700)]
Remove dEQP-VK.ubo.random.all_shared_buffer.48 from mustpass
Bug: b/
112540895
Change-Id: I3813d59ecdf99125d1a1ac76a5f8f1d05085df61
Colin Cross [Fri, 10 Aug 2018 22:48:08 +0000 (15:48 -0700)]
Convert external/deqp/android/cts to Android.bp
See build/soong/README.md for more information.
Test: external/deqp/android/cts/runner/tests/run_tests.sh
Test: cts-tradefed run commandAndExit cts -m CtsDeqpTestCases
Change-Id: I0ac2ff5cc91c18ff27e26b1827c6f6eb1598ae7b
Ostrowski, Igor [Fri, 9 Feb 2018 10:56:15 +0000 (11:56 +0100)]
RESTRICT AUTOMERGE: Backport tests for VK_KHR_draw_indirect_count
This change add new tests for VK_KHR_draw_indirect_count
extension, and adds the extension to the whitelist.
New Tests:
dEQP-VK.draw.indirect_draw.*.indirect_draw_count.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_first_instance.*
dEQP-VK.draw.indirect_draw.*.indirect_draw_count_instanced.*
Note: for Android CTS backport, adjusted excluded test list to not impact
previously-passing implementations that don't care about this extension.
Affected tests:
dEQP-VK.api.info.device.extensions
Components: Vulkan, Framework
VK-GL-CTS issue: 1004
Bug: b/
111786155
Change-Id: I3d53806eb1a45293a77b940d9c2fa540a6d83d50
(cherry picked from Khronos commit
7b47cd53c6656b866e7c3a3c0a590da85f3b2de1)
Eric Anholt [Thu, 12 Apr 2018 21:59:32 +0000 (14:59 -0700)]
x11: Keep the window from stealing input.
When debugging on an X11 desktop and doing repeated runs, it's
unpleasant to have input focus stolen by a series of transient windows
being created.
Components: Framework
Affects: *
VK-GL-CTS issue: 1282
Change-Id: I7bc8e9587e71ac9ebfab726c3926c432b2f04f01
Chris Forbes [Mon, 18 Jun 2018 20:23:15 +0000 (13:23 -0700)]
Remove broken/redundant barrier for multiview depth/stencil readback
This barrier was set up for color writes, not depth/stencil. It was also
unnecessary, so just remove it.
Change-Id: Ieeec7320f40b273f12f669934298f85702a5985b
Components: Vulkan
VK-GL-CTS: 1288
Affects: dEQP-VK.multiview.*
(cherry picked from commit
9a5be0a660ea73f6c57efd77dff1219ec4e35bf3)
Chris Forbes [Mon, 18 Jun 2018 20:23:15 +0000 (13:23 -0700)]
Remove broken/redundant barrier for multiview depth/stencil readback
This barrier was set up for color writes, not depth/stencil. It was also
unnecessary, so just remove it.
Change-Id: Ieeec7320f40b273f12f669934298f85702a5985b
Components: Vulkan
VK-GL-CTS: 1288
Affects: dEQP-VK.multiview.*
Matthew Netsch [Wed, 8 Aug 2018 20:52:35 +0000 (16:52 -0400)]
Fixes geometry shader invocation dependency
dEQP-VK.tessellation.invariance.* updates a SSBO
expecting the implementation to execute the GS
once per primitive. Changes the test to allow
multiple invocations.
Components: Vulkan
VK-GL-CTS Issue: 1281
Affects:
dEQP-VK.tessellation.invariance.*
Change-Id: I6ed17a8afb413587bb38487ec9952f569a250193
Chris Forbes [Wed, 8 Aug 2018 19:12:17 +0000 (12:12 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
Change-Id: I60f5de1ad1f48484ffbc786f062075be6db85840
Xin Li [Wed, 8 Aug 2018 18:43:04 +0000 (11:43 -0700)]
Merge pie-cts-dev into master.
Bug:
112051819
Change-Id: Ide79ad146b80a923cfd00ec1e526b8b389e54b29
Chris Forbes [Tue, 7 Aug 2018 15:50:26 +0000 (08:50 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: I6183377aa1a154927f42bfb0110c32235498bc37
James Glanville [Wed, 4 Jul 2018 09:59:44 +0000 (10:59 +0100)]
Allow glFramebufferTexture2D with level!=0 in ES2 tests with ES3
These ES2 tests were expecting GL errors when attaching non-zero
levels to a framebuffer where GL_OES_fbo_render_mipmap is not
supported. This functionality is core in ES3 contexts, so the tests
much assume support for mippmapped rendering in this case.
Affects:
dEQP-GLES2.functional.negative_api.buffer.framebuffer_texture2d
dEQP-GLES2.functional.fbo.api.texture_levels
Components:
dEQP
VK-GL-CTS issue: 1263
Change-Id: I3dc7c8f1f2cc7efb5c227a0aec11983b185be03c
(cherry picked from commit
ccd2cb41bc3813de087747a7f173cd2c8d8180c2)
Alexander Galazin [Tue, 7 Aug 2018 10:56:36 +0000 (12:56 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Change-Id: Iab57269d692164943d9ff03cc598dd21a8fd3f8e
Alexander Galazin [Tue, 7 Aug 2018 10:02:46 +0000 (12:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Change-Id: I87551c21c18956e49aaef393a1f700ad72686912
Alexander Galazin [Tue, 7 Aug 2018 08:57:19 +0000 (10:57 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: I3ebd996d37e078d937fe79ccc93718b51672e1c4
Jari Komppa [Wed, 1 Aug 2018 12:52:59 +0000 (15:52 +0300)]
Removed cache info from logged shaderstrings
This fix removes the additional information shader cache includes in the
shader string before logging. Logging change only, does not affect tests
themselves.
Affects: none
Components: Vulkan
VK-GL-CTS issue: 1289
Change-Id: I49f8730816ce28584d9601306ec40be052cee341
Simen Kaspersen [Wed, 1 Aug 2018 11:12:14 +0000 (13:12 +0200)]
Remove unconditional depth_clamping for 1.1.1
Changed depthClampEnable from VK_TRUE to VK_FALSE where it is not needed.
Depth clamp specific tests in builtin_var.fragdepth set as not supported for incompatible systems.
NB: Carries the same changes as 1.1.0 patch for depth_clamping, along with changes that are specific for 1.1.1.
Affects:
dEQP-VK.device_group.*
dEQP-VK.api.object_management.*.graphics_pipeline
dEQP-VK.binding_model.shader_access.*
dEQP-VK.glsl.builtin_var.fragdepth.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.renderpass.*
dEQP-VK.spirv_assembly.*
dEQP-VK.api.smoke.unused_resolve_attachment
dEQP-VK.wsi.android.incremental_present.*
dEQP-VK.memory.pipeline_barrier.*
Components: Vulkan
VK-GL-CTS issue: 1286
Change-Id: I0e322c65561c25339fe56e3122401d92df7623a6
Simen Kaspersen [Mon, 30 Jul 2018 14:36:31 +0000 (16:36 +0200)]
Remove unconditional depth_clamping for 1.1.0
Changed depthClampEnable from VK_TRUE to VK_FALSE where it is not needed.
Depth clamp specific tests in builtin_var.fragdepth set as not supported for incompatible systems.
Affects:
dEQP-VK.device_group.*
dEQP-VK.api.object_management.*.graphics_pipeline
dEQP-VK.binding_model.shader_access.*
dEQP-VK.glsl.builtin_var.fragdepth.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.renderpass.*
dEQP-VK.spirv_assembly.*
dEQP-VK.api.smoke.unused_resolve_attachment
dEQP-VK.wsi.android.incremental_present.*
dEQP-VK.memory.pipeline_barrier.*
Components: Vulkan
VK-GL-CTS issue: 1286
Change-Id: Ia869da75a74800543afb4f8fddd8bf5e8f7f4a7f
Gary Sweet [Wed, 1 Aug 2018 07:43:47 +0000 (08:43 +0100)]
Incorrect pipeline barrier in multiview.multisample.*
The barrier between the render and the cmdResolveImage()
in the multiview tests is currently src=COLOR_ATTACHMENT_OUTPUT,
dst=COLOR_ATTACHMENT_OUTPUT. The explicit resolve that follows
is a transfer operation so the destination stage needs to be
TRANSFER_READ to express the correct dependency.
Affects:
dEQP-VK.multiview.multisample.*
Components: Vulkan
VK-GL-CTS issue : 1291
Change-Id: I362c6f2e9f57b140c078b8d326caf042d472a4b3
Xin Li [Mon, 6 Aug 2018 23:50:22 +0000 (16:50 -0700)]
Merge Android Pie into master
Bug:
112104996
Change-Id: I573d3264a618044472c238f9b530cfd9f76ba791
Alexander Galazin [Mon, 6 Aug 2018 06:55:27 +0000 (08:55 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I3903536de72b661991919bbd783928792b8f9591
Alexander Galazin [Mon, 6 Aug 2018 06:55:25 +0000 (08:55 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: Icd986e028cf19310c0cded2462640b68d0b6d4e7
Alexander Galazin [Mon, 6 Aug 2018 06:55:21 +0000 (08:55 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.4 into vk-gl-cts/opengl-es-cts-3.2.5
Change-Id: I02ed0b86e13f8210020fbfd8baaca74b60a1551f
Mark Adams [Fri, 3 Aug 2018 21:47:39 +0000 (17:47 -0400)]
Fix resource leaks in arrays_of_arrays
The compute shader variants of the subroutine tests weren't freeing
the programs and not resetting all state. This resulted in leaked
memory on each test iteration.
VK-GL-CTS issue: 1298
Components: OpenGL
Affects:
KHR-GL*.arrays_of_arrays_gl.Subroutine*
Change-Id: Ia2152476c12f2141698dadd1b208090b28756ce3
Alexander Galazin [Thu, 2 Aug 2018 11:27:35 +0000 (13:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Change-Id: Id793ef1b34ec89095cd6071dda6252ff32d37f36
Alexander Galazin [Thu, 2 Aug 2018 10:14:08 +0000 (12:14 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Change-Id: I7d44b39c208f999dcc86793250fecdb69258a165
Alexander Galazin [Thu, 2 Aug 2018 08:27:48 +0000 (10:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: I2b3ff32206b0408c16dd93bc643bdc9bf928dcda
Alexander Galazin [Thu, 2 Aug 2018 08:27:46 +0000 (10:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Change-Id: I178311e0fa4f5276ab325b65460074f60e42c222
Dave Airlie [Mon, 30 Apr 2018 04:51:38 +0000 (05:51 +0100)]
Don't used a fragment output in the shader storage buffer object test
This test doesn't require a fragment shader output, and if we are
on a system which has only 8 combined shader output resources,
this stops the test from executing.
Components: OpenGL
VK-GL-CTS Issue: 985
Affects:
KHR-GL45.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std430-vec
Change-Id: Ib0883e09d84022c1dac5bc2f22787c0e91efba1c
Chris Forbes [Thu, 2 Aug 2018 00:16:17 +0000 (17:16 -0700)]
Fix build when SPIRV-Tools is not present
This function does not require SPIRV-Tools, and is still used when it
is not present.
Components: Framework
VK-GL-CTS: 1293
Change-Id: I9ce49db2e6e55e8d379c713c9fe39d15fb7ecbd6
Alexander Galazin [Tue, 3 Oct 2017 19:29:50 +0000 (21:29 +0200)]
Invalidate memory in draw tests
The test group writes to non-coherent device memory with device,
but fails to call the required invalidate on the region before
reading mapped memory with host.
Components: Vulkan
VK-GL-CTS issue: 529
Affects: dEQP-VK.draw.*
Change-Id: Icf4aa6ea80c8c046e41b37402457b7f094d7ae50
(cherry picked from commit
1ce6e233a6245a1cf81a2a4e88b87c5d381a119a)
Tate Hornbeck [Fri, 20 Jul 2018 16:20:50 +0000 (12:20 -0400)]
Update CTS version of gl.xml
Pulls in fix for getGraphicsResetStatusEXT
Components: OpenGL
VK-GL-CTS issue: 1247
Affects:
dEQP-EGL.functional.robustness.create_context.no_reset_notification
Change-Id: I3081d0b6dbfa4436e29cb7b4d52840575f9d40a0
Chris Forbes [Fri, 27 Jul 2018 16:33:15 +0000 (09:33 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: Ie2f5d01b30f9c10b0081b4d784d3c6fcbb72eb63
Alexander Galazin [Fri, 27 Jul 2018 13:13:54 +0000 (15:13 +0200)]
Update Vulkan mustpass
Components: Vulkan
Change-Id: Idd0cb00dd39c82d5604fde918e742f49fa1e14b9
Ari Suonpaa [Mon, 4 Jun 2018 06:49:05 +0000 (09:49 +0300)]
New tests for pointers as function parameters
These new tests fill a coverage hole for passing multiple pointers
to functions and using these pointers to modify data. Alias decoration
is used where needed.
New tests:
dEQP-VK.spirv_assembly.instruction.*.pointer_parameter.*
Components: Vulkan
VK-GL-CTS issue: 1174
Change-Id: I5fc6b0f1b1b5a706acd671b9ecc4e928f988d6c3
(cherry picked from commit
ecccf1c61e853a3bef40df45eb3f488c7a0493ae)
Ari Suonpaa [Mon, 4 Jun 2018 06:49:05 +0000 (09:49 +0300)]
New tests for pointers as function parameters
These new tests fill a coverage hole for passing multiple pointers
to functions and using these pointers to modify data. Alias decoration
is used where needed.
New tests:
dEQP-VK.spirv_assembly.instruction.*.pointer_parameter.*
Components: Vulkan
VK-GL-CTS issue: 1174
Change-Id: I5fc6b0f1b1b5a706acd671b9ecc4e928f988d6c3
Alexander Galazin [Fri, 27 Jul 2018 10:54:39 +0000 (12:54 +0200)]
Update GLES mustpass
Components: OpenGL
Change-Id: Id6a3d2dd92e70b7b9729bda74f8caaa2b8e91527
Alexander Galazin [Fri, 27 Jul 2018 09:23:43 +0000 (11:23 +0200)]
Start 1.1.3 mustpass
Components: Vulkan
Change-Id: I0c325c93380dc8553e832728cf6ac95282fbea0d
Chris Forbes [Thu, 26 Jul 2018 18:23:01 +0000 (11:23 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: Ied47a2d2050599c52a9e08843c342f8e14fef50d
Jason Ekstrand [Thu, 12 Jul 2018 19:59:03 +0000 (12:59 -0700)]
Add tests for vkCmdClearColorImage on linear images
New Tests:
dEQP-VK.api.image_clearing.*.clear_color_image.*.linear.*
Renamed Tests:
dEQP-VK.api.image_clearing.*.clear_color_image.*
Components: Vulkan
Change-Id: If0be7b57f7a779fda88b1dd64d15113d115eced2
Alexander Galazin [Thu, 26 Jul 2018 14:31:49 +0000 (16:31 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: I46b6332876af27cea732a67613759229f7028f7a