platform/upstream/VK-GL-CTS.git
6 years agoDO NOT MERGE: Sparse resources fixes am: ae793c389b -s ours
Kantoch [Fri, 9 Feb 2018 19:00:10 +0000 (19:00 +0000)]
DO NOT MERGE: Sparse resources fixes am: ae793c389b  -s ours
am: ce25f76fbb  -s ours

Change-Id: I8fa668d939b6c45df4590f823b029536895b4574

6 years agoDO NOT MERGE: Sparse resources fixes
Kantoch [Fri, 9 Feb 2018 18:54:40 +0000 (18:54 +0000)]
DO NOT MERGE: Sparse resources fixes
am: ae793c389b  -s ours

Change-Id: Ib87ed9843313e5ba76ccae32161ed5719615fa55

6 years agoDO NOT MERGE: Sparse resources fixes
Kantoch [Tue, 19 Jul 2016 11:37:33 +0000 (13:37 +0200)]
DO NOT MERGE: Sparse resources fixes

1. Do not allow to request more queues than available
2. Allow to reuse queue if it supports more than one type of operations

(cherry picked from VK-GL-CTS commit 5f2cf2f7139c2f603a02fe3c284921dd9152dee3)

Bug: b/72734354

Change-Id: Ia063df59c2220a082ea5a73a0fc968cfb97fda2c

6 years agoHandle unsupported no_config contexts
Mark Adams [Wed, 7 Feb 2018 17:31:36 +0000 (17:31 +0000)]
Handle unsupported no_config contexts
am: b60ae978ad

Change-Id: Idf51783fac99d14fa5ed28dbffd0db36b80e998b

6 years agoHandle unsupported no_config contexts
Mark Adams [Fri, 12 Jan 2018 21:21:00 +0000 (16:21 -0500)]
Handle unsupported no_config contexts

EGL_KHR_no_config_context doesn't mandate support for ES 1.1 or
for GL versions prior to 3.0. Update the test to handle
optional support, and also update the GL version to 3.0 in order
to test a case which is expected to work.

Bug: b/72041864
Components: AOSP

Test: dEQP-EGL.functional.create_context.no_config

Change-Id: Ibe7856000c67326fe23cd024435290fba536d127

6 years agoSuppress new warnings from gcc-6
Chris Forbes [Sat, 20 Jan 2018 00:43:46 +0000 (00:43 +0000)]
Suppress new warnings from gcc-6
am: 9a58d041fe

Change-Id: I176dd24b363db336f4f42f8d8c2c5aebb2632dcb

6 years agoSuppress new warnings from gcc-6
Chris Forbes [Fri, 19 Jan 2018 18:06:53 +0000 (10:06 -0800)]
Suppress new warnings from gcc-6

check_build_sanity currently fails with the system gcc on rodete. Let's
just suppress this warning for now. Intend to back out the suppression
and fix the warnings in next release.

Bug: b/72219443
Test: build
Change-Id: Ic842a3de3d247d53c49117562b51e8eece3752f9

6 years agoMerge "Update owners file" into oreo-mr1-cts-dev
Treehugger Robot [Wed, 17 Jan 2018 22:30:54 +0000 (22:30 +0000)]
Merge "Update owners file" into oreo-mr1-cts-dev

6 years agoUpdate owners file
Mika Isojärvi [Thu, 28 Sep 2017 17:25:24 +0000 (10:25 -0700)]
Update owners file

Bug: 72113298
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I117459d91f39055aaa5f0bc6abfbda32f31cdab2
(cherry picked from commit 412471299c0fac5cb5af37fcdeadbf39a4a36744)

6 years agoModify compute shader grid setup.
Anders Frostad Pedersen [Wed, 17 Jan 2018 11:05:45 +0000 (12:05 +0100)]
Modify compute shader grid setup.

Modify how the grid is set up for compute shader draw indirect test,
in order to avoid verfication failures due to difference in
floating-point computations on the CPU vs the GPU.

