platform/upstream/VK-GL-CTS.git
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 agoMerge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev
Pyry Haulos [Wed, 3 May 2017 16:03:19 +0000 (16:03 +0000)]
Merge "DEPTH_STENCIL_OES as tex format requires OES_depth_texture" into nougat-cts-dev
am: 9a83ec3f47

Change-Id: I1dfb480ed3b5fb7f384a8fe9b0a852134fde1500

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

Change-Id: Ib4d673157f82d00d0d27ab3496ac8a1dc6634fe1

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 agoTry to determine renderable format in lifetime tests
Pyry Haulos [Wed, 3 May 2017 15:58:34 +0000 (15:58 +0000)]
Try to determine renderable format in lifetime tests
am: c0a5dc217f

Change-Id: I99514ee1a3ccb9a0aa397f0a8e9e7d45b47ec9ba

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 "Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat...
Ian Romanick [Tue, 11 Apr 2017 17:31:35 +0000 (17:31 +0000)]
Merge "Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am: aeef6dd8f5 am: a4ddab16dd" into nyc-mr1-dev am: 768446b015
am: 1e68201377

Change-Id: I3b9cde7321a9a4907c4de9c7c080bb93f7b7cb34

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

Change-Id: I594f19d5f680816cdcbd36e3f641ad5b13e77142

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

Change-Id: I008fce677439c28c74c93981b2571b340d231444

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

Change-Id: Ic0dc4acc742c6687a1cb666ac521f61917637bf7

7 years agoMerge "Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat...
Android Build Merger (Role) [Tue, 11 Apr 2017 17:22:26 +0000 (17:22 +0000)]
Merge "Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am: aeef6dd8f5 am: a4ddab16dd" into nyc-mr1-dev

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...
Ian Romanick [Tue, 11 Apr 2017 17:22:19 +0000 (17:22 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am: aeef6dd8f5 am: fdc198ba11
am: c7970bbd83

Change-Id: I1a41ff937b2f7328f7ef9b18cc8074614113c242

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
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 am: 19bf995047 am: 80b99cc54a
Pyry Haulos [Fri, 17 Mar 2017 12:37:35 +0000 (12:37 +0000)]
Fix warning introduced in 2c9e3ec9 am: 521361d83d am: 19bf995047 am: 80b99cc54a
am: b39a206388

Change-Id: I9090b68b50e4ea78de045ee0a303815970d0fb32

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

Change-Id: If15160bc9cb51778d6805b0ea33336dc8c660b99

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 am: eba2559865 am...
Pyry Haulos [Fri, 17 Mar 2017 12:21:04 +0000 (12:21 +0000)]
Fix warning introduced in 2c9e3ec9 am: 521361d83d am: 5f34117776 am: eba2559865 am: 99f3ab7c5a
am: 91a3078a37

Change-Id: Ifcb62bf0bad43f5bde5e1a693f886292a7ac2d42

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

Change-Id: I94915828f9db6edce08b0ca860de8f7eeb6ffdd8

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:49:46 +0000 (18:49 +0000)]
Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev am: 0532365740 am: dce98dc6e9 am: 650fc6607d am: 2e13d553b0
am: cb66bf73ac

Change-Id: If1df99d0a18e64d936c86cfcc3e47b3f5397bd35

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

Change-Id: Iaa9cc296b78b803d5e7f27c6ff224fe6a7c9aed7

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

Change-Id: Ie86c0eb85ff9c8761a45556df5cb05f0cb8ba143

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

Change-Id: Ibf84d3952485eedee9732f9ef7edc4b0cce08a5c

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:46:57 +0000 (15:46 +0000)]
Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9 am: 875d3c2990 am: 4a2a606f28 am: 31335b5fc3
am: 4a75760b34

Change-Id: I9b14c044d4e4ddc6d93efc2aefed48d5750b39ee

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

Change-Id: I4d4f9bc741b731e6f1379113c04dd7b1404974f8

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

Change-Id: I295fdd5c2bfeb2d85b09d1717b19d7b92d270389

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

