Alexander Galazin [Fri, 13 Jul 2018 11:00:25 +0000 (13:00 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: I1864199105595d697561bcb6641692edbe75aa79
Alexander Galazin [Fri, 13 Jul 2018 10:00:10 +0000 (12:00 +0200)]
Update KC CTS reference
Components: Framework
Change-Id: Ie0085e80530c859cbd8f5da72e24e1e4450ce365
Chris Forbes [Mon, 18 Jun 2018 23:52:10 +0000 (16:52 -0700)]
Add option to embed validation layers in Android package
Based on https://github.com/KhronosGroup/VK-GL-CTS/pull/103 but reworked
a bit to allow setting the path directly. This allows easy codevelopment
of layers and tests.
Components: Framework
VK-GL-CTS: 1253
Change-Id: I232e48b82119f6bc358985d39be0def3c5a75766
Oliver Wohlmuth [Fri, 6 Jul 2018 12:19:17 +0000 (14:19 +0200)]
Correct getProcAddress() handling in robustness tests
The below robustness tests don't use the OpenGL ES extension name when
calling getProcAddress() in an OpenGL ES environment. This change fixes
it by removing the getProcAddress() calls and use gl.XXX() to call these
functions. gl.XXX() takes care of the context it is running in.
Affects:
KHR-NoContext.*.robustness.no_reset_notification
KHR-NoContext.*.robustness.getnuniform
KHR-NoContext.*.robustness.readnpixels
Components: OpenGL
VK-GL-CTS issue: 1267
Change-Id: I4ed18990626f1dd744eebf6b99c18a60a29dad5f
Jason Ekstrand [Mon, 9 Jul 2018 04:09:20 +0000 (21:09 -0700)]
Remove an unneded type qualifier
This fixes check_build_sanity.py
Components: Vulkan
Change-Id: I0631c5ef2ede20a68a5853e497acc5e1106ab127
Toni Merilehti [Wed, 27 Jun 2018 11:30:14 +0000 (14:30 +0300)]
Add tests for packed vertex formats
Added tests for selected packed vertex formats to verify that vertex
attribute values are handled correctly in vertex shader.
New tests:
dEQP-VK.pipeline.vertex_input.single_attribute.*
Components: Vulkan
VK-GL-CTS issue: 1162
Change-Id: Ib20142c33d385e2c95dce1b3c6f547588cf59b2f
Tate Hornbeck [Wed, 27 Jun 2018 16:53:11 +0000 (12:53 -0400)]
Remove shaders.negative.unused_uniform_precision_matching
The GLSL spec was updated to "the types, precisions and any location
specifiers of all statically used uniform variables with the same name
must match across shaders that are linked into a single program."
which makes the unused_uniform_precision_matching test invalid.
Updating this test to use statically used uniforms would be
redundant to used_uniform_precision_matching.
Components: OpenGL
VK-GL-CTS issue: 1249
Affects:
KHR-GLES32.shaders.negative.unused_uniform_precision_matching
Change-Id: I6a60c9355144f1d539a6463d913844129e6dfc8d
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
Juan A. Suarez Romero [Mon, 25 Jun 2018 15:22:48 +0000 (17:22 +0200)]
Shaders Derivate Tests: fix threshold
Derivate tests are calculating the threshold used for validating results
by taking in account a scale. Apparently this is incorrect, and is
causing some tests to fail.
A similar situation happened in Vulkan, and the proper fix was to do not
take in account the scale for the threshold calculation. Hence, applying
the same fix here fixes all the failing tests.
Affects:
dEQP-GLES3.functional.shaders.derivate.*
dEQP-GLES31.functional.shaders.derivate.*
Components: OpenGL
VK-GL-CTS issue: 1237
Change-Id: I106e36a708a6f75768c15ccdb4b064eb562cb28f
Alexander Galazin [Wed, 27 Jun 2018 07:59:49 +0000 (09:59 +0200)]
Exclude tests causing OOM
Components: OpenGL
Affects:
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_separate_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_combined_grid_1000x1000_drawcount_5000
VK-GL-CTS issue: 1241
Change-Id: I3bc753391e2739387879ca117e9da29c98286cec
Juan A. Suarez Romero [Tue, 19 Jun 2018 07:23:13 +0000 (07:23 +0000)]
Allow glReadPixels() differences due precision errors
When comparing the results from glReadPixels() passing user-space memory
and using a PBO, there could be differences due drivers implementation
following different paths, and thus generating differences because of
precision errors.
Like in dEQP-GLES3.functional.read_pixels.* tests, add a threshold under
which the differences are acceptable.
Affects:
dEQP-GLES3.functional.pbo.*
Components: OpenGL
VK-GL-CTS issue: 1228
Change-Id: I7c9ac5de359cff8deba039b010357eae0da3eaaf
Alexander Galazin [Sun, 8 Jul 2018 17:32:36 +0000 (19:32 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I8280652b4a92e212649f1f7cf998b2be57f5ef9c
Alexander Galazin [Sun, 8 Jul 2018 17:32:35 +0000 (19:32 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: I35d4a659eec7320e4ebf9ad4acda6618c8d39608
Alexander Galazin [Sun, 8 Jul 2018 16:11:14 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/master
Change-Id: I320830efe2f575027608c80a1c6eac896dc09619
Alexander Galazin [Sun, 8 Jul 2018 16:11:11 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: Ifcbe9328d752355465f6ea56961e2b16205e6e12
Alexander Galazin [Sun, 8 Jul 2018 16:11:07 +0000 (18:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Change-Id: Ie88a7283bd969891282983a549c6d18901a9ee7b
Alexander Galazin [Sun, 8 Jul 2018 15:53:48 +0000 (17:53 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: I5c002e83b42b86349ef96b16857bcfd3a3480bea
David Neto [Thu, 5 Jul 2018 15:52:21 +0000 (11:52 -0400)]
Log SPIR-V dissasembly when validation fails
Log the SPIR-V disassembly along with the diagnostic and the test case name.
Don't destroy the evidence.
Change-Id: Iae45b997cb979c38bdf15fa3a066421b971f6730
Components: Framework
VK-GL-CTS: 1265
Alexander Galazin [Sun, 8 Jul 2018 15:02:38 +0000 (17:02 +0200)]
Update GL/ES mustpasses
Components: OpenGL
Change-Id: If41b80a7c4ee6aad7f25835baa58d9dd1bb3a016
Yabin Zheng [Thu, 21 Jun 2018 01:41:20 +0000 (09:41 +0800)]
Robust_buffer_access_behavior.texel_fetch relies on undefined behavior
The failed test behavior is :
Create a mipmap texture as a dst texture and attach its level 1 texture
to the framebuffer colorattachment0 as render target. Create a mipmap
texture as a src texture and fill some data to its level 1 texture.
Use "texelFetch" in the fragment shader to sample level 1 source
texture(mipmap) and draw it to the dst texture.
According to the GLES3.2 spec:
The results of texelFetch builtins are undefined if the computed level
of detail is not the texture's base level and the texture's minification
filter is NEAREST or LINEAR.
Modify the test for the mipmap case.
Components: OpenGL
Affects:
KHR-NoContext.es32.robust_buffer_access_behavior.texel_fetch
VK-GL-CTS issue: 1236
Change-Id: Id67ea894a3dd423bba611ccc11a131b80d38fc64
Juan A. Suarez Romero [Wed, 20 Jun 2018 16:37:58 +0000 (18:37 +0200)]
Increase threshold GLES3 blend tests
The threshold used in dEQP-GLES3.functional.fragment_ops.blend.* is
computed using a non-scientific ad hoc formula.
As stated in a comment, when using few color bits, the blend operations
brings extra inaccuracy, which requires to increase the threshold.
Apparently, the current threshold value is not enough when using a RGB565
configuration, and it should be increased.
Moreover, the threshold used in GLES2 blend tests is a bit bigger, and
using this threshold for the GLES3 blend tests fixes the problems with
RGB565.
Thus this commit applies the GLES2 blend tests threshold to GLES3 tests.
Affects:
dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.*
Components: OpenGL
VK-GL-CTS issue: 1230
Change-Id: I7269768a9591fc70532312d8cc13481252a6f6e2
Juan A. Suarez Romero [Fri, 8 Jun 2018 08:27:33 +0000 (08:27 +0000)]
Do not fail if no config is available
If the backend does not support any EGL config with the required
attributes, make the test UnSupported rather than Fail.
Affects:
dEQP-EGL.functional.wide_color.*
Components: OpenGL
VK-GL-CTS issue: 1210
Change-Id: Ic3c37e68530b4ac0fac72e713023542645bd8288
asokolow [Fri, 30 Mar 2018 09:30:41 +0000 (11:30 +0200)]
Interface mismatch in KHR-GL45.enhanced_layouts.xfb_block_stride
There is an interface mismatch between Vertex and Geometry shaders
used in this test. VS is lacking an output variable that GS is reading.
VK-GL-CTS Issue: 1223
Components: OpenGL
Affects: KHR-GL45.enhanced_layouts.xfb_block_stride
Change-Id: I597f5dd8b553a0a47fe00eebb701822e9ef8f678
asokolow [Tue, 12 Jun 2018 08:59:10 +0000 (10:59 +0200)]
Format mismatch between bound texture and image layout specifier
According to GL 4.6 spec
(https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf - page 291)
- Any image variable used for shader loads or atomic memory operations must be
declared with a format layout qualifier matching the format of its associated
image unit.
Currently test binds the texture as GL_RGAB32UI but shader expects it to be
rgba32f. According to table 8.26 this leads to format mismatch.
Components: OpenGL
VK-GL-CTS Issue: 1222
Affected:
KHR-GL45.shader_atomic_counter_ops_tests.*
Change-Id: Ib55594371b234919b912753a4d2da1f426b55a82
James Glanville [Tue, 12 Jun 2018 13:50:26 +0000 (14:50 +0100)]
Search a longer list of random triangles in EGL render tests
This set of tests contain a loop that searches a random set of
coordinates for triangles that are large enough.
The random number seed used is the test name, and it happens that
this test's seed does not generate enough large triangles in under
40 iterations (the max before abort)
This change increases the maximum number of iterations to 100.
This will have no impact on runtime/output on any tests that
already successfully run.
Affects:
dEQP-EGL.functional.render.*
Components:
dEQP
VK-GL_CTS issue:
1213
Change-Id: Ibbd8316940f7d43d343082d21ae7aa7d17d865b4
Juan A. Suarez Romero [Wed, 6 Jun 2018 14:29:37 +0000 (14:29 +0000)]
Get an EGLConfig supporting pbuffers
Several tests create pbuffer surfaces, but they are asking for EGL
configuration that supports windows, instead of pbuffers.
Affected tests:
dEQP-EGL.functional.multicontext.*
dEQP-EGL.functional.sharing.gles2.multithread.*
Components: OpenGL
VK-GL-CTS issue: 1204
Change-Id: Ifcee406eb37cbf5fb16ffba851247772909992b6
Toni Merilehti [Thu, 31 May 2018 11:05:10 +0000 (14:05 +0300)]
Added tests for rasterizer discard
New tests were added to verify correct functionality when setting
rasterizerDiscardEnable to VK_TRUE in rasterizationStateCreateInfo.
Tests verify that primitives are discarded before rasterization by
comparing the rendered image to a blank reference image and ensuring
that no fragment shader invocations have occured.
New tests:
dEQP-VK.rasterization.discard.*
Components: Vulkan
VK-GL-CTS issue: 1149
VK-GL-CTS public issue: 100
Change-Id: Ided170a2831efaac7e393ce8cafb93269180b3d0
Alexander Galazin [Sun, 8 Jul 2018 12:45:07 +0000 (14:45 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: Ie72582139799c3bc5a8943a056bdbde3410a0054
Alexander Galazin [Sun, 8 Jul 2018 12:45:05 +0000 (14:45 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: I5cc2ec5db45c7389e4371f10cf5c68186b43169e
Alexander Galazin [Sun, 8 Jul 2018 12:45:02 +0000 (14:45 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.4 into vk-gl-cts/opengl-es-cts-3.2.5
Change-Id: I7c25701183541186be93af679e622f169f5d37e1
Alexander Galazin [Sun, 8 Jul 2018 12:44:59 +0000 (14:44 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.3 into vk-gl-cts/opengl-es-cts-3.2.4
Change-Id: Ice7c3e12cfbc1982ab7d9e363670d81c77c6e7e4
Alexander Galazin [Sun, 8 Jul 2018 09:41:59 +0000 (11:41 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: Ia44bdd5c4993686508bfa1ecc85b8a528b958f32
Alexander Galazin [Fri, 6 Jul 2018 21:12:08 +0000 (23:12 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/master
Change-Id: Id18cb2c55524e201388d4021d3755ed9f2c722db
Marcin Rogucki [Wed, 25 Oct 2017 11:33:44 +0000 (13:33 +0200)]
gl_PrimitiveIDIn tests have sketchy loop bounds.
Components: Vulkan
VK-GL-CTS issue: 778
Updates:
dEQP-VK.geometry.basic.primitive_id_in
dEQP-VK.geometry.basic.primitive_id_in_restarted
Change-Id: Icd2be56814de18067ce058a5f2a1da80338f80d6
(cherry picked from commit
52b7de31e0bccf62ca28d820f4dc2d0d52793aa8)
Jarred Davies [Thu, 5 Apr 2018 09:51:23 +0000 (10:51 +0100)]
Drop linear filter requirement from YCbCr tests
Remove requirement for YCbCr base formats to support
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT from
format_properties tests.
The standard does not require support for this feature
from any YCbCr format.
Affects:
dEQP-VK.api.info.format_properties.g8_b8_r8_3plane_420_unorm
dEQP-VK.api.info.format_properties.g8_b8r8_2plane_420_unorm
Components: Vulkan
VK-GL-CTS issue: 1090
Change-Id: I6fa1c6c7a7f9768c2001972ae1f04173310aa652
(cherry picked from commit
eab78dce0d08f4ec22cece6be8003f554ede5882)
Alexander Galazin [Fri, 6 Jul 2018 20:13:57 +0000 (22:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: I02b6ca03cf03b1280440b8bcc497afc98f85037f
Alexander Galazin [Fri, 6 Jul 2018 20:06:52 +0000 (22:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Change-Id: I141a0abc53983443da9a5bb7c905538f1ddb4f22
Arkadiusz Sarwa [Fri, 8 Jun 2018 07:29:49 +0000 (09:29 +0200)]
Fix 8bit storage spir-v tests
Wrong name of the function has been changed in the spir-v code.
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.8bit_storage.*
Components:
Vulkan
VK-GL-CTS issue:
1203
Change-Id: I71b9b87e53776b0afb4d82c32a2bfae8b40ec88b
(cherry picked from commit
493d9dee0595daaf07873271fd6f1b8737246b3d)
Marcin Kańtoch [Thu, 7 Jun 2018 13:42:25 +0000 (15:42 +0200)]
Allowed device extensions list is missing entry
VK_KHR_create_renderpass2 is missing from the list of allowed
extensions in dEQP-VK.api.info.device.extensions test.
This causes the test to fail if the extension is exposed
in the driver.
Affects:
dEQP-VK.api.info.device.extensions
Components: Vulkan
VK-GL-CTS issue: 1208
Change-Id: I7024db0f775487b5601b5e8c82a807c58d070883
(cherry picked from commit
62deeb1fc1bcda275ff652c6466f9570a2fad75d)
Alexander Galazin [Fri, 6 Jul 2018 14:40:37 +0000 (16:40 +0200)]
Merge vk-gl-cts/vulkan-cts-next-dev into vk-gl-cts/master
Change-Id: I4c564522620ff7f2bf6270b8b409c84c67804216
Alexander Galazin [Fri, 6 Jul 2018 10:24:12 +0000 (12:24 +0200)]
Merge vk-gl-cts/github-vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.0
Change-Id: I29544b2f3f6b7bee65ac6ac1339eb52176efe5a5
Alexander Galazin [Fri, 6 Jul 2018 10:21:32 +0000 (12:21 +0200)]
Fix build error introduced by the previous commit
Components: Vulkan
Alexander Galazin [Wed, 4 Jul 2018 07:17:56 +0000 (09:17 +0200)]
Update SPIR-V tools and headers
Components: Framework
Change-Id: I6ed52b681738664ee471d78e59fc843c0b41319a
Chris Forbes [Tue, 3 Jul 2018 18:06:16 +0000 (11:06 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: I2b4f4875da8ed35ec419db23dcacfc30751eae48
Chris Forbes [Fri, 2 Mar 2018 21:22:20 +0000 (13:22 -0800)]
Compile shaders for 1.0-compatible tests as SPIRV 1.0, not max supported
Components: Vulkan
VK-GL-CTS: 1232
Change-Id: I5a440f97f79be0e6d37d89018ae8b611e9d4e7c1
Chris Forbes [Mon, 18 Jun 2018 18:32:39 +0000 (11:32 -0700)]
Drop support for NDK r11
Change-Id: Ia17f539c248543b1fe8cdba96cf25347db0dc7b5
Components: Framework
VK-GL-CTS: 1194
Tony Zlatinski [Fri, 25 May 2018 21:57:20 +0000 (16:57 -0500)]
AHardwareBuffer make the system API dynamic
Instead of asserting and crashing the tests, when
the AHardwareBuffer handle is not supported, throw an exception:
"Platform doesn't support Android Hardware Buffer handles"
Move all of the AHB system APIs from implicit to dynamically loaded
and encapsuate those within the AndroidHardwareBufferExternalApi class.
Dynmaically probing and loading the AHB related API allows for run-time
selection of the symbols and to determine if AHB APIs are supported or not.
This, also, allows for the CTS to always be built against NDK API26/28.
After this change, we can make the default NDK API as API26, since
this change would allow for the CTS to work on Android APIs 21-25,
as well as the newer API versions of the NDK.
In addition, moved all of the AHB related interfaces to one place:
vktExternalMemoryUtil.cpp.
Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.*
Components: Vulkan
VK-GL-CTS issue: 1192
Change-Id: I5145eff2fbcf084bfc8ff42751102979f9a28d72
Maciej Jesionowski [Fri, 29 Jun 2018 09:52:54 +0000 (11:52 +0200)]
Check required peer memory features in sparse resources device group tests
This is a minimal fix to these cases to not use the memory in unsupported way.
The tests will return NotSupported if the required features are missing.
Affects:
dEQP-VK.sparse_resources.*device_group*
VK-GL-CTS issue: 1252
Components: Vulkan
Change-Id: Ia55509eef39c30e2283ba41d87ce55294edf6a17
Chris Forbes [Tue, 5 Jun 2018 01:15:25 +0000 (18:15 -0700)]
Add tests for compute pipeline derivatives
Initial touch-tests for CreateComputePipelines using a base pipeline by
index and by handle. I intend to add more over time, but this is enough
to expose trouble in some implementations.
VK-GL-CTS: 1220
Components: Vulkan
New Tests: dEQP-VK.pipeline.derivative.*
Change-Id: I693f5be8a2b1087b0a2eb89e1110b1c671cbd5dc
Stephen Clarke [Fri, 15 Jun 2018 13:09:03 +0000 (14:09 +0100)]
Allow fp16 denorm inputs to be flushed to zero.
Added a new version of Compare16BitFloat for an fp16 input and a float
result. Previously, the code was using the version for a float input
with an fp result and switching the original and returned values.
But this function is not symmetric: e.g. a denorm input and zero result
should be allowed, but a zero input and denorm result should not be
allowed.
Also removed the rounding modes parameter, since conversion from fp16
to float is exact.
Affects:
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.uniform_16struct_to_32struct.*
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.uniform_32struct_to_16struct.*
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.uniform_16struct_to_32struct.*
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.uniform_32struct_to_16struct.*
Components: Vulkan
VK-GL-CTS issue: 1219
Change-Id: I96d01bb428b550de1e86a601b929d08b3131870d
Neil Monday [Wed, 27 Jun 2018 20:29:07 +0000 (16:29 -0400)]
Max compiler threads only specifies a suggestion
In this test, it is expected that calling MaxShaderCompilerThreadsKHR()
with a count of 0 will compile non-parallel. However, the extension
purposefully says this is only a "request" for non-parallel compiling
or linking.
This change will remove this specific test.
Affects:
parallel_shader_compile.compilation_completion_non_parallel
Components: OpenGL
VK-GL-CTS issue: 1226
Change-Id: I49214b3b32b4991ee7b96aad3853e24075c0f137
Chris Forbes [Tue, 26 Jun 2018 16:38:16 +0000 (09:38 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: I0d125047b75842a6f52b34a494558c4f593fd7d6
Alexander Galazin [Mon, 25 Jun 2018 10:23:23 +0000 (12:23 +0200)]
Update SPIR-V tools/headers
Components: Framework
Change-Id: I3b67da0c17de5e637d44f0061b12b6024c940988
Arkadiusz Sarwa [Mon, 25 Jun 2018 07:52:17 +0000 (09:52 +0200)]
Fix: add extensions checking
Affects:
dEQP-VK.spirv_assembly.instruction.compute.*
Components: Vulkan
VK-GL-CTS issue: 1235
Change-Id: I816d832f4834fe61570f49648a9f92ebaca31a94
Piers Daniell [Thu, 14 Jun 2018 19:58:05 +0000 (13:58 -0600)]
Fix validation errors in draw tests
Many of the draw tests were causes validation errors
because the VkMappedMemoryRange.size parameter was not
a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize.
In all cases for these tests the size can be set to
VK_WHOLE_SIZE to avoid the validation error. VK_WHOLE_SIZE
can be used since in all cases the test flush the whole
mapped range.
Affects: dEQP-VK.draw.*
Change-Id: Idfa664ed03a1b0f55b356a443a7bc309ca7fae20
Components: Vulkan
Ari Suonpaa [Mon, 11 Jun 2018 13:14:41 +0000 (16:14 +0300)]
Test cross invocation communication
Added a test where tessellation control shader writes to output varyings
using multiple invocations. Both per vertex and per patch output is
tested. Also fixed validation error caused by an invalid stage mask.
Affects:
dEQP-VK.tessellation.shader_input_output.*
New tests:
dEQP-VK.tessellation.shader_input_output.cross_invocation_per_*
Components: Vulkan
VK-GL-CTS issue: 1207
Change-Id: If3416193a4a020ad4f3efcbfaae58d2bca23653e
Arkadiusz Sarwa [Fri, 22 Jun 2018 10:40:40 +0000 (12:40 +0200)]
Fix: add extensions checking
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.*
Components: Vulkan
VK-GL-CTS issue: 1235
Change-Id: Ic312f6571534dfbb7117ca9f49b7c9067cfc04d6
Alexander Galazin [Fri, 22 Jun 2018 04:44:13 +0000 (00:44 -0400)]
Revert "Require geometry shader in multisample resolve"
This reverts commit
961ab17a006bccfa3b57ec34c8b88587482b78d3.
Change-Id: I3c7ae4d2b770b310ab264d270507a43beb2b30c1
Marcin Kańtoch [Thu, 7 Jun 2018 13:42:25 +0000 (15:42 +0200)]
Allowed device extensions list is missing entry
VK_KHR_create_renderpass2 is missing from the list of allowed
extensions in dEQP-VK.api.info.device.extensions test.
This causes the test to fail if the extension is exposed
in the driver.
Affects:
dEQP-VK.api.info.device.extensions
Components: Vulkan
VK-GL-CTS issue: 1208
Change-Id: I7024db0f775487b5601b5e8c82a807c58d070883
(cherry picked from commit
62deeb1fc1bcda275ff652c6466f9570a2fad75d)
Arkadiusz Sarwa [Mon, 22 Jan 2018 09:10:52 +0000 (10:10 +0100)]
Add tests for the VK_KHR_8bit_storage extension
Affect tests:
dEQP-VK.api.info.get_physical_device_properties2.features
Add tests:
dEQP-VK.spirv_assembly.instruction.compute.8bit_storage.*
dEQP-VK.spirv_assembly.instruction.graphics.8bit_storage.*
Components: Vulkan
VK-GL-CTS issue: 791
Change-Id: Ib29c03bf2cf59f70ad652f09bfa45260fef10e4f
(cherry picked from commit
dc7e8a60d7f241e64fcfde9648ba841f0db5ed79)
Boris Zanin [Fri, 18 May 2018 14:35:59 +0000 (16:35 +0200)]
Require geometry shader in multisample resolve
Updates tests:
* dEQP-VK.renderpass.suballocation.multisample_resolve.layers_3.*
* dEQP-VK.renderpass.suballocation.multisample_resolve.layers_6.*
* dEQP-VK.renderpass2.suballocation.multisample_resolve.layers_3.*
* dEQP-VK.renderpass2.suballocation.multisample_resolve.layers_6.*
Affects tests:
* dEQP-VK.renderpass.suballocation.multisample_resolve.*
Framework's Context class extended with function
* requireDeviceCoreFeature
Components: Vulkan, Framework
VK-GL-CTS issue: 1173
Change-Id: I8f4c8e85bf9ca97fa0a4024e132225714e281088
(cherry picked from commit
2584db9e45f73ade28f7b18614b32ac2ebef2d3a)
Boris Zanin [Tue, 20 Mar 2018 14:54:56 +0000 (15:54 +0100)]
Tests for VK_KHR_create_renderpass2: multiview
Add tests:
* dEQP-VK.multiview.renderpass2.*
Affects tests:
* dEQP-VK.multiview.*
Components: Vulkan
VK-GL-CTS issue: 1011
Change-Id: I6cd54231dae7ff30249ffb2f6f0799b1359f7790
Boris Zanin [Wed, 7 Mar 2018 10:37:46 +0000 (11:37 +0100)]
Tests for VK_KHR_create_renderpass2
Add tests:
* dEQP-VK.renderpass2.*
Affects tests:
* dEQP-VK.renderpass.*
Framework's Context class extended with functions
* requireDeviceExtension
* requireInstanceExtension
Components: Vulkan, Framework
VK-GL-CTS issue: 1011
Change-Id: I721563467dcd329f60da1b41e635feec228f5df2
Alexander Galazin [Wed, 13 Jun 2018 12:33:29 +0000 (14:33 +0200)]
Remove undefined EGL test cases
Affects:
dEQP-EGL.functional.reusable_sync.invalid.wait_server_invalid_flag
dEQP-EGL.functional.reusable_sync.valid.wait_server
VK-GL-CTS issue: 1196
Change-Id: I5f2484242139a2589a47413076555fba9fc1fa30
Alexander Galazin [Thu, 21 Jun 2018 08:33:48 +0000 (10:33 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/master
Change-Id: I1bd7a59a50e3cdda92da25ee389b31d8c3d0b189
Alexander Galazin [Thu, 21 Jun 2018 08:00:05 +0000 (10:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: Iea6c9a56605b4c4407513face9be7fd4f61d3c83
Alexander Galazin [Wed, 13 Jun 2018 12:33:29 +0000 (14:33 +0200)]
Remove undefined EGL test cases
Affects:
dEQP-EGL.functional.reusable_sync.invalid.wait_server_invalid_flag
dEQP-EGL.functional.reusable_sync.valid.wait_server
VK-GL-CTS issue: 1196
Change-Id: I5f2484242139a2589a47413076555fba9fc1fa30
Chris Forbes [Wed, 20 Jun 2018 18:01:27 +0000 (11:01 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: Ib92c7970331e8a0512b1a02af5d501525f68adc9
Alexander Galazin [Wed, 13 Jun 2018 12:33:29 +0000 (14:33 +0200)]
Remove undefined EGL test cases
Affects:
dEQP-EGL.functional.reusable_sync.invalid.wait_server_invalid_flag
dEQP-EGL.functional.reusable_sync.valid.wait_server
VK-GL-CTS issue: 1196
Change-Id: I5f2484242139a2589a47413076555fba9fc1fa30
Alexander Galazin [Wed, 13 Jun 2018 12:33:29 +0000 (14:33 +0200)]
Remove undefined EGL test cases
Affects:
dEQP-EGL.functional.reusable_sync.invalid.wait_server_invalid_flag
dEQP-EGL.functional.reusable_sync.valid.wait_server
VK-GL-CTS issue: 1196
Change-Id: I5f2484242139a2589a47413076555fba9fc1fa30
Chris Forbes [Fri, 15 Jun 2018 21:31:17 +0000 (14:31 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev
Change-Id: I8a9764433dad3f15d955506e39dcb1ae8f107ef4
Chris Forbes [Fri, 15 Jun 2018 21:18:19 +0000 (14:18 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: I7f11f515a7d9ce3e10b0b90070acb8639da97763
Juan A. Suarez Romero [Tue, 29 May 2018 15:03:13 +0000 (15:03 +0000)]
wayland: search for GLESv1 toggle DEQP_SUPPORT_GLES1 on if found
Some tests require GLES1 support and report test failure if support
has not been built.
Search for GLES1 libraries and enable it.
Components: Framework
VK-GL-CTS issue: 1161
Change-Id: Iea0bb9f9362a4529cbf452efddd06b417cd74c76
Alexander Galazin [Fri, 15 Jun 2018 13:03:53 +0000 (15:03 +0200)]
Merge pull request #99 from AIOOB/patch-1
Require extension for the deviceFeatures2 test
Chris Forbes [Tue, 12 Jun 2018 18:03:59 +0000 (11:03 -0700)]
Fix protected memory buffer tests to do proper operation
Update and copy variants of these tests were doing the FILL operation
instead.
Change-Id: Iede9e71f50c1d2d5699b35ad9b86fc6237714977
Components: Vulkan
Affects: dEQP-VK.protected_memory.buffer.*
VK-GL-CTS: 1215
(cherry picked from commit
39fbe90f21cb24b46e1bbc2d49e75604453977c0)
Chris Forbes [Tue, 12 Jun 2018 18:03:59 +0000 (11:03 -0700)]
Fix protected memory buffer tests to do proper operation
Update and copy variants of these tests were doing the FILL operation
instead.
Change-Id: Iede9e71f50c1d2d5699b35ad9b86fc6237714977
Components: Vulkan
Affects: dEQP-VK.protected_memory.buffer.*
VK-GL-CTS: 1215
Chris Forbes [Thu, 14 Jun 2018 06:23:02 +0000 (23:23 -0700)]
Separate out debug information in Android build
We don't want to place the debug information in the APK, but we should
keep it around on the host so that the debugger can work.
In a "normal" Android app packaging process this is done for us by
gradle, but we roll our own. Do it as a CMake post-build step instead.
Change-Id: I59b13659d66333a06ce60b6057db19b39c067f53
Components: Framework
VK-GL-CTS: 1194
Gary Sweet [Wed, 6 Jun 2018 12:35:43 +0000 (13:35 +0100)]
Don't assume sampling is allowed on linear-tiled YCbCr
Linear-tiled formats do not have to support sampling.
The api.image_format_properties tests were checking that
sampling was supported for YCbCr in both optimal and linear
tiling.
Affects:
dEQP-VK.api.info.image_format_properties.*.linear.*
Components: Vulkan
VK-GL-CTS issue : 1200
Change-Id: Id2c2aafaca66fe25ecee243f026315a87d3d7abf
Ari Suonpaa [Tue, 29 May 2018 06:43:22 +0000 (09:43 +0300)]
Fix invalid block layouts
Upcoming update in SPIR-V validator checks correctness of block
layouts. This change fixes the errors in 16bit storage tests found
by the new validation rules.
Affects:
dEQP-VK.spirv_assembly.instruction.*.16bit_storage.*
Components: Vulkan
VK-GL-CTS issue: 1184
Change-Id: I1794fdefe044c6e256e189ab5a21c69a69eeb58e
Vikram Kushwaha [Thu, 24 May 2018 20:57:44 +0000 (13:57 -0700)]
Use local binding for renderImage layout change
As implementations may not support VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT
access, a layout change with multi device binding can not be assumed in
all cases.
Affects:
dEQP-VK.device_group.sfr*
Components: Vulkan
VK-GL-CTS issue: 1193
Change-Id: I315ff69fc9eaac3b090a57989bd0c0d177fcbe7c
Paavo Pessi [Fri, 4 May 2018 12:26:40 +0000 (15:26 +0300)]
Test omitting blend state with unused attachments
This test creates a render pass with a single color attachment and two
subpasses. The first subpass uses the color attachment and creates a
graphics pipeline with a valid color blend state. The second subpass
sets the color attachment to VK_ATTACHMENT_UNUSED and creates a
graphics pipeline without a color blend state.
A new helper function was added for creating a graphics pipeline.
New tests:
dEQP-VK.renderpass.*.simple.color_unused_omit_blend_state
Components: Vulkan, Framework
VK-GL-CTS issue: 1115
Change-Id: I1d95dab7db5727ded22fe84aca5959110949f581
Stephen Gallimore [Tue, 12 Jun 2018 14:35:46 +0000 (15:35 +0100)]
Memory binding tests not invaidating host memory before results check.
Affected tests:
dEQP-VK.memory.binding.*.buffer_*
Components: Vulkan
VK-GL-CTS issue: 1214
Change-Id: Ib347401ee818a42487df001f3ba76247b157321c
Pierre Tsai [Fri, 25 May 2018 20:40:26 +0000 (16:40 -0400)]
Test does not clean up all references
Affects:
KHR-GL46.texture_repeat_mode.*
At the end of the test, resultTextureId needs to be
cleaned up properly, by the context.
Components: OpenGL
VK-GL-CTS issue: 1191
Change-Id: I96d45baaef7345c1c5b4a52ced223c20ddfd5735
Alexander Galazin [Mon, 11 Jun 2018 07:45:59 +0000 (09:45 +0200)]
Update glslang, SPIR-V Tools/Headers
Components: Framework
Change-Id: I8dbcc9023abf55882df75aded4342b21c857458f
Alexander Galazin [Mon, 11 Jun 2018 08:47:30 +0000 (10:47 +0200)]
Update GLES mustpass
Change-Id: I1d6dcd0f7ebdf98e1fbb706269ede5f8d1e37d2f
Chris Forbes [Fri, 8 Jun 2018 21:04:31 +0000 (14:04 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: Ie16f55b158e9e677980fdd83783ab176d1f9eaa5
Yabin Zheng [Wed, 6 Jun 2018 03:09:25 +0000 (11:09 +0800)]
generatemipmap_zero_level_array_compressed may reuse stale object
The test should add a new individual texture object for this sub-test.
Components: OpenGL
Affects:
dEQP-GLES2.functional.negative_api.texture.generatemipmap_zero_level_array_compressed
VK-GL-CTS issue: 1206
Change-Id: I3af22e04c110f7e08a90596c198a9ae3da76fcdc
Nicolas Capens [Fri, 16 Mar 2018 13:51:47 +0000 (09:51 -0400)]
Add texture specification test for GL_OES_texture_half_float.
Google bug: b/
74609191
Components: AOSP
Affects: dEQP-GLES2.functional.texture.specification.*
Change-Id: I85aec3469872f2733f528ef7902427e9e87935e7
Prantit Lokre [Thu, 17 May 2018 18:41:16 +0000 (11:41 -0700)]
Fixes ycbcr copy tests to ignore padding
Copies are not expected to preserve the bits
in the padding for formats like R10X6.
Vulkan issue: 1122
Components: Vulkan
Affects:
dEQP-VK.ycbcr.copy.*
Change-Id: If617a32fbd4c690a0ef48e6831405fc674732865
Chris Forbes [Wed, 30 May 2018 16:26:57 +0000 (09:26 -0700)]
Don't rely on unspecified argument evaluation order in atomic swap tests
Bug: b/
78779994
Test: dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.compswap.random.*
VK-GL-CTS: 1198
Components: Vulkan
Change-Id: Ifba8940745c28a32ca631beb374394a5e3fe508b
(cherry picked from Android commit
51e0000bcde19cee3c0e4686c0a3caec121b3c42)
Caio Marcelo de Oliveira Filho [Wed, 9 May 2018 22:14:54 +0000 (15:14 -0700)]
Add test for VK_EXT_shader_stencil_export
The extension allows fragment shader to output a reference value for
the pixel. The test uses a first subpass to set reference values based
on position and VK_STENCIL_OP_REPLACE to write those to the stencil
buffer. Then a second subpass will draw to a color buffer using the
generated stencil.
A new overload for addFunctionCaseWithPrograms() was added to the
framework.
New tests:
dEQP-VK.pipeline.shader_stencil_export.op_replace
Components: Framework, Vulkan
VK-GL-CTS issue: 1029
Change-Id: Ic2c2f9ebe33c8575e1d6ccb20b2435aadc999b84
Alexander Galazin [Fri, 1 Jun 2018 10:30:10 +0000 (12:30 +0200)]
Exclude texture_view.view_classes
Exclude KHR-GL*.texture_view.view_classes tests
as per approved waiver VK-GL-CTS 1190
Components: OpenGL
Affects: mustpass
VK-GL-CTS issue 1141, 1190
Change-Id: I593e122b7af7cd4cd96e98400c0a876321803f78
Colin Cross [Thu, 7 Jun 2018 23:25:53 +0000 (16:25 -0700)]
Fix duplicate <uses-sdk> elements in com.drawelements.deqp
PackageManager is probably ignoring the first one.
Bug:
78447299
Test: m com.drawelements.deqp
Change-Id: Ifeaebbf1f4e8ada3c14c25d5f533f3444d2d9940
Chris Forbes [Wed, 6 Jun 2018 22:33:36 +0000 (15:33 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: Iff417713f1d7afa0a4475b455054e49192b6ead2
Mika Väinölä [Thu, 3 May 2018 07:25:51 +0000 (10:25 +0300)]
Fix various GCC 8 Warnings
Remove unnecessary parentheses and ignored type qualifiers on cast.
Add breaks and returns to suppress fallthrough warnings. Catch
tcu::NotSupportedError by reference. Change some typedefs to fix
casts between incompatible function types. Clearing tcu::Vec4 with
memset caused warnings.
Affects: *
Components: Framework, OpenGL, Vulkan
VK-GL-CTS issue: 1160
Change-Id: Iffb9df16b29e02df2ec5610afb6793fba51cc33d
Alexander Galazin [Tue, 5 Jun 2018 15:02:29 +0000 (17:02 +0200)]
Update glslang
Components: Framework
Change-Id: I64dd21dd8d82b9916937a1ff1fb623c8153d8ad7
Alexander Galazin [Tue, 5 Jun 2018 10:13:25 +0000 (12:13 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I8aa7dfe1afb68f582f464ca21b66cf4e764f0f9b
Chris Forbes [Fri, 1 Jun 2018 22:28:55 +0000 (15:28 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev
Change-Id: I20b1d746e5457f356a2ea4511a5051fe8ac4981c
Chris Forbes [Fri, 1 Jun 2018 21:39:14 +0000 (14:39 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev
Change-Id: Iec81ca5b6484d6571cc13e46acca1973d5203cfe
Your Name [Fri, 13 Apr 2018 20:06:03 +0000 (16:06 -0400)]
Sparse Texture tests not following spec
CTS is testing texture types that are incompatible
with Sparse Textures.
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
1.If 1D/1D array are not clear in the spec, then CTS should delete test
1D/1D array
2.GL_TEXTURE_2D shoule set depth = 1
3.sparse texture should create width/height/depth less than page size
4.Target GL_TEXTURE_BUFFER, GL_RENDERBUFFER,
GL_TEXTURE_2D_MULTISAMPLE,GL_TEXTURE_2D_MULTISAMPLE_ARRAY are not in
the spec, so all of them sohuld be delete.
Components: OpenGL
VK-GL-CTS issue: 1121
Change-Id: I144886ae57769be85f430127d8d4211f9554a1b2