platform/upstream/VK-GL-CTS.git
7 years agoMerge changes Id437e220,I9d6b3fba
Kenneth Graunke [Mon, 11 Sep 2017 19:36:02 +0000 (19:36 +0000)]
Merge changes Id437e220,I9d6b3fba
am: 94b6d11640

Change-Id: Ide9468359dc4bdfd9e47a3f5f3aaa345d8096cd8

7 years agoMerge changes Id437e220,I9d6b3fba
Treehugger Robot [Mon, 11 Sep 2017 19:30:30 +0000 (19:30 +0000)]
Merge changes Id437e220,I9d6b3fba

* changes:
  Allow ES 3.2 contexts to run sRGB write control unsupported test.
  Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable

7 years agoMerge "Use 64-bit math in work group size assertion."
Kenneth Graunke [Mon, 11 Sep 2017 19:27:27 +0000 (19:27 +0000)]
Merge "Use 64-bit math in work group size assertion."
am: bc6743fe27

Change-Id: I8852b7cb4f89e1a7500cf5e216731a9b9f10ae31

7 years agoMerge "Delete incorrect invalid map tests."
Kenneth Graunke [Mon, 11 Sep 2017 19:27:13 +0000 (19:27 +0000)]
Merge "Delete incorrect invalid map tests."
am: 6352f3c7c0

Change-Id: I66916c3bcd4a064719062e3bb87c24c5f6ac2414

7 years agoMerge "Use 64-bit math in work group size assertion."
Treehugger Robot [Mon, 11 Sep 2017 18:58:52 +0000 (18:58 +0000)]
Merge "Use 64-bit math in work group size assertion."

7 years agoMerge "Delete incorrect invalid map tests."
Treehugger Robot [Mon, 11 Sep 2017 18:57:22 +0000 (18:57 +0000)]
Merge "Delete incorrect invalid map tests."

7 years agoAllow ES 3.2 contexts to run sRGB write control unsupported test.
Kenneth Graunke [Sat, 9 Sep 2017 06:30:15 +0000 (23:30 -0700)]
Allow ES 3.2 contexts to run sRGB write control unsupported test.

GL_EXT_sRGB_write_control functionality is not part of ES 3.2.
So there's no need to restrict this to older contexts.

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Components: AOSP

Change-Id: Id437e220958c66acf65fd5c40004e1fde13fdf64

7 years agoRequire GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable
Kenneth Graunke [Sat, 9 Sep 2017 06:26:15 +0000 (23:26 -0700)]
Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable

This test required GL_EXT_sRGB_write_control or ES 3.2.  But glEnable
and glDisable of GL_FRAMEBUFFER_SRGB requires the extension - ES 3.2
doesn't provide that functionality.  ES 3.2 implementations without the
extension would fail.  Now they report NotSupported.

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled

Components: AOSP

Change-Id: I9d6b3fba892288354620ecbbc51ef7a351507e43

7 years agoDelete incorrect invalid map tests.
Kenneth Graunke [Fri, 8 Sep 2017 22:37:38 +0000 (15:37 -0700)]
Delete incorrect invalid map tests.

The citation given in these tests comes from the OpenGL man pages, which
are not authoritative.  The ES 3.2 specification says:

   "6.3.2 Effects of Mapping Buffers on Other GL Commands

    Any GL command which attempts to read from, write to, or change the
    state of a buffer object may generate an INVALID_OPERATION error if
    all or part of the buffer object is mapped. However, only commands
    which explicitly describe this error are required to do so. If an
    error is not generated, using such commands to perform invalid
    reads, writes, or state changes will have undefined results and may
    result in GL interruption or termination."

Importantly, it says "_may_ generate an INVALID_OPERATION error".  Some
drivers choose not to implement this to avoid the CPU overhead required
to enforce this optional restriction.

Affects:
- dEQP-GLES31.functional.debug.negative_coverage.*.vertex_array.*_invalid_map

Components: AOSP

Change-Id: I26eb6ac0dfffbfc50612bed44d1beb6eb3d366c9

7 years agoMerge "Relax EGL functional test thresholds"
james.glanville [Fri, 8 Sep 2017 21:39:27 +0000 (21:39 +0000)]
Merge "Relax EGL functional test thresholds"
am: a1ec716449

Change-Id: I719ba3fa67da541722ac65f2b5d2c847b98824e0

7 years agoMerge "Relax EGL functional test thresholds"
Treehugger Robot [Fri, 8 Sep 2017 21:25:48 +0000 (21:25 +0000)]
Merge "Relax EGL functional test thresholds"

