platform/upstream/VK-GL-CTS.git
6 years agoLimit maximum allocation size in memory mapping tests am: adff582b50
Pyry Haulos [Fri, 12 Jan 2018 23:06:19 +0000 (23:06 +0000)]
Limit maximum allocation size in memory mapping tests am: adff582b50
am: dca802bcb6

Change-Id: I5cb69dcecddb77df2abc0b88829ec4107bc3f47c

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52
Mika Isojrvi [Fri, 12 Jan 2018 23:06:15 +0000 (23:06 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52
am: e31605bdcd

Change-Id: I16c54cf2b1762103e264c161b12c82913770b79d

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c
Mika Isojrvi [Fri, 12 Jan 2018 23:06:11 +0000 (23:06 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c
am: 5f6b57e213

Change-Id: I22694ef30862c2e6d9e44b5225717a7d7fa58dfc

6 years agoLimit maximum allocation size in memory mapping tests
Pyry Haulos [Fri, 12 Jan 2018 23:01:44 +0000 (23:01 +0000)]
Limit maximum allocation size in memory mapping tests
am: adff582b50

Change-Id: I1f964269a82a7e31a1ff5d930e86b9bb084ad0e7

6 years agoImprove memory tracking in vulkan memory mapping tests
Mika Isojrvi [Fri, 12 Jan 2018 23:01:42 +0000 (23:01 +0000)]
Improve memory tracking in vulkan memory mapping tests
am: 3a8ec35d52

Change-Id: Ia9e76d141185fa3c0a62a7602c551f9cb98f75bc

6 years agoOptimize random memory mapping tests reference memory
Mika Isojrvi [Fri, 12 Jan 2018 23:01:39 +0000 (23:01 +0000)]
Optimize random memory mapping tests reference memory
am: 7e69d67a2c

Change-Id: I15d1ed2e994eb8a924a38aeb9efe34324480892a

6 years agoLimit maximum allocation size in memory mapping tests
Pyry Haulos [Fri, 19 Aug 2016 12:20:38 +0000 (13:20 +0100)]
Limit maximum allocation size in memory mapping tests

Fixes also ReferenceMemory::m_flushed memory usage counting when
estimating reference memory usage (size should be divided by atomSize).

Fixes #468
Bug: b/69677943

Change-Id: Iad754e211e8070b09254d2451e03418fc2be541b

6 years agoImprove memory tracking in vulkan memory mapping tests
Mika Isojärvi [Tue, 7 Jun 2016 19:39:37 +0000 (12:39 -0700)]
Improve memory tracking in vulkan memory mapping tests

- Round up allocation size to multiple of page size for
  memory usage tracking.
- Update reference memory usage tracking to follow new reference memory
  implementation.

Bug: b/69677943

Change-Id: I219c2b3abe0ee0731f5a7e2bb44492e5b85b95c2

6 years agoOptimize random memory mapping tests reference memory
Mika Isojärvi [Tue, 7 Jun 2016 18:21:46 +0000 (11:21 -0700)]
Optimize random memory mapping tests reference memory

Bug: b/69677943

Change-Id: I7af6fe67a25462dcb0acc66c238a8708157060df

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

Change-Id: I6edcc0661c9d702a5bb518d24eebf7702145318f

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

Change-Id: I41d95ce51483f786706f9402701208801e73ecdc

6 years agoFix issues in pipeline.timestamp.transfer_tests
Pyry Haulos [Thu, 9 Mar 2017 17:46:29 +0000 (09:46 -0800)]
Fix issues in pipeline.timestamp.transfer_tests

This change fixes two issues:

 * Buffer overrun in vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer
tests.

 * Validation error (srcStageMask must not be 0).

VK-GL-CTS issue: 185
Components: Vulkan

Change-Id: I9679566f08c4a914eb6066bab248abd6d51e0f7e

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

Change-Id: I79289a400b489142682865c5a9f8153d2b97650f

6 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev
Graeme Leese [Fri, 4 Aug 2017 22:08:05 +0000 (22:08 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev
am: 4f1051ad32

Change-Id: I3bc55d8c7271eb61c7c593505dab8e13e0b48e16

6 years agoMerge "Fix extension support checks in negative api tests" into nougat-cts-dev
Treehugger Robot [Fri, 4 Aug 2017 21:56:36 +0000 (21:56 +0000)]
Merge "Fix extension support checks in negative api tests" into nougat-cts-dev

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:16:00 +0000 (18:16 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f
am: 1b81ecf035

Change-Id: Ib2b42f6a400417daa850bd107b56373475058840

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e
Mika Isojrvi [Wed, 19 Jul 2017 18:13:31 +0000 (18:13 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e
am: 550064261f

Change-Id: I9cd9791970b8a466b1a3a31adae45d9375ab5321

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209
Mika Isojrvi [Wed, 19 Jul 2017 18:10:29 +0000 (18:10 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209
am: 73a16f417e

Change-Id: I28d74629adfb6ebb7898c1fc7c9bd831ca4562ae

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
Mika Isojrvi [Wed, 19 Jul 2017 18:07:01 +0000 (18:07 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
am: 6e80057a20

Change-Id: I85568945b0bb02c5b82dbba6ba449cd851358694

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad
Mika Isojrvi [Wed, 19 Jul 2017 18:07:00 +0000 (18:07 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad
am: 580f143209

Change-Id: Ib4610c6afd22db3a464e3079ddca088aefaed271

6 years agoFix atomic ssbo xor test am: f0fa05e898
Mika Isojrvi [Wed, 19 Jul 2017 18:04:31 +0000 (18:04 +0000)]
Fix atomic ssbo xor test am: f0fa05e898
am: 14cd264501

Change-Id: Ide39036c1f956b64464d21eced9a16c0a2022f2b

6 years agoFix atomic ssbo xor test am: f0fa05e898
Mika Isojrvi [Wed, 19 Jul 2017 18:04:29 +0000 (18:04 +0000)]
Fix atomic ssbo xor test am: f0fa05e898
am: b426d8bfad

Change-Id: I98bcc7054eeca8fb9621694f0b628727bdcdec2c

6 years agoFix atomic ssbo xor test
Mika Isojrvi [Wed, 19 Jul 2017 18:02:00 +0000 (18:02 +0000)]
Fix atomic ssbo xor test
am: f0fa05e898

Change-Id: I593778e49374ab84b2b5b0b3fca57f36adf18684

6 years agoFix atomic ssbo xor test
Mika Isojrvi [Wed, 19 Jul 2017 17:57:28 +0000 (17:57 +0000)]
Fix atomic ssbo xor test
am: f0fa05e898

Change-Id: Ibc16a0ff1a6b1dbe764d4beafa5d9b63d9c090e9

6 years agoFix atomic ssbo xor test
Mika Isojärvi [Thu, 14 Apr 2016 17:28:16 +0000 (10:28 -0700)]
Fix atomic ssbo xor test

Allow any values in high order bits in xor tests when using uint types.

Bug: 28144118
Change-Id: I0670aa12642882a329cb923487198fdf045b912b

7 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da
Mika Isojrvi [Wed, 12 Jul 2017 22:57:29 +0000 (22:57 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da
am: 6c0e0ebde7

Change-Id: If4af4e7b7e38776f4512e4089db08513dfc3d836

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

Change-Id: I665044280c34a26c85886038cf3022bd490a4d16

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.
Mika Isojrvi [Wed, 12 Jul 2017 22:51:27 +0000 (22:51 +0000)]
Mask compared bits in atomic operation tests.
am: b2ed9fbe1a

Change-Id: I2f7b4cfbf2d926966af7c9956db670080771c164

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 agoFix extension support checks in negative api tests
Graeme Leese [Thu, 23 Feb 2017 16:56:10 +0000 (16:56 +0000)]
Fix extension support checks in negative api tests

Add checks for tessellation and geometry shader support for negative
shader storage and primitive bounding box tests.

Move all uses of cubemap array textures inside the extension checks in
the texture tests.

Bug: 29835218
Change-Id: I6051fff231285ed7d9c71015c2bb11a9fc7b909b
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
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