platform/upstream/VK-GL-CTS.git
8 years agoTake reference data into account in memory usage tracking
Mika Isojrvi [Fri, 29 Apr 2016 05:52:49 +0000 (05:52 +0000)]
Take reference data into account in memory usage tracking
am: d923e3ef94

* commit 'd923e3ef9440bd571f283d1745d552e134f6f1dd':
  Take reference data into account in memory usage tracking

Change-Id: Id463cba32d1bf15e6b766256e4b7015f8957d23e

8 years agoTake reference data into account in memory usage tracking
Mika Isojärvi [Thu, 28 Apr 2016 23:26:51 +0000 (16:26 -0700)]
Take reference data into account in memory usage tracking

Bug: 28052105
Bug: 28052526
Change-Id: I47caae5d0ae1353ad015866d08b727a2ebcc4fdb

8 years agoMerge "Remove EGLImage tests affected by rounding issues from mustpass" into nyc-dev
Mika Isojärvi [Thu, 28 Apr 2016 19:23:44 +0000 (19:23 +0000)]
Merge "Remove EGLImage tests affected by rounding issues from mustpass" into nyc-dev
am: c187389cd2

* commit 'c187389cd224ef59975fa690633a4ed6e21d9f1e':
  Remove EGLImage tests affected by rounding issues from mustpass

Change-Id: I3262ef85b65191ee3e3135639d00da841ff32665

8 years agoMerge "Remove EGLImage tests affected by rounding issues from mustpass" into nyc-dev
Mika Isojarvi [Thu, 28 Apr 2016 17:14:39 +0000 (17:14 +0000)]
Merge "Remove EGLImage tests affected by rounding issues from mustpass" into nyc-dev

8 years agoMerge "Touch watchdog during object cleanup in max_concurrent tests" into nyc-dev
Pyry Haulos [Thu, 28 Apr 2016 15:12:11 +0000 (15:12 +0000)]
Merge "Touch watchdog during object cleanup in max_concurrent tests" into nyc-dev
am: d5474b5

* commit 'd5474b54c32b7f165ab45efb052eb058a29990f2':
  Touch watchdog during object cleanup in max_concurrent tests

Change-Id: I1d51158f531bd039a73ee8b7d634bea9ee502047

8 years agoMerge "Touch watchdog during object cleanup in max_concurrent tests" into nyc-dev
Pyry Haulos [Thu, 28 Apr 2016 15:02:15 +0000 (15:02 +0000)]
Merge "Touch watchdog during object cleanup in max_concurrent tests" into nyc-dev

8 years agoReduce iteration count in object_management.multithreaded*.device
Pyry Haulos [Thu, 28 Apr 2016 11:40:59 +0000 (11:40 +0000)]
Reduce iteration count in object_management.multithreaded*.device
am: af3898e

* commit 'af3898ef2652fb1efc299b09fbd92aba93565908':
  Reduce iteration count in object_management.multithreaded*.device

Change-Id: Icdc9a5afee9f151312430fefe9a1de118a7ede38

8 years agoTouch watchdog during object cleanup in max_concurrent tests
Pyry Haulos [Thu, 28 Apr 2016 10:08:42 +0000 (03:08 -0700)]
Touch watchdog during object cleanup in max_concurrent tests

Destroying objects can be slow on certain implementations and may lead
to watchdog timeouts.

Bug: 28436275
Bug: 28052337
Change-Id: I831062dca7caffc3761750a1a2ce7b21b53be9e9

8 years agoReduce iteration count in object_management.multithreaded*.device
Pyry Haulos [Thu, 28 Apr 2016 07:43:51 +0000 (00:43 -0700)]
Reduce iteration count in object_management.multithreaded*.device

Bug: 28434275
Bug: 28052526
Bug: 28052337
Change-Id: I98b8ba6e499a469f930d700a028b477dc22ceedf

8 years agoRevert "Suppress many less important clang-tidy warnings." am: a44e3e4
Chih-hung Hsieh [Tue, 26 Apr 2016 18:14:29 +0000 (18:14 +0000)]
Revert "Suppress many less important clang-tidy warnings." am: a44e3e4
am: 8abc358

* commit '8abc358f558683749e021d1b2216c8f24b582c96':
  Revert "Suppress many less important clang-tidy warnings."

Change-Id: I5c5b7e5923229f5b88054ddfc356f3159ec4fe2c

8 years agoRevert "Suppress many less important clang-tidy warnings."
Chih-hung Hsieh [Tue, 26 Apr 2016 18:11:17 +0000 (18:11 +0000)]
Revert "Suppress many less important clang-tidy warnings."
am: a44e3e4

* commit 'a44e3e4c712bb9d2838dd9a6cafd6bf6dfe8f20d':
  Revert "Suppress many less important clang-tidy warnings."

Change-Id: If739637545696c137d75b7712571773f0ab880f9

8 years agoRemove invalid negative test with overlapping errors from mustpass
Mika Isojrvi [Tue, 26 Apr 2016 17:35:37 +0000 (17:35 +0000)]
Remove invalid negative test with overlapping errors from mustpass
am: db5503f

* commit 'db5503f5087945d904147f1e6afaae5163011fe8':
  Remove invalid negative test with overlapping errors from mustpass