7 years agoUse 64-bit math in work group size assertion.
Kenneth Graunke [Thu, 13 Jul 2017 01:44:11 +0000 (18:44 -0700)]
Use 64-bit math in work group size assertion.

If the maximum workgroup size in each dimension is large enough, this
can overflow, causing the comparison to fail.  For example, on Intel
Haswell, we get:

   assert(2048 * 2048 * 2048 > 2048) -> assert(0 > 2048) -> fail

Casting one value to deInt64 causes the multiplications to occur as
64-bit values, so we don't overflow.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.*.compute.invalid_maximum_work_group_sizes

Components: AOSP

Change-Id: Ie03627a378f4fdc46ce241bbdd3693ae829c217d

7 years agoRelax EGL functional test thresholds
james.glanville [Tue, 29 Aug 2017 10:40:53 +0000 (11:40 +0100)]
Relax EGL functional test thresholds

The current threshold of 0.02 was selected as suitable for 8-bit color depths.
However, for smaller bit depths such as RGB565 this threshold is too strict
and it has been relaxed to allow a larger error for low bit depth formats.

Affects:
dEQP-EGL.functional.render.*

Change-Id: I6d6e061be02bc8e63cb5d9662feb804bc839d567

7 years agoCheck for EGL_KHR_gl_colorspace before using it
Courtney Goeltzenleuchter [Wed, 6 Sep 2017 16:45:57 +0000 (16:45 +0000)]
Check for EGL_KHR_gl_colorspace before using it
am: 2cf32ffa6e

Change-Id: I862ea02e9803fc946a2e71e3145d806f76278676

7 years agoCheck for EGL_KHR_gl_colorspace before using it
Courtney Goeltzenleuchter [Tue, 5 Sep 2017 23:48:27 +0000 (17:48 -0600)]
Check for EGL_KHR_gl_colorspace before using it

Bug: 65376495
Test: adb -d shell am start \
        -n com.drawelements.deqp/android.app.NativeActivity \
        -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
        --deqp-log-filename=/sdcard/dEQP-Log.qpa"'

Change-Id: Ief654c998e93d72899225120b0ca1ab2fa3ca624

7 years agoMerge "Add more allowed 'dot' alternatives"
Alexander Galazin [Tue, 5 Sep 2017 21:44:31 +0000 (21:44 +0000)]
Merge "Add more allowed 'dot' alternatives"
am: 7e8c3b2d00

Change-Id: I8ea74cc7658e034905be82c02fafc7f01b4e3705

7 years agoMerge "Add more allowed 'dot' alternatives"
Treehugger Robot [Tue, 5 Sep 2017 21:35:29 +0000 (21:35 +0000)]
Merge "Add more allowed 'dot' alternatives"

7 years agoFix unused uniform bug in EGL robustness tests
Mika Isojrvi [Tue, 5 Sep 2017 19:47:23 +0000 (19:47 +0000)]
Fix unused uniform bug in EGL robustness tests
am: 7806d74666

Change-Id: I7bdb3742437ed0abe590f5c011bf1b78cade9419

7 years agoMerge "Fix missing SSBO binding in EGL robustness tests"
Mika Isojärvi [Tue, 5 Sep 2017 17:33:37 +0000 (17:33 +0000)]
Merge "Fix missing SSBO binding in EGL robustness tests"
am: e19c3ff127

Change-Id: I4eadac66e4d313347a6b3fea1c4585bb98507641

7 years agoFix unused uniform bug in EGL robustness tests
Mika Isojärvi [Thu, 31 Aug 2017 19:13:05 +0000 (12:13 -0700)]
Fix unused uniform bug in EGL robustness tests

Bug: 64845766
Bug: 65175554
Test: Ran tests on couple of Google devices
Change-Id: Iee2918c1e45ad305dd9ca30f1b81998bdac06127

7 years agoMerge "Fix missing SSBO binding in EGL robustness tests"
Treehugger Robot [Tue, 5 Sep 2017 17:18:37 +0000 (17:18 +0000)]
Merge "Fix missing SSBO binding in EGL robustness tests"

