platform/upstream/VK-GL-CTS.git
7 years agoMerge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts...
Ian Romanick [Tue, 11 Apr 2017 17:22:20 +0000 (17:22 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am: aeef6dd8f5
am: a4ddab16dd

Change-Id: Id0387a01061c95f4c51728c8af917aa63354097b

7 years agoMerge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev
Ian Romanick [Tue, 11 Apr 2017 17:13:17 +0000 (17:13 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev
am: aeef6dd8f5

Change-Id: I8300511b30c7bd03885a6cb019970852f7e72693

7 years agoMerge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev
Treehugger Robot [Tue, 11 Apr 2017 16:56:42 +0000 (16:56 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev

7 years agoTry harder to defeat GLSL compiler dead-code optimizations
Ian Romanick [Thu, 10 Nov 2016 01:29:01 +0000 (17:29 -0800)]
Try harder to defeat GLSL compiler dead-code optimizations

A number of CTS tests generate shaders like like:

    #version 310 es

    buffer TargetInterface
    {
            highp float target;
    };

    highp vec4 readInputs()
    {
            highp vec4 retValue = vec4(0.0);
            retValue += vec4(float(target));
            return retValue;
    }

    void writeOutputs(in highp vec4 dummyValue)
    {
            target = float(dummyValue.y);
    }

    void main()
    {
            writeOutputs(readInputs());
    }

After various common optimizations this becomes:

    buffer TargetInterface
    {
            highp float target;
    };

    void main()
    {
            target = target;
    }

In the absence of memoryBarrier() or qualifiers on the buffer, there is
no guarantee about the order of writes to the buffer.  Since this write
is not guaranteed to be visible either on the GPU or the CPU, we
eliminate it.  Since there is no access to target in the shader, we
report GL_REFERENCED_BY_FRAGMENT_SHADER = GL_FALSE.  The tests expect
GL_TRUE.

The vectored versions of this test swizzle the value read from the
buffer before writing it back.  These writes are not eliminated.

Adding a uniform instead of a literal constant also prevents the reads
and writes of the SSBO from being eliminated.

v2: Ignore the uniform named "zero" in
ResourceListTestCase::verifyResourceList.  The alternative was to add
zero to the resource list, but that required making small changes
(mostly removing const) from over a dozen places in the code.  This
slightly hacky, but localized, change seemed better.

v3: Various coding standards fixes suggested by Alexander Galazin and
Pyry.  Add getDummyZeroUniformName to query name of the zero uniform and
a lot more documentation.  Both suggested by Pyry.

The following tests are affected:

- dEQP-GLES31.functional.program_interface_query.buffer_variable.random.6
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.compute.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.separable_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_geo_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_geo_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_geo_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_geo_fragment.unnamed_block.float

Change-Id: I867ad32476269ac1272c09672be0a6d6fe37e31e
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16114
Google bug: 37228062

7 years agoFix warning introduced in 2c9e3ec9 am: 521361d83d
Pyry Haulos [Fri, 17 Mar 2017 12:22:38 +0000 (12:22 +0000)]
Fix warning introduced in 2c9e3ec9 am: 521361d83d
am: 19bf995047

Change-Id: I092e8e8e119e4e004bb1451cb1fb999bf2e9a42d

7 years agoFix warning introduced in 2c9e3ec9 am: 521361d83d am: 5f34117776
Pyry Haulos [Fri, 17 Mar 2017 12:14:33 +0000 (12:14 +0000)]
Fix warning introduced in 2c9e3ec9 am: 521361d83d am: 5f34117776
am: eba2559865

Change-Id: Ic1f2a2853173047311052607311518ea9b3b5264

7 years agoFix warning introduced in 2c9e3ec9 am: 521361d83d
Pyry Haulos [Fri, 17 Mar 2017 12:11:19 +0000 (12:11 +0000)]
Fix warning introduced in 2c9e3ec9 am: 521361d83d
am: 5f34117776

Change-Id: I79c64f4d5c3d494e7c5f11df44a00478648e581a

7 years agoFix warning introduced in 2c9e3ec9
Pyry Haulos [Fri, 17 Mar 2017 12:09:41 +0000 (12:09 +0000)]
Fix warning introduced in 2c9e3ec9
am: 521361d83d

Change-Id: I82a9917cb875a166583a41e3d1bb7702ae2d3db8

7 years agoFix warning introduced in 2c9e3ec9
Pyry Haulos [Fri, 17 Mar 2017 12:08:03 +0000 (12:08 +0000)]
Fix warning introduced in 2c9e3ec9
am: 521361d83d

Change-Id: Iaf6e63f119e32613ec46fa9135c7c3be42fd47b3

7 years agoFix warning introduced in 2c9e3ec9
Pyry Haulos [Wed, 15 Mar 2017 19:23:06 +0000 (12:23 -0700)]
Fix warning introduced in 2c9e3ec9

Change-Id: I42bef21b2cc7274f107e5455dea1e382d8a419f4
(cherry picked from commit d8b452a7533c195b1328918bb696a819542ff044)

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev...
Alexander Galazin [Wed, 15 Mar 2017 18:44:38 +0000 (18:44 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev am: 0532365740 am: dce98dc6e9
am: 650fc6607d

Change-Id: I15dea4f22dff8a97150ade21c3496273e99ab3ba

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev...
Alexander Galazin [Wed, 15 Mar 2017 18:40:08 +0000 (18:40 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev am: 0532365740
am: 468843cf08

Change-Id: I9dbbc27bd20cfa6a2142ac132da5068b471046a3

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev...
Alexander Galazin [Wed, 15 Mar 2017 18:40:07 +0000 (18:40 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev am: 0532365740
am: dce98dc6e9

Change-Id: I8e13f121b5f9f075ec01196d81ac541c8e1b55f7

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
Alexander Galazin [Wed, 15 Mar 2017 18:35:38 +0000 (18:35 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
am: 0532365740

Change-Id: I33b9d9b1fbe0b11ce2af87708bd9682ed728a706

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
Alexander Galazin [Wed, 15 Mar 2017 18:35:35 +0000 (18:35 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
am: 0532365740

Change-Id: I12be73b76f9ae43955fbca0071f36b897e82f0d9

7 years agoMerge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
Treehugger Robot [Wed, 15 Mar 2017 18:30:21 +0000 (18:30 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev

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
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
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 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 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 agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba
Mika Isojrvi [Thu, 9 Feb 2017 22:57:53 +0000 (22:57 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba
am: 31a4d9b3b6

Change-Id: Ic7752c780d15bb505ae7b1da440ef5ebd57935dd

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
Mika Isojrvi [Thu, 9 Feb 2017 22:52:38 +0000 (22:52 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
am: eef2e716e7

Change-Id: I620a89283d84b4499fd475328b421a88b6a7fd9b

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
Mika Isojrvi [Thu, 9 Feb 2017 22:50:00 +0000 (22:50 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
am: ebc8257bba

Change-Id: I2a126ebe68698ba492a417060892345233d930de

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests
Mika Isojrvi [Thu, 9 Feb 2017 22:48:01 +0000 (22:48 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests
am: 6bc3c7a634

Change-Id: Iecf872eac117cf28385d2b3c7e94a9801fd83b5e

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests
Mika Isojrvi [Thu, 9 Feb 2017 22:41:59 +0000 (22:41 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests
am: 6bc3c7a634

Change-Id: I354ee074ad57d53c2b4b0a84d8bc02a02912f19d

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests
Mika Isojärvi [Wed, 16 Nov 2016 23:10:29 +0000 (15:10 -0800)]
Limit changes by xor to upper 8 bits in mixed atomic tests

Bug: 31270281
Test: Ran tests on multiple devices
Change-Id: I64393591171b304cd071f7a37b91efd2c7a853a6

7 years agoMerge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222 am: a74d50ffda
Tina Zhou [Mon, 23 Jan 2017 19:29:07 +0000 (19:29 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222 am: a74d50ffda
am: b92f7d676f

Change-Id: I4ca013bb45ac988c620fbed0cc41b0ae97245368

7 years agox11: Call XInitThreads() am: 5d11c9d2c0 am: f465d82fa5
Chad Versace [Mon, 23 Jan 2017 19:28:54 +0000 (19:28 +0000)]
x11: Call XInitThreads() am: 5d11c9d2c0 am: f465d82fa5
am: 0ed6cc912e

Change-Id: I19a253ad05018b272ba5544381e9b5e0e0a0fd02

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea am: 05f26155f0
Tina Zhou [Mon, 23 Jan 2017 19:28:40 +0000 (19:28 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea am: 05f26155f0
am: 7bb5047d5e

Change-Id: I79e6b68a368287de56d95375ca573e066feca3d3

7 years agox11: Fix deadlock am: 5e863331b2 am: 7d0ad652ff
Chad Versace [Mon, 23 Jan 2017 19:28:26 +0000 (19:28 +0000)]
x11: Fix deadlock am: 5e863331b2 am: 7d0ad652ff
am: ca5a475223

Change-Id: I2fbd930f7d37b8d100d6ae1839f4f783bc09643f

7 years agoMerge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222
Tina Zhou [Mon, 23 Jan 2017 19:25:05 +0000 (19:25 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222
am: 6aef236dd0

Change-Id: Ide0e9861cc1e38bf32030cdc89f2128d3d72b7d5

7 years agox11: Call XInitThreads() am: 5d11c9d2c0
Chad Versace [Mon, 23 Jan 2017 19:24:52 +0000 (19:24 +0000)]
x11: Call XInitThreads() am: 5d11c9d2c0
am: 0fe4efcfa8

Change-Id: Ibea958c446ac219b635df4bf33e799603c02edba

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea
Tina Zhou [Mon, 23 Jan 2017 19:24:38 +0000 (19:24 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea
am: b6766f9949

Change-Id: I3191b4256a031d3b100cff9eff1ee29923c032ef

7 years agox11: Fix deadlock am: 5e863331b2
Chad Versace [Mon, 23 Jan 2017 19:24:25 +0000 (19:24 +0000)]
x11: Fix deadlock am: 5e863331b2
am: f49e8bfc0e

Change-Id: I369a74b5b264d481506b413fcacc1f845c3ab68f

7 years agoMerge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222
Tina Zhou [Mon, 23 Jan 2017 19:22:33 +0000 (19:22 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222
am: a74d50ffda

Change-Id: Ib9a092812b9027562245d4ce9d94da0855be31ff

7 years agox11: Call XInitThreads() am: 5d11c9d2c0
Chad Versace [Mon, 23 Jan 2017 19:22:22 +0000 (19:22 +0000)]
x11: Call XInitThreads() am: 5d11c9d2c0
am: f465d82fa5

Change-Id: I96a8a4bd5fe510d2a1109512b9347e8e57a54b6b

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea
Tina Zhou [Mon, 23 Jan 2017 19:22:11 +0000 (19:22 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea
am: 05f26155f0

Change-Id: If1425de76d53473673400dd95c6c37a885dc37e3

7 years agox11: Fix deadlock am: 5e863331b2
Chad Versace [Mon, 23 Jan 2017 19:21:59 +0000 (19:21 +0000)]
x11: Fix deadlock am: 5e863331b2
am: 7d0ad652ff

Change-Id: Iee8b38b57db70a18a98eda81ce47031aacd42106

7 years agoMerge "x11: Call XInitThreads()" into nougat-cts-dev
Tina Zhou [Mon, 23 Jan 2017 19:15:41 +0000 (19:15 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev
am: cbdbf95222

Change-Id: Ibe138431c7fca21c9fed9a63a3c70a29ee9388b2

7 years agox11: Call XInitThreads()
Chad Versace [Mon, 23 Jan 2017 19:15:39 +0000 (19:15 +0000)]
x11: Call XInitThreads()
am: 5d11c9d2c0

Change-Id: Ie64aa435c9f47de24df207f46a6831c2adf1e36a

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev
Tina Zhou [Mon, 23 Jan 2017 19:15:18 +0000 (19:15 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev
am: 34b869eeea

Change-Id: I7c6fe801d1afd23804e4b30a4cd496feb795bc79

7 years agox11: Fix deadlock
Chad Versace [Mon, 23 Jan 2017 19:15:17 +0000 (19:15 +0000)]
x11: Fix deadlock
am: 5e863331b2

Change-Id: I2a59eb8b76b5106f6696d05a9e9181489399ddc3

7 years agoMerge "x11: Call XInitThreads()" into nougat-cts-dev
Tina Zhou [Mon, 23 Jan 2017 19:12:27 +0000 (19:12 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev
am: cbdbf95222

Change-Id: I2531e5a260f50c8bae1a756a61026a46ae253614

7 years agox11: Call XInitThreads()
Chad Versace [Mon, 23 Jan 2017 19:12:25 +0000 (19:12 +0000)]
x11: Call XInitThreads()
am: 5d11c9d2c0

Change-Id: Ib89f9fbfaa7d0b3dcb590fc2ac20ff2c83e3fbad

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev
Tina Zhou [Mon, 23 Jan 2017 19:12:12 +0000 (19:12 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev
am: 34b869eeea

Change-Id: I5ffe988c3affcd3afeaf3c63b5011e42ef9a4ba1

7 years agox11: Fix deadlock
Chad Versace [Mon, 23 Jan 2017 19:12:10 +0000 (19:12 +0000)]
x11: Fix deadlock
am: 5e863331b2

Change-Id: Ic938e269f89e59fc9ab8b43c97efcb49e0317180

7 years agoMerge "x11: Call XInitThreads()" into nougat-cts-dev
Tina Zhou [Mon, 23 Jan 2017 19:09:19 +0000 (19:09 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev
Tina Zhou [Mon, 23 Jan 2017 19:06:21 +0000 (19:06 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev

7 years agoMerge changes from topic 'am-afbe65226c664d438460b33cb5a405a8' into nyc-mr1-dev
Android Build Merger (Role) [Sat, 21 Jan 2017 00:30:49 +0000 (00:30 +0000)]
Merge changes from topic 'am-afbe65226c664d438460b33cb5a405a8' into nyc-mr1-dev

* changes:
  CP: Remove two read-backs from copy image tests am: 263e135474 am: a691d5ca5c
  CP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f am: 8afffd6f14

7 years agoCP: Remove two read-backs from copy image tests am: 263e135474
Kalle Raita [Sat, 21 Jan 2017 00:30:36 +0000 (00:30 +0000)]
CP: Remove two read-backs from copy image tests am: 263e135474
am: a691d5ca5c

Change-Id: I642aa8095127a59e1f8afd5f007c5f2eb8648fb9

7 years agoCP: Remove two read-backs from copy image tests am: 263e135474 am: 15f98c4682
Kalle Raita [Sat, 21 Jan 2017 00:30:35 +0000 (00:30 +0000)]
CP: Remove two read-backs from copy image tests am: 263e135474 am: 15f98c4682
am: 1e01d9996c

Change-Id: I4c822bda73622190ac818df7b6c98b1d76ebb277

7 years agoCP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f
Kalle Raita [Sat, 21 Jan 2017 00:30:34 +0000 (00:30 +0000)]
CP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f
am: 8afffd6f14

Change-Id: I61eb1f9bab9ae8deb773335829a6d7b20b02ad3a

7 years agoCP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f am: 0a8b1151da
Kalle Raita [Sat, 21 Jan 2017 00:30:33 +0000 (00:30 +0000)]
CP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f am: 0a8b1151da
am: 7e383871b1

Change-Id: I82784ce881898adccdb369aff0ddfdf1809b0a47

7 years agoCP: Remove two read-backs from copy image tests am: 263e135474
Kalle Raita [Sat, 21 Jan 2017 00:26:34 +0000 (00:26 +0000)]
CP: Remove two read-backs from copy image tests am: 263e135474
am: 15f98c4682

Change-Id: Icd48f284f4eca51f9e9a43c8e18fdbb0bf5d4329

7 years agoCP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f
Kalle Raita [Sat, 21 Jan 2017 00:26:32 +0000 (00:26 +0000)]
CP: Non-compressed copy image target size (64,64,8 am: 7aff1a044f
am: 0a8b1151da

Change-Id: I5e5fdb849745a918172aeeb7a02b2ea50aa5452c

7 years agoCP: Remove two read-backs from copy image tests
Kalle Raita [Sat, 21 Jan 2017 00:23:35 +0000 (00:23 +0000)]
CP: Remove two read-backs from copy image tests
am: 263e135474

Change-Id: I9926edda54ffa5bdb0b5b7f9aeac08aab58237e8

7 years agoCP: Non-compressed copy image target size (64,64,8
Kalle Raita [Sat, 21 Jan 2017 00:23:33 +0000 (00:23 +0000)]
CP: Non-compressed copy image target size (64,64,8
am: 7aff1a044f

Change-Id: I55e1c77eb6558a7a396707cf541d529394be34b7

7 years agoCP: Remove two read-backs from copy image tests
Kalle Raita [Sat, 21 Jan 2017 00:23:04 +0000 (00:23 +0000)]
CP: Remove two read-backs from copy image tests
am: 263e135474

Change-Id: I95d4c24ff9a12d774586e02e96a80bd91e045b7d

7 years agoCP: Non-compressed copy image target size (64,64,8
Kalle Raita [Sat, 21 Jan 2017 00:23:02 +0000 (00:23 +0000)]
CP: Non-compressed copy image target size (64,64,8
am: 7aff1a044f

Change-Id: Ie7f9febff6fb0ffa17d98ba3885fbdefb7335a6f

7 years agox11: Fix deadlock
Chad Versace [Fri, 20 Jan 2017 22:59:10 +0000 (14:59 -0800)]
x11: Fix deadlock

When waiting for a window's MapNotify event, drain only that window's
event queue.  Do NOT drain the global event queue, which includes all
windows' events.

Fixes deadlock in test 'dEQP-EGL.functional.multithread.window_context'
on Mesa master@f57bdd48 with Intel Skylake.

Change-Id: I8c7f2db6c145f59493cb7572b20c4799e9a2cd0a
Depends-On: Ib3b535cec8295e062994fd759ae083c78641cf13

7 years agox11: Call XInitThreads()
Chad Versace [Tue, 27 Dec 2016 21:47:33 +0000 (13:47 -0800)]
x11: Call XInitThreads()

Because the X11 manual says we must.

From man:XInitThreads(3):

  The XInitThreads function initializes Xlib support for concurrent
  threads.  This function must be the first Xlib function
  a multi-threaded program calls, and it must complete before any other
  Xlib call is made.

Fixes crash in multithreaded test:

  Test case 'dEQP-EGL.functional.multithread.window_context'..
  [xcb] Unknown sequence number while processing queue
  [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
  [xcb] Aborting, sorry about that.
  deqp-egl: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

Change-Id: Ib3b535cec8295e062994fd759ae083c78641cf13

7 years agoCP: Remove two read-backs from copy image tests
Kalle Raita [Thu, 1 Sep 2016 20:21:50 +0000 (13:21 -0700)]
CP: Remove two read-backs from copy image tests

Cherry pick commit b2fb8ad5ceefe26964101bd403e7786ae83274a9
from master.

Bug: 33965234

Remove two read-backs from copy image tests

Test: Ran copy_image on N6 & N9 with L MR1 image to check for
false-negatives. PixelC and Pixel XL for passing with current OS image.

Change-Id: I9f7028eb550012f8d9abe2f7afee2d1402f5abf3

7 years agoCP: Non-compressed copy image target size (64,64,8
Kalle Raita [Wed, 7 Dec 2016 17:41:41 +0000 (09:41 -0800)]
CP: Non-compressed copy image target size (64,64,8

Cherry-pick commit 8076c97ac0fc706288ef266b0cbe748012c4e0c4 from master:

Non-compressed copy image tests target size reduced to (64,64,8). The
compressed cases retain old size of (128,128,16) to ensure coverage of
all block size combinations.

Bug: 33965234
Test: Run tests on N6 and N9 on L MR 1 with known failures
Change-Id: If22e8722c1de58aa239cf6fe29e79d3bdd13c589

7 years agoMerge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts...
Tina Zhou [Fri, 20 Jan 2017 18:43:17 +0000 (18:43 +0000)]
Merge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts-dev am: e98444b9bf am: 41c599b77e
am: 9d74d882df

Change-Id: I2ef1de0e7b4d338fbeee054b1656e2ba004633d4

7 years agoRemove tests affected by NV/OES_viewport_array extension am: 267c765690 am: e4ed95024e
Pyry Haulos [Fri, 20 Jan 2017 18:43:04 +0000 (18:43 +0000)]
Remove tests affected by NV/OES_viewport_array extension am: 267c765690 am: e4ed95024e
am: 578afa4c88

Change-Id: Idd843d4694a00adf898bf7bf1685fb99ffafd581

7 years agoMerge "Generate flat triangles in polygon offset tests." into nougat-cts-dev am:...
Tina Zhou [Fri, 20 Jan 2017 18:42:52 +0000 (18:42 +0000)]
Merge "Generate flat triangles in polygon offset tests." into nougat-cts-dev am: 61d6d95a66 am: 5611bf398b
am: e2d1c25650

Change-Id: I66fd9eefd1fcaf28a152ef59bf016b1a618f36d9

7 years agoGenerate flat triangles in polygon offset tests. am: 975a59ebca am: 0bde00f9d6
Alexander Galazin [Fri, 20 Jan 2017 18:42:42 +0000 (18:42 +0000)]
Generate flat triangles in polygon offset tests. am: 975a59ebca am: 0bde00f9d6
am: b57eb2d24f

Change-Id: Ifcf6c0c4839ab97469c710d99da04456a1aa8d5e

7 years agoMerge "Relax line width verification in primitive bbox tests" into nougat-cts-dev...
Tina Zhou [Fri, 20 Jan 2017 18:42:31 +0000 (18:42 +0000)]
Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev am: 312a550657 am: f3d81a3cd9
am: 3b0479c233

Change-Id: I71d4fc5fc3e81382b5d2e0a09bb49762b1c0478f

7 years agoRelax line width verification in primitive bbox tests am: ba45591407 am: b4fbc02e3c
Pyry Haulos [Fri, 20 Jan 2017 18:42:18 +0000 (18:42 +0000)]
Relax line width verification in primitive bbox tests am: ba45591407 am: b4fbc02e3c
am: b9b63c17d2

Change-Id: I2aa14779ebae6f023eb9cef9e162ab45c506a0fb

7 years agoMerge "Fix eglBindAPI negative test" into nougat-cts-dev am: 6068dfbf3a am: 365f81e68c
Tina Zhou [Fri, 20 Jan 2017 18:42:06 +0000 (18:42 +0000)]
Merge "Fix eglBindAPI negative test" into nougat-cts-dev am: 6068dfbf3a am: 365f81e68c
am: 15cde0b466

Change-Id: I6aa3c1cc622ec777f5841b0fca2bea2ef2db724a

7 years agoFix eglBindAPI negative test am: 09784f8510 am: 3342150f5a
Nicolas Boichat [Fri, 20 Jan 2017 18:41:55 +0000 (18:41 +0000)]
Fix eglBindAPI negative test am: 09784f8510 am: 3342150f5a
am: 1af587d644

Change-Id: I17dbd8e798c13e7057cdeab73da429d75782ae39

7 years agoMerge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3b...
Tina Zhou [Fri, 20 Jan 2017 18:41:44 +0000 (18:41 +0000)]
Merge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3be2 am: a580ae91f8
am: 816d6bdb88

Change-Id: Ib3832fe6f652adf148535c38deb52405fe2c996e

7 years agoDrop incorrect framebuffer texture subtests. am: 625d685874 am: 25b6d76b01
Kenneth Graunke [Fri, 20 Jan 2017 18:41:34 +0000 (18:41 +0000)]
Drop incorrect framebuffer texture subtests. am: 625d685874 am: 25b6d76b01
am: 6f6f3d78fc

Change-Id: Id18abd5bf542b38b13175fca635b2165f4d6a1e5

7 years agoMerge "Optimize swapchain OOM tests" into nougat-cts-dev am: c811d42d99 am: 6d4c0dca61
Tina Zhou [Fri, 20 Jan 2017 18:41:24 +0000 (18:41 +0000)]
Merge "Optimize swapchain OOM tests" into nougat-cts-dev am: c811d42d99 am: 6d4c0dca61
am: d64bb66820

Change-Id: I0860b4a288e7f56d462411892eae21e19d1a462b

7 years agoOptimize swapchain OOM tests am: 1614827a71 am: 2cfe132119
Pyry Haulos [Fri, 20 Jan 2017 18:41:10 +0000 (18:41 +0000)]
Optimize swapchain OOM tests am: 1614827a71 am: 2cfe132119
am: 00ab17bd23

Change-Id: Id303077bc77b4fa039a9ce6a74f35a15d5e26210

7 years agoMerge "Fix internal format/type for ES3 3D + depth/stencil negative API tests." into...
Tina Zhou [Fri, 20 Jan 2017 18:40:11 +0000 (18:40 +0000)]
Merge "Fix internal format/type for ES3 3D + depth/stencil negative API tests." into nougat-cts-dev am: 0991459ed1 am: e19d6a6859
am: e0e2260a4a

Change-Id: I225d74dcb7a2806bdbfed8aebc7109ce2887ec36

7 years agoFix internal format/type for ES3 3D + depth/stencil negative API tests. am: 2ed3a5a66...
Kenneth Graunke [Fri, 20 Jan 2017 18:40:00 +0000 (18:40 +0000)]
Fix internal format/type for ES3 3D + depth/stencil negative API tests. am: 2ed3a5a66f am: 6a6f549150
am: f9b870fb5b

Change-Id: Ifba5e2d1705ea8f8f9dc79afe58a6e9a727d3a85

7 years agoMerge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev am: 13a05434cc...
Tina Zhou [Fri, 20 Jan 2017 18:39:48 +0000 (18:39 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev am: 13a05434cc am: 5f30178321
am: 764cd6e60b

Change-Id: I0f8b9eb0c1fa7ce4fdc26e5c8fbbefa3aac04bb6

7 years agoAdd support for EGL_EXT_pixel_format_float am: 521bf8a7c3 am: 4b7baeace7
Mark Adams [Fri, 20 Jan 2017 18:39:36 +0000 (18:39 +0000)]
Add support for EGL_EXT_pixel_format_float am: 521bf8a7c3 am: 4b7baeace7
am: 86683f95c7

Change-Id: I54718e0c412ba01c43e357f99f247f55ed139ed3

7 years agoMerge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts...
Tina Zhou [Fri, 20 Jan 2017 18:37:56 +0000 (18:37 +0000)]
Merge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts-dev am: e98444b9bf
am: 41c599b77e

Change-Id: Idf9be0fcc27b856282ef0525fff2ade3667080df

7 years agoMerge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts...
Tina Zhou [Fri, 20 Jan 2017 18:37:55 +0000 (18:37 +0000)]
Merge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts-dev am: e98444b9bf
am: ce3144c3e5

Change-Id: If580320c0105fcc4087ef873f89de3350019c719

7 years agoRemove tests affected by NV/OES_viewport_array extension am: 267c765690
Pyry Haulos [Fri, 20 Jan 2017 18:37:45 +0000 (18:37 +0000)]
Remove tests affected by NV/OES_viewport_array extension am: 267c765690
am: e4ed95024e

Change-Id: Iee50211f2e069b7b4b2806a8b51460d69ca86ec3

7 years agoRemove tests affected by NV/OES_viewport_array extension am: 267c765690
Pyry Haulos [Fri, 20 Jan 2017 18:37:44 +0000 (18:37 +0000)]
Remove tests affected by NV/OES_viewport_array extension am: 267c765690
am: 0004ce1767

Change-Id: I4d38d14737546246b00830294efe9366a36e51b8

7 years agoMerge "Generate flat triangles in polygon offset tests." into nougat-cts-dev am:...
Tina Zhou [Fri, 20 Jan 2017 18:37:32 +0000 (18:37 +0000)]
Merge "Generate flat triangles in polygon offset tests." into nougat-cts-dev am: 61d6d95a66
am: 5611bf398b

Change-Id: I6de97a8a9b88886cf3ce422d7fbe593f67b21dc9

7 years agoMerge "Generate flat triangles in polygon offset tests." into nougat-cts-dev am:...
Tina Zhou [Fri, 20 Jan 2017 18:37:32 +0000 (18:37 +0000)]
Merge "Generate flat triangles in polygon offset tests." into nougat-cts-dev am: 61d6d95a66
am: 73b7f271a9

Change-Id: I81f005b1da8dabe780d5f16e2b0b24f587286546

7 years agoGenerate flat triangles in polygon offset tests. am: 975a59ebca
Alexander Galazin [Fri, 20 Jan 2017 18:37:23 +0000 (18:37 +0000)]
Generate flat triangles in polygon offset tests. am: 975a59ebca
am: 0bde00f9d6

Change-Id: I6f49d027e3f69dbf9b0208a513ac4eab772aada0

7 years agoGenerate flat triangles in polygon offset tests. am: 975a59ebca
Alexander Galazin [Fri, 20 Jan 2017 18:37:21 +0000 (18:37 +0000)]
Generate flat triangles in polygon offset tests. am: 975a59ebca
am: 02c67b12c1

Change-Id: I86b9659a38fb029def1ab9c7de15c73f1e60473a

7 years agoMerge "Relax line width verification in primitive bbox tests" into nougat-cts-dev...
Tina Zhou [Fri, 20 Jan 2017 18:37:12 +0000 (18:37 +0000)]
Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev am: 312a550657
am: f3d81a3cd9

Change-Id: I9e49b6481fa9f157901c9a1d36c15505c4cf9098

7 years agoMerge "Relax line width verification in primitive bbox tests" into nougat-cts-dev...
Tina Zhou [Fri, 20 Jan 2017 18:37:10 +0000 (18:37 +0000)]
Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev am: 312a550657
am: 36d3dd2ab1

Change-Id: I1328497673c38aefc8617ee7c555ae2b242edb53

7 years agoRelax line width verification in primitive bbox tests am: ba45591407
Pyry Haulos [Fri, 20 Jan 2017 18:36:59 +0000 (18:36 +0000)]
Relax line width verification in primitive bbox tests am: ba45591407
am: a11fd8b487

Change-Id: I559fa411bd3e9ab117e4fdacd466c03ead6c73da

7 years agoRelax line width verification in primitive bbox tests am: ba45591407
Pyry Haulos [Fri, 20 Jan 2017 18:36:52 +0000 (18:36 +0000)]
Relax line width verification in primitive bbox tests am: ba45591407
am: b4fbc02e3c

Change-Id: I5177fb99eeae802415968a9745195ddc3a6bd5c9

7 years agoMerge "Fix eglBindAPI negative test" into nougat-cts-dev am: 6068dfbf3a
Tina Zhou [Fri, 20 Jan 2017 18:36:48 +0000 (18:36 +0000)]
Merge "Fix eglBindAPI negative test" into nougat-cts-dev am: 6068dfbf3a
am: 839be6fae4

Change-Id: I15e8699e526124806d63a299d9c5ce73fffd696f

7 years agoMerge "Fix eglBindAPI negative test" into nougat-cts-dev am: 6068dfbf3a
Tina Zhou [Fri, 20 Jan 2017 18:36:41 +0000 (18:36 +0000)]
Merge "Fix eglBindAPI negative test" into nougat-cts-dev am: 6068dfbf3a
am: 365f81e68c

Change-Id: I20c34cbb3726ec1f018d0f79a654abc9b7682780

7 years agoFix eglBindAPI negative test am: 09784f8510
Nicolas Boichat [Fri, 20 Jan 2017 18:36:37 +0000 (18:36 +0000)]
Fix eglBindAPI negative test am: 09784f8510
am: b7b2f00530

Change-Id: I87f03d37402abea5854ea8db14f847943ac306ba

7 years agoFix eglBindAPI negative test am: 09784f8510
Nicolas Boichat [Fri, 20 Jan 2017 18:36:30 +0000 (18:36 +0000)]
Fix eglBindAPI negative test am: 09784f8510
am: 3342150f5a

Change-Id: I8d0ecfb53bd90769f15d656cd066ce5c17a67067

7 years agoMerge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3be2
Tina Zhou [Fri, 20 Jan 2017 18:36:25 +0000 (18:36 +0000)]
Merge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3be2
am: b3f5df9d8f

Change-Id: Ie130b6d34ae0dcd24b2fa867d3631cc9428ef4ba

7 years agoMerge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3be2
Tina Zhou [Fri, 20 Jan 2017 18:36:19 +0000 (18:36 +0000)]
Merge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3be2
am: a580ae91f8

Change-Id: I297decc0ca64dd782697ae74cfa7fcf15c178bb9