Change-Id: I1441a3db3059edb79314dcebb8778d1a55d07928

8 years agoRevert "Suppress many less important clang-tidy warnings."
Chih-hung Hsieh [Tue, 26 Apr 2016 05:01:41 +0000 (05:01 +0000)]
Revert "Suppress many less important clang-tidy warnings."

Replaced by default settings in build/clang/tidy.mk.
This reverts commit 0c1f83aee4709eef7ef2a3edd384f9c192f476fd.

Change-Id: Ib80b905e4a35a9e358d8841b0d18df2a0741ac15

8 years agoRemove invalid negative test with overlapping errors from mustpass
Mika Isojärvi [Mon, 25 Apr 2016 22:03:09 +0000 (15:03 -0700)]
Remove invalid negative test with overlapping errors from mustpass

Bug: 28381693
Change-Id: I66c389fcf78cfd2fc6cde49f416226e923767c56

8 years agoImplement getMemoryLimits() in X11 vulkan platform
Pyry Haulos [Fri, 22 Apr 2016 22:02:41 +0000 (22:02 +0000)]
Implement getMemoryLimits() in X11 vulkan platform
am: 1c143ce

* commit '1c143cea99082289506fdbbbe1c2e3e889402e3d':
  Implement getMemoryLimits() in X11 vulkan platform

Change-Id: Idc11b0a925af27b92bad396a5590a0d9afbfd8d5

8 years agoImplement getMemoryLimits() in X11 vulkan platform
Pyry Haulos [Fri, 22 Apr 2016 21:43:48 +0000 (14:43 -0700)]
Implement getMemoryLimits() in X11 vulkan platform

Bug: 28275297
Change-Id: Iba40570ecc7bd9fff8822617bf95e45fd7427ad2

8 years agoMerge changes from topic \'vulkan-mem-limits\' into nyc-dev
Pyry Haulos [Fri, 22 Apr 2016 21:40:33 +0000 (21:40 +0000)]
Merge changes from topic \'vulkan-mem-limits\' into nyc-dev
am: a7756de

* commit 'a7756deb2dae3278422d30ded89e873479c2d835':
  Respect platform memory limits in dEQP-VK.memory.* tests
  Derive available system memory from Android CDD
  Expose platform-specific memory usage limitations

Change-Id: I4f1ac60a5de52232ad58054f1105cb4619ac6995

8 years agoMerge changes from topic 'vulkan-mem-limits' into nyc-dev
Pyry Haulos [Fri, 22 Apr 2016 21:36:02 +0000 (21:36 +0000)]
Merge changes from topic 'vulkan-mem-limits' into nyc-dev

* changes:
  Respect platform memory limits in dEQP-VK.memory.* tests
  Derive available system memory from Android CDD
  Expose platform-specific memory usage limitations

8 years agoRemove 2 tessellation.user_defined_io.negative cases from mustpass
Pyry Haulos [Fri, 22 Apr 2016 21:35:26 +0000 (21:35 +0000)]
Remove 2 tessellation.user_defined_io.negative cases from mustpass
am: 8b06cce

* commit '8b06cceea79dd880b936e320d6715f6c5fdd38f9':
  Remove 2 tessellation.user_defined_io.negative cases from mustpass

Change-Id: Ia2844e84cc54bc5a9db75d5003380854eed318bb

8 years agoRemove 2 tessellation.user_defined_io.negative cases from mustpass
Pyry Haulos [Fri, 22 Apr 2016 19:17:31 +0000 (12:17 -0700)]
Remove 2 tessellation.user_defined_io.negative cases from mustpass

These are destined to go back to mustpass as soon as drivers catch up
with latest spec direction.

Bug: 25389474
Bug: 28052526
Bug: 28045409
Change-Id: Id157683798226924fbb757bbffd2dad97f448b00

8 years agoFix pipeline and pipeline cache lifetime in synchronization tests
Pyry Haulos [Fri, 22 Apr 2016 19:11:20 +0000 (19:11 +0000)]
Fix pipeline and pipeline cache lifetime in synchronization tests
am: 6222af8

* commit '6222af852976871f07c00b792cae50eb458d0703':
  Fix pipeline and pipeline cache lifetime in synchronization tests

Change-Id: I5e199dac3ba584a6e96d41c8dfed3d207ef67d10

8 years agoRespect platform memory limits in dEQP-VK.memory.* tests
Pyry Haulos [Wed, 20 Apr 2016 22:40:23 +0000 (15:40 -0700)]
Respect platform memory limits in dEQP-VK.memory.* tests

Bug: 28275297
Change-Id: I1860295e445d432df220ce6a40e31f065774dbb7

8 years agoDerive available system memory from Android CDD
Pyry Haulos [Wed, 20 Apr 2016 21:39:18 +0000 (14:39 -0700)]
Derive available system memory from Android CDD

Android CDD defines minimum available system memory based on screen size
and density.

Includes various cleanups and robustness improvements to JNI code in
tcuAndroidUtil.cpp.

Bug: 28275297
Change-Id: I727cdf47db8e8f5d765017ed348a316234fe4f8e

8 years agoExpose platform-specific memory usage limitations
Pyry Haulos [Wed, 23 Mar 2016 20:01:10 +0000 (13:01 -0700)]
Expose platform-specific memory usage limitations