7 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2
Pyry Haulos [Tue, 5 Sep 2017 15:31:57 +0000 (15:31 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2
am: 342eb176e6

Change-Id: Iad7f205649553e7096d52a0cbf16d868ba405085

7 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20
Pyry Haulos [Tue, 5 Sep 2017 15:22:27 +0000 (15:22 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20
am: 9e85a126d2

Change-Id: I86a852a2216971095d4aa256a97f0b8e68e73646

7 years agoFix issues in pipeline.timestamp.transfer_tests
Pyry Haulos [Tue, 5 Sep 2017 15:14:23 +0000 (15:14 +0000)]
Fix issues in pipeline.timestamp.transfer_tests
am: 0f672f2a20

Change-Id: Ib7e13db1c7801095b925890f226a38969a1b418e

7 years agoAdd more allowed 'dot' alternatives
Alexander Galazin [Tue, 22 Aug 2017 13:59:49 +0000 (15:59 +0200)]
Add more allowed 'dot' alternatives

Expanded dot may be re-associated in multiple ways.
Add all possible alternatives to prevent precision failures.

Components: AOSP

VK-GL-CTS issue: 634
Google issue: 28767510

Affects:
dEQP-GLES3.functional.shaders.builtin_functions.precision.dot.*
dEQP-GLES3.functional.shaders.builtin_functions.precision.reflect.*
dEQP-GLES31.functional.shaders.builtin_functions.precision.dot.*
dEQP-GLES31.functional.shaders.builtin_functions.precision.reflect.*

Change-Id: I2a91add1b92363acab2172179320cd880da779ec

7 years agoFix missing SSBO binding in EGL robustness tests
Mika Isojärvi [Thu, 31 Aug 2017 18:54:48 +0000 (11:54 -0700)]
Fix missing SSBO binding in EGL robustness tests

Bug: 64845581
Bug: 65175642
Test: Ran the tests on couple of Google devices
Change-Id: I3a98fe12802e6951483499e800cd3fe7412e37f0

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 agoRequire EGL_KHR_gl_colorspace for wide_color tests.
Tapani Plli [Wed, 30 Aug 2017 17:51:01 +0000 (17:51 +0000)]
Require EGL_KHR_gl_colorspace for wide_color tests.
am: 2a3edba962

Change-Id: Ib187061a097641d56876d85b1af68baae7bc6f1d

7 years agoRequire EGL_KHR_gl_colorspace for wide_color tests.
Tapani Pälli [Mon, 28 Aug 2017 06:20:53 +0000 (09:20 +0300)]
Require EGL_KHR_gl_colorspace for wide_color tests.

These tests utilize enum EGL_GL_COLORSPACE_KHR which is introduced by
EGL_KHR_gl_colorspace extension, check first for support and skip the
test if extension is not supported.

v2: loosen the check, only check when enum in use (Courtney)

Change-Id: I891a6fdcce49ac6dcd42577076d4cf64a143dd38
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
7 years agoMerge "Check only what's needed and use threshold"
Courtney Goeltzenleuchter [Thu, 24 Aug 2017 23:11:50 +0000 (23:11 +0000)]
Merge "Check only what's needed and use threshold"
am: 923d047106

Change-Id: I375f81f9ea270da5ca86bbb9c0a0465a82dbec19

7 years agoMerge "Check only what's needed and use threshold"
Treehugger Robot [Thu, 24 Aug 2017 22:57:17 +0000 (22:57 +0000)]
Merge "Check only what's needed and use threshold"

7 years agoMerge Vulkan CTS 1.0.2.5 into aosp/master
Mika Isojärvi [Thu, 24 Aug 2017 22:35:31 +0000 (22:35 +0000)]
Merge Vulkan CTS 1.0.2.5 into aosp/master
am: 76a147bf66

Change-Id: I05b18f9180285aa9b140b63f132020874d83e9d4

7 years agoMerge Vulkan CTS 1.0.2.5 into aosp/master
Mika Isojärvi [Thu, 24 Aug 2017 20:13:19 +0000 (13:13 -0700)]
Merge Vulkan CTS 1.0.2.5 into aosp/master

Bug: 64932237
Change-Id: Ic2758a85f3a8f8cf00985b03a89830ba509f824d

7 years agoCheck only what's needed and use threshold
Courtney Goeltzenleuchter [Fri, 28 Jul 2017 19:51:31 +0000 (13:51 -0600)]
Check only what's needed and use threshold

Check for only the functionality needed for a specific test.
E.g. if testing floating point color, don't need to check
for support of 10:10:10:2 pixel format.
Some devices are not able to hit the exact values calculated.
Not unexpected, update tests to use thresholds.

Note: waiting on results of b/64487716. Seeing failure on
Pixel devices. Need to make sure it's not a test issue.

Test: adb -s 0424415804161004f80d -d shell am start \
    -n com.drawelements.deqp/android.app.NativeActivity \
    -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
    --deqp-log-filename=/sdcard/dEQP-Log.qpa"'

Change-Id: I2adb31eaa3b189179aeceb9e8f6b1ac8587b6027
(cherry picked from commit 041a1b5e82db7a6945aaefd791639de1c8c9e84d)

7 years agoMerge "Avoid thread state races in EGL multithread tests" am: 5a0d512e5b am: 0efcf60ff5
Michael Chock [Tue, 22 Aug 2017 18:43:02 +0000 (18:43 +0000)]
Merge "Avoid thread state races in EGL multithread tests" am: 5a0d512e5b am: 0efcf60ff5
am: d3f6571fff

Change-Id: I66748716e20fea93d29cbb114ed7301908657f16

7 years agoMerge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present" am: 4929480c4...
Alexander Galazin [Tue, 22 Aug 2017 18:42:43 +0000 (18:42 +0000)]
Merge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present" am: 4929480c47 am: df3f2b14f6
am: a7b9f7a5d9

Change-Id: I2b6fcc4798f08029ae47f83ca699aa9e6c1dc4d3

7 years agoMerge "Avoid thread state races in EGL multithread tests" am: 5a0d512e5b
Michael Chock [Tue, 22 Aug 2017 18:39:28 +0000 (18:39 +0000)]
Merge "Avoid thread state races in EGL multithread tests" am: 5a0d512e5b
am: 0efcf60ff5

Change-Id: Ide30bf228e53857ea93ce7a91e4c2b10d8a845a0

7 years agoMerge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present" am: 4929480c47
Alexander Galazin [Tue, 22 Aug 2017 18:39:11 +0000 (18:39 +0000)]
Merge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present" am: 4929480c47
am: df3f2b14f6

Change-Id: I330781b5ea59882db46629591b30f49ae6486a6a

7 years agoMerge "Avoid thread state races in EGL multithread tests"
Michael Chock [Tue, 22 Aug 2017 18:32:44 +0000 (18:32 +0000)]
Merge "Avoid thread state races in EGL multithread tests"
am: 5a0d512e5b

Change-Id: I775814f0bfe3cad21a3cada9c017d08e5a2aa739

7 years agoMerge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present"
Alexander Galazin [Tue, 22 Aug 2017 18:32:21 +0000 (18:32 +0000)]
Merge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present"
am: 4929480c47

Change-Id: Ie0e580b58bace63bb7dafc4fafdbe17f766ae3a3

7 years agoMerge "Avoid thread state races in EGL multithread tests"
Treehugger Robot [Tue, 22 Aug 2017 18:13:36 +0000 (18:13 +0000)]
Merge "Avoid thread state races in EGL multithread tests"

7 years agoMerge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present"
Treehugger Robot [Tue, 22 Aug 2017 18:10:07 +0000 (18:10 +0000)]
Merge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present"

7 years agoRun Draw*BaseVertex if EXT_draw_elements_base_vertex is present
Alexander Galazin [Wed, 16 Aug 2017 09:36:01 +0000 (11:36 +0200)]
Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286

7 years agoFix texture mip level size in framebuffer fetch tests am: be0d165a5d am: 0f01836518
Mika Isojrvi [Thu, 17 Aug 2017 00:28:39 +0000 (00:28 +0000)]
Fix texture mip level size in framebuffer fetch tests am: be0d165a5d am: 0f01836518
am: cc06f40d06

Change-Id: Ia5336f05e320268f49b41a10f419c01b690e291f

7 years agoFix texture mip level size in framebuffer fetch tests am: be0d165a5d
Mika Isojrvi [Thu, 17 Aug 2017 00:17:54 +0000 (00:17 +0000)]
Fix texture mip level size in framebuffer fetch tests am: be0d165a5d
am: 0f01836518

Change-Id: I39f281404c2497d957ae91d93d368202f83febfb

7 years agoFix texture mip level size in framebuffer fetch tests
Mika Isojrvi [Thu, 17 Aug 2017 00:08:48 +0000 (00:08 +0000)]
Fix texture mip level size in framebuffer fetch tests
am: be0d165a5d

Change-Id: I7fb9c075ee79e411ea295999e9edd7f38a5e5bc9

7 years agoFix texture mip level size in framebuffer fetch tests
Mika Isojärvi [Wed, 16 Aug 2017 20:40:22 +0000 (13:40 -0700)]
Fix texture mip level size in framebuffer fetch tests

Bug: 64280744
Test: Ran tests with multiple Google devices
Change-Id: I369a3c9b16270655332d5a608207f0da2633e0fe

7 years agoMerge "Use safe glFramebufferTexture* function" am: ec5ccbe144 am: d4c3e6e71b
james.glanville [Wed, 16 Aug 2017 19:12:11 +0000 (19:12 +0000)]
Merge "Use safe glFramebufferTexture* function" am: ec5ccbe144 am: d4c3e6e71b
am: 1f2e434e86

Change-Id: I05b273c4c5842ef9713cea1e0ee5db14965bc6df

7 years agoMerge "Do not use degenerate frames in EGL tests" am: f5971fe17f am: 4a2d8af710
Michael Chock [Wed, 16 Aug 2017 19:11:52 +0000 (19:11 +0000)]
Merge "Do not use degenerate frames in EGL tests" am: f5971fe17f am: 4a2d8af710
am: bdab538931

Change-Id: I659eb59a332af92c90de471a3cdb6eb2ce9ec4d2

7 years agoMerge "Use safe glFramebufferTexture* function" am: ec5ccbe144
james.glanville [Wed, 16 Aug 2017 19:08:36 +0000 (19:08 +0000)]
Merge "Use safe glFramebufferTexture* function" am: ec5ccbe144
am: d4c3e6e71b

Change-Id: I31749dfd7ca7258c702b3d00c3f438cebbbf4056

7 years agoMerge "Do not use degenerate frames in EGL tests" am: f5971fe17f
Michael Chock [Wed, 16 Aug 2017 19:08:22 +0000 (19:08 +0000)]
Merge "Do not use degenerate frames in EGL tests" am: f5971fe17f
am: 4a2d8af710

Change-Id: I86d818ee189deef3102b0f112378cef1723edad0

7 years agoMerge "Use safe glFramebufferTexture* function"
james.glanville [Wed, 16 Aug 2017 19:04:43 +0000 (19:04 +0000)]
Merge "Use safe glFramebufferTexture* function"
am: ec5ccbe144

Change-Id: I156ecc2a6ed17e3e23ef17ebbe026be27c1670c3

7 years agoMerge "Do not use degenerate frames in EGL tests"
Michael Chock [Wed, 16 Aug 2017 19:04:22 +0000 (19:04 +0000)]
Merge "Do not use degenerate frames in EGL tests"
am: f5971fe17f

Change-Id: I9807e27047a0d0280e06bc826cab3e6cb88b5ab6

7 years agoMerge "Use safe glFramebufferTexture* function"
Treehugger Robot [Wed, 16 Aug 2017 18:59:45 +0000 (18:59 +0000)]
Merge "Use safe glFramebufferTexture* function"

7 years agoMerge "Do not use degenerate frames in EGL tests"
Treehugger Robot [Wed, 16 Aug 2017 18:59:42 +0000 (18:59 +0000)]
Merge "Do not use degenerate frames in EGL tests"

7 years agoMerge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa am: eaf6e29e46
Alexander Galazin [Wed, 16 Aug 2017 18:54:52 +0000 (18:54 +0000)]
Merge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa am: eaf6e29e46
am: 3946a20ebc

Change-Id: Ifc2e7f4ef52d03eb2f6570f5fc83818ee4e2c190

7 years agoMerge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa
Alexander Galazin [Wed, 16 Aug 2017 18:51:50 +0000 (18:51 +0000)]
Merge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa
am: eaf6e29e46

Change-Id: If70e55237194763a02f31d3a20bbc475403d8670

7 years agoMerge "Report tests using Draw*BaseVertex as NotSupported"
Alexander Galazin [Wed, 16 Aug 2017 18:47:50 +0000 (18:47 +0000)]
Merge "Report tests using Draw*BaseVertex as NotSupported"
am: f96636fdfa

Change-Id: Iccb20250f9b98f983fc831911a1f9b4d4a98fbfb

7 years agoMerge "Report tests using Draw*BaseVertex as NotSupported"
Treehugger Robot [Wed, 16 Aug 2017 18:36:54 +0000 (18:36 +0000)]
Merge "Report tests using Draw*BaseVertex as NotSupported"

7 years agoMerge "Fix error double accounting in fuzzyCompare()" am: 0cf17c4bf8 am: f64327185c
Alexander Galazin [Wed, 16 Aug 2017 18:27:18 +0000 (18:27 +0000)]
Merge "Fix error double accounting in fuzzyCompare()" am: 0cf17c4bf8 am: f64327185c
am: aca02e1db5

Change-Id: I33c50071a663091adfc992b518610b68ed46b303

7 years agoMerge "Fix error double accounting in fuzzyCompare()" am: 0cf17c4bf8
Alexander Galazin [Wed, 16 Aug 2017 18:23:48 +0000 (18:23 +0000)]
Merge "Fix error double accounting in fuzzyCompare()" am: 0cf17c4bf8
am: f64327185c

Change-Id: I5a42417bee0eab58fc2cae3a653e41e4624cb2eb

7 years agoMerge "Fix error double accounting in fuzzyCompare()"
Alexander Galazin [Wed, 16 Aug 2017 18:20:18 +0000 (18:20 +0000)]
Merge "Fix error double accounting in fuzzyCompare()"
am: 0cf17c4bf8

Change-Id: Ife3e4f1bd13c6f4cb939950635880ce32d2b1df3

7 years agoMerge "Fix error double accounting in fuzzyCompare()"
Treehugger Robot [Wed, 16 Aug 2017 18:06:52 +0000 (18:06 +0000)]
Merge "Fix error double accounting in fuzzyCompare()"

7 years agoAvoid thread state races in EGL multithread tests
Michael Chock [Mon, 14 Aug 2017 15:36:11 +0000 (08:36 -0700)]
Avoid thread state races in EGL multithread tests

Previously, threads objects inside dEQP-EGL.functional.multithread.*
tests would conflate thread execution status with test results. The
former would only be set inside the thread, but the latter could be set
by other threads (e.g., a test thread might set its status to RUNNING
while another test might attempt to set the status of NOT_SUPPORTED).
These race conditions could lead to incorrect results.

Fix this by moving error and not-supported states out of the thread
execution state, and instead storing them as single-purpose flags inside
the test case object, avoiding the possibility of conflicting writes.

Change-Id: I2b117aa98c1c2b69b0d134610d6fd37656083e54

7 years agoDo not use degenerate frames in EGL tests
Michael Chock [Mon, 14 Aug 2017 18:55:14 +0000 (11:55 -0700)]
Do not use degenerate frames in EGL tests

The dEQP-EGL.functional.buffer_age.* and
dEQP-EGL.functional.partial_update.* tests use randomly-generated frames
for rendering. The test allows the generation of frames with a width or
height of 0, but the tcu::PixelBufferAccess interface does not permit
0-sized subregions (see assertions inside getSubregion overloads in
tcuTextureUtil.cpp).

Skip the rendering of degenerate frames in the reference renderer, as
they are unsupported but would not affect the rendering if they were.

Change-Id: I3977c3c293715db633dde74132e56b5d9303ab28

7 years agoUse safe glFramebufferTexture* function
james.glanville [Wed, 16 Aug 2017 10:50:19 +0000 (11:50 +0100)]
Use safe glFramebufferTexture* function

glFramebufferTexture() is only supported when GL_EXT_geometry_shader is
present. Use glFramebufferTextureLayer() instead so that testing is
possible on unextended ES3.1 contexts.

Components: AOSP

Affects:
dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.framebuffer_texture_level

7 years agoReport tests using Draw*BaseVertex as NotSupported
Alexander Galazin [Wed, 16 Aug 2017 09:36:01 +0000 (11:36 +0200)]
Report tests using Draw*BaseVertex as NotSupported

Draw*BaseVertex methods were added in GLES 3.2.
Report tests using these methods as NotSupported if
GLES 3.1 context is returned.

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: I87c918d5f66a0a5b547f8e625c662203a7f85048

7 years agoCheck for tessellation/geometry extensions being exposed am: 573154bb7b am: f79e5f07b3
Alexander Galazin [Wed, 16 Aug 2017 00:51:38 +0000 (00:51 +0000)]
Check for tessellation/geometry extensions being exposed am: 573154bb7b am: f79e5f07b3
am: b50ad0b932

Change-Id: I766cb8e77a92f4dbe295224522a40bc568aa8bab

7 years agoCheck for tessellation/geometry extensions being exposed am: 573154bb7b
Alexander Galazin [Wed, 16 Aug 2017 00:41:06 +0000 (00:41 +0000)]
Check for tessellation/geometry extensions being exposed am: 573154bb7b
am: f79e5f07b3

Change-Id: I3a2713fb0e10929d2b326443ab82beeed61df85e

7 years agoCheck for tessellation/geometry extensions being exposed
Alexander Galazin [Wed, 16 Aug 2017 00:32:11 +0000 (00:32 +0000)]
Check for tessellation/geometry extensions being exposed
am: 573154bb7b

Change-Id: I86d05362cf94c693d4000969d2c177c692f07686

7 years agoCheck for tessellation/geometry extensions being exposed
Alexander Galazin [Fri, 11 Aug 2017 09:03:50 +0000 (11:03 +0200)]
Check for tessellation/geometry extensions being exposed

Some sample_variables tests use tessellation/geometry shaders.
Need to check that the relevant extensions are exposed.

Components: AOSP

Affects:
dEQP-GLES31.functional.debug.negative_coverage.*.oes_sample_variables.access_built_in_types_inside_other_shaders

Change-Id: Iff74939d474082938955e5b7ebfc41ea3b4a6ec5

7 years agoSuppress non-critical warnings in external/deqp. am: b7ae0d8484 am: ed7ff5357c
Chih-Hung Hsieh [Thu, 10 Aug 2017 16:37:45 +0000 (16:37 +0000)]
Suppress non-critical warnings in external/deqp. am: b7ae0d8484 am: ed7ff5357c
am: 5ecdd6b007

Change-Id: I893b3a0a2cf4d18517af8504d144c34431e5b7df

7 years agoSuppress non-critical warnings in external/deqp. am: b7ae0d8484
Chih-Hung Hsieh [Thu, 10 Aug 2017 16:33:41 +0000 (16:33 +0000)]
Suppress non-critical warnings in external/deqp. am: b7ae0d8484
am: ed7ff5357c

Change-Id: Ifeae1faec963fb0096c6df33942a394b50b8a36b

7 years agoSuppress non-critical warnings in external/deqp.
Chih-Hung Hsieh [Thu, 10 Aug 2017 16:22:23 +0000 (16:22 +0000)]
Suppress non-critical warnings in external/deqp.
am: b7ae0d8484

Change-Id: I203833d39406f0530796d10e6d7a4d8f9beb2dbb

7 years agoFix error double accounting in fuzzyCompare()
Alexander Galazin [Tue, 8 Aug 2017 11:15:40 +0000 (13:15 +0200)]
Fix error double accounting in fuzzyCompare()

fuzzyCompare() has a loop to go through all the pixels and generate error sum.
It skips some pixels using random number generator between 0-8.
Random number generator sometime generate 0 and it ends up
calculating error sum twice for the same pixel.
If this pixel has error, then this add up error sum twice.

Components: Framework

Change-Id: I08e06e29faedb99cfd8fa479e97a437c06008848

7 years agoSuppress non-critical warnings in external/deqp.
Chih-Hung Hsieh [Wed, 9 Aug 2017 23:23:07 +0000 (16:23 -0700)]
Suppress non-critical warnings in external/deqp.

* We should enable those warnings after fixing the upstream source code.

Bug: 64487164
Test: build with WITH_TIDY=1
Change-Id: Ie4961d23b8f57e8d3a3ada0e64df82ed18dd366f

7 years agoMerge "Release EGL resources in CTS worker threads" am: fde96926aa am: cf24be7e7a
Mika Isojarvi [Fri, 4 Aug 2017 23:21:40 +0000 (23:21 +0000)]
Merge "Release EGL resources in CTS worker threads" am: fde96926aa am: cf24be7e7a
am: 2525ece0ec

Change-Id: Id581ba0e96248ddf1bbeef9ce00dd30065d86d3f

7 years agoMerge "Release EGL resources in CTS worker threads" am: fde96926aa
Mika Isojarvi [Fri, 4 Aug 2017 23:15:40 +0000 (23:15 +0000)]
Merge "Release EGL resources in CTS worker threads" am: fde96926aa
am: cf24be7e7a

Change-Id: I2381217adc2dd6fca34e8ef19ebfe90b5310638e

7 years agoMerge "Release EGL resources in CTS worker threads"
Mika Isojarvi [Fri, 4 Aug 2017 23:10:09 +0000 (23:10 +0000)]
Merge "Release EGL resources in CTS worker threads"
am: fde96926aa

Change-Id: I8502a522e44c310dfb96710c7b301ebe798668ec

7 years agoMerge "Release EGL resources in CTS worker threads"
Mika Isojarvi [Fri, 4 Aug 2017 22:55:11 +0000 (22:55 +0000)]
Merge "Release EGL resources in CTS worker threads"

7 years agoMerge "Merge "Fix extension support checks in negative api tests" into nougat-cts...
Android Build Merger (Role) [Fri, 4 Aug 2017 22:45:42 +0000 (22:45 +0000)]
Merge "Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f am: 781a2ef1e0 am: b85caaf64f am: 456d849dfb" into oc-dr1-dev-plus-aosp

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:45:35 +0000 (22:45 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f am: 781a2ef1e0 am: b85caaf64f
am: 456d849dfb

Change-Id: I6d8aa3fd4a89383ab701a463eb929af6791518a4

7 years agoMerge "Merge "Fix extension support checks in negative api tests" into nougat-cts...
Android Build Merger (Role) [Fri, 4 Aug 2017 22:45:32 +0000 (22:45 +0000)]
Merge "Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f am: 781a2ef1e0 am: b85caaf64f am: fff2e81d5b" into oc-dr1-dev-plus-aosp

7 years agoMerge "Merge "Fix extension support checks in negative api tests" into nougat-cts...
Android Build Merger (Role) [Fri, 4 Aug 2017 22:45:27 +0000 (22:45 +0000)]
Merge "Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238 am: 222fa619e5 am: 37ce9a1ac7 am: 1801be75eb am: 111e3a2323" into oc-dr1-dev-plus-aosp

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:45:26 +0000 (22:45 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f am: 781a2ef1e0 am: b85caaf64f
am: fff2e81d5b

Change-Id: I9fd3dbd0b63a5ddce3011a4555a13416c7e770b8

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:45:12 +0000 (22:45 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238 am: 222fa619e5 am: 37ce9a1ac7 am: 1801be75eb
am: 111e3a2323

Change-Id: Ie0c9bc999c2cebb97cb629b2822e13cbc201f87f

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:45:08 +0000 (22:45 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238 am: 222fa619e5 am: 37ce9a1ac7 am: 1801be75eb
am: c2fa08f20a

Change-Id: I3de981abbef67723727b5302b20d5bbbb1b0cf90

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:39:35 +0000 (22:39 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f am: 781a2ef1e0
am: b85caaf64f

Change-Id: I0ffe084557f992e2d559d6abc115c9760e0d3df0

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:39:26 +0000 (22:39 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f am: 781a2ef1e0
am: b85caaf64f

Change-Id: If808dc4b855853cc5b2c08b228b90b4ffb594bc2

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:39:11 +0000 (22:39 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238 am: 222fa619e5 am: 37ce9a1ac7
am: 1801be75eb

Change-Id: I53ce79df88d1a9fe3069d9814c21b09ce7e7a333

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:39:07 +0000 (22:39 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238 am: 222fa619e5 am: 37ce9a1ac7
am: 1801be75eb

Change-Id: If598f5251c48ab9d40eacb45acbe31a9fad51916

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:33:28 +0000 (22:33 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9 am: 5fe6ec300f
am: 781a2ef1e0

Change-Id: I88ecd39f47d5c87973d92db0570e1a4dd46e3c27

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:33:09 +0000 (22:33 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238 am: 222fa619e5
am: 37ce9a1ac7

Change-Id: I4732c21d607253f197be74652f87c71f069437e0

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:33:06 +0000 (22:33 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: ea24f81118 am: 9485e519fd
am: ee9b5b7b6d

Change-Id: I87cd0f03b69343f134f1da19c1338fa7ee55c974

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:27:22 +0000 (22:27 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8 am: 2431a0b0d9
am: 5fe6ec300f

Change-Id: I9bac6748b66744cccf998ee698f4f4b04e69e961

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:27:06 +0000 (22:27 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: ea24f81118
am: 9485e519fd

Change-Id: I108bfec2e940a9bed921e7ead16298f8940d0c2e

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:27:05 +0000 (22:27 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1 am: 3558abf238
am: 222fa619e5

Change-Id: I218a43847e48773bbfea387a68864204bf99cec3

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:21:26 +0000 (22:21 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: b8e4ff4043 am: a2d901c3d8
am: 2431a0b0d9

Change-Id: I80c9b1fe0131870b22c2d81d21543c59d2a3bf06

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:21:06 +0000 (22:21 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1
am: ea24f81118

Change-Id: I02de92c1f3a63550bc24575d73e67dce8c6d6923

7 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev am...
Graeme Leese [Fri, 4 Aug 2017 22:21:04 +0000 (22:21 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev am: 4f1051ad32 am: 5bd0fb31a1
am: 3558abf238

Change-Id: I2a9cf3840c5fa7f4a004cc2c46f41a22222a4ac6