Change-Id: Iceb00fc5b49b344c534120678f051449c19a7ed4

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

Change-Id: Ie667a58dcc0b40dc0e0d7553e52f0d3e5121859e

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

Change-Id: I00af902dcb247905e4f8b3610697177acd98879b

7 years agoUse glReadnPixels only if KHR_robustness is supported
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: ebc8257...
Mika Isojrvi [Thu, 9 Feb 2017 23:18:55 +0000 (23:18 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba am: 31a4d9b3b6 am: 19045bffb6
am: 53fbafc635

Change-Id: I73923046f4ce79cbb1f806ff5aa07a30b1311068

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e71...
Mika Isojrvi [Thu, 9 Feb 2017 23:18:42 +0000 (23:18 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7 am: bdff405d5a
am: 92584aee17

Change-Id: Id393184c9118d63c29bde2ca15229c50235f171e

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257...
Mika Isojrvi [Thu, 9 Feb 2017 23:12:19 +0000 (23:12 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba am: 31a4d9b3b6
am: 19045bffb6

Change-Id: Ic6c8704365207012e20a8aa6e06535f3043581e1

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

Change-Id: Ic937fa24f51ca1ab5325f14e6ac11de51bbe60e5

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:47:41 +0000 (19:47 +0000)]
Merge "x11: Call XInitThreads()" into nougat-cts-dev am: cbdbf95222 am: a74d50ffda am: b92f7d676f am: d46ac1a0ca
am: bb7e6b4f15

Change-Id: I7bcbd90f63e2e377023ca01c84d8288fbfa72899

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

Change-Id: Ice737a2f0af8cd00df9e4ffb41508a2e6fff7308

7 years agoMerge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea am: 05f26155f0 am: 7bb50...
Tina Zhou [Mon, 23 Jan 2017 19:47:14 +0000 (19:47 +0000)]
Merge "x11: Fix deadlock" into nougat-cts-dev am: 34b869eeea am: 05f26155f0 am: 7bb5047d5e am: 1b341143c0
am: d737e16da8

Change-Id: I78275ecfcd4083a2202b9c93da27d1c67d73d4c6

7 years agox11: Fix deadlock am: 5e863331b2 am: 7d0ad652ff am: ca5a475223 am: 319a51d5dd
Chad Versace [Mon, 23 Jan 2017 19:46:59 +0000 (19:46 +0000)]
x11: Fix deadlock am: 5e863331b2 am: 7d0ad652ff am: ca5a475223 am: 319a51d5dd
am: 97cc16aa0a

Change-Id: Id2519746b786bdb934ae7dc9da3d9aab11ae1620

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

Change-Id: I9d7b630eb034e76830e9ccfa47d881278b3def09

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

Change-Id: I178d4051826827c2f785f9d6ca8507fab1d4a931

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

Change-Id: I024c4287173d6b46f9752c42387ba23a6768d8e9

7 years agox11: Fix deadlock am: 5e863331b2 am: f49e8bfc0e am: 1eb4f43dc4
Chad Versace [Mon, 23 Jan 2017 19:45:55 +0000 (19:45 +0000)]
x11: Fix deadlock am: 5e863331b2 am: f49e8bfc0e am: 1eb4f43dc4
am: c1c16c73e6

Change-Id: Icfb6d4528e2b5c27ccb47095b8a3abc85c180c3c

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

Change-Id: I9e8b270b31328b2ae2619c144685cdf1239f1765

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

Change-Id: I7f8e0c8c52bf28353af47abea83f09e20500b7dd

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

Change-Id: Ib5ce54db7e4a82a80c10538931f2fd01b6bd6502

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

Change-Id: I4ea299b0da691d4b057690ed63662e13e246b9ce

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

Change-Id: I386402636396dd6d956197dc1d2e1127bb145019

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

Change-Id: Iec487e77848eb572b190561d836bf2a903f84820

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

Change-Id: I69d17f550317280f58c89feb0092cbcfe70730e0

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

Change-Id: Ifa42ea781f68bf222c085febb068690003c52f6b

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