The existing code assumes infinite FP precision.

This change will guarantee the next value of pos(X) to be equal to
the first value of pos(X+1), avoiding gaps/discontinuities.

Affects:
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_1
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_8
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_1
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_8

Bug: 71515808
Change-Id: I21fe8ec9ea48b15f6171265df802bc47be775f56

6 years agoLimit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e
Pyry Haulos [Sat, 13 Jan 2018 00:04:17 +0000 (00:04 +0000)]
Limit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e
am: fe861b61a5

Change-Id: Id7e2ade9ceaad34bee00b2b36bfde50ca2492dd5

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf...
Mika Isojrvi [Sat, 13 Jan 2018 00:04:00 +0000 (00:04 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf  -s ours
am: 346da766ee

Change-Id: Iece2a8d3c40b646e982008d82f40b16dfdbf94ca

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Sat, 13 Jan 2018 00:03:38 +0000 (00:03 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17  -s ours
am: 1883d6ef48

Change-Id: I9f6246177cc3651b84370fedd7f48fd9dddf1f94

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

Change-Id: I138e6025b0cfb77ffd8197b796e32b06011cbc8a

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52
Mika Isojrvi [Fri, 12 Jan 2018 23:57:09 +0000 (23:57 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52
am: b1f38f97cf  -s ours

Change-Id: I8fc045601456dd0b8d0026c4e70db43cf4998886

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

Change-Id: Iaa15b3997481353a88aef19cdde4348ae2cc3f75

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

Change-Id: Iff465c2be4d7c27702036f8f060a458c55830732

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

Change-Id: I54613d0c408d80a65cc175e86495d0ffd4c650b5

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
Mark Adams [Fri, 12 Jan 2018 21:44:17 +0000 (21:44 +0000)]
Multiple draw buffers in blend_equation_advanced
am: 123de4f307

Change-Id: I1ce06acaa4f5f725097bcc248b7dbdf048bac61e

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
Jeff Leger [Fri, 12 Jan 2018 01:31:43 +0000 (01:31 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
am: 4c26442e3d

Change-Id: I32a3a35837be16886acebd28e30ccdadffa73811

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
Chris Forbes [Thu, 11 Jan 2018 22:22:49 +0000 (22:22 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware
am: 0d9250e9eb

Change-Id: If675c974a2389787e53d2d618509ca81a48990d9

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 [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: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
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 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 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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)

6 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

6 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

6 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

6 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

6 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

6 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

6 years agoFix VK_KHR_maintenance2 extended_usage_bit tests
Boris Zanin [Thu, 7 Sep 2017 07:19:08 +0000 (09:19 +0200)]
Fix VK_KHR_maintenance2 extended_usage_bit tests

Due to test runs over uncompressed formats it cannot include
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR bit.
Remove this bit from the tests.

Update tests:
 * dEQP-VK.image.extended_usage_bit.*

Components: Vulkan

VK-GL-CTS issue: 673, 614

Change-Id: I0adb26c5306a9d5f49936ffef070050fd5936faa

6 years agoFixup some missing/incorrect flushes and invalidates
Gary Sweet [Mon, 4 Sep 2017 10:14:58 +0000 (11:14 +0100)]
Fixup some missing/incorrect flushes and invalidates

Some of the flushes were too small, and there were a few
missing invalidates.

Affects:
dEQP-VK.ssbo.layout.*
dEQP-VK.pipeline.push_constant.compute_pipeline.simple_test

Components: Vulkan

VK-GL-CTS issue: 660

Change-Id: I27fac24397984f82865683f30b823570c3e52aed

6 years agoMerge "Check for EGL_KHR_gl_colorspace before using it" into oc-mr1-dev
TreeHugger Robot [Wed, 6 Sep 2017 20:36:37 +0000 (20:36 +0000)]
Merge "Check for EGL_KHR_gl_colorspace before using it" into oc-mr1-dev