platform/upstream/VK-GL-CTS.git
6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:58:01 +0000 (12:58 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb am: 040aaa4dc6 am: 1213a776a6 am: b614d39194
am: a59bf087fd

Change-Id: Id99663e245f0c04e653c9cf99b10d341de0be445

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:54:00 +0000 (12:54 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb am: 040aaa4dc6 am: 1213a776a6
am: b614d39194

Change-Id: I5d3ccd0767e7413341cfe6e9c1c1d0512a0d3e0a

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:53:55 +0000 (12:53 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153 am: 5f0bdcf623
am: 1306ffa833

Change-Id: I20efe4790094a717d9ec7d3c3fc5f71701dabe26

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1...
Lloyd Pique [Mon, 30 Apr 2018 19:44:30 +0000 (12:44 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b am: 6eca3b9153
am: 5f0bdcf623

Change-Id: I4d05bd26ddde90158c564156ce4349696cc78489

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:44:27 +0000 (12:44 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb am: 040aaa4dc6
am: 1213a776a6

Change-Id: I5a3e06a0da4005235b1a87c4e0770a2ef80150eb

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
Lloyd Pique [Mon, 30 Apr 2018 19:41:22 +0000 (12:41 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 38611cff1b
am: 6eca3b9153

Change-Id: I5f508032fae03c0ab342e0b1547d77812f03e779

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Lloyd Pique [Mon, 30 Apr 2018 19:40:23 +0000 (12:40 -0700)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb
am: 040aaa4dc6

Change-Id: Iad8cdf7b3cbdcc382a3d41df29369cf12ae32c8d

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:33:00 +0000 (19:33 +0000)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f am: e00e690cfb

Change-Id: Ic5dc053bb7ea5d82429b4acaa54063c042049e52

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:32:59 +0000 (19:32 +0000)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4 am: 20d14be89f

Change-Id: I62e863ad7c0e7408438f5f8f919472c58c2c8d32

6 years ago[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331...
Android Build Merger (Role) [Mon, 30 Apr 2018 19:32:58 +0000 (19:32 +0000)]
[automerger] Allow the window to be recreated in the middle of a test am: 30ef1bf331 am: 982b9bf1e4

Change-Id: Ib4998ca20b55378973547524d86dbf2b6f0017cf

6 years agoAllow the window to be recreated in the middle of a test
Lloyd Pique [Mon, 30 Apr 2018 19:32:47 +0000 (12:32 -0700)]
Allow the window to be recreated in the middle of a test
am: 30ef1bf331

Change-Id: I8150c542b5735cddf900bfa0ac8b1118789d9ea3

6 years agoAllow the window to be recreated in the middle of a test am: 30ef1bf331
Lloyd Pique [Mon, 30 Apr 2018 19:30:50 +0000 (12:30 -0700)]
Allow the window to be recreated in the middle of a test am: 30ef1bf331
am: 38611cff1b

Change-Id: Ib6b7ff02fe67679472877a9cc5dff04f7d01a17a

6 years agoAllow the window to be recreated in the middle of a test
Lloyd Pique [Mon, 30 Apr 2018 19:26:18 +0000 (12:26 -0700)]
Allow the window to be recreated in the middle of a test
am: 30ef1bf331

Change-Id: Ic2683d5ad4515c3d65339b5027e76b1574374548

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:56:53 +0000 (10:56 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: d496dc5ba1 am: a3bacba8b1 am: 93b3acbf1e  -s ours
am: e4b23a9608

Change-Id: I4a8a3fcc75d39c6101d23289c8016094fc33f780

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:52:35 +0000 (10:52 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: d496dc5ba1 am: a3bacba8b1
am: 93b3acbf1e  -s ours

Change-Id: I817dfabfcdca5c9944053c10774dffd97c7ed2f8

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:52:35 +0000 (10:52 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours am: 1d8110d340  -s ours
am: 2f8335f3fb  -s ours

Change-Id: Ibe60a588218fffee8a4497bca2614b290de518d6

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:48:15 +0000 (10:48 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: d496dc5ba1
am: a3bacba8b1

Change-Id: I15dbddb5b202e4a7eac6a67fb62fab4d3084ff9a

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:48:15 +0000 (10:48 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours am: 64399483f6  -s ours
am: 45afde55e4

Change-Id: Ie09b4b592f40958b411f5588342be46cd8e74c35

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:47:59 +0000 (10:47 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours
am: 1d8110d340  -s ours

Change-Id: Ia6700fe5419e974a5ecde0aa777c8287453dddd8

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:44:08 +0000 (10:44 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours
am: d496dc5ba1

Change-Id: Ide9aaa6f6834f5060f179188434c8f69d286ce68

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:44:05 +0000 (10:44 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours am: c78fc14ea5  -s ours
am: 64399483f6  -s ours

Change-Id: I0cd61f2281758f35ffa898bd299af36fc3b46e7b

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:39:59 +0000 (10:39 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev
am: 354706417a  -s ours

Change-Id: I302c847ae29c25072081d06b17e78671b7358df0

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:39:59 +0000 (10:39 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours
am: c78fc14ea5  -s ours

Change-Id: Ib2acbf2e335b712ea3f16c46168915079b16e6a2

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:36:57 +0000 (10:36 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am: 354706417a  -s ours
am: c78fc14ea5  -s ours

Change-Id: Iedf43f729df806befedad07e7f8ae5d7b4bddd92

6 years ago[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulka...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:32:26 +0000 (10:32 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev
am: 354706417a  -s ours

Change-Id: I37e6dad1ab2d2eb9bee4a529f16c77981afbb54b

6 years agoMerge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into...
android-build-prod (mdb) [Mon, 30 Apr 2018 17:30:06 +0000 (17:30 +0000)]
Merge "DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev

6 years agoAllow the window to be recreated in the middle of a test
Lloyd Pique [Wed, 25 Apr 2018 02:08:39 +0000 (19:08 -0700)]
Allow the window to be recreated in the middle of a test

On ARC++ devices, some of the dEQP CTS tests were occasionally failing on
devices running in tablet mode, due to the timing of a WM relayout that
happens shortly after the orientation change is realized.

We traced it back to the dEQP test harness always expecting to see a
call from the system to onNativeWindowResized() after a call to
oNNativeWindowCreated(). It happened that the relayout on ARC++ devices
was not causing a size change, so this message was never received.

The result was that the test paused itself, and never completed. The
watchdog thread that the test harness creates ended up killing and
failing the test.

This patch adjusts the logic so that the activity only waits to process
the window creation for the very first call to onNativeWindowResized(),
as when the activity is first created that call is indeed made (but note
not really guaranteed). A subsequent call to onNativeWindowCreated()
will unpause the test (setting the READY state), as well as finish
processing the window creation.

Bug: 74371892
Test: dEQP-GLES3.functional.prerequisite#clear_color
Change-Id: I3c429aea272cbfee3f150a32c12233c9f38a7936

6 years agoDO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD
Chris Forbes [Tue, 27 Feb 2018 00:31:59 +0000 (16:31 -0800)]
DO NOT MERGE: Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into HEAD

Change-Id: Id624bed0598e117aff161ee6ed92a135095e33d7
Bug: b/73945443

6 years agoRemove 4K min size from dedicated image tests
Jarred Davies [Mon, 23 Apr 2018 17:41:09 +0000 (10:41 -0700)]
Remove 4K min size from dedicated image tests
am: f034e66227

Change-Id: If5b2e9f959ef032287144aa72d06f4cf4b39980a

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes
Chris Forbes [Mon, 23 Apr 2018 17:41:00 +0000 (10:41 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes
am: 60efbe2df0

Change-Id: I4f9bdada8382851991a60523eaebfc8d7bdfc641

6 years agoRemove 4K min size from dedicated image tests
Jarred Davies [Thu, 12 Apr 2018 12:57:14 +0000 (13:57 +0100)]
Remove 4K min size from dedicated image tests

The tests dEQP-VK.memory.mapping.dedicated_alloc.image.*
all create an image with a minimum size of 4Kx4K, so the
tests in this subgroup  test the exact same image size
regardless of what size the test itself is supposed to be
testing.

This change removes the 4Kx4K minimum to enable
the test to actually test multiple sizes of images.

Affect:

dEQP-VK.memory.mapping.dedicated_alloc.image.*

Components: Vulkan

VK-GL-CTS issue: 1118

Change-Id: I2ba9fa671f20eeb9bfa8b14972c903ac20875425
Test: CtsDeqpTestCases on Pixel
Bug: b/78455246
Cherry-picked from Khronos change: https://gerrit.khronos.org/#/c/2466/

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes
Chris Forbes [Mon, 23 Apr 2018 15:36:08 +0000 (08:36 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-april-fixes

Change-Id: I67987219e362df91065a30e1ee319d0712e9a6f5
Test: CtsDeqpTestCases on Pixel
Bug: b/78455246

6 years agoRelax the precision requirements for derivate built-ins am: 1dfe5d68bd
Jeff Leger [Tue, 17 Apr 2018 21:23:42 +0000 (14:23 -0700)]
Relax the precision requirements for derivate built-ins am: 1dfe5d68bd
am: 374297c1a7

Change-Id: I6b4a5e838828f82958b0347b11f14bcc4a0192cf

6 years agoRelax the precision requirements for derivate built-ins
Jeff Leger [Tue, 17 Apr 2018 21:18:34 +0000 (14:18 -0700)]
Relax the precision requirements for derivate built-ins
am: 1dfe5d68bd

Change-Id: I5e86161e52afb6c23651fb857396868e284604da

6 years agoMerge "Exclude unspecified precision GLES2/3 tests" into pi-dev
Chris Forbes [Tue, 17 Apr 2018 00:29:07 +0000 (17:29 -0700)]
Merge "Exclude unspecified precision GLES2/3 tests" into pi-dev
am: 64ff49d0fe

Change-Id: I2a3f8c0e8e5460f89e9bce5059599dd04bbcd3d0

6 years agoMerge "Exclude unspecified precision GLES2/3 tests" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 00:10:38 +0000 (00:10 +0000)]
Merge "Exclude unspecified precision GLES2/3 tests" into pi-dev

6 years agoRelax the precision requirements for derivate built-ins
Jeff Leger [Thu, 1 Feb 2018 01:31:13 +0000 (20:31 -0500)]
Relax the precision requirements for derivate built-ins

Allow for relaxed precision thredholds for derivatives,
with a quality warning.

Affects: dEQP-GLES3.functional.shaders.derivate.*

Components: AOSP

Khronos vk-gl-cts issue: 977

Change-Id: I1d69ad71b79a30a36daf2bf75b2f50d309bc5496

6 years agoExclude unspecified precision GLES2/3 tests
Chris Forbes [Mon, 16 Apr 2018 19:43:17 +0000 (12:43 -0700)]
Exclude unspecified precision GLES2/3 tests

Move from temporary to permanent exclusions for P. In a future release
we'll move these to GLES31.

Change-Id: Ib6918e888cf15014fb68b482937f578b01007d65
Component: AOSP
Bug: b/72992757
Test: mustpass change only

6 years agoRequest GPDP2 extension if required in shared presentable image tests
Chris Forbes [Thu, 12 Apr 2018 15:54:00 +0000 (08:54 -0700)]
Request GPDP2 extension if required in shared presentable image tests

Change-Id: Ifa4b19c6046d4f0b95a5fc65443bcd1df051b6a5
Components: Vulkan
Affects: dEQP-VK.wsi.*.shared_presentable_image.*
VK-GL-CTS: 1078

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes
Chris Forbes [Tue, 10 Apr 2018 19:42:02 +0000 (12:42 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes
am: c0290d01a1

Change-Id: Ieabba26e1904be9ad89c5cc8f99754458c9f820a

6 years agoMerge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes
Chris Forbes [Mon, 9 Apr 2018 19:24:26 +0000 (12:24 -0700)]
Merge remote-tracking branch 'khronos/vulkan-cts-1.1.0' into pi-merge-fixes

Bug: b/77812821
Test: run on pixel

Change-Id: If4833fd61a4e11b87152b1ff392490f839317da5

6 years agoUse de::min instead of std::min am: 1d08d3f4fe
Mikael Tuomisalo [Mon, 9 Apr 2018 18:55:34 +0000 (11:55 -0700)]
Use de::min instead of std::min am: 1d08d3f4fe
am: 5c6938f7ef

Change-Id: Ia576663725d20166918e20f7df57532f2ee32223

6 years agoUse de::min instead of std::min
Mikael Tuomisalo [Mon, 9 Apr 2018 18:50:26 +0000 (11:50 -0700)]
Use de::min instead of std::min
am: 1d08d3f4fe

Change-Id: I2fe6933d6123432679d00448599a74c9e6e4d134

6 years agoUse de::min instead of std::min
Mikael Tuomisalo [Mon, 5 Mar 2018 18:33:33 +0000 (20:33 +0200)]
Use de::min instead of std::min

std::min was used without including algorithm, which breaks build on
at least VS2017

Components: OpenGL ES
VK-GL-CTS issue: 1054

Affects:
dEQP-GLES2.functional.texture.size.*
dEQP-GLES3.functional.texture.size.*

Change-Id: Id3edb237931d6957095cf6b8fcb38359422decd3
(cherry picked from commit 177b82dfaff4531c10ddce2acf5cc43a15169670)

6 years agoTemporary AHB external memory exclusions
Jesse Hall [Thu, 5 Apr 2018 19:56:50 +0000 (12:56 -0700)]
Temporary AHB external memory exclusions
am: ce9667da1f

Change-Id: Id1a5ba2d812dd1b45ddcb678006eaec5eee445da

6 years agoTemporary exclusions for failing protected memory tests
Jesse Hall [Thu, 5 Apr 2018 18:47:13 +0000 (11:47 -0700)]
Temporary exclusions for failing protected memory tests
am: bf7f50fa58

Change-Id: I26c9d16e8d9fb8a0b3900930ab3a8764734a6933

6 years agoTemporary AHB external memory exclusions
Jesse Hall [Wed, 4 Apr 2018 21:48:21 +0000 (14:48 -0700)]
Temporary AHB external memory exclusions

Bug: 77582727
Bug: 77596051
Test: scripts/build_android_mustpass.py
Change-Id: I24f39fa092781474027df3dcd4a99f0472321490

6 years agoTemporary exclusions for failing protected memory tests
Jesse Hall [Fri, 30 Mar 2018 17:15:08 +0000 (10:15 -0700)]
Temporary exclusions for failing protected memory tests

Bug: 77319653
Bug: 77321170
Test: scripts/build_android_mustpass.py
Change-Id: I79494e4e389d0416ac2b9ad838f0c83e3149a787

6 years agoFix improper use of vkCmdWaitEvents
Peter Quayle [Wed, 28 Mar 2018 17:18:28 +0000 (18:18 +0100)]
Fix improper use of vkCmdWaitEvents

dEQP-VK.synchronization.smoke.events was calling vkCmdWaitEvents inside
a render-pass, which is not allowed if the event is later triggerd using
vkSetEvent. Additionally, the test was only waiting 1ns to determine if
a queue had made forward progress, which is too short to give the
implementation a chance to do any work.

Affects:

dEQP-VK.synchronization.smoke.events

Components: Vulkan

VK-GL-CTS issue: 1089

Change-Id: I6d9c9a635d82840f49fd3d9ed3736f91c4b6f88d

6 years agoMerge "Fix testrunner to cope with degenerate testlists" into pi-dev
Chris Forbes [Sat, 31 Mar 2018 03:24:10 +0000 (03:24 +0000)]
Merge "Fix testrunner to cope with degenerate testlists" into pi-dev
am: caee07cc07

Change-Id: I8f836cbdd0906879fd9657238beaa28ac4314117

6 years agoMerge "Fix testrunner to cope with degenerate testlists" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:13:28 +0000 (02:13 +0000)]
Merge "Fix testrunner to cope with degenerate testlists" into pi-dev

6 years agoAdd AHardwareBuffer external memory test for format/usage flags.
Khushal [Fri, 30 Mar 2018 22:30:19 +0000 (22:30 +0000)]
Add AHardwareBuffer external memory test for format/usage flags.
am: 520590eafa

Change-Id: I627521daeecf4171a906deb58c0a5a6a660d6ad6

6 years agoFix testrunner to cope with degenerate testlists
Chris Forbes [Fri, 30 Mar 2018 20:21:20 +0000 (13:21 -0700)]
Fix testrunner to cope with degenerate testlists

When a testlist contained no tests (like master/gles31-master-risky
now does!), the host-side testrunner would explode trying to enumerate
test cases.

Change-Id: Icfd4cc952678dd9d2f21efc11d2221da6716ed9c
Test: cts-tradefed
Bug: b/77330743

6 years agoRemove obsolete temporary test exclusions
Chris Forbes [Fri, 30 Mar 2018 18:58:08 +0000 (18:58 +0000)]
Remove obsolete temporary test exclusions
am: efe73634e0

Change-Id: I99e38b0dfda77f1731b1c2a62c184512d8883694

6 years agoAdd AHardwareBuffer external memory test for format/usage flags.
Khushal [Fri, 23 Mar 2018 02:27:50 +0000 (19:27 -0700)]
Add AHardwareBuffer external memory test for format/usage flags.

Added tests:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r8g8b8a8_unorm
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r5g6b5_unorm_pack16
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r16g16b16a16_sfloat
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.a2b10g10r10_unorm_pack32

Components: Vulkan
cherry-picked from: https://googleplex-android-review.git.corp.google.com/c/platform/external/deqp/+/3815013
Test: Adds new tests.
BUG: 75981905

Change-Id: I4842adbb2486bf487665e1021e8fdf92a3ab58ca

6 years agoRemove obsolete temporary test exclusions
Chris Forbes [Fri, 30 Mar 2018 15:00:48 +0000 (08:00 -0700)]
Remove obsolete temporary test exclusions

Bug: b/72495913
Bug: b/72324588
Bug: b/73247948
Bug: b/73248373

Change-Id: I1be63c5f656613b52887e0a0b06a53fb256f3a39
Test: fixes verified on Pixel & Pixel 2

6 years agoMerge "Generate extra android mustpass list from risky set" into pi-dev
Chris Forbes [Fri, 30 Mar 2018 02:31:55 +0000 (02:31 +0000)]
Merge "Generate extra android mustpass list from risky set" into pi-dev
am: 1cbf75cfe2

Change-Id: I7e6f473bf44fdf1c2a8c11c1748402c5d9644f2d

6 years agoMerge "Generate extra android mustpass list from risky set" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 02:26:28 +0000 (02:26 +0000)]
Merge "Generate extra android mustpass list from risky set" into pi-dev

6 years agoMerge changes from topic "pi-findLSB-picks" into pi-dev
Raymond Chiu [Wed, 28 Mar 2018 02:53:57 +0000 (02:53 +0000)]
Merge changes from topic "pi-findLSB-picks" into pi-dev
am: cbdb6737bb

Change-Id: I400baa4856e943638cbcb48a430ecbe32cd50a63

6 years agoMerge changes from topic "pi-findLSB-picks" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 02:40:30 +0000 (02:40 +0000)]
Merge changes from topic "pi-findLSB-picks" into pi-dev

* changes:
  Fix ShaderUniformIntegerFunctionTest to not have bool precision
  Add tests for findLSB/findMSB applied to a uniform value.

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 01:04:11 +0000 (01:04 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220 am: 0b5495e302
am: 77e424af2f

Change-Id: Ic07903b1c90167d2d0bcc6e7aead82d54b75738e

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:55:11 +0000 (00:55 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220 am: 2d7f7e8b46
am: 6c5347ee57

Change-Id: I50abf1bb87e3ecb2dbbc5569c0d1dff09a9b482f

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:55:09 +0000 (00:55 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220
am: 0b5495e302

Change-Id: I837d04aa9953c5bf9e10c4e261cbbe70565386b9

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:50:07 +0000 (00:50 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev
am: c6b5415220

Change-Id: I7f40c9c3ecab3328782cf0abe22906a4c60d1116

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:50:04 +0000 (00:50 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev am: c6b5415220
am: 2d7f7e8b46

Change-Id: Icf309bb59c75e9ec3c9fdaa5710481082402917f

6 years agoMerge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev
Tapani Pälli [Wed, 28 Mar 2018 00:49:21 +0000 (00:49 +0000)]
Merge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev
am: 3f0ec58d67

Change-Id: Ie4302bf0cb167048035db89f237c340668cf14b7

6 years agoFix ShaderUniformIntegerFunctionTest to not have bool precision
Raymond Chiu [Mon, 12 Mar 2018 17:49:10 +0000 (10:49 -0700)]
Fix ShaderUniformIntegerFunctionTest to not have bool precision

Bug: 71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c
(cherry picked from commit 8ab1016d3d4fa98d2c8d74ef5580873d61161a43)

6 years agoMerge changes I3e77c422,Ic6712c73 into pi-dev
Jesse Hall [Wed, 28 Mar 2018 00:38:24 +0000 (00:38 +0000)]
Merge changes I3e77c422,Ic6712c73 into pi-dev
am: dd5d8a037f

Change-Id: I9d615fd5f03b1572c8f20452641ae1439831ea59

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Kenneth Graunke [Wed, 28 Mar 2018 00:35:29 +0000 (00:35 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev
am: c6b5415220

Change-Id: I36d5a70037b66e27342c76a050fadc7607906531

6 years agoMerge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable"...
Treehugger Robot [Wed, 28 Mar 2018 00:32:19 +0000 (00:32 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev

6 years agoMerge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 00:27:27 +0000 (00:27 +0000)]
Merge "Fixes to EGL.functional.hdr_metadata.* tests" into pi-dev

6 years agoMerge changes I3e77c422,Ic6712c73 into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 00:26:16 +0000 (00:26 +0000)]
Merge changes I3e77c422,Ic6712c73 into pi-dev

* changes:
  Whitelist VK_ANDROID_external_memory_android_hardware_buffer
  Temporarily exclude dEQP-VK.memory.mapping.dedicated_alloc.image.full.*

6 years agoFixes to EGL.functional.hdr_metadata.* tests
Tapani Pälli [Mon, 26 Mar 2018 12:10:16 +0000 (15:10 +0300)]
Fixes to EGL.functional.hdr_metadata.* tests

- Adjust given values to fit uint16_t (range used in smpte2086
  and cta861.3 specs).

- Allow EGL_BAD_PARAMETER error happen when setting parameters,
  per spec this means values passed are not supported by the
  implementation. Output attribute and given values in this
  case for debugging purposes.

v2: skip unsupported but check supported attributes (Courtney)

Change-Id: I1f386b414c95e65d3532bf10719dc7671e826489
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 07048b63e90dc2c1e89c069535bb7958a128f887)

Bug: 77150763
Change-Id: Ia0401e760d863a85707f98dd2a1e7e7f268f5597
Test: run on pixel

6 years agoWhitelist VK_ANDROID_external_memory_android_hardware_buffer
Jesse Hall [Tue, 27 Mar 2018 18:58:02 +0000 (11:58 -0700)]
Whitelist VK_ANDROID_external_memory_android_hardware_buffer

Bug: 62708246
Test: dEQP-VK.api.info.android.no_unknown_extensions
Change-Id: I3e77c422b88e891ebfde33996c3d73d4e76e47a7

6 years agoTemporarily exclude dEQP-VK.memory.mapping.dedicated_alloc.image.full.*
Jesse Hall [Tue, 27 Mar 2018 18:55:31 +0000 (11:55 -0700)]
Temporarily exclude dEQP-VK.memory.mapping.dedicated_alloc.image.full.*

Test: cts-tradefed dEQP-VK.*
Bug: 77139965
Change-Id: Ic6712c73812e2840fce0d57bde064cc430a636bc

6 years agoFixes to EGL.functional.hdr_metadata.* tests am: 07048b63e9
Tapani Plli [Tue, 27 Mar 2018 17:27:36 +0000 (17:27 +0000)]
Fixes to EGL.functional.hdr_metadata.* tests am: 07048b63e9
am: c7868e3615

Change-Id: Icc3eb53cc4e5b9e77b802626557495ecff90d0be

6 years agoFixes to EGL.functional.hdr_metadata.* tests
Tapani Plli [Tue, 27 Mar 2018 17:20:05 +0000 (17:20 +0000)]
Fixes to EGL.functional.hdr_metadata.* tests
am: 07048b63e9

Change-Id: Iec79ae25e057e9b810b4eb05be615a7e0330707e

6 years agoFixed rounding issue in spirv_assembly tests
Dae Kim [Tue, 27 Mar 2018 09:54:23 +0000 (10:54 +0100)]
Fixed rounding issue in spirv_assembly tests

The test assumes that the host system and the device use the same
rounding mode. When this is not the case, the derived rounding errors
make the test fail unexpectedly. By rounding the input values down we
avoid differences in the test output caused by the rounding modes in
use.

Affects:

dEQP-VK.spirv_assembly.instruction.compute.loop_control.dependency_infinite

Components: Vulkan

VK-GL-CTS issue: 1097

Change-Id: I3678e38cbe5c6d57cecef91e7398df0d04763851

6 years agoFixes to EGL.functional.hdr_metadata.* tests
Tapani Pälli [Mon, 26 Mar 2018 12:10:16 +0000 (15:10 +0300)]
Fixes to EGL.functional.hdr_metadata.* tests

- Adjust given values to fit uint16_t (range used in smpte2086
  and cta861.3 specs).

- Allow EGL_BAD_PARAMETER error happen when setting parameters,
  per spec this means values passed are not supported by the
  implementation. Output attribute and given values in this
  case for debugging purposes.

v2: skip unsupported but check supported attributes (Courtney)

Change-Id: I1f386b414c95e65d3532bf10719dc7671e826489
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
6 years agoAdd AHardwareBuffer support to external memory tests
Khushal [Mon, 26 Mar 2018 17:12:18 +0000 (17:12 +0000)]
Add AHardwareBuffer support to external memory tests
am: fda2c834a5

Change-Id: I3e69b3f1ccb6263c5eab9d807181f7a9f1646da9

6 years agoAdd AHardwareBuffer support to external memory tests
Khushal [Fri, 23 Mar 2018 23:57:18 +0000 (16:57 -0700)]
Add AHardwareBuffer support to external memory tests

Added tests:
* dEQP-VK.api.external.memory.android_hardware_buffer.*

Components: Vulkan
VK-GL-CTS issue: 109
Test: Adds tests.
BUG: 75981905

Cherry-picked from: https://gerrit.khronos.org/#/c/1455/

Change-Id: Ibb6016eb932500c36309bf0937306ce84a4bae0c
(cherry picked from commit 0da925f6b91802440c735b3c6bc8f97b03268c32)

6 years agoHandle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549 am: 7ac08ab012
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 05:16:57 +0000 (05:16 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549 am: 7ac08ab012
am: c8ee3d4ae1

Change-Id: Ib45a2df13b03bf530fc714da32d45fe199f233a1

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 7e29f6b4fb
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 05:09:28 +0000 (05:09 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 7e29f6b4fb
am: 0bfe89e5f5

Change-Id: Ia74ee518bfb0a6e9695611c00b4c447af24c2565

6 years agoHandle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:49:54 +0000 (00:49 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 8597705aa9 am: 7092baa549
am: 7ac08ab012

Change-Id: I73ed7c960fdc28795c50d12e504097940fffad9f

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 203f226313
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:38:00 +0000 (00:38 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b am: 203f226313
am: bb0ee82b14

Change-Id: I4b92684b56e5d7466e7dc229375856527c78dc5e

6 years agoHandle gcc 7 warnings am: 3677383919 am: 8597705aa9
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:37:51 +0000 (00:37 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 8597705aa9
am: 7092baa549

Change-Id: Ic8743e2508ae476ac56c4c1422d8d0d57ad8b671

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:31:21 +0000 (00:31 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
am: 7e29f6b4fb

Change-Id: I32c3b40b9e2786d217e28ea8330b3a67b2d11c08

6 years agoHandle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:28:46 +0000 (00:28 +0000)]
Handle gcc 7 warnings am: 3677383919 am: 2d4c86a43b
am: 203f226313

Change-Id: I2453f20db0f05c8b351bfa72f3d926ee8d42fc88

6 years agoHandle gcc 7 warnings am: 3677383919
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:26:27 +0000 (00:26 +0000)]
Handle gcc 7 warnings am: 3677383919
am: 8597705aa9

Change-Id: I6c48d554d080eca12650c66cca00c32bd34231f2

6 years agoHandle gcc 7 warnings am: 3677383919
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:23:08 +0000 (00:23 +0000)]
Handle gcc 7 warnings am: 3677383919
am: 2d4c86a43b

Change-Id: Icf0c152a839ff1de7259784ec82fa0be77cd76a6

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:19:51 +0000 (00:19 +0000)]
Handle gcc 7 warnings
am: 3677383919

Change-Id: I4ea9a65bf430fadf5753bf260df13ee7ca250f9c

6 years agoHandle gcc 7 warnings am: 3677383919
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:16:06 +0000 (00:16 +0000)]
Handle gcc 7 warnings am: 3677383919
am: 2d4c86a43b

Change-Id: I661bc617fbc55db9c013a63dc337c431b263bd10

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:10:32 +0000 (00:10 +0000)]
Handle gcc 7 warnings
am: 3677383919

Change-Id: I058154400ec6755a9eaf873a6421942fcad4cd11

6 years agoHandle gcc 7 warnings
Caio Marcelo de Oliveira Filho [Thu, 22 Feb 2018 01:54:57 +0000 (17:54 -0800)]
Handle gcc 7 warnings

- "-Wimplicit-fallthrough" warns on case conditions that
  fallthrough. GCC does have a way to accept conditions that have a
  comment about falling through inside the cases, but the codebase has
  other cases where a single comment explains the fallthrough for the
  whole switch. This warning is being ignored. It was not possible to
  use "-Wno-error=WARNING" because older GCCs fail -- but they do
  accept "-Wno-WARNING" where WARNING is unknown (since at least gcc
  4.6.4).

- "-Wint-in-bool-context" warns (among other things) about result of
  multiplication being used in boolean context. Code was changed to
  use de::max() instead.

- "-Wmaybe-uninitialized" warned about some attributes of a struct not
  being initialized depending on the case. Code was changed to
  initialize the struct in question.

Components: Framework, Vulkan

Bug: b/74405145

Change-Id: Iabb26f01e047353c6e2a704ab27b673e85b185be
(cherry picked from commit f1ee9253e64f7434cdba7c8ac048c0e9baccc133)

6 years agoMerge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev
Chris Forbes [Mon, 19 Mar 2018 18:40:04 +0000 (18:40 +0000)]
Merge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev
am: d649aa0625

Change-Id: I121e79ff2ce835d829a43643c8034a7a64365e9c

6 years agoRequire GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable
Kenneth Graunke [Sat, 9 Sep 2017 06:26:15 +0000 (23:26 -0700)]
Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable

This test required GL_EXT_sRGB_write_control or ES 3.2.  But glEnable
and glDisable of GL_FRAMEBUFFER_SRGB requires the extension - ES 3.2
doesn't provide that functionality.  ES 3.2 implementations without the
extension would fail.  Now they report NotSupported.

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled

Components: AOSP

Bug: b/75898891

Change-Id: I9d6b3fba892288354620ecbbc51ef7a351507e43
(cherry picked from commit f5bc215a968512ba967ce68cc3640c45bc776f2c)

6 years agoMerge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev
Chris Forbes [Fri, 16 Mar 2018 18:32:25 +0000 (11:32 -0700)]
Merge remote-tracking branch 'goog/upstream-vulkan-cts-next' into pi-dev

Change-Id: Ib4eee63a0f56aa0fe3f11b9af551946e15f80038
Bug: b/75279981
Test: helper script only, manually tested.

6 years agoMerge tag 'vulkan-cts-1.1.0.3' into HEAD
Chris Forbes [Fri, 16 Mar 2018 15:43:44 +0000 (15:43 +0000)]
Merge tag 'vulkan-cts-1.1.0.3' into HEAD
am: b88215b9bf

Change-Id: Ia42351a4071ccafe1b845720cfed2e29f0ae87c9

6 years agoMerge tag 'vulkan-cts-1.1.0.3' into HEAD
Chris Forbes [Tue, 13 Mar 2018 00:00:42 +0000 (17:00 -0700)]
Merge tag 'vulkan-cts-1.1.0.3' into HEAD

Test: make cts, run on pixel
Bug: b/74544379

Change-Id: I0ec419667905d7d9c795e3bc30210e2bf3315406

6 years agoFetch new tags when fetching new Git sources
Caio Marcelo de Oliveira Filho [Mon, 12 Mar 2018 17:25:58 +0000 (10:25 -0700)]
Fetch new tags when fetching new Git sources

Change-Id: I1a906ebf2698eac33c3acbf1da74df9642b775a2
Component: Framework
(cherry picked from commit 204d597504c94fa52ed0f5a2c21895482236d5cc)