platform/upstream/VK-GL-CTS.git
7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: d01980d03d
Alexander Galazin [Wed, 15 Mar 2017 15:37:27 +0000 (15:37 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: d01980d03d
am: 19b4a4e7ac

Change-Id: I36d68d2fdfe1ee677d26994b2ff95fa8b29b4c0b

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: 875d3c2990
Alexander Galazin [Wed, 15 Mar 2017 15:37:25 +0000 (15:37 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: 875d3c2990
am: 4a2a606f28

Change-Id: I295fdd5c2bfeb2d85b09d1717b19d7b92d270389

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: d01980d03d...
Alexander Galazin [Wed, 15 Mar 2017 15:37:25 +0000 (15:37 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: d01980d03d am: 1efb4d5fdd
am: a03d5cd549

Change-Id: Iceb00fc5b49b344c534120678f051449c19a7ed4

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: d01980d03d
Alexander Galazin [Wed, 15 Mar 2017 15:32:25 +0000 (15:32 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: d01980d03d
am: 1efb4d5fdd

Change-Id: Ie667a58dcc0b40dc0e0d7553e52f0d3e5121859e

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9
Alexander Galazin [Wed, 15 Mar 2017 15:32:24 +0000 (15:32 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9
am: 875d3c2990

Change-Id: I00af902dcb247905e4f8b3610697177acd98879b

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9
Alexander Galazin [Wed, 15 Mar 2017 15:27:25 +0000 (15:27 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9
am: d01980d03d

Change-Id: If10695499f41c716416cb4277170529a1f325596

7 years agoUse glReadnPixels only if KHR_robustness is supported
Alexander Galazin [Wed, 15 Mar 2017 15:27:24 +0000 (15:27 +0000)]
Use glReadnPixels only if KHR_robustness is supported
am: d99ba132d9

Change-Id: I61323fdb484c606044509dc6d8ea6724dd8989a8

7 years agoUse glReadnPixels only if KHR_robustness is supported am: d99ba132d9
Alexander Galazin [Wed, 15 Mar 2017 15:27:24 +0000 (15:27 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9
am: d01980d03d

Change-Id: I08946ff5a8682be58afe58db7ba462229e1ad8c7

7 years agoUse glReadnPixels only if KHR_robustness is supported
Alexander Galazin [Wed, 15 Mar 2017 15:22:52 +0000 (15:22 +0000)]
Use glReadnPixels only if KHR_robustness is supported
am: d99ba132d9

Change-Id: Icd032ba51a9c2c6141b21083b300e8709ecd7b45

7 years agoMerge "Fix stencil bits when creating reference image in depth stencil tests" am...
Kenneth Graunke [Mon, 13 Mar 2017 20:16:31 +0000 (20:16 +0000)]
Merge "Fix stencil bits when creating reference image in depth stencil tests" am: 1f9e724a41 am: 17f944d740
am: e6980259ca

Change-Id: Ie57d1c172e30fde4e5f1674314bd5d2b6be099f0

7 years agoMerge "Fix stencil bits when creating reference image in depth stencil tests" am...
Kenneth Graunke [Mon, 13 Mar 2017 20:12:08 +0000 (20:12 +0000)]
Merge "Fix stencil bits when creating reference image in depth stencil tests" am: 1f9e724a41
am: 17f944d740

Change-Id: I0bc110b358d4e6db623f6cdbed3aa6811bd55d88

7 years agoAdd tests for VK_GOOGLE_display_timing
Ian Elliott [Sun, 15 Jan 2017 22:28:01 +0000 (14:28 -0800)]
Add tests for VK_GOOGLE_display_timing

New tests:

dEQP-VK.wsi.*.display_timing.*

Changed tests:

dEQP-VK.api.info.android.no_unknown_extensions

VK-GL-CTS issue: 227

Change-Id: I50ae75ee0301668e4ad255625f7098387365def8
(cherry picked from commit 4ca1b5ba618a69f9ab748417c9ac5247d182dff4)

7 years agoMerge "Fix stencil bits when creating reference image in depth stencil tests"
Kenneth Graunke [Mon, 13 Mar 2017 20:07:38 +0000 (20:07 +0000)]
Merge "Fix stencil bits when creating reference image in depth stencil tests"
am: 1f9e724a41

Change-Id: I9422abe161e2a8817757c205b6ad22a4587f7425

7 years agoMerge "Fix stencil bits when creating reference image in depth stencil tests"
Treehugger Robot [Mon, 13 Mar 2017 19:56:27 +0000 (19:56 +0000)]
Merge "Fix stencil bits when creating reference image in depth stencil tests"

7 years agoFix precision mismatch issues in dEQP-VK.glsl
Pyry Haulos [Thu, 9 Mar 2017 18:55:20 +0000 (10:55 -0800)]
Fix precision mismatch issues in dEQP-VK.glsl

Changed tests:

dEQP-VK.glsl.functions.*
dEQP-VK.glsl.linkage.*
dEQP-VK.glsl.scoping.*
dEQP-VK.glsl.swizzles.*

Removed tests:

dEQP-VK.glsl.linkage.varying.rules.differing_precision_1
dEQP-VK.glsl.linkage.varying.rules.differing_precision_2
dEQP-VK.glsl.linkage.varying.rules.differing_precision_3

VK-GL-CTS issue: 214
Components: Vulkan

Change-Id: I48c7a5573b485340daa5be9db6aab1fbc70a6fc5

7 years agoFix validation errors in dEQP-VK.tessellation
Pyry Haulos [Thu, 9 Mar 2017 21:39:17 +0000 (13:39 -0800)]
Fix validation errors in dEQP-VK.tessellation

This fixes several invalid VkExtent3D::depth values for 2D image
operations as well as couple of interface mismatches.

Changed tests: dEQP-VK.tessellation.*

VK-GL-CTS issue: 222
Components: Vulkan

Change-Id: I3da2de6fdf5df7cb89717e35bade73b43e9d3a7d

7 years agoFix precision mismatch in dEQP-VK.binding_model
Pyry Haulos [Thu, 9 Mar 2017 20:44:57 +0000 (12:44 -0800)]
Fix precision mismatch in dEQP-VK.binding_model

Changed tests:

dEQP-VK.binding_model.shader_access.*vertex*

VK-GL-CTS issue: 212
Components: Vulkan

Change-Id: I34b565329c6261f7a12d19f67451c13537dfd914

7 years agoFix stencil bits when creating reference image in depth stencil tests
Kenneth Graunke [Sat, 11 Mar 2017 17:26:19 +0000 (09:26 -0800)]
Fix stencil bits when creating reference image in depth stencil tests

renderReference expects the number of stencil bits, but we were passing
the number of depth bits.

Affects:
- dEQP-GLES2.functional.fragment_ops.depth_stencil.*
- dEQP-GLES3.functional.fragment_ops.depth_stencil.*

Patch authored by Iago Toral.  See also:
https://bugs.freedesktop.org/show_bug.cgi?id=94455

Change-Id: Id20a4a976c11d5dbe099e0acacc2f7c38dddeb17

7 years agoFix depth stencil aspect flag in render pass input tests
Mika Isojärvi [Thu, 9 Mar 2017 20:33:48 +0000 (12:33 -0800)]
Fix depth stencil aspect flag in render pass input tests

Affected tests:
dEQP-VK.renderpass.* -groups depth and stencil tests

VK-GL-CTS issue: 216
Components: Vulkan

Change-Id: Ib84e42d09e5fea9fbe2f1270c5369b14eb9d688b

7 years agoFix image layout in dEQP-VK.image
Pyry Haulos [Thu, 9 Mar 2017 20:51:24 +0000 (12:51 -0800)]
Fix image layout in dEQP-VK.image

Image load and store ops are only supported in VK_IMAGE_LAYOUT_GENERAL.

Changed tests:

dEQP-VK.image.load_store.*
dEQP-VK.image.format_reinterpret.*
dEQP-VK.image.qualifiers.restrict.*

VK-GL-CTS issue: 217
Components: Vulkan

Change-Id: I2b9048176ce0e79b3d1db8cb36d384c1b4c4c9d4

7 years agoFix validation errors in dEQP-VK.geometry
Pyry Haulos [Thu, 9 Mar 2017 21:45:30 +0000 (13:45 -0800)]
Fix validation errors in dEQP-VK.geometry

Fixes VkExtent3D::depth value as well as interface precision mismatch
issues.

VK-GL-CTS issue: 224
Components: Vulkan

Change-Id: Ida6f3ae2ba73cab3de22090a32a49e54b7af339c

7 years agoFix issues in pipeline.timestamp.transfer_tests
Pyry Haulos [Thu, 9 Mar 2017 17:46:29 +0000 (09:46 -0800)]
Fix issues in pipeline.timestamp.transfer_tests

This change fixes two issues:

 * Buffer overrun in vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer
tests.

 * Validation error (srcStageMask must not be 0).

VK-GL-CTS issue: 185
Components: Vulkan

Change-Id: I9679566f08c4a914eb6066bab248abd6d51e0f7e

7 years agoFix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.* am: e05b3a9c94...
Sunny Sun [Fri, 10 Mar 2017 18:31:44 +0000 (18:31 +0000)]
Fix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.* am: e05b3a9c94 am: 6b525a74ec
am: 148faca50c

Change-Id: Id33fda70f6c50f5534573721c683da9fe5ae07c8

7 years agoFurther relax line verification in primitive bbox tests
Alexander Galazin [Mon, 6 Mar 2017 18:44:38 +0000 (19:44 +0100)]
Further relax line verification in primitive bbox tests

The original relaxation patch
ba45591407d0207e8ba0634ea5636fd721ed781f
allowed lines to be 1 pixel thinner or thicker compared
to the expected width. Unfortunately it missed the case
of a line with the width of 1 pixel that has extra verification
in the framework. This change covers this gap.

Google bug: 35987764

Change-Id: I193d76ae13738702c9d7361d1957f15ea7600c4f

7 years agoFix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.* am: e05b3a9c94
Sunny Sun [Fri, 10 Mar 2017 18:28:43 +0000 (18:28 +0000)]
Fix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.* am: e05b3a9c94
am: 6b525a74ec

Change-Id: I172df8728d1e9192351c8047520adde0e03eea72

7 years agoFix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*
Sunny Sun [Fri, 10 Mar 2017 18:25:42 +0000 (18:25 +0000)]
Fix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*
am: e05b3a9c94

Change-Id: I1f42053fc4ea360b21f0abb13648e3b4dad3b601

7 years agoUse glReadnPixels only if KHR_robustness is supported
Alexander Galazin [Thu, 23 Feb 2017 12:01:18 +0000 (13:01 +0100)]
Use glReadnPixels only if KHR_robustness is supported

glReadnPixels is introduced in KHR_robustness/GLES 3.2.
Use of this function in GLES 3.1 tests will result in segfault
on implementations that don't support KHR_robustness.

Components: AOSP, Framework

Affects: dEQP-GLES31.functional.debug.negative_coverage.callbacks.buffer.read_pixels_format_mismatch

VK-GL-CTS issue: 166
Google bug: 36122027

Change-Id: Idbe8734f7d82882ea99c75a8b74d693ac6dd831f
(cherry picked from commit 219019495770c221e92f43df3e76a954c613210d)

7 years agoFix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*
Sunny Sun [Fri, 10 Mar 2017 06:46:23 +0000 (14:46 +0800)]
Fix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*

Change-Id: I1432dbff1db24b0f1dd2c9a297822b4fbdb1aa76

7 years agoRefactor vktShaderExecutor
Pyry Haulos [Wed, 8 Mar 2017 21:05:00 +0000 (13:05 -0800)]
Refactor vktShaderExecutor

ShaderExecutor Vulkan port had several issues:

 * Lifetime of ShaderExecutor was designed to extend from TestCase to
TestInstance. This was done in order to allow generating shader sources at
TestCase and later reuse same object to do actual execution when Vulkan
device was available. Result was total lifetime mess and leak of Vulkan
objects beyond TestInstance lifetime.

 * Whole UniformSetup system was badly designed mess that provided
functionality for just a few tests.

Following cleanups and fixes have been made:

 * ShaderExecutor objects are now expected to be live only when Vulkan
device is available, i.e. only within vkt::TestInstance. Shader source
generation part has been moved into a separate utility.

 * UniformSetup mess is removed and replaced with much leaner and
extensible way to supply additional resources. Descriptor set 1 is
reserved for test case specific resources and those can be provided by
supplying custom descriptor layout and descriptor set. Tests using old
UniformSetup system have been adjusted accordingly.

There is still room for additional improvements, such as moving much of
pipeline construction from ShaderExecutor::execute() into constructors,
but these can be done in follow-up CLs.

Affects following test groups:

dEQP-VK.glsl.builtin.*
dEQP-VK.glsl.opaque_type_indexing.
dEQP-VK.texture.explicit_lod.*

VK-GL-CTS issue: 182
Components: Vulkan

Change-Id: Icfc45a36cb4651f39f12608842ef347a55353d84

7 years agoImprove precision handling in texture.explicit_lod
Pyry Haulos [Mon, 13 Feb 2017 21:11:53 +0000 (13:11 -0800)]
Improve precision handling in texture.explicit_lod

This change improves precision requirement handling in
dEQP-VK.texture.explicit_lod test group by adding separate controls for
format conversion and filtering math.

Changed tests:
dEQP-VK.texture.explicit_lod.*

Components: Vulkan

Change-Id: Id64da1d63d87d02c73c757a3f2d5d50f2fbc19c0
(cherry picked from commit 4269dc0c1e513c550d3d45c16f2760450dfcef5c)

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Thu, 9 Mar 2017 23:01:33 +0000 (15:01 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I14e2b7bbfe3940ace0e6ae9b661f2a56a49edf98

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Pyry Haulos [Thu, 9 Mar 2017 23:01:31 +0000 (15:01 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1

Change-Id: Ica55df93dd12ea2c6460ec7c6fbb1383e6d38f4d

7 years agoFix a compilation error on GCC 5.4
Maciej Jesionowski [Wed, 8 Mar 2017 13:15:55 +0000 (14:15 +0100)]
Fix a compilation error on GCC 5.4

Components: Vulkan
Change-Id: I6c6681d16613f18b2a3192368927f6d176f63a64

7 years agoFix flakiness of compositeDeadline check of eglGetFrameTimestsmps am: 40fd86f16f...
Brian Anderson [Thu, 9 Mar 2017 00:00:00 +0000 (00:00 +0000)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps am: 40fd86f16f am: 7cc41a5dfc
am: f4f65e7140

Change-Id: Ib25708207fa5bef96304c9d8c6b685ac9d55b916

7 years agoFix flakiness of compositeDeadline check of eglGetFrameTimestsmps am: 40fd86f16f
Brian Anderson [Wed, 8 Mar 2017 23:57:30 +0000 (23:57 +0000)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps am: 40fd86f16f
am: 7cc41a5dfc

Change-Id: Ib52a38e00b1edbcdb2bbd209ef87dc50a875a42b

7 years agoFix flakiness of compositeDeadline check of eglGetFrameTimestsmps
Brian Anderson [Wed, 8 Mar 2017 23:54:32 +0000 (23:54 +0000)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps
am: 40fd86f16f

Change-Id: I35b0be79672d223b67d1d4c45d08296656d10995

7 years agoFix flakiness of compositeDeadline check of eglGetFrameTimestsmps
Brian Anderson [Tue, 7 Mar 2017 00:34:03 +0000 (16:34 -0800)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps

maxDeadline already has some slack built into the check.
This ensures proper slack for the mindDeadline too.

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*

7 years agoMerge "Modify EGL robustness tests to use VBOs" am: c9dcf19f73 am: c3629c05cc
John Richardson [Mon, 6 Mar 2017 20:37:21 +0000 (20:37 +0000)]
Merge "Modify EGL robustness tests to use VBOs" am: c9dcf19f73 am: c3629c05cc
am: 27d6b7fdb7

Change-Id: I3f38f090d943c5b9416d772dd7601bc386b24be0

7 years agoMerge "Modify EGL robustness tests to use VBOs" am: c9dcf19f73
John Richardson [Mon, 6 Mar 2017 20:34:50 +0000 (20:34 +0000)]
Merge "Modify EGL robustness tests to use VBOs" am: c9dcf19f73
am: c3629c05cc

Change-Id: Ic5b01373b0c62d6a0ac7450169d4374b625e77bb

7 years agoMerge "Modify EGL robustness tests to use VBOs"
John Richardson [Mon, 6 Mar 2017 20:32:50 +0000 (20:32 +0000)]
Merge "Modify EGL robustness tests to use VBOs"
am: c9dcf19f73

Change-Id: I1714d2246abf3567f64c5228051bd02febbc9153

7 years agoMerge "Modify EGL robustness tests to use VBOs"
Treehugger Robot [Mon, 6 Mar 2017 19:54:49 +0000 (19:54 +0000)]
Merge "Modify EGL robustness tests to use VBOs"

7 years agoModify EGL robustness tests to use VBOs
John Richardson [Fri, 3 Mar 2017 12:01:08 +0000 (12:01 +0000)]
Modify EGL robustness tests to use VBOs

Remove use of client-side vertex arrays and use buffer objects instead.
Delete buffers on teardown and in destructor.
Move test description logs to start log file.

Affected tests:
- dEQP-EGL.functional.robustness.reset_context.*

Change-Id: I9432258f30d6c7e02362c0b2f6c36fc3694bd72d

7 years agoFix "null" ID in sRGB decode tests am: ab0a5da69e am: d1d2cbde30
Pyry Haulos [Fri, 3 Mar 2017 23:52:49 +0000 (23:52 +0000)]
Fix "null" ID in sRGB decode tests am: ab0a5da69e am: d1d2cbde30
am: 52d58263af

Change-Id: I20cefe1628ee571d0c93d3332aac31cf29e9e75d

7 years agoFix "null" ID in sRGB decode tests am: ab0a5da69e
Pyry Haulos [Fri, 3 Mar 2017 23:49:49 +0000 (23:49 +0000)]
Fix "null" ID in sRGB decode tests am: ab0a5da69e
am: d1d2cbde30

Change-Id: I757511322c611abac05ba4062e55f2189bed29e7

7 years agoFix "null" ID in sRGB decode tests
Pyry Haulos [Fri, 3 Mar 2017 23:46:49 +0000 (23:46 +0000)]
Fix "null" ID in sRGB decode tests
am: ab0a5da69e

Change-Id: If565564c9d688b98251e22d99393366e4324510b

7 years agoFix "null" ID in sRGB decode tests
Pyry Haulos [Fri, 3 Mar 2017 16:44:08 +0000 (08:44 -0800)]
Fix "null" ID in sRGB decode tests

Use 0 as "null" GL object ID as -1 is potentially valid ID.

Change-Id: I95f9f0c300d5b6e95c0c7c81e29fd28ac9ca3b82

7 years agoModify single_tessellation_stage to check for GL_NV_gpu_shader5 am: 2c74c73891 am...
Mark Adams [Thu, 2 Mar 2017 19:22:01 +0000 (19:22 +0000)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5 am: 2c74c73891 am: ffd7498e5b
am: 5a3babd313

Change-Id: I354aff33d7c6942b329f76267831bcc5e5f2d042

7 years agoModify single_tessellation_stage to check for GL_NV_gpu_shader5 am: 2c74c73891
Mark Adams [Thu, 2 Mar 2017 19:20:01 +0000 (19:20 +0000)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5 am: 2c74c73891
am: ffd7498e5b

Change-Id: I48ca85e51860da627b9f869b6860141a09fba129

7 years agoModify single_tessellation_stage to check for GL_NV_gpu_shader5
Mark Adams [Thu, 2 Mar 2017 19:18:04 +0000 (19:18 +0000)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5
am: 2c74c73891

Change-Id: I8403a6326362debb827a2d1bcac73d0c15e26796

7 years agoModify single_tessellation_stage to check for GL_NV_gpu_shader5
Mark Adams [Thu, 2 Mar 2017 15:19:49 +0000 (10:19 -0500)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5

That extension permits the use of a tessellation control shader
without a tessellation evaluation shader. Affected tests:

dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage

7 years agoFix a compilation error on MSVC12
Maciej Jesionowski [Thu, 2 Mar 2017 11:51:39 +0000 (12:51 +0100)]
Fix a compilation error on MSVC12

There's a problem with uint32_t, so better just use delib defines.

Components: Vulkan

Change-Id: I589ac7f220a7e651ed31910d16c643866314f681

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Wed, 1 Mar 2017 15:53:46 +0000 (07:53 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I1a17ff8600abeab32614212bdab2e4646e50bc25

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Pyry Haulos [Wed, 1 Mar 2017 15:53:44 +0000 (07:53 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1

Change-Id: I9eec4dd1fa88a85374eba8d0851b00a28c50b4ac

7 years agoAdd new robustness extension tests am: 83c250d247 am: 9df12c2edc
John Richardson [Tue, 28 Feb 2017 18:54:51 +0000 (18:54 +0000)]
Add new robustness extension tests am: 83c250d247 am: 9df12c2edc
am: 630f00b166

Change-Id: I8fc1a380b0e178c4bf0185612e6001f29a6d7fbf

7 years agoAdd new robustness extension tests am: 83c250d247
John Richardson [Tue, 28 Feb 2017 18:52:51 +0000 (18:52 +0000)]
Add new robustness extension tests am: 83c250d247
am: 9df12c2edc

Change-Id: I340336a60a379623253d3047731883e712e1bc65

7 years agoAdd new robustness extension tests
John Richardson [Tue, 28 Feb 2017 18:50:21 +0000 (18:50 +0000)]
Add new robustness extension tests
am: 83c250d247

Change-Id: I6948a8bacbe8d65b7b814085a58ea1212f8e0223

7 years agoAdd new robustness extension tests
John Richardson [Wed, 1 Feb 2017 15:00:53 +0000 (15:00 +0000)]
Add new robustness extension tests

New tests for KHR_robustness extension. Attempts to provoke context
reset scenarios and test GL state after a reset has occurred.

New test group:
- dEQP-EGL.functional.robustness.*

New tests:
- create_context.query_robust_access
- create_context.no_reset_notification
- create_context.lose_context_on_reset

- reset_context.shaders.infinite_loop.*   (various shaders)
- reset_context.shaders.out_of_bounds.*   (various resource types)
- reset_context.fixed_function_pipeline.* (index and vertex buffers)

- negative_context.invalid_robust_context_creation
- negative_context.invalid_robust_shared_context_creation

Note: Test groups ending in *_non_robust are for internal use only.

Change-Id: I91d7e3e95ec52f908dbaa1f49c56dcd94d60fd8f

7 years agoFix tessellation support checks in negative binding tests am: 698b728335 am: 04deca9bc5
Mika Isojrvi [Tue, 28 Feb 2017 00:43:19 +0000 (00:43 +0000)]
Fix tessellation support checks in negative binding tests am: 698b728335 am: 04deca9bc5
am: d059396f65

Change-Id: Ia96663b0d3e166744ecca1cbe71a01dede64b149

7 years agoFix tessellation support checks in negative binding tests am: 698b728335
Mika Isojrvi [Tue, 28 Feb 2017 00:41:19 +0000 (00:41 +0000)]
Fix tessellation support checks in negative binding tests am: 698b728335
am: 04deca9bc5

Change-Id: I42113c89816159270a66c8e847b28d005a9f041a

7 years agoFix tessellation support checks in negative binding tests
Mika Isojrvi [Tue, 28 Feb 2017 00:38:50 +0000 (00:38 +0000)]
Fix tessellation support checks in negative binding tests
am: 698b728335

Change-Id: Ic18ca67f2ee63511af0334c1e14a99ec7aa2e970

7 years agoFix tessellation support checks in negative binding tests
Mika Isojärvi [Wed, 22 Feb 2017 21:25:59 +0000 (13:25 -0800)]
Fix tessellation support checks in negative binding tests

Bug: 35618877
Test: Run the tests on couple of devices supporting tessellation
Change-Id: Ieca6a28a57a278a07ff688f760eb7da807e66d49

7 years agoMerge Vulkan CTS 1.0.2.1 into AOSP am: 71ddde91a1 am: 78f497a2fa
Pyry Haulos [Mon, 27 Feb 2017 22:41:59 +0000 (22:41 +0000)]
Merge Vulkan CTS 1.0.2.1 into AOSP am: 71ddde91a1 am: 78f497a2fa
am: b3eb60301a

Change-Id: Ice5b95f7419fecbf588a2fce459e3802dcca0729

7 years agoMerge Vulkan CTS 1.0.2.1 into AOSP am: 71ddde91a1
Pyry Haulos [Mon, 27 Feb 2017 22:40:23 +0000 (22:40 +0000)]
Merge Vulkan CTS 1.0.2.1 into AOSP am: 71ddde91a1
am: 78f497a2fa

Change-Id: I5b30ea1266ff65dce3a8ebff6e0c68ccaef8da03

7 years agoMerge Vulkan CTS 1.0.2.1 into AOSP
Pyry Haulos [Mon, 27 Feb 2017 22:38:56 +0000 (22:38 +0000)]
Merge Vulkan CTS 1.0.2.1 into AOSP
am: 71ddde91a1

Change-Id: I563ec933a1b8618bee02654891be7b2bfea2a9fb

7 years agoMerge Vulkan CTS 1.0.2.1 into AOSP
Pyry Haulos [Mon, 27 Feb 2017 19:26:45 +0000 (11:26 -0800)]
Merge Vulkan CTS 1.0.2.1 into AOSP

Change-Id: Ib0aaf12ec60902ebc31d00ad02291bd3d1cd7fae

7 years agoFix bug in reallocation callback validation
Pyry Haulos [Thu, 23 Feb 2017 22:11:27 +0000 (14:11 -0800)]
Fix bug in reallocation callback validation

vk::validateAllocationCallbacks() didn't correctly handle a case where
reallocate(NULL, size) returned previously seen pointer value.

VK-GL-CTS issue: 176
Components: Vulkan

Change-Id: I0822f8e4176d20d7bf296cd85f5c5223e189d250

7 years agoFix input attachment layout in renderpass tests
Igor Ostrowski [Mon, 27 Feb 2017 12:47:12 +0000 (13:47 +0100)]
Fix input attachment layout in renderpass tests

Input attachment layout was hardcoded for descriptor set update.
Added input attachment layout getter.

Affects:

dEQP-VK.renderpass.*

Components: Vulkan

VK-GL-CTS issue: 189

Change-Id: I2083c7b0cf4c68072f98d369f6c3089c6eb2b184

7 years agoFix extension support checks in negative api tests am: 0297569515 am: 52b47cb46a
Graeme Leese [Sat, 25 Feb 2017 22:24:56 +0000 (22:24 +0000)]
Fix extension support checks in negative api tests am: 0297569515 am: 52b47cb46a
am: a4b71dab4b

Change-Id: If245c1dcfb29034a842aa6d0cb87078dedae5c31

7 years agoFix extension support checks in negative api tests am: 0297569515
Graeme Leese [Sat, 25 Feb 2017 22:21:27 +0000 (22:21 +0000)]
Fix extension support checks in negative api tests am: 0297569515
am: 52b47cb46a

Change-Id: I942df917248abb36c48d94198f690a0e8d08a596

7 years agoFix extension support checks in negative api tests
Graeme Leese [Sat, 25 Feb 2017 22:18:25 +0000 (22:18 +0000)]
Fix extension support checks in negative api tests
am: 0297569515

Change-Id: I40dfed65aec5fd9b300e21fbdb416d3a519ac4a5

7 years agoFix extension support checks in negative api tests
Graeme Leese [Thu, 23 Feb 2017 16:56:10 +0000 (16:56 +0000)]
Fix extension support checks in negative api tests

Add checks for tessellation and geometry shader support for negative
shader storage and primitive bounding box tests.

Move all uses of cubemap array textures inside the extension checks in
the texture tests.

Bug: 29835218
Change-Id: I6051fff231285ed7d9c71015c2bb11a9fc7b909b
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
7 years agoMerge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048" am: eae50b9cdb am:...
Pyry Haulos [Fri, 24 Feb 2017 17:06:34 +0000 (17:06 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048" am: eae50b9cdb am: f138de1efa
am: 625103915e

Change-Id: I734d55617826e565d964ab9371fd028f51e4e077

7 years agoMerge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048" am: eae50b9cdb
Pyry Haulos [Fri, 24 Feb 2017 17:03:34 +0000 (17:03 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048" am: eae50b9cdb
am: f138de1efa

Change-Id: Ice542bdff284e34b609260dd36237381160a672c

7 years agoMerge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"
Pyry Haulos [Fri, 24 Feb 2017 16:59:34 +0000 (16:59 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"
am: eae50b9cdb

Change-Id: I37e5f993fcdafd1a2f304ec9deba53f2dc2c4fb0

7 years agoMerge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"
Pyry Haulos [Fri, 24 Feb 2017 16:52:34 +0000 (16:52 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"

7 years agoModify tessellation_not_active to check for GL_NV_gpu_shader5 am: 0e7a9e61ae am:...
Mark Adams [Thu, 23 Feb 2017 22:37:01 +0000 (22:37 +0000)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5 am: 0e7a9e61ae am: 2598aa2ce0
am: c0fbc9800f

Change-Id: Ie04e0943ca01b840653030152b840f7c2b06e66a

7 years agoModify tessellation_not_active to check for GL_NV_gpu_shader5 am: 0e7a9e61ae
Mark Adams [Thu, 23 Feb 2017 22:32:55 +0000 (22:32 +0000)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5 am: 0e7a9e61ae
am: 2598aa2ce0

Change-Id: I1c2ad5bba87cae69c6149970c35be15b9b663206

7 years agoModify tessellation_not_active to check for GL_NV_gpu_shader5
Mark Adams [Thu, 23 Feb 2017 22:27:31 +0000 (22:27 +0000)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5
am: 0e7a9e61ae

Change-Id: I39d7e05e29ab408467c46929672e01b9e112da47

7 years agoDrop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048
Pyry Haulos [Thu, 23 Feb 2017 20:50:22 +0000 (12:50 -0800)]
Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048

GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax has been changed to
2048 (from 4096) in OpenGL ES 3.2 spec in response to bug 12823.

Bug: 35619900
Change-Id: I59d75d23df02d339bf7094a8e73d3a24d2e785be

7 years agoModify tessellation_not_active to check for GL_NV_gpu_shader5
Mark Adams [Wed, 22 Feb 2017 22:03:36 +0000 (17:03 -0500)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5

That extension permits use of GL_PATCHES for stages other than
tessellation stages. Affected test:

dEQP-GLES31.functional.debug.negative_coverage.get_error.tessellation.tessellation_not_active

Bug 35670519

7 years agoMerge "Fix whitespace issues" am: 09b0225a8a am: f8b6504bce
Pyry Haulos [Wed, 22 Feb 2017 19:57:27 +0000 (19:57 +0000)]
Merge "Fix whitespace issues" am: 09b0225a8a am: f8b6504bce
am: 3ab3152bbc

Change-Id: Ifff1d6ffbdec302ad74705924897d7487d3783c8

7 years agoAdd non-seperable TCS-but-no-TES subcase and fix draw time check subcase am: 59999de5...
John Richardson [Wed, 22 Feb 2017 19:57:19 +0000 (19:57 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase am: 59999de58c am: 7620b8e998
am: e15f8d24b5

Change-Id: Id997af42666770e273f86a05cf3cb8122b3286dc

7 years agoMerge "Fix whitespace issues" am: 09b0225a8a
Pyry Haulos [Wed, 22 Feb 2017 19:55:56 +0000 (19:55 +0000)]
Merge "Fix whitespace issues" am: 09b0225a8a
am: f8b6504bce

Change-Id: I709357634ae1efd756d9235cf9fcb700f5cabd98

7 years agoAdd non-seperable TCS-but-no-TES subcase and fix draw time check subcase am: 59999de58c
John Richardson [Wed, 22 Feb 2017 19:55:48 +0000 (19:55 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase am: 59999de58c
am: 7620b8e998

Change-Id: If9a51ce10926f4feac40e22924f31147a8d6c350

7 years agoMerge "Fix whitespace issues"
Pyry Haulos [Wed, 22 Feb 2017 19:53:08 +0000 (19:53 +0000)]
Merge "Fix whitespace issues"
am: 09b0225a8a

Change-Id: Ie42bd577ea465b047bee4df2ec6d3f970bf4c267

7 years agoAdd non-seperable TCS-but-no-TES subcase and fix draw time check subcase
John Richardson [Wed, 22 Feb 2017 19:52:58 +0000 (19:52 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase
am: 59999de58c

Change-Id: I43199430d5a6e55c4efa6067b298a22865a5d2c1

7 years agoMerge "Fix whitespace issues"
Treehugger Robot [Wed, 22 Feb 2017 19:44:27 +0000 (19:44 +0000)]
Merge "Fix whitespace issues"

7 years agoAdd non-seperable TCS-but-no-TES subcase and fix draw time check subcase
John Richardson [Mon, 20 Feb 2017 11:26:04 +0000 (11:26 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase

- Add a non-separable TCS-but-no-TES (new subcase).

Section 7.3 of the OpenGL ES 3.2 specification says:

   "Linking can fail for [...] any of the following reasons:

    * program contains an object to form a tessellation evaluation
      shader [...] and [...] the program is not separable and
      contains no object to form a tessellation control shader"

Add a test to ensure the implementation does raise a link error.

- Make program separable in TES-but-no-TCS draw time check test (fix)

Since the test is trying to check for a draw time error, it should use
a separable program - otherwise we may hit a link error.

Changes made to test case:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage

Bug: 35354738
Change-Id: I902106864059cfbe7d718da0d0527284de04a915

7 years agoAdd GetFrameTimestamps tests am: e288d40afc am: 3ba03a8a72
Brian Anderson [Wed, 22 Feb 2017 18:14:13 +0000 (18:14 +0000)]
Add GetFrameTimestamps tests am: e288d40afc am: 3ba03a8a72
am: 08ab339a5b

Change-Id: I217b3feb9651acfc4d5c50a4f303135c80e857af

7 years agoAdd GetFrameTimestamps tests am: e288d40afc
Brian Anderson [Wed, 22 Feb 2017 18:12:11 +0000 (18:12 +0000)]
Add GetFrameTimestamps tests am: e288d40afc
am: 3ba03a8a72

Change-Id: I2b50aa8ebee6b6b42542547a08baa871c7625e31

7 years agoAdd GetFrameTimestamps tests
Brian Anderson [Wed, 22 Feb 2017 18:11:11 +0000 (18:11 +0000)]
Add GetFrameTimestamps tests
am: e288d40afc

Change-Id: I8429c7d4979a2cac18501f6e68cbfbdd60b659cc

7 years agoFix whitespace issues
Pyry Haulos [Wed, 22 Feb 2017 18:05:57 +0000 (10:05 -0800)]
Fix whitespace issues

Change-Id: I31cd4e4d3e113192fce0bccd20fd8fa14d182620

7 years agoAdd GetFrameTimestamps tests
Brian Anderson [Sun, 22 Jan 2017 00:03:19 +0000 (16:03 -0800)]
Add GetFrameTimestamps tests

Add tests for EGL_ANDROID_get_frame_timestamps.

Verifies:
1) Frame IDs properly identify frames.
2) The frame timestamp ordering is correct
3) The compositor timing values are reasonable.
4) All timestamps from the most recently swapped frame can
   be retrieved without additional swaps.

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I393a3bc79f019951a2fddb83760b6e1d919663b6

7 years agoMerge "Fix multiple resource leaks in new srgb_texture_decode tests" am: d4a9effab0...
Mark Adams [Tue, 21 Feb 2017 19:02:47 +0000 (19:02 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests" am: d4a9effab0 am: cedac8ca54
am: 499cbe679f

Change-Id: I6a9e2f90465eff40681918b90d52545320d4ac4a

7 years agoMerge "Fix multiple resource leaks in new srgb_texture_decode tests" am: d4a9effab0
Mark Adams [Tue, 21 Feb 2017 19:00:47 +0000 (19:00 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests" am: d4a9effab0
am: cedac8ca54

Change-Id: I87588c2347aa38ad93764b605e116cc4da34d289

7 years agoMerge "Fix multiple resource leaks in new srgb_texture_decode tests"
Mark Adams [Tue, 21 Feb 2017 18:58:47 +0000 (18:58 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests"
am: d4a9effab0

Change-Id: I48306394fd0d053c2a8a7f75b0bf6cadab196416

7 years agoMerge "Fix multiple resource leaks in new srgb_texture_decode tests"
Treehugger Robot [Tue, 21 Feb 2017 18:52:36 +0000 (18:52 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests"

7 years agoMerge "Reduce read pixel calls in copy image tests" am: dbec7154ee am: 0213098549
Kalle Raita [Tue, 21 Feb 2017 18:18:51 +0000 (18:18 +0000)]
Merge "Reduce read pixel calls in copy image tests" am: dbec7154ee am: 0213098549
am: 04ad91051d

Change-Id: I674019209dc80079e848e2d5898a6b0c6b989a98

7 years agoMerge "Restructure copy image test iterations" am: 7ac38a6fa1 am: dae41c30d3
Kalle Raita [Tue, 21 Feb 2017 18:18:40 +0000 (18:18 +0000)]
Merge "Restructure copy image test iterations" am: 7ac38a6fa1 am: dae41c30d3
am: 11a3c5d0a1

Change-Id: I6536bfa6ab9142f82bced640257a16edf9f12beb

7 years agoMerge "Reduce read pixel calls in copy image tests" am: dbec7154ee
Kalle Raita [Tue, 21 Feb 2017 18:13:42 +0000 (18:13 +0000)]
Merge "Reduce read pixel calls in copy image tests" am: dbec7154ee
am: 0213098549

Change-Id: I5afeb75e85b5695a37f3e3887149f304b3ec8669