platform/upstream/VK-GL-CTS.git
7 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
Mika Isojrvi [Wed, 12 Jul 2017 22:55:29 +0000 (22:55 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687 am: 0ddc9faea1
am: d2d7d49296

Change-Id: Ibe5746d2974294959fce2319e7e3ebfff99d8293

7 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
Mika Isojrvi [Wed, 12 Jul 2017 22:51:32 +0000 (22:51 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687
am: 0ddc9faea1

Change-Id: I4fbba2ef9ac41c6130da0f0c3b9fba2212bc4f78

7 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
Mika Isojrvi [Wed, 12 Jul 2017 22:49:57 +0000 (22:49 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c
am: 4c56c58687

Change-Id: I980ef2baab6051b674a3374d32f4f705a2b67f40

7 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d
Mika Isojrvi [Wed, 12 Jul 2017 22:48:00 +0000 (22:48 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d
am: 97ce4c6f8c

Change-Id: I56e0700af0ce17a904e5a71852c99e1437d79212

7 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a
Mika Isojrvi [Wed, 12 Jul 2017 22:45:28 +0000 (22:45 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a
am: e37b18673d

Change-Id: Ic61ec45f634d0c53b6319b3bed92ef77c5c1b20c

7 years agoMask compared bits in atomic operation tests.
Mika Isojrvi [Wed, 12 Jul 2017 22:43:56 +0000 (22:43 +0000)]
Mask compared bits in atomic operation tests.
am: b2ed9fbe1a

Change-Id: I34ad163b4088436c5c3f8d41809f626b0904cef0

7 years agoMask compared bits in atomic operation tests.
Mika Isojärvi [Tue, 5 Apr 2016 17:42:09 +0000 (10:42 -0700)]
Mask compared bits in atomic operation tests.

Bug: 27975797
Change-Id: Id24a784b5b8a665f509218358d58d7eca9a7bb93

7 years agoMerge "Fix color change verification in dithering tests" into nougat-cts-dev am:...
Pyry Haulos [Wed, 3 May 2017 16:08:35 +0000 (16:08 +0000)]
Merge "Fix color change verification in dithering tests" into nougat-cts-dev am: acf47d464f
am: 45d860b737

Change-Id: I9bfa731b074538d354a25945f760ba00d9c31ad1

7 years agoMerge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts...
Pyry Haulos [Wed, 3 May 2017 16:06:47 +0000 (16:06 +0000)]
Merge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev am: 9a83ec3f47
am: 9443c9c4c0

Change-Id: Iaab965ccbaeb3ca315a5da67ae342b25b1fccb35

7 years agoMerge "Fix color change verification in dithering tests" into nougat-cts-dev
Pyry Haulos [Wed, 3 May 2017 16:06:40 +0000 (16:06 +0000)]
Merge "Fix color change verification in dithering tests" into nougat-cts-dev
am: acf47d464f

Change-Id: Iabf1c0d76db9f83f64cae805f89bd60230cd0408

7 years agoMerge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev am:...
Alexander Galazin [Wed, 3 May 2017 16:06:35 +0000 (16:06 +0000)]
Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev am: eebcec1b52
am: 71a9bc447d

Change-Id: Iba7f7005d3fe89e5a927cf5afe07a13a3312a525

7 years agoMerge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev
Pyry Haulos [Wed, 3 May 2017 16:04:22 +0000 (16:04 +0000)]
Merge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev
am: 9a83ec3f47

Change-Id: I18cb5efebe1ed2b56818fc2c5b8da89f0a4fd1d7

7 years agoMerge "Fix color change verification in dithering tests" into nougat-cts-dev
Treehugger Robot [Wed, 3 May 2017 16:04:13 +0000 (16:04 +0000)]
Merge "Fix color change verification in dithering tests" into nougat-cts-dev

7 years agoMerge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev
Alexander Galazin [Wed, 3 May 2017 16:04:08 +0000 (16:04 +0000)]
Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev
am: eebcec1b52

Change-Id: I4c726cca01d733fadfeef64f9ade6318bed6e66b

7 years agoTry to determine renderable format in lifetime tests am: c0a5dc217f
Pyry Haulos [Wed, 3 May 2017 16:04:06 +0000 (16:04 +0000)]
Try to determine renderable format in lifetime tests am: c0a5dc217f
am: e94af4b69f

Change-Id: Ia413488ae565cb75cc79260362ff4dd7cf1c2ef5

7 years agoTry to determine renderable format in lifetime tests
Pyry Haulos [Wed, 3 May 2017 16:02:07 +0000 (16:02 +0000)]
Try to determine renderable format in lifetime tests
am: c0a5dc217f

Change-Id: I36f65b41ac4958f0794e4ca52a9703e80aa37fab

7 years agoMerge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev
Treehugger Robot [Wed, 3 May 2017 16:01:05 +0000 (16:01 +0000)]
Merge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev

7 years agoMerge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev
Treehugger Robot [Wed, 3 May 2017 15:59:50 +0000 (15:59 +0000)]
Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev

7 years agoFix error mask generation in checkLineContinuity
Alexander Galazin [Thu, 20 Apr 2017 12:08:44 +0000 (14:08 +0200)]
Fix error mask generation in checkLineContinuity

Even if some pixels are missing the function could return
all-zero errorMask if the messageLimitcounter was exhausted.

Components: AOSP
Affects: dEQP-GLES31.functional.primitive_bounding_box.lines.*

Google bug: 35987764

7 years agoFix color change verification in dithering tests
Pyry Haulos [Tue, 18 Apr 2017 23:13:59 +0000 (16:13 -0700)]
Fix color change verification in dithering tests

Tests were supposed to allow color change once per row/column depending
on gradient direction but instead allowed color change in constant
direction only once over whole image.

Affects:

dEQP-GLES2.functional.dither.disabled.gradient_*
dEQP-GLES3.functional.dither.disabled.gradient_*

Bug: 37477346
Change-Id: I37ef06b4ff527f8c316eae56c8a99c88cdaaf4b4

7 years agoTry to determine renderable format in lifetime tests
Pyry Haulos [Mon, 17 Apr 2017 21:34:27 +0000 (14:34 -0700)]
Try to determine renderable format in lifetime tests

Affects:

dEQP-GLES2.functional.lifetime.attach.deleted_input.renderbuffer_framebuffer
dEQP-GLES2.functional.lifetime.attach.deleted_input.texture_framebuffer
dEQP-GLES2.functional.lifetime.attach.deleted_output.renderbuffer_framebuffer
dEQP-GLES2.functional.lifetime.attach.deleted_output.texture_framebuffer

Bug: 36724173

Change-Id: I46196317c144f294adce65ff4690571d28e1caf3

7 years agoDEPTH_STENCIL_OES as tex format requires OES_depth_texture
Pyry Haulos [Mon, 17 Apr 2017 19:34:26 +0000 (12:34 -0700)]
DEPTH_STENCIL_OES as tex format requires OES_depth_texture

Affects:

dEQP-GLES2.functional.fbo.completeness.*
dEQP-GLES3.functional.fbo.completeness.*

Bug: 36727598
Merged-In: Ic79408c21b80ea458baecf79c042e2694e72e0b2
Change-Id: Ib302b21b2b28d4f13aa6df8bdcac878f22ae51be

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

Change-Id: Ieb66f942f4d5e690f1cdfecfc92144deca46d12a

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

Change-Id: Ia384b5bb86c9e07ecc47a0c1002205ce27f4e399

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: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: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: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
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
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 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
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 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
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: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 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: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: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 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 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 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 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 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: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: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:19 +0000 (18:36 +0000)]
Merge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev am: 3baf7e3be2
am: a580ae91f8

Change-Id: I297decc0ca64dd782697ae74cfa7fcf15c178bb9

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

Change-Id: I198ba68c6ba2919220194ff8c3c5d0bdddd78f56

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

Change-Id: I92282e9341ff46ff5ee48bfa2c5f54385e3a41ed

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

Change-Id: I6e3f2cc8f18add32f8710196b9adbedd71d51ee2

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

Change-Id: Ib4ee4be626ba638dbf12707710cb86c9f276ec99

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

Change-Id: I549bf24bb7add8dd7e0d3f1aefe6f83c3319b032

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

Change-Id: I1c8e7901ff7203a242baa374f4f0d8c3c111dadd

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

Change-Id: Ia42668945a64ea86b6357fb34cfb9b47a32719b5

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

Change-Id: I7dd94e3a7648f0f1d80e914ca97b7e9a32ca29e4

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

Change-Id: Ic24e411b26d3b3b820a4c6edff64757e2c6729a0

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

Change-Id: I1e10f62a6246f3613dd6d8bd3717abaa891af035

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

Change-Id: I46854bf385494555b7902984a3bacf6a2041528b

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

Change-Id: I710c20679327116888d493649b6a24183c2d705b

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

Change-Id: Iaf6257f99741756a8a8e4b3f9edd463125486c34

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

Change-Id: I50cc593a39875b4b91616e4dcd4a10ed21b3e25f

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

Change-Id: I4e1a96d510ec7d9d26be1e4ff0eb0a80840137b2

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

Change-Id: Ia80478eb3127eb595158f1a7f0c60e3fa11dc8d0

7 years agoDrop incorrect framebuffer texture subtests.
Kenneth Graunke [Fri, 20 Jan 2017 18:31:39 +0000 (18:31 +0000)]
Drop incorrect framebuffer texture subtests.
am: 625d685874

Change-Id: I16d0bba267d3c4aabee476e442c01151efafd1a4

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

Change-Id: I80f4d73072eb4e310428b008e89bd41d62fffee4

7 years agoOptimize swapchain OOM tests
Pyry Haulos [Fri, 20 Jan 2017 18:31:15 +0000 (18:31 +0000)]
Optimize swapchain OOM tests
am: 1614827a71

Change-Id: I7fce434527e387f9c14f332eddf99e2a885624d8

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

Change-Id: Id5201c4bf95d6127d9ee71da302c64b5d6a2c1b1

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

Change-Id: I247338350d1d8cbb7dfcde284bbd4c29d90561b3

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

Change-Id: Id211d01ef9006c6fcd2866ddc087f71fcd5500eb

7 years agoAdd support for EGL_EXT_pixel_format_float
Mark Adams [Fri, 20 Jan 2017 18:30:37 +0000 (18:30 +0000)]
Add support for EGL_EXT_pixel_format_float
am: 521bf8a7c3

Change-Id: I5328e30c4dcf07283541aaa5f9842597e56c4036

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

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

7 years agoMerge "Relax line width verification in primitive bbox tests" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:28:34 +0000 (18:28 +0000)]
Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev

7 years agoMerge "Fix eglBindAPI negative test" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:28:26 +0000 (18:28 +0000)]
Merge "Fix eglBindAPI negative test" into nougat-cts-dev

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

7 years agoMerge "Optimize swapchain OOM tests" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:27:50 +0000 (18:27 +0000)]
Merge "Optimize swapchain OOM tests" into nougat-cts-dev

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

7 years agoMerge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:27:14 +0000 (18:27 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev

7 years agoRemove tests affected by NV/OES_viewport_array extension
Pyry Haulos [Wed, 18 Jan 2017 20:28:32 +0000 (12:28 -0800)]
Remove tests affected by NV/OES_viewport_array extension

Tests were not properly taking into account viewport clamping behavior
introduced by GL_NV/OES_viewport_array extensions.

Bug: 34349411
Change-Id: I3eae36359e6408191e0fbefb20cededec2a5bd39
Merged-In: I3d3c2e32d7dd96d1db960aa53dc18cc690187ec0

7 years agoGenerate flat triangles in polygon offset tests.
Alexander Galazin [Wed, 11 Jan 2017 07:50:13 +0000 (08:50 +0100)]
Generate flat triangles in polygon offset tests.

The tests setup triangles with a depth slope and then call
glPolygonOffset(factor, units) with variable units and
always 0 slope scaled factor.

According to the GLES 3.2 spec 13.7.2 Depth Offset:
"void PolygonOffset( float factor, float units );
factor scales the maximum depth slope of the polygon, and units scales an
implementation-dependent constant that relates to the usable resolution of the
depth buffer."

If the polygon has a depth slope,
the depth slope factor has to be not equal to zero.
The rationale of the slope scaled factor is to ensure that the offset
(equation 13.11) is greater than max(dz/dx, dz/dy) for all resolutions,
which may not be the case for the constant offset since it doesn't take
the screen resolution into account.

Changed tests:

dEQP-GLES2.functional.polygon_offset.*_displacement_with_units
dEQP-GLES3.functional.polygon_offset.*_displacement_with_units

Bug: 34386628

Change-Id: Ie8009ba1766eb50c3c5a750122aa8bb231144210

7 years agoDrop incorrect framebuffer texture subtests.
Kenneth Graunke [Fri, 6 Jan 2017 08:25:28 +0000 (00:25 -0800)]
Drop incorrect framebuffer texture subtests.

This patch removes two broken subcases of:
dEQP-GLES31.functional.debug.negative_coverage.log.buffer.framebuffer_texture_layer

These were fixed in dEQP master by commit f28187809176f5eeb1ee25ccfa70d3,
but we cannot backport that to release branches because it changes the
existing expectations, which would break previously passing
implementations.  See buganizer 30287182 and 28090252.

The first subtest incorrectly checked layer (array slice) when it should
have checked miplevel.  The subtest description says:

"GL_INVALID_VALUE is generated if texture is a 2D multisample array
 texture and layer not 0."

which is wrong - array textures can certainly have multiple slices.
The ES 3.1 specification says that:

"An INVALID_VALUE error is generated if texture is not zero and level is
 not a supported texture level for texture, as described above."

and miplevel 0 is the only valid miplevel for a multisample texture.

The second subtest is no longer valid according to the resolution of
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15968.

Bug: 34281627
Merged-In: I500074c1777d88291c0b395498bb0f7d5613d27d