platform/upstream/VK-GL-CTS.git
6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Sat, 13 Jan 2018 00:37:41 +0000 (00:37 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17 am: 9867211763 am: 6efda47386 am: f55a23659d  -s ours am: 90d309c9be
am: dfe4c42922

Change-Id: Idfa5ca344f66a94b4dbe8f33553ebc24f0bc9588

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Sat, 13 Jan 2018 00:14:20 +0000 (00:14 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17 am: 9867211763 am: 6efda47386 am: f55a23659d  -s ours
am: 90d309c9be

Change-Id: Icdc70bfc54bc0a0bb91e9d2007dd4cd3a1d4969c

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Fri, 12 Jan 2018 23:58:57 +0000 (23:58 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17 am: 9867211763 am: 6efda47386
am: f55a23659d  -s ours

Change-Id: Idd75f5b319dc488e4da5c730b5d33fb8b0aa616b

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Fri, 12 Jan 2018 23:21:15 +0000 (23:21 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17 am: 9867211763
am: 6efda47386

Change-Id: I5eba68eab4424e4a6e3f860195839af7cece4ea3

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

Change-Id: If9832e5468a435dde173c64d3895c0254d0147cf

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

Change-Id: Ie076cb9cc66d9b500228e757022a9b63f8200055

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

Change-Id: I2c91c3720102d1c4c949bf19a2b6af51c59581f1

6 years agoMultiple draw buffers in blend_equation_advanced am: 123de4f307 am: f3ca3bb9be
Mark Adams [Fri, 12 Jan 2018 21:53:23 +0000 (21:53 +0000)]
Multiple draw buffers in blend_equation_advanced am: 123de4f307 am: f3ca3bb9be
am: 287e603102

Change-Id: Ifc92ce6aef2ea67b4cd15260bdf667077f735695

6 years agoMultiple draw buffers in blend_equation_advanced am: 123de4f307
Mark Adams [Fri, 12 Jan 2018 21:49:19 +0000 (21:49 +0000)]
Multiple draw buffers in blend_equation_advanced am: 123de4f307
am: f3ca3bb9be

Change-Id: I0071405c90f5a9498d702f1000c38c663fd153cf

6 years agoMultiple draw buffers in blend_equation_advanced
Mark Adams [Fri, 12 Jan 2018 21:44:19 +0000 (21:44 +0000)]
Multiple draw buffers in blend_equation_advanced
am: 123de4f307

Change-Id: I573130ab7b0b0e1074935a655e980934deb5c72e

6 years agoMultiple draw buffers in blend_equation_advanced
Mark Adams [Fri, 20 Oct 2017 13:49:08 +0000 (09:49 -0400)]
Multiple draw buffers in blend_equation_advanced

GL_NVX_blend_equation_advanced_multi_draw_buffers adds support for
multiple draw buffers with advanced blend equations. This change
modifies the below test to check for this extension and to expect
GL_NO_ERROR if it is present.

Components: AOSP

VK-GL-CTS issue: 770
Bug: b/71901344

Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.advanced_blend.attachment_advanced_equation
(cherry picked from commit 2cb35a235c1a7bd3c63b296c37e186eec34e08e2)

Change-Id: I865fa30e527b5899197bade465602bafc92a54a1

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3...
Jeff Leger [Fri, 12 Jan 2018 01:31:40 +0000 (01:31 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d am: 5411bb2f77
am: e063ada7cc

Change-Id: Ica9ad4859150bb90ae0ff7a34970d487a91257ac

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d
Jeff Leger [Fri, 12 Jan 2018 01:24:57 +0000 (01:24 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d
am: 5411bb2f77

Change-Id: I5b62fe6198be6c06edab68f0a16c7478757b9e5d

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
Jeff Leger [Fri, 12 Jan 2018 01:21:29 +0000 (01:21 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
am: 4c26442e3d

Change-Id: I46cfbd06aceee958ca486b14963d6c7a7be8abfb

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
Treehugger Robot [Fri, 12 Jan 2018 01:10:31 +0000 (01:10 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb...
Chris Forbes [Thu, 11 Jan 2018 22:41:26 +0000 (22:41 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb am: b355e0840c
am: d60fc9b449

Change-Id: Icae4d1aec236c5353c04eddf77910ce06d619b0d

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb
Chris Forbes [Thu, 11 Jan 2018 22:32:48 +0000 (22:32 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb
am: b355e0840c

Change-Id: I666e73b8b5e4c298937fe679676182a2ac0a0d47

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware
Chris Forbes [Thu, 11 Jan 2018 22:25:16 +0000 (22:25 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware
am: 0d9250e9eb

Change-Id: I6794264a1b8018a5ced33100ae9505f31d0a191e

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware
Chris Forbes [Thu, 21 Dec 2017 18:22:58 +0000 (10:22 -0800)]
glshared: Add watchdog touches to avoid timeouts on slow hardware

Based on diffs posted to deqp-external-requests

Bug: b/71753331
Bug: b/67854695

Change-Id: Id25e334814caf65f72b76e66d3b07fccba5ad355
Component: AOSP

6 years agoRun Draw*BaseVertex if EXT_draw_elements_base_vertex is present
Alexander Galazin [Thu, 4 Jan 2018 00:54:08 +0000 (00:54 +0000)]
Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present
am: 3685bc758d

Change-Id: I3c24c3ce079652103df522bf614fd2582d7bd5cc

6 years agoReport tests using Draw*BaseVertex as NotSupported
Alexander Galazin [Thu, 4 Jan 2018 00:54:05 +0000 (00:54 +0000)]
Report tests using Draw*BaseVertex as NotSupported
am: 62704ccf72

Change-Id: I3bdac742ddc6bcd8bb24dba85d6a3db607520ce8

6 years agoRemove dEQP-GLES31.*vertex_array.*_invalid_map tests
David Sodman [Thu, 4 Jan 2018 00:54:02 +0000 (00:54 +0000)]
Remove dEQP-GLES31.*vertex_array.*_invalid_map tests
am: b13b882839

Change-Id: I9e0656dd887ecf669f6c55e2f6a36148f80c4a34

6 years agoRun Draw*BaseVertex if EXT_draw_elements_base_vertex is present
Alexander Galazin [Wed, 16 Aug 2017 09:36:01 +0000 (11:36 +0200)]
Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP
Bug: 70716357
Test: run on google devices

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286
(cherry picked from commit 079ca561114713d31e05c4124b8daeef764cf9b8)
Merged-In: 079ca561114713d31e05c4124b8daeef764cf9b8

6 years agoReport tests using Draw*BaseVertex as NotSupported
Alexander Galazin [Wed, 16 Aug 2017 09:36:01 +0000 (11:36 +0200)]
Report tests using Draw*BaseVertex as NotSupported

Draw*BaseVertex methods were added in GLES 3.2.
Report tests using these methods as NotSupported if
GLES 3.1 context is returned.

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Bug: 70716326
Test: run on google devices

Change-Id: I87c918d5f66a0a5b547f8e625c662203a7f85048
(cherry picked from commit 1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e)
Merged-In: 1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e

6 years agoRemove dEQP-GLES31.*vertex_array.*_invalid_map tests
David Sodman [Thu, 18 May 2017 16:30:17 +0000 (09:30 -0700)]
Remove dEQP-GLES31.*vertex_array.*_invalid_map tests

Tests made assumptions about GL error returned from glDrawElements*
functions when passed a mapped buffer object, but, that error is not
supported by the specification.

Affects: dEQP-GLES31.*vertex_array.*
Components: AOSP
Bug: 37942569
Bug: 70716290
Test: run on google devices

Change-Id: Ic066dfbe717ff1e7741bec8ee870b09b99362dc7
(cherry picked from commit 428a2256159883c651a409c4e0cbe031953f4c4e)
Merged-In: 428a2256159883c651a409c4e0cbe031953f4c4e

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev...
Chris Forbes [Sat, 16 Dec 2017 00:45:50 +0000 (00:45 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev am: aa801278e8 am: b225891f17
am: 5efd60507d

Change-Id: If2626421192eae18884f3ab9d61b3b8c6f819764

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev...
Chris Forbes [Sat, 16 Dec 2017 00:43:44 +0000 (00:43 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev am: aa801278e8
am: b225891f17

Change-Id: I792d7af525d21390dc878e96dbb5efddee2ded4c

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev...
Chris Forbes [Sat, 16 Dec 2017 00:43:44 +0000 (00:43 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev am: aa801278e8
am: 88ff7ab94e

Change-Id: I8d8ab5d554e0f0ddf8959bf0cd1b8d27b149ad32

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
Chris Forbes [Sat, 16 Dec 2017 00:41:49 +0000 (00:41 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
am: aa801278e8

Change-Id: Ibcf595572b9e0164653dab832ca8cffab1f5c4c8

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
Chris Forbes [Sat, 16 Dec 2017 00:41:49 +0000 (00:41 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
am: aa801278e8

Change-Id: I5818c937676ad5c4c79814be1c39c8c264949977

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
Treehugger Robot [Sat, 16 Dec 2017 00:34:23 +0000 (00:34 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev

6 years agoDon't assume rendering complete before buffer latch am: 9e0214cf61
Mark Adams [Wed, 6 Dec 2017 19:01:23 +0000 (19:01 +0000)]
Don't assume rendering complete before buffer latch am: 9e0214cf61
am: b7bd9a1ee9

Change-Id: I55a7b630455bca202121fea12825b22ec15de652

6 years agoDon't assume rendering complete before buffer latch
Mark Adams [Wed, 6 Dec 2017 18:28:29 +0000 (18:28 +0000)]
Don't assume rendering complete before buffer latch
am: 9e0214cf61

Change-Id: Iee3ccf2afef375ac45e60133537a141d685d607f

6 years agoDon't assume rendering complete before buffer latch am: 9e0214cf61 am: e61e3bf872
Mark Adams [Wed, 6 Dec 2017 18:18:32 +0000 (18:18 +0000)]
Don't assume rendering complete before buffer latch am: 9e0214cf61 am: e61e3bf872
am: 67cd1e434b

Change-Id: I98f8efc3877e42212550a775ec0cdb5f23ff1262

6 years agoDon't assume rendering complete before buffer latch am: 9e0214cf61
Mark Adams [Wed, 6 Dec 2017 18:15:28 +0000 (18:15 +0000)]
Don't assume rendering complete before buffer latch am: 9e0214cf61
am: e61e3bf872

Change-Id: I869f95ed4b93d12dd90a822b33f21a761b621105

6 years agoDon't assume rendering complete before buffer latch
Mark Adams [Wed, 6 Dec 2017 18:10:40 +0000 (18:10 +0000)]
Don't assume rendering complete before buffer latch
am: 9e0214cf61

Change-Id: If7f18305ad52c94df1f6700737f27e0af7c05d39

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 agoDon't assume rendering complete before buffer latch
Mark Adams [Mon, 4 Dec 2017 22:26:54 +0000 (17:26 -0500)]
Don't assume rendering complete before buffer latch

It's valid for the buffer to latch before rendering is completed, and
this is causing intermittent failures.

Bug: b/69981429

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*

Change-Id: Ia9f1d0e4ffa7f3e16a46fc4566157a651d1b0601

6 years agoAvoid watchdog timeout in Vulkan builtin precision tests
Chris Forbes [Mon, 16 Oct 2017 19:42:35 +0000 (12:42 -0700)]
Avoid watchdog timeout in Vulkan builtin precision tests

Calculating the reference intervals can take a substantial amount of
time. On some very slow targets, this can cause us to trip the watchdog
in the verification loop.

Same approach and limit as in modules/glshared/glsBuiltinPrecisionTests.cpp

Affected tests:
dEQP-VK.glsl.builtin.precision.*

Component: Vulkan

Bug: 67854695
Test: run on google devices
Change-Id: I492b656e7e2a9aa724bb3785bdf1416a4c22ec04

6 years agoReduce GPU workload of pipeline_barrier tests
Jeff Leger [Wed, 22 Nov 2017 17:12:58 +0000 (12:12 -0500)]
Reduce GPU workload of pipeline_barrier tests

Tests with large buffer sizes will now clamp the
GPU workload to avoid triggering execution timeout
on implementations.

b/68360750

Affects: dEQP-VK-memory.pipeline_barrier.*

Components: Vulkan

VK_GL_CTS issue: 813

Change-Id: If8772973fd49cac0b8cc5fa66c33af4de38f2f68

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04...
Gurchetan Singh [Tue, 7 Nov 2017 20:45:44 +0000 (20:45 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04 am: b31b60abe6 am: da172c6afd am: ed080cc354
am: 4d5a25b142

Change-Id: Iece967058049e50e63f7cc4235bf6468eddffc97

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04...
Gurchetan Singh [Tue, 7 Nov 2017 20:42:12 +0000 (20:42 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04 am: b31b60abe6 am: da172c6afd
am: ed080cc354

Change-Id: I3c63098007f8634c51ecd9fbf8844b5c5f2f2c26

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04...
Gurchetan Singh [Tue, 7 Nov 2017 20:38:43 +0000 (20:38 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04 am: b31b60abe6
am: da172c6afd

Change-Id: Iecdc967997849e2377fb480454f89a75e072c298

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04
Gurchetan Singh [Tue, 7 Nov 2017 20:36:05 +0000 (20:36 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04
am: b31b60abe6

Change-Id: I0c83a1932bb47c1b295cf2f0f19447b7c7950557

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748...
Gurchetan Singh [Tue, 7 Nov 2017 20:34:09 +0000 (20:34 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748 am: 7776db1369
am: 83cec0e56e

Change-Id: Ie4217eb2aa68077a3fc53820c8de2931eac705c8

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987
Gurchetan Singh [Tue, 7 Nov 2017 20:34:04 +0000 (20:34 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987
am: 2e18b48b04

Change-Id: Id0dd6ef88d6a9f1a53a0b72e7fc6912ade51878d

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748
Gurchetan Singh [Tue, 7 Nov 2017 20:31:07 +0000 (20:31 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748
am: 7776db1369

Change-Id: I8ab737ed4a43886a1ecc7656ef84b265c1b2f7bc

7 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Tue, 7 Nov 2017 20:29:56 +0000 (20:29 +0000)]
Lower correlation threshold in flush-finish tests again
am: 6455e6f987

Change-Id: I06395cdc2b3b19e7426f35e80981d0547309ede4

7 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987
Gurchetan Singh [Tue, 7 Nov 2017 20:29:09 +0000 (20:29 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987
am: 84373d7748

Change-Id: I0bda19c76be8c905ce711c089e5576fd7bfee09e

7 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Tue, 7 Nov 2017 20:24:36 +0000 (20:24 +0000)]
Lower correlation threshold in flush-finish tests again
am: 6455e6f987

Change-Id: I11a62d5d0af3612ed1cdcbedee1ba53d5b0e57ae

7 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635 am: aa425927d0
Brian Anderson [Tue, 7 Nov 2017 20:02:39 +0000 (20:02 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635 am: aa425927d0
am: efb1ae2ab9

Change-Id: I5623468a2c31d7e265e89f5d860e61fe911e225b

7 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635
Brian Anderson [Tue, 7 Nov 2017 19:59:37 +0000 (19:59 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635
am: aa425927d0

Change-Id: I4a353896ae1d58cfa206c37b4081010f7577899b

7 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
Brian Anderson [Tue, 7 Nov 2017 19:57:39 +0000 (19:57 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
am: 67694b5635

Change-Id: I202b9be2b529cc3ba80a96f66a31b42252b47234

7 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
Treehugger Robot [Tue, 7 Nov 2017 19:49:35 +0000 (19:49 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev

* changes:
  eglGetFrameTimestamps: Consider timestamps of 0 as invalid.
  eglGetFrameTimestamps: Allow reads done to equal rendering complete.

7 years agoExclude incremental_present scale down from Android CTS am: da253a4fe0 am: 3d03b52e1f
Chris Forbes [Tue, 7 Nov 2017 03:07:01 +0000 (03:07 +0000)]
Exclude incremental_present scale down from Android CTS am: da253a4fe0 am: 3d03b52e1f
am: b2185cdcbb

Change-Id: I9047deda4c47d482d7e29c7c866a0cfa8321d9f1

7 years agoExclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a am: 8192b...
Chris Forbes [Tue, 7 Nov 2017 03:06:37 +0000 (03:06 +0000)]
Exclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a am: 8192b7059e
am: b3e8cd74fe  -s ours

Change-Id: I0429832d24cdd31462dd229b821b0a29e1c90dbe

7 years agoExclude incremental_present scale down from Android CTS am: da253a4fe0
Chris Forbes [Tue, 7 Nov 2017 02:57:37 +0000 (02:57 +0000)]
Exclude incremental_present scale down from Android CTS am: da253a4fe0
am: 3d03b52e1f

Change-Id: I55883fde5f84a8e332b4fea8ae5a8859b52ef9cb

7 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Tue, 7 Nov 2017 02:55:34 +0000 (02:55 +0000)]
Exclude incremental_present scale down from Android CTS
am: da253a4fe0

Change-Id: I9097d2fdf2783464974888010bb89b654b7e0e8b

7 years agoExclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a
Chris Forbes [Tue, 7 Nov 2017 02:40:06 +0000 (02:40 +0000)]
Exclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a
am: 8192b7059e

Change-Id: I04fc2b48d6830403add863a62e9cbfc65fd75899

7 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Tue, 7 Nov 2017 02:37:04 +0000 (02:37 +0000)]
Exclude shared_presentable_image scale down from Android CTS
am: 4e9d89ac4a

Change-Id: I5a4c71c270694fa27cd8686b7baa7e31f3d39ca1

7 years agoeglGetFrameTimestamps: Consider timestamps of 0 as invalid.
Brian Anderson [Thu, 19 Oct 2017 21:59:28 +0000 (14:59 -0700)]
eglGetFrameTimestamps: Consider timestamps of 0 as invalid.

There's a bug in the kernel that doesn't merge fences properly,
resulting in "reads done" timestamps of 0 when the fences being
merged have already signaled.

This is a temporary relaxation of the test requirements until
the kernel fix is required.

Bug: 68811985
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I5f7e56e3a0c9808237a1ebc3787cf788feef1a79

7 years agoeglGetFrameTimestamps: Allow reads done to equal rendering complete.
Brian Anderson [Tue, 17 Oct 2017 19:17:40 +0000 (12:17 -0700)]
eglGetFrameTimestamps: Allow reads done to equal rendering complete.

If there are no reads performed by the compositor, it is possible
for reads done timestamp to be the same as the rendering complete
timestamp.

Also add and use check_lt and check_le, to print out more detailed
debug info in the results.

Bug: 68811985
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I7f88e1da98be97101e8b0d6cd130b75bda8d88ca

7 years agoeglGetFrameTimestamps: Consider timestamps of 0 as invalid.
Brian Anderson [Thu, 19 Oct 2017 21:59:28 +0000 (14:59 -0700)]
eglGetFrameTimestamps: Consider timestamps of 0 as invalid.

There's a bug in the kernel that doesn't merge fences properly,
resulting in "reads done" timestamps of 0 when the fences being
merged have already signaled.

This is a temporary relaxation of the test requirements until
the kernel fix is required.

Bug: 66916041
Test: Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I0b2a65303c425a74a48d6ae8c971c16652d727a3

7 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude incremental_present scale down from Android CTS

Bug: b/67022169
Bug: b/67295411
Test: check_build_sanity
Change-Id: I4be889f0bf64251069e829924faf4e8c113baa86

7 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude shared_presentable_image scale down from Android CTS

Bug: b/66464066
Test: check_build_sanity
Change-Id: If815b53b8e998e720aca4fc1994e0151eef971a5

7 years agoeglGetFrameTimestamps: Allow reads done to equal rendering complete.
Brian Anderson [Tue, 17 Oct 2017 19:17:40 +0000 (12:17 -0700)]
eglGetFrameTimestamps: Allow reads done to equal rendering complete.

If there are no reads performed by the compositor, it is possible
for reads done timestamp to be the same as the rendering complete
timestamp.

Also add and use check_lt and check_le, to print out more detailed
debug info in the results.

Bug: 66916041
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: Ic77fb3871bfcd2ec2298b20db7247b6782088399

7 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Fri, 6 Oct 2017 16:06:21 +0000 (09:06 -0700)]
Lower correlation threshold in flush-finish tests again

This test expects predictability from glFlush/glFinish timing.
In particular,  the code from FlushFinishCase::analyzeResults()
checks that the result falls within specific timing thresholds.

Notice that in the GLES3 specification, there is no requirement for
timing, just a guarantee that "commands [...] complete in finite time".
This is a problem because it makes the test very flaky, for example
if the CPU/GPU clocks are not ramping up fast enough.

BUG=b:67331095
TEST=Ran dEQP-GLES3.functional.flush_finish.finish on Elm for over 3+ hours
     Observed 1.5% to 2% flakiness without this patch. Observed no flakiness
     with this patch.

(cherry picked from commit 59f4fcde5ac1402ab3b911cf6a9f66b886c10464)
Signed-off-by: Gurchetan Singh <gurchetansingh@google.com>
7 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude incremental_present scale down from Android CTS

Bug: b/65643778
Bug: b/67022169
Bug: b/67295411
Test: check_build_sanity
Change-Id: I4be889f0bf64251069e829924faf4e8c113baa86

7 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude shared_presentable_image scale down from Android CTS

Bug: b/65643778
Bug: b/66464066
Test: check_build_sanity
Change-Id: If815b53b8e998e720aca4fc1994e0151eef971a5

7 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:46:18 +0000 (22:46 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 188944cfd1
am: 0f95f68482

Change-Id: Ia49724d1cf3fade59f71e39d6f321398e042e5f6

7 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7
Chris Forbes [Tue, 3 Oct 2017 22:41:02 +0000 (22:41 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7
am: 188944cfd1

Change-Id: Iab4679d945588de21bf329f114074d3bd0f92765

7 years agoDisable some UBO tests which got broken by recent glslang change
Chris Forbes [Tue, 3 Oct 2017 22:37:51 +0000 (22:37 +0000)]
Disable some UBO tests which got broken by recent glslang change
am: d81d8e2af7

Change-Id: Ic275c1ec2efeaf191a4537ca78a8b0109b8ac9fc

7 years agoDisable some UBO tests which got broken by recent glslang change
Chris Forbes [Tue, 3 Oct 2017 17:17:59 +0000 (10:17 -0700)]
Disable some UBO tests which got broken by recent glslang change

Bug: b/67013571
Change-Id: I54c3f9aba636381a57e398de603b09dad4d14188

7 years agoFix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3
Mika Isojrvi [Sat, 23 Sep 2017 00:11:36 +0000 (00:11 +0000)]
Fix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3
am: f1a0604dbe

Change-Id: I596f90b5511c7d1aed73df7d4873b567e2ebe1d9

7 years agoFix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8
Mika Isojrvi [Sat, 23 Sep 2017 00:11:07 +0000 (00:11 +0000)]
Fix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8
am: 49f47fb792

Change-Id: Icdd22cf024147de11d31655d3ae6ecdc49ff3ac5

7 years agoDo not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2
Michael Chock [Sat, 23 Sep 2017 00:10:52 +0000 (00:10 +0000)]
Do not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2
am: 364dfab9e2

Change-Id: I356c95efe1e508f07bfcc2608efb4ddbc0804d06

7 years agoExclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6
Mika Isojrvi [Sat, 23 Sep 2017 00:10:35 +0000 (00:10 +0000)]
Exclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6
am: 2d9bb5fce7

Change-Id: Ieeb616146390d71e9d6d43a3dd72c63075c3d140

7 years agoresolve merge conflicts of 037808f59 to oc-mr1-dev
Mika Isojärvi [Fri, 22 Sep 2017 18:44:23 +0000 (11:44 -0700)]
resolve merge conflicts of 037808f59 to oc-mr1-dev

Bug: 65677277
Test: Ran scripts/check_build_sanity.py build Android CTS.
Change-Id: I0befb24161cddbe1d94ec60ce5a0438907986f31

7 years agoFix missing SSBO binding in EGL robustness tests am: 645b470b61
Mika Isojrvi [Fri, 22 Sep 2017 17:12:29 +0000 (17:12 +0000)]
Fix missing SSBO binding in EGL robustness tests am: 645b470b61
am: bbed3afad3

Change-Id: I78533856c5be779460686f81da510c13cf21fe8f

7 years agoFix unused uniform bug in EGL robustness tests am: cd1ec788ec
Mika Isojrvi [Fri, 22 Sep 2017 17:12:02 +0000 (17:12 +0000)]
Fix unused uniform bug in EGL robustness tests am: cd1ec788ec
am: ec1e89a3f8

Change-Id: I6a666ba715c0548223d1884d205fab39952713e4

7 years agoDo not use degenerate frames in EGL tests am: 8adce77ee5
Michael Chock [Fri, 22 Sep 2017 17:10:37 +0000 (17:10 +0000)]
Do not use degenerate frames in EGL tests am: 8adce77ee5
am: 5ec562c6e2

Change-Id: If409f5cd9f766f7cd9fc125fb0167c3f0ca4f67a

7 years agoExclude mutable image tests from Android CTS am: ae838ac1c9
Mika Isojrvi [Fri, 22 Sep 2017 17:10:20 +0000 (17:10 +0000)]
Exclude mutable image tests from Android CTS am: ae838ac1c9
am: 6b3b1310a6

Change-Id: I1d0bbbaf2eefd5a28976e20ecd11ebe16016fa38

7 years agoMerge Vulkan CTS 1.0.2.6 into aosp/oreo-cts-dev am: 9b726ab801
Mika Isojärvi [Fri, 22 Sep 2017 17:09:58 +0000 (17:09 +0000)]
Merge Vulkan CTS 1.0.2.6 into aosp/oreo-cts-dev am: 9b726ab801
am: 32d048a372

Change-Id: I6d38d737b6e7919d2af54f99eb7137771a8a826f

7 years agoFix missing SSBO binding in EGL robustness tests
Mika Isojrvi [Fri, 22 Sep 2017 17:09:53 +0000 (17:09 +0000)]
Fix missing SSBO binding in EGL robustness tests
am: 645b470b61

Change-Id: I3ec70aaea8a1ac682f979325fc15640021128dcc

7 years agoFix unused uniform bug in EGL robustness tests
Mika Isojrvi [Fri, 22 Sep 2017 17:09:35 +0000 (17:09 +0000)]
Fix unused uniform bug in EGL robustness tests
am: cd1ec788ec

Change-Id: I87cad598704f810cbc2e13936f059581f4d26f7e

7 years agoDo not use degenerate frames in EGL tests
Michael Chock [Fri, 22 Sep 2017 17:09:17 +0000 (17:09 +0000)]
Do not use degenerate frames in EGL tests
am: 8adce77ee5

Change-Id: I37c6dbd436c20bf57d258ef3bb434e54df487530

7 years agoExclude mutable image tests from Android CTS
Mika Isojrvi [Fri, 22 Sep 2017 17:08:57 +0000 (17:08 +0000)]
Exclude mutable image tests from Android CTS
am: ae838ac1c9

Change-Id: Iddd882fec13052e94b9a4e30e6391188378ddb35

7 years agoMerge Vulkan CTS 1.0.2.6 into aosp/oreo-cts-dev
Mika Isojärvi [Fri, 22 Sep 2017 17:08:32 +0000 (17:08 +0000)]
Merge Vulkan CTS 1.0.2.6 into aosp/oreo-cts-dev
am: 9b726ab801

Change-Id: Iadafad339c5e51081e184d976d0f4bf04feb875e

7 years agoFix missing SSBO binding in EGL robustness tests
Mika Isojärvi [Thu, 31 Aug 2017 18:54:48 +0000 (11:54 -0700)]
Fix missing SSBO binding in EGL robustness tests

Bug: 64845581
Bug: 65175642
Test: Ran the tests on couple of Google devices
Change-Id: I3a98fe12802e6951483499e800cd3fe7412e37f0

7 years agoFix unused uniform bug in EGL robustness tests
Mika Isojärvi [Thu, 31 Aug 2017 19:13:05 +0000 (12:13 -0700)]
Fix unused uniform bug in EGL robustness tests

Bug: 64845766
Bug: 65175554
Test: Ran tests on couple of Google devices
Change-Id: Iee2918c1e45ad305dd9ca30f1b81998bdac06127

7 years agoDo not use degenerate frames in EGL tests
Michael Chock [Mon, 14 Aug 2017 18:55:14 +0000 (11:55 -0700)]
Do not use degenerate frames in EGL tests

The dEQP-EGL.functional.buffer_age.* and
dEQP-EGL.functional.partial_update.* tests use randomly-generated frames
for rendering. The test allows the generation of frames with a width or
height of 0, but the tcu::PixelBufferAccess interface does not permit
0-sized subregions (see assertions inside getSubregion overloads in
tcuTextureUtil.cpp).

Skip the rendering of degenerate frames in the reference renderer, as
they are unsupported but would not affect the rendering if they were.

Bug: 65317274
Test: Ran tests on couple of Google devices
Change-Id: I3977c3c293715db633dde74132e56b5d9303ab28

7 years agoExclude mutable image tests from Android CTS
Mika Isojärvi [Mon, 18 Sep 2017 20:27:19 +0000 (13:27 -0700)]
Exclude mutable image tests from Android CTS

Bug: 65844886
Test: Ran scripts/check_build_sanity.py
Change-Id: Ia779ed1e9c3339f0e4ddb599647284c15f1aeaaf

7 years agoMerge Vulkan CTS 1.0.2.6 into aosp/oreo-cts-dev
Mika Isojärvi [Fri, 15 Sep 2017 21:15:20 +0000 (14:15 -0700)]
Merge Vulkan CTS 1.0.2.6 into aosp/oreo-cts-dev

Bug: 65677277
Test: Run Android CTS deqp tests
Change-Id: I2ffb7d3929448e721f8097f323eaab011b445d8b

7 years agoCatch BAD_MATCH from createWindowSurface
Courtney Goeltzenleuchter [Tue, 12 Sep 2017 23:11:21 +0000 (17:11 -0600)]
Catch BAD_MATCH from createWindowSurface

On some platforms, it's possible to fail createWindowSurface
for some attribute combinations. Catch that case and return
NotSupported rather than a test failure.
Test: adb -d shell am start \
        -n com.drawelements.deqp/android.app.NativeActivity \
        -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
        --deqp-log-filename=/sdcard/dEQP-Log.qpa"'
Bug: 65376495

Change-Id: I6546cbdfc011c7d26cfa3cdad7cc6f0df1b67122
(cherry picked from commit c35781eb8d47be8ab51b0891d1ab9bb62665488b)

7 years agoCheck for depthBounds support in shader builtin frag depth tests
Tony Wasserka [Tue, 12 Sep 2017 11:03:13 +0000 (12:03 +0100)]
Check for depthBounds support in shader builtin frag depth tests

Depth bounds testing was enabled without checking for feature support
in a couple of tests. With this change, tests that don't need this
feature leave it disabled, whereas other tests (currently only
dEQP-VK.glsl.builtin_var.fragdepth.*) now throw NotSupported when
the device doesn't support it.

Affects:

dEQP-VK.clipping.*
dEQP-VK.glsl.builtin_var.*

Components: Vulkan

VK-GL-CTS issue: 685

Change-Id: I44d94142e295ff135ad1a55d0d6e212b65994257

7 years agoFix handling of EGL_NONE as color space
Courtney Goeltzenleuchter [Mon, 11 Sep 2017 19:06:48 +0000 (13:06 -0600)]
Fix handling of EGL_NONE as color space

Color space of EGL_NONE was getting passed down and
driver threw EGL_BAD_ATTRIBUTE in response.
Issue was caused when changing the colorspace from nullptr
to EGL_NONE, missed a couple of places that needed to
test against EGL_NONE instead of nullptr.

Bug: 65376495
Test: adb -d shell am start \
          -n com.drawelements.deqp/android.app.NativeActivity \
          -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
          --deqp-log-filename=/sdcard/dEQP-Log.qpa"'

Change-Id: If8812725be9d3858bf610c647ba53ff38944dd50

7 years agoFix regressions in synchronization tests for dedicated allocations
Slawomir Cygan [Mon, 31 Jul 2017 12:22:50 +0000 (14:22 +0200)]
Fix regressions in synchronization tests for dedicated allocations

Pass image memory requirements to allocation routine in allocateAndBindMemory.

VK_KHR_get_memory_requirements2 is a device extension (not instance).

Throw NotSupported when external handle requires dedicated allocation,
but 'suballocated' variant of test is being run.

Affects:
dEQP-VK.synchronization.cross_instance.*

Components: Vulkan

VK-GL-CTS issue: 604
Bug: 65490152
Bug: 65202260
Test: Ran tests on couple of Google devices
Change-Id: I3636779459300f5dee2e22b0a2e04762eb7b0601

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Alexander Galazin [Fri, 8 Sep 2017 07:13:24 +0000 (09:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: Ied1a7d639c56dbdffd3db89085b4b771741e43f7

7 years agoChange required sample counts for storage images
Graeme Leese [Wed, 30 Aug 2017 15:37:14 +0000 (16:37 +0100)]
Change required sample counts for storage images

Update the API feature info tests to set requiredSampleCounts to 1 for
all images that are not usable as some type of framebuffer attachment.
Previously images that were not usable as attachments but could be used
as a storage image were incorrectly exempted from the requirement.

Components: Vulkan
VK-GL-CTS Issue: 645
Affects: dEQP-VK.api.info.image_format_properties.*

Change-Id: Ia0d09ad0ff51029b75cd3a264860a3dd63c249fb

7 years agoFix flakiness in mailbox.display_timing
Ian Elliott [Wed, 16 Aug 2017 21:11:57 +0000 (15:11 -0600)]
Fix flakiness in mailbox.display_timing

The "vktWsiDisplayTimingTests.cpp" file was originally written just for
a present mode of VK_PRESENT_MODE_FIFO_KHR.  It has a case at image 80,
where it changes the desiredPresentTime to be 1 second earlier, and then
checks that later.  Such a check doesn't work with
VK_PRESENT_MODE_MAILBOX_KHR, which can throw off the timing of images
(because some images may not be presented).  This has resulted in the
test having random failures.  The "image 80 test" wasn't intended to
occur with MAILBOX, and so it's now being removed.

VK-GL-CTS issue: 622
Components: Vulkan
Affects: dEQP-VK.wsi.*.display_timing.mailbox.display_timing
Bug: 64486630
Test: Build cts and ran scripts/check_build_sanity.py

Change-Id: I9fbd2254b4e6fc1c7bff077c8c0a5229a6d74800