This change adds a new API, getMemoryLimits(), to vk::Platform. The idea
is to report all relevant limits and properties that may affect how much
system and device memory test cases can safely allocate without running
out of memory.

dEQP-VK.api.object_management.max_concurrent tests have been modified to
take advantage of the reported limits to determine a safe per-object
limits by measuring memory usage with allocation callbacks, as well as
accounting for both explicit and implicit (internal) device memory
usage.

Bug: 28275297
Change-Id: If4a231d96749be89bc1320e374944c7c4add657c

8 years agoFix pipeline and pipeline cache lifetime in synchronization tests
Pyry Haulos [Fri, 22 Apr 2016 17:32:12 +0000 (10:32 -0700)]
Fix pipeline and pipeline cache lifetime in synchronization tests

Bug: 28074219
Change-Id: Ib2b40524c9009129377cf5ba15e91fa86e74245c

8 years agoFix negative test incorrectly testing levels instead of layers
Mika Isojrvi [Thu, 21 Apr 2016 23:53:54 +0000 (23:53 +0000)]
Fix negative test incorrectly testing levels instead of layers
am: a9301cb50f

* commit 'a9301cb50fd1e2c4db6f238275fc6917192a6cf2':
  Fix negative test incorrectly testing levels instead of layers

Change-Id: I7417ea909c0b2c1a881101ce5e238c18f4dc3e3c

8 years agoFix negative test incorrectly testing levels instead of layers
Mika Isojärvi [Thu, 21 Apr 2016 19:52:26 +0000 (12:52 -0700)]
Fix negative test incorrectly testing levels instead of layers

Bug: 28090252
Change-Id: Icfe19cca34777e97f2ad49f09be7314467a307bc

8 years agoRemove unsupported multithreaded pixmap tests from mustpass
Mika Isojrvi [Wed, 20 Apr 2016 00:05:39 +0000 (00:05 +0000)]
Remove unsupported multithreaded pixmap tests from mustpass
am: 16a3690cf5

* commit '16a3690cf5729a14b4dc478e26bfd311907b498d':
  Remove unsupported multithreaded pixmap tests from mustpass

Change-Id: I069031afd06e44561eded58d505efe747d9b594b

8 years agoRemove EGLImage tests affected by rounding issues from mustpass
Mika Isojärvi [Fri, 15 Apr 2016 19:59:34 +0000 (12:59 -0700)]
Remove EGLImage tests affected by rounding issues from mustpass

Bug: 27702713
Change-Id: Iac449e0ee746b6e85c652b600a1ab7d77e9562ec

8 years agoRemove unsupported multithreaded pixmap tests from mustpass
Mika Isojärvi [Tue, 19 Apr 2016 22:24:30 +0000 (15:24 -0700)]
Remove unsupported multithreaded pixmap tests from mustpass

Bug: 28268533
Change-Id: Ia2ca49f5febce5a96f4ea62386fa2db5e13cb996

8 years agoMerge "Use square cubemap textures in negative tests" into nyc-dev
Mika Isojärvi [Tue, 19 Apr 2016 21:32:19 +0000 (21:32 +0000)]
Merge "Use square cubemap textures in negative tests" into nyc-dev
am: 491cdf1

* commit '491cdf1333964f403b701dcd02140b6fbb2f85a6':
  Use square cubemap textures in negative tests

Change-Id: I7315c9c71333acca4436194fa2df41ee6893c24e

8 years agoMerge "Use square cubemap textures in negative tests" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 21:24:12 +0000 (21:24 +0000)]
Merge "Use square cubemap textures in negative tests" into nyc-dev

8 years agoMerge "More dEQP-VK.synchronization fixes" into nyc-dev
Pyry Haulos [Tue, 19 Apr 2016 20:21:08 +0000 (20:21 +0000)]
Merge "More dEQP-VK.synchronization fixes" into nyc-dev
am: c13bbbe

* commit 'c13bbbe8b06f77714435d9f690fb6d03df952bc7':
  More dEQP-VK.synchronization fixes

Change-Id: I875002a8043fe705adea54a3b297bff91ad59eec

8 years agoMerge "More dEQP-VK.synchronization fixes" into nyc-dev
Pyry Haulos [Tue, 19 Apr 2016 19:55:06 +0000 (19:55 +0000)]
Merge "More dEQP-VK.synchronization fixes" into nyc-dev

8 years agoUse square cubemap textures in negative tests
Mika Isojärvi [Tue, 19 Apr 2016 19:24:43 +0000 (12:24 -0700)]
Use square cubemap textures in negative tests

Bug: 28249081
Bug: 28052105
Bug: 28052212
Change-Id: I15e9ca97c1300c4771a4797a8d29c68d779d3a9a

8 years agoMerge "Remove mipmap.2d.projected from mustpass" into nyc-dev
Pyry Haulos [Tue, 19 Apr 2016 19:24:10 +0000 (19:24 +0000)]
Merge "Remove mipmap.2d.projected from mustpass" into nyc-dev
am: c59118f

* commit 'c59118f4b8706c03efd83734ac8d1612d7979455':
  Remove mipmap.2d.projected from mustpass

