platform/upstream/VK-GL-CTS.git
6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 16:17:04 +0000 (16:17 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac am: c3c3b95253 am: 745856554f am: 2b79153434 am: c0fc41f6bc
am: 7221ef9a14

Change-Id: I09771c4622664a3e9fd124d8f13e619f8840e2de

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 16:16:48 +0000 (16:16 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f am: 36b26f80fe am: f909a2d16c am: 3976e3eade am: 4564f27dba
am: 7dbcb49eef

Change-Id: I3baa5c04d94aeb538e88ebe254e51846e3f7a9a3

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 16:16:31 +0000 (16:16 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 6d0cee6923 am: 4fa7f75d5f am: eecfee50a9
am: 40468c5270

Change-Id: I223834ca2c69a6c5ded8138888a2d0b02a62f1fa

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 16:16:16 +0000 (16:16 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac am: c3c3b95253 am: 745856554f am: 2b79153434 am: c0fc41f6bc
am: f7d4fe10ba

Change-Id: I5583ab1de1782090478527f50bd72b9dbaf17592

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 16:16:00 +0000 (16:16 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f am: 36b26f80fe am: f909a2d16c am: 3976e3eade am: 4564f27dba
am: 8dca54a6f8

Change-Id: Ib015feccaea3d1a91315ecc31ba957f85921eafb

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 16:07:56 +0000 (16:07 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac am: c3c3b95253 am: 745856554f am: 2b79153434
am: c0fc41f6bc

Change-Id: I648c5f0e8d281c51625350d93daf2879ad5a430e

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 16:07:54 +0000 (16:07 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac am: c3c3b95253 am: 745856554f am: 2b79153434
am: c0fc41f6bc

Change-Id: Id806b46d9b9c1001a694ae637539fa6f36aa4aea

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 16:07:32 +0000 (16:07 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f am: 36b26f80fe am: f909a2d16c am: 3976e3eade
am: 4564f27dba

Change-Id: I4bac001f8af3ff954aab3258a1187e5f97beb77b

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 16:07:31 +0000 (16:07 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f am: 36b26f80fe am: f909a2d16c am: 3976e3eade
am: 4564f27dba

Change-Id: I18a102999357266e6c37f1da9f7248c6daf11e06

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 16:00:22 +0000 (16:00 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 6d0cee6923 am: 4fa7f75d5f am: eecfee50a9
am: c2f5b4adb2

Change-Id: I8497b1b88f24322244681d1eafecb1a849b23759

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 15:59:55 +0000 (15:59 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac am: c3c3b95253 am: 745856554f
am: 2b79153434

Change-Id: I59da57b654d86c8e5a49068db970566c8e5373d8

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:59:31 +0000 (15:59 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f am: 36b26f80fe am: f909a2d16c
am: 3976e3eade

Change-Id: I6cb9841790f4027016df0c7cf8023ab991334125

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 15:51:16 +0000 (15:51 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac am: c3c3b95253
am: 745856554f

Change-Id: Ie2af4250a408f55c2857629e00b3915e23a5268b

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:51:00 +0000 (15:51 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 6d0cee6923 am: 4fa7f75d5f
am: eecfee50a9

Change-Id: I9949dddd9c57e5817c618e19a67c75393e33b3d5

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:50:59 +0000 (15:50 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 6d0cee6923 am: 4fa7f75d5f
am: eecfee50a9

Change-Id: I3e259b3e82816c11d662a314f21e0c6da68dadb2

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:50:59 +0000 (15:50 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f am: 36b26f80fe
am: f909a2d16c

Change-Id: I3056d6017cd988ff62104131642a22a88b26b24f

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:50:29 +0000 (15:50 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 342eb176e6 am: 1b6fe918aa
am: c1664a16c8

Change-Id: I0f164fa8d88d062e9cb23d5b0ca2b2d89c57320f

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 15:50:28 +0000 (15:50 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283 am: 79f028e0ac
am: c3c3b95253

Change-Id: I62ff995a5e6b0140777b13848af33ece4f6248e8

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:41:29 +0000 (15:41 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 6d0cee6923
am: 4fa7f75d5f

Change-Id: I940607508851c13fd4ae3a35e0eb427f96efc571

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:41:29 +0000 (15:41 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: 342eb176e6
am: 1b6fe918aa

Change-Id: I10245b13f72c7b0cc51367f8f0fab516d60538f2

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am...
Pyry Haulos [Tue, 5 Sep 2017 15:41:29 +0000 (15:41 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 9e85a126d2 am: ac400ff59f
am: 36b26f80fe

Change-Id: Ie960b01bc31c94107bf7c545aef03b2e9d5671ed

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am...
Pyry Haulos [Tue, 5 Sep 2017 15:41:28 +0000 (15:41 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3 am: 0d9b810283
am: 79f028e0ac

Change-Id: I9523ce132950603adc6a0adf77b9833f670dd6c4

6 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: 6d0cee6923

Change-Id: I2c843552baf45bfc918fce8cb7a9c40b3fd8adad

6 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

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

Change-Id: I8fd3f2dac244cddb228d780cb2e7ab4943b1cb9b

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3
Pyry Haulos [Tue, 5 Sep 2017 15:31:55 +0000 (15:31 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20 am: 338a411fd3
am: 0d9b810283

Change-Id: Ic07c0dafc51bf12a82794d02786b885f8b1323f8

6 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

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

Change-Id: Ia7cd7612e6c2f0f961837734f1900a21b52a0e39

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

Change-Id: Idf3c0904f9695e04b48901c23c79b7dcd101d0dc

6 years agoFix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20
Pyry Haulos [Tue, 5 Sep 2017 15:21:55 +0000 (15:21 +0000)]
Fix issues in pipeline.timestamp.transfer_tests am: 0f672f2a20
am: 338a411fd3

Change-Id: I6edcc0661c9d702a5bb518d24eebf7702145318f

6 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

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

Change-Id: I41d95ce51483f786706f9402701208801e73ecdc

6 years agoFix texture mip level size in framebuffer fetch tests
Mika Isojrvi [Fri, 1 Sep 2017 20:54:47 +0000 (20:54 +0000)]
Fix texture mip level size in framebuffer fetch tests
am: b88e73b07e

Change-Id: I4fdbdd3755dc06b3918a2e48c37bae905be7ebb8

6 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

6 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

6 years agoRequire EGL_KHR_gl_colorspace for wide_color tests. am: 2a3edba962 am: 3dc144a93d
Tapani Plli [Wed, 30 Aug 2017 18:05:31 +0000 (18:05 +0000)]
Require EGL_KHR_gl_colorspace for wide_color tests. am: 2a3edba962 am: 3dc144a93d
am: d720c172e0

Change-Id: I1b85e932324d298398196e72faeb1975319287b9

6 years agoRequire EGL_KHR_gl_colorspace for wide_color tests. am: 2a3edba962
Tapani Plli [Wed, 30 Aug 2017 17:58:00 +0000 (17:58 +0000)]
Require EGL_KHR_gl_colorspace for wide_color tests. am: 2a3edba962
am: 3dc144a93d

Change-Id: I7ae4e8ef94f7231cdec7e7ef4cc9e3d5b7613df4

6 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

6 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>
6 years agoMerge "Merge Vulkan CTS 1.0.2.5 into goog/oc-mr1-dev" into oc-mr1-dev
Mika Isojarvi [Mon, 28 Aug 2017 21:35:22 +0000 (21:35 +0000)]
Merge "Merge Vulkan CTS 1.0.2.5 into goog/oc-mr1-dev" into oc-mr1-dev
am: 758c7ce466

Change-Id: I30cdabd60ac0370193b932b7492dd92ac52e282e

6 years agoMerge "Merge Vulkan CTS 1.0.2.5 into goog/oc-mr1-dev" into oc-mr1-dev
Mika Isojarvi [Mon, 28 Aug 2017 21:21:05 +0000 (21:21 +0000)]
Merge "Merge Vulkan CTS 1.0.2.5 into goog/oc-mr1-dev" into oc-mr1-dev

6 years agoCheck only what's needed and use threshold
Courtney Goeltzenleuchter [Mon, 28 Aug 2017 16:45:24 +0000 (16:45 +0000)]
Check only what's needed and use threshold
am: a3e669768d

Change-Id: I2bb47f03201e9ff169f328541efdf147aecbb812

6 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"'
Bug: 64487716

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

6 years agoMerge Vulkan CTS 1.0.2.5 into goog/oc-mr1-dev
Mika Isojärvi [Fri, 25 Aug 2017 17:57:17 +0000 (10:57 -0700)]
Merge Vulkan CTS 1.0.2.5 into goog/oc-mr1-dev

Bug: 64932237
Test: Run Deqp CTS Vulkan tests on some Google devices
Change-Id: I990a6e258c4cc0d5c40686eef57aee421a132f6c

6 years agoMerge "Check only what's needed and use threshold" am: 923d047106 am: 7fd5af1735
Courtney Goeltzenleuchter [Thu, 24 Aug 2017 23:36:11 +0000 (23:36 +0000)]
Merge "Check only what's needed and use threshold" am: 923d047106 am: 7fd5af1735
am: 463c3ea016

Change-Id: I6d981412abde9c65e1e323b48536b07ec65f2939

6 years agoMerge "Check only what's needed and use threshold" am: 923d047106
Courtney Goeltzenleuchter [Thu, 24 Aug 2017 23:19:28 +0000 (23:19 +0000)]
Merge "Check only what's needed and use threshold" am: 923d047106
am: 7fd5af1735

Change-Id: I2663d7c9638d0040dd8a500ae0aa8090844e578b

6 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

6 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"

6 years agoMerge Vulkan CTS 1.0.2.5 into aosp/master am: 76a147bf66 am: 9f330c685b
Mika Isojärvi [Thu, 24 Aug 2017 22:46:27 +0000 (22:46 +0000)]
Merge Vulkan CTS 1.0.2.5 into aosp/master am: 76a147bf66 am: 9f330c685b
am: 9f305bdded

Change-Id: I388c5e497cef6c20e57704e313a115ca2b78383b

6 years agoMerge Vulkan CTS 1.0.2.5 into aosp/master am: 76a147bf66
Mika Isojärvi [Thu, 24 Aug 2017 22:40:34 +0000 (22:40 +0000)]
Merge Vulkan CTS 1.0.2.5 into aosp/master am: 76a147bf66
am: 9f330c685b

Change-Id: I5cca00d1f902a169550e2077e17c2fd52cb7ac9b

6 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

6 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

6 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)

6 years agoMerge "Avoid thread state races in EGL multithread tests" am: 5a0d512e5b am: 0efcf60f...
Michael Chock [Tue, 22 Aug 2017 18:46:57 +0000 (18:46 +0000)]
Merge "Avoid thread state races in EGL multithread tests" am: 5a0d512e5b am: 0efcf60ff5 am: d3f6571fff
am: 09d1d49b64

Change-Id: I27bed7cc5a3ca1daebc6ae10d9a936ff55da3427

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

Change-Id: I06969414b3a1d4d1a396e5432bac58fd3fefffe0

6 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

6 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

6 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

6 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

6 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

6 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

6 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"

6 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"

6 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

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

Change-Id: Ia2981aee3c7c1240f1404ca4cf98a4e9d728da2d

6 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

6 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

6 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

6 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

6 years agoMerge "Use safe glFramebufferTexture* function" am: ec5ccbe144 am: d4c3e6e71b am...
james.glanville [Wed, 16 Aug 2017 19:15:41 +0000 (19:15 +0000)]
Merge "Use safe glFramebufferTexture* function" am: ec5ccbe144 am: d4c3e6e71b am: 1f2e434e86
am: 978b206a7a

Change-Id: I8f7439231e43ef002bd2759fef887e17e154bca2

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

Change-Id: Ia1dcb275ef44e6eae61033b59d50286d99d5b8bb

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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"

6 years agoMerge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa am: eaf6e29...
Alexander Galazin [Wed, 16 Aug 2017 18:57:22 +0000 (18:57 +0000)]
Merge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa am: eaf6e29e46 am: 3946a20ebc
am: cfe4446a05

Change-Id: I9bd37b581e0cff226dc0afe4771ff51ceb2b93e2

6 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

6 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

6 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

6 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"

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

Change-Id: I07e51f9da09da70bbc90bc0f0ba62ee53dbacb8e

6 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

6 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

6 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

6 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()"

6 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

6 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

6 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

6 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

6 years agoCheck for tessellation/geometry extensions being exposed am: 573154bb7b am: f79e5f07b...
Alexander Galazin [Wed, 16 Aug 2017 01:07:24 +0000 (01:07 +0000)]
Check for tessellation/geometry extensions being exposed am: 573154bb7b am: f79e5f07b3 am: b50ad0b932
am: 4d8117a4c2

Change-Id: I835660dbb6f60be47d6f8e80aea2cb88558f4f90

6 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

6 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

6 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

6 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

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

Change-Id: I2efed221e92c5627b1483fa7252a1a7e2896696d

6 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