Change-Id: I75ee6df872318b7cc0604a00fa4da279a60f2816

8 years agoMerge "Remove mipmap.2d.projected from mustpass" into nyc-dev
Pyry Haulos [Tue, 19 Apr 2016 19:17:57 +0000 (19:17 +0000)]
Merge "Remove mipmap.2d.projected from mustpass" into nyc-dev

8 years agoRemove mipmap.2d.projected from mustpass
Pyry Haulos [Fri, 15 Apr 2016 23:46:26 +0000 (16:46 -0700)]
Remove mipmap.2d.projected from mustpass

Bug: 28200359
Bug: 28045409
Bug: 28052526
Change-Id: I660c032404902538e97cded5b7d366e09e4cd53b

8 years agoMore dEQP-VK.synchronization fixes
Pyry Haulos [Mon, 18 Apr 2016 22:33:44 +0000 (15:33 -0700)]
More dEQP-VK.synchronization fixes

 * Spec requires even unused struct members to be initialized to legal
values.

 * Image initial layout barrier was not being executed.

Bug: 28074219
Change-Id: Ie2c5ecba0fa31c152b3ab85b1910ae6d07f4abbf

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 23:23:14 +0000 (23:23 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev am: 8b38db9 am: e7bc14a am: afa9f90 am: 543f748 am: c85241c  -s ours
am: f747a6e

* commit 'f747a6ed486797b6d9657abce567f9bad6d8700b':
  Revert "Use smaller triangles in triangle_vertex.clip_three"

Change-Id: I2e9127e7d90985c576725748f743a53a944e9294

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 23:20:00 +0000 (23:20 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev am: 8b38db9 am: e7bc14a am: afa9f90 am: 543f748
am: c85241c  -s ours

* commit 'c85241cfacb84b24dc5c0374f67fa7097228ccc5':
  Revert "Use smaller triangles in triangle_vertex.clip_three"

Change-Id: I7686f54384fa3557a112c343a645d5dea328ccd9

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 22:42:44 +0000 (22:42 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev am: 8b38db9 am: e7bc14a am: afa9f90
am: 543f748

* commit '543f7485e51afadbc0d8d966528f5f882f919b77':
  Revert "Use smaller triangles in triangle_vertex.clip_three"

Change-Id: If347fd1567d43ef1c922eabf944db9070612b3c2

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 22:40:26 +0000 (22:40 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev am: 8b38db9 am: e7bc14a
am: afa9f90

* commit 'afa9f90513392ac6e56dac04c06c0e85140ccb0e':
  Revert "Use smaller triangles in triangle_vertex.clip_three"

Change-Id: I08a68ecbc5889d59a5ed449bb4acc2bae446d565

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 22:38:09 +0000 (22:38 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev am: 8b38db9
am: e7bc14a

* commit 'e7bc14a45daa95b423e6b598d83b158376fe9dc3':
  Revert "Use smaller triangles in triangle_vertex.clip_three"

Change-Id: Ia7d45504846987c6fee639e355d7366f6ccd02f9

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 22:35:09 +0000 (22:35 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev
am: 8b38db9

* commit '8b38db9f98e9b1ee68a2fe0e4e19f756ea1de8c2':
  Revert "Use smaller triangles in triangle_vertex.clip_three"

Change-Id: I64613f18683961e48db56d098993a0ad2bfc820d

8 years agoMerge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow...
Daniel Xie [Mon, 18 Apr 2016 22:25:10 +0000 (22:25 +0000)]
Merge "Revert "Use smaller triangles in triangle_vertex.clip_three"" into marshmallow-cts-dev

8 years agoRevert "Use smaller triangles in triangle_vertex.clip_three"
Daniel Xie [Mon, 18 Apr 2016 22:24:15 +0000 (22:24 +0000)]
Revert "Use smaller triangles in triangle_vertex.clip_three"

This reverts commit a19537b3e25256c673af765612c11f765637dc5e.

Change-Id: Ieb28945964e3c3e82a30a00c5c5e9e7ada9e6bf8

8 years agoMerge "Remove acos and atan precision compute tests from mustpass" into nyc-dev
Mika Isojärvi [Mon, 18 Apr 2016 21:43:09 +0000 (21:43 +0000)]
Merge "Remove acos and atan precision compute tests from mustpass" into nyc-dev
am: 8c81aee

* commit '8c81aeee55dfa29ef1356abf55a8560edf20fa8d':
  Remove acos and atan precision compute tests from mustpass

Change-Id: Idef1da301f07ed470c01fcf562977b3c1b3c6c89

8 years agoMerge "Remove acos and atan precision compute tests from mustpass" into nyc-dev
Mika Isojarvi [Mon, 18 Apr 2016 21:39:23 +0000 (21:39 +0000)]
Merge "Remove acos and atan precision compute tests from mustpass" into nyc-dev

8 years agoInstall APK in the deqp runner to reduce installs
Kalle Raita [Mon, 18 Apr 2016 21:27:26 +0000 (21:27 +0000)]
Install APK in the deqp runner to reduce installs
am: 78f491c

* commit '78f491c1d50ec136dfd470d1a3015ee631c74381':
  Install APK in the deqp runner to reduce installs

Change-Id: I99e1254d891166aae7ae168732c297f11c7271b0

8 years agoRemove acos and atan precision compute tests from mustpass
Mika Isojärvi [Mon, 18 Apr 2016 19:23:40 +0000 (12:23 -0700)]
Remove acos and atan precision compute tests from mustpass

Remove GLES31 compute precision tests that have already been
removed in Vulkan module.

Bug: 28196756
Bug: 18323265
Change-Id: I4620937998deeb523c2b59c93adc7a0c4a853a08

8 years agoInstall APK in the deqp runner to reduce installs
Kalle Raita [Fri, 15 Apr 2016 22:32:16 +0000 (15:32 -0700)]
Install APK in the deqp runner to reduce installs

Currently the deqp APK is installed both by preparer in the config and
the runner class. Using preparer only has the drawback that the preparer
is run for each config independent of filtering results. Doing the
installation at the runner enables the runner skip the lengthy
installation if no tests are executed for config.

Reduces the execution time for deqp tests with null filter from minutes
to 7 seconds.

Tested on Angler on nyc-dev

Bug: 27810566
Change-Id: Ia9cdc88bbc9bdb737d5576319b954cd7fbbc902b

8 years agoMerge "Fix several bugs in synchronization tests" into nyc-dev
Pyry Haulos [Thu, 14 Apr 2016 23:37:08 +0000 (23:37 +0000)]
Merge "Fix several bugs in synchronization tests" into nyc-dev
am: 800605b

* commit '800605b0799f676c971b42e87d826561d503336c':
  Fix several bugs in synchronization tests

Change-Id: I467265c06d3a38970cdcacc75977b463aa556fdf

8 years agoMerge "Fix several bugs in synchronization tests" into nyc-dev
Pyry Haulos [Thu, 14 Apr 2016 23:27:47 +0000 (23:27 +0000)]
Merge "Fix several bugs in synchronization tests" into nyc-dev

8 years agoMerge "Do not log INFO and DEBUG messages by default" into nyc-dev
Pyry Haulos [Thu, 14 Apr 2016 23:19:31 +0000 (23:19 +0000)]
Merge "Do not log INFO and DEBUG messages by default" into nyc-dev
am: a5fad48

* commit 'a5fad48332ba934cb84b8bdbcc8bd22075f94a42':
  Do not log INFO and DEBUG messages by default

Change-Id: I279a7b4197457a885b5582b1fe5c00f026f12215

8 years agoMerge "Do not log INFO and DEBUG messages by default" into nyc-dev
Pyry Haulos [Thu, 14 Apr 2016 23:10:22 +0000 (23:10 +0000)]
Merge "Do not log INFO and DEBUG messages by default" into nyc-dev

8 years agoDo not log INFO and DEBUG messages by default
Pyry Haulos [Thu, 14 Apr 2016 18:40:50 +0000 (11:40 -0700)]
Do not log INFO and DEBUG messages by default

Validation layers produce a lot of INFORMATION and DEBUG messages that
are not useful most of the time, and just bloat the log. Ignore these
message types by default.

Documented Validation layer usage in Vulkan CTS README.

Bug: 28175931
Change-Id: I0f56d0373e0eb5d7e2849670b4284c457eab8c04

8 years agoFix several bugs in synchronization tests
Pyry Haulos [Thu, 14 Apr 2016 21:00:49 +0000 (14:00 -0700)]
Fix several bugs in synchronization tests

 * Tests were mixing default device and test-specific device objects,
resulting in use of objects created from one device with another device.

 * Tests were using DeviceInterface of default device with test-specific
device objects, leading to crashes when layers were enabled.

 * Similarly, Allocator of default device was used with test-specific
device objects.

 * Several objects were leaked.

Bug: 28074219
Change-Id: I7588ce3eac07919e958f722168f2d83401e7e038

8 years agoMerge "Fix atomic ssbo xor test" into nyc-dev
Mika Isojärvi [Thu, 14 Apr 2016 20:01:23 +0000 (20:01 +0000)]
Merge "Fix atomic ssbo xor test" into nyc-dev
am: b400672

* commit 'b400672a587f6953560645ee744b523a7e47ffad':
  Fix atomic ssbo xor test

Change-Id: I05850b429bbc0531ddec889431eb124e06476694

8 years agoMerge "Fix atomic ssbo xor test" into nyc-dev
Mika Isojarvi [Thu, 14 Apr 2016 19:50:18 +0000 (19:50 +0000)]
Merge "Fix atomic ssbo xor test" into nyc-dev

8 years agoMerge "Fix a few issues in synchronization tests" into nyc-dev
David Sodman [Thu, 14 Apr 2016 18:13:15 +0000 (18:13 +0000)]
Merge "Fix a few issues in synchronization tests" into nyc-dev
am: 4dc29e7

* commit '4dc29e70d174f1c0071fc85ef57879f79886d325':
  Fix a few issues in synchronization tests

Change-Id: I69e5de12e29840d406b0527e6ed2f6a16a78901e

8 years agoMerge "Use correct store ops in depth stencil renderpass tests" into nyc-dev
Mika Isojärvi [Thu, 14 Apr 2016 18:13:15 +0000 (18:13 +0000)]
Merge "Use correct store ops in depth stencil renderpass tests" into nyc-dev
am: 5e9a454

* commit '5e9a4548c6c5aa8d0e4dab4c1eeb58f3b81dfe8b':
  Use correct store ops in depth stencil renderpass tests

Change-Id: I0b489dd3278eafc3d582adb93729e48ee0864fb1

8 years agoMerge "Fix a few issues in synchronization tests" into nyc-dev
David Sodman [Thu, 14 Apr 2016 18:07:22 +0000 (18:07 +0000)]
Merge "Fix a few issues in synchronization tests" into nyc-dev

8 years agoMerge "Use correct store ops in depth stencil renderpass tests" into nyc-dev
Mika Isojarvi [Thu, 14 Apr 2016 18:05:54 +0000 (18:05 +0000)]
Merge "Use correct store ops in depth stencil renderpass tests" into nyc-dev

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

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

Bug: 28144118
Change-Id: I0670aa12642882a329cb923487198fdf045b912b

8 years agoFix a few issues in synchronization tests
David Sodman [Wed, 13 Apr 2016 21:09:36 +0000 (14:09 -0700)]
Fix a few issues in synchronization tests

Bug: 28074219

Change-Id: Ifaffac8195850310ff74937955d96206e371dd49

8 years agoUse correct store ops in depth stencil renderpass tests
Mika Isojärvi [Wed, 13 Apr 2016 23:19:16 +0000 (16:19 -0700)]
Use correct store ops in depth stencil renderpass tests

Test were not using correct store ops in depth stencil format tests
which led to missing coverage.

Change-Id: I0abd82d2cd79a0f83143934b3a540d9dc4a7168b

8 years agoMerge in fixes from Khronos repository
Pyry Haulos [Wed, 13 Apr 2016 22:40:32 +0000 (22:40 +0000)]
Merge in fixes from Khronos repository
am: d56e5ef

* commit 'd56e5ef627f6f2b32c95e2a8236d79405dcf94c9':
  Improve VK_MAKE_VERSION and VK_BIT macros
  Update mustpass
  Add 0 to list of valid memory property flags
  Improve logging in dEQP-VK.api.info.device.memory_properties
  Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.
  dEQP-VK.memory.pipeline_barrier.*: memory leak: delete render pass commands.
  Fix image layout tracking in pipeline barrier tests

Change-Id: Ifa89aa8e2c7e0d32b397e7905da95a9f4a946f7e

8 years agoMerge in fixes from Khronos repository
Pyry Haulos [Wed, 13 Apr 2016 22:19:22 +0000 (15:19 -0700)]
Merge in fixes from Khronos repository

8 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Wed, 13 Apr 2016 22:18:01 +0000 (15:18 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

8 years agoUpdate user defined io tessellation tests
Mika Isojrvi [Wed, 13 Apr 2016 21:17:43 +0000 (21:17 +0000)]
Update user defined io tessellation tests
am: 3968146

* commit '3968146ba8b8e569e20b5ea35ac157a63ec2c476':
  Update user defined io tessellation tests

Change-Id: I6b2a5f88a7124f419dbed09ca28c67d252c7aac2

8 years agoUpdate user defined io tessellation tests
Mika Isojärvi [Wed, 13 Apr 2016 19:34:34 +0000 (12:34 -0700)]
Update user defined io tessellation tests

Allow only explicit array size that is same as the "vertices"
layout qualifier

Bug: 25389474
Change-Id: If735df219fc6b576ae9656db1053004e566d2297

8 years agoSuppress many less important clang-tidy warnings. am: 0c1f83a
Chih-Hung Hsieh [Wed, 13 Apr 2016 00:30:35 +0000 (00:30 +0000)]
Suppress many less important clang-tidy warnings. am: 0c1f83a
am: c5e1ad2

* commit 'c5e1ad2dd5890a12a5160d6d30cfeb1410698528':
  Suppress many less important clang-tidy warnings.

Change-Id: Ib7ed4b255d04259b6689e56929b94e42178bd0da

8 years agoSuppress many less important clang-tidy warnings.
Chih-Hung Hsieh [Tue, 12 Apr 2016 23:30:15 +0000 (23:30 +0000)]
Suppress many less important clang-tidy warnings.
am: 0c1f83a

* commit '0c1f83aee4709eef7ef2a3edd384f9c192f476fd':
  Suppress many less important clang-tidy warnings.

Change-Id: Ic8df45c3abd28ba685174dc029ec7a5b887ae691

8 years agoRemove few preprocessor corner cases affected by spec bug
Pyry Haulos [Tue, 12 Apr 2016 22:17:24 +0000 (22:17 +0000)]
Remove few preprocessor corner cases affected by spec bug
am: 8ecdff5

* commit '8ecdff543359206bf17ad2b014a315c87b74ceca':
  Remove few preprocessor corner cases affected by spec bug

Change-Id: I4e08d0b3a6dcbb75fe664a3297253b0a6f3966b8

8 years agoSuppress many less important clang-tidy warnings.
Chih-Hung Hsieh [Tue, 12 Apr 2016 21:57:24 +0000 (14:57 -0700)]
Suppress many less important clang-tidy warnings.

This will suppress about 947 warnings of google-explicit-constructor
and 430 warnings of google-build-using-namespace.

BUG: 28150914
BUG: 28150377
Change-Id: I2e4062e8408076f3e8b46a22e3b26c7de61102dc

8 years agoImprove VK_MAKE_VERSION and VK_BIT macros
Pyry Haulos [Fri, 8 Apr 2016 00:10:27 +0000 (17:10 -0700)]
Improve VK_MAKE_VERSION and VK_BIT macros

VK_MAKE_VERSION was causing int->uint conversion warnings.

Put arguments inside parenthesis to make evaluation unambiguous.

Change-Id: Ia47efdf77789905f4c45a551c08eb0ff3496c556
(cherry picked from commit dd99172aee72493b3e508dc8990e7eac95a40f8f)

8 years agoMerge branch '361-memory-properties' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 12 Apr 2016 21:10:00 +0000 (21:10 +0000)]
Merge branch '361-memory-properties' into 'vulkan-cts-1.0'

Fix dEQP-VK.api.info.device.memory_properties

Includes both fix for missing propertyFlags 0 as well as improved logging.

Fixes #361

See merge request !518

8 years agoRemove few preprocessor corner cases affected by spec bug
Pyry Haulos [Tue, 12 Apr 2016 19:22:11 +0000 (12:22 -0700)]
Remove few preprocessor corner cases affected by spec bug

Bug: 27126954
Change-Id: Ic652e6f297b444135aa89c47c899d689c2bc5008

8 years agoUpdate mustpass
Pyry Haulos [Tue, 12 Apr 2016 16:59:16 +0000 (09:59 -0700)]
Update mustpass

New tests added by a merge from Google branch are excluded from mustpass
for now.

8 years agoAdd 0 to list of valid memory property flags
Pyry Haulos [Tue, 12 Apr 2016 16:53:04 +0000 (09:53 -0700)]
Add 0 to list of valid memory property flags

Fixes #361

8 years agoImprove logging in dEQP-VK.api.info.device.memory_properties
Pyry Haulos [Mon, 21 Mar 2016 19:48:50 +0000 (12:48 -0700)]
Improve logging in dEQP-VK.api.info.device.memory_properties

Change-Id: I70927510e3dce6dbc05cc0f49f24f5d331f49412
(cherry picked from commit cdf80ba37ef186bb2d8fc5a3a97dd633e6a67d85)

8 years agoMerge branch '358-memory-pipeline-barrier-leak' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 12 Apr 2016 16:45:35 +0000 (16:45 +0000)]
Merge branch '358-memory-pipeline-barrier-leak' into 'vulkan-cts-1.0-dev'

dEQP-VK.memory.pipeline_barrier.*: memory leak: delete render pass commands.

SubmitRenderPass was taking ownership of the render pass commands but
was not freeing them in the destructor.

Fixes issue #358.

See merge request !509

8 years agoMerge branch 'test-dynamic-state-validation' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 12 Apr 2016 16:43:47 +0000 (16:43 +0000)]
Merge branch 'test-dynamic-state-validation' into 'vulkan-cts-1.0-dev'

Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.

See #357 for more details.

See merge request !514

8 years agoMerge branch 'misojarvi-memory_barrier-image_layout_dest_blit' into 'vulkan-cts-1...
Pyry Haulos [Tue, 12 Apr 2016 16:35:50 +0000 (16:35 +0000)]
Merge branch 'misojarvi-memory_barrier-image_layout_dest_blit' into 'vulkan-cts-1.0-dev'

Fix image layout tracking in pipeline barrier tests

See merge request !498

8 years agoMerge "Add basic WSI rendering test" into nyc-dev am: 165f1f7
Pyry Haulos [Tue, 12 Apr 2016 02:04:47 +0000 (02:04 +0000)]
Merge "Add basic WSI rendering test" into nyc-dev am: 165f1f7
am: 29695f2

* commit '29695f2bd0ec331b8a8cd20255ddbede039a8c43':
  Add basic WSI rendering test

Change-Id: I258a3fb2ba08b00dae601e7dc6b3b71a91f2368c

8 years agoMerge "Add basic WSI rendering test" into nyc-dev
Pyry Haulos [Tue, 12 Apr 2016 01:59:30 +0000 (01:59 +0000)]
Merge "Add basic WSI rendering test" into nyc-dev
am: 165f1f7

* commit '165f1f75d7ccc2c6c6f38980aec652aba60665dc':
  Add basic WSI rendering test

Change-Id: I74574a4c1ae320272591b79b3c9402245c8edebe

8 years agoMerge "Add test for UNUSED_ATTACHMENT in resolve attachments in subpass" into nyc...
Pyry Haulos [Tue, 12 Apr 2016 01:54:49 +0000 (01:54 +0000)]
Merge "Add test for UNUSED_ATTACHMENT in resolve attachments in subpass" into nyc-dev am: e0c8ec4
am: 2687b41

* commit '2687b414f679c01aec12bb342e990a22bc213791':
  Add test for UNUSED_ATTACHMENT in resolve attachments in subpass

Change-Id: I8c921910fd36b5882e2b0336099deff257502cad

8 years agoMerge "Add test for UNUSED_ATTACHMENT in resolve attachments in subpass" into nyc-dev
Mika Isojärvi [Tue, 12 Apr 2016 01:49:43 +0000 (01:49 +0000)]
Merge "Add test for UNUSED_ATTACHMENT in resolve attachments in subpass" into nyc-dev
am: e0c8ec4

* commit 'e0c8ec4cfaaae5615ab3ff85a18742617f02932e':
  Add test for UNUSED_ATTACHMENT in resolve attachments in subpass

Change-Id: Ib678f09ce9a6b3baf08348ed2f3e5904930e12e5

8 years agoMerge "Add basic WSI rendering test" into nyc-dev
Pyry Haulos [Tue, 12 Apr 2016 01:47:46 +0000 (01:47 +0000)]
Merge "Add basic WSI rendering test" into nyc-dev

8 years agoMerge "Add test for UNUSED_ATTACHMENT in resolve attachments in subpass" into nyc-dev
Pyry Haulos [Tue, 12 Apr 2016 01:32:38 +0000 (01:32 +0000)]
Merge "Add test for UNUSED_ATTACHMENT in resolve attachments in subpass" into nyc-dev

8 years agoManual merge of a8aec64 am: 9d8b009
Pyry Haulos [Tue, 12 Apr 2016 00:58:11 +0000 (00:58 +0000)]
Manual merge of a8aec64 am: 9d8b009
am: 0bde125

* commit '0bde1254b259a1ce5f6cdce67a4be88ba80e2502':
  Manual merge of a8aec64

Change-Id: I3032f7538ecacc928ed3572e7b557f755737e762

8 years agoManual merge of a8aec64
Pyry Haulos [Tue, 12 Apr 2016 00:53:05 +0000 (00:53 +0000)]
Manual merge of a8aec64
am: 9d8b009

* commit '9d8b0091b3fbbcc041631bbb67445ac7472bb7d8':
  Manual merge of a8aec64

Change-Id: Ia56fab0e22e4ef7b0d0dab5f22c3238949d66bf3

8 years agoManual merge of a8aec64
Pyry Haulos [Tue, 12 Apr 2016 00:35:35 +0000 (17:35 -0700)]
Manual merge of a8aec64

Change-Id: I7180faa25c717f325c14bde1895437c35388acfe

8 years agoMerge "Fix dEQP-VK.binding_model discontiguous descriptors tests" into nyc-dev am...
Pyry Haulos [Tue, 12 Apr 2016 00:32:15 +0000 (00:32 +0000)]
Merge "Fix dEQP-VK.binding_model discontiguous descriptors tests" into nyc-dev am: 14535dc
am: df2118c

* commit 'df2118cc57f56f2f2e1221a6065c8040d51a75b4':
  Fix dEQP-VK.binding_model discontiguous descriptors tests

Change-Id: I1020249942c1e65ed110d0e8fc535b481b86fb64

8 years agoMerge "Fix dEQP-VK.binding_model discontiguous descriptors tests" into nyc-dev
Pyry Haulos [Tue, 12 Apr 2016 00:27:14 +0000 (00:27 +0000)]
Merge "Fix dEQP-VK.binding_model discontiguous descriptors tests" into nyc-dev
am: 14535dc

* commit '14535dcae753734a2eaf0842035834b279df9142':
  Fix dEQP-VK.binding_model discontiguous descriptors tests

Change-Id: Ic39823b152d5be4ba74114c785cb1f345cfbb851

8 years agoAdd basic WSI rendering test
Pyry Haulos [Mon, 11 Apr 2016 23:37:53 +0000 (16:37 -0700)]
Add basic WSI rendering test

Bug: 27536551
Bug: 27641433
Change-Id: Icc74ea9c6d669ced21e536ee96f0dd04d5e47343

8 years agoMerge "Fix dEQP-VK.binding_model discontiguous descriptors tests" into nyc-dev
Pyry Haulos [Tue, 12 Apr 2016 00:18:21 +0000 (00:18 +0000)]
Merge "Fix dEQP-VK.binding_model discontiguous descriptors tests" into nyc-dev

8 years agoMerge "Another attempt at capturing full removal list for 22713865" into marshmallow...
Pyry Haulos [Mon, 11 Apr 2016 21:40:00 +0000 (21:40 +0000)]
Merge "Another attempt at capturing full removal list for 22713865" into marshmallow-cts-dev am: be0cde5 am: 0d74b02 am: 32218a6 am: d3905fb am: a8aec64  -s ours am: fbda0a4
am: e724927

* commit 'e7249271beed50bb08c6dbf803efa227aa57b52d':
  Another attempt at capturing full removal list for 22713865

Change-Id: I0efcd6aa0ea65416a69cf8dfe911236a33460b2d

8 years agoMerge "Another attempt at capturing full removal list for 22713865" into marshmallow...
Daniel Xie [Mon, 11 Apr 2016 21:34:53 +0000 (21:34 +0000)]
Merge "Another attempt at capturing full removal list for 22713865" into marshmallow-cts-dev am: be0cde5 am: 0d74b02 am: 32218a6 am: d3905fb am: a8aec64  -s ours
am: fbda0a4

* commit 'fbda0a42a850dda989b8d3914dfd882de43ea4c9':
  Another attempt at capturing full removal list for 22713865

Change-Id: I1141dd14195b86b8939cea53f1272e3819410c78