platform/upstream/VK-GL-CTS.git
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
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
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:29:33 +0000 (21:29 +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

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

Change-Id: Id23017f4b167996a335696d9bd9ad9dfca49f32c

8 years agoAdd test for UNUSED_ATTACHMENT in resolve attachments in subpass
Mika Isojärvi [Mon, 11 Apr 2016 19:26:32 +0000 (12:26 -0700)]
Add test for UNUSED_ATTACHMENT in resolve attachments in subpass

Bug: 27552375
Change-Id: I3be1cde17b5b3be29c9a8d4964638d46305e0b9b

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

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

Change-Id: I943eac4021b849761401b14f002dbbdfcf157f6d

8 years agoMerge "Another attempt at capturing full removal list for 22713865" into marshmallow...
Pyry Haulos [Mon, 11 Apr 2016 19:01:12 +0000 (19:01 +0000)]
Merge "Another attempt at capturing full removal list for 22713865" into marshmallow-cts-dev am: be0cde5 am: 0d74b02
am: 32218a6

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

Change-Id: I542b57905584b81d525592f473a2f892cd9ca480

8 years agoMerge "Another attempt at capturing full removal list for 22713865" into marshmallow...
Daniel Xie [Mon, 11 Apr 2016 18:55:17 +0000 (18:55 +0000)]
Merge "Another attempt at capturing full removal list for 22713865" into marshmallow-cts-dev am: be0cde5
am: 0d74b02

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

Change-Id: Ib762ebd465ceaae4d4bf3a04f65624a3b4254c36

8 years agoMerge "Another attempt at capturing full removal list for 22713865" into marshmallow...
Pyry Haulos [Mon, 11 Apr 2016 18:50:19 +0000 (18:50 +0000)]
Merge "Another attempt at capturing full removal list for 22713865" into marshmallow-cts-dev
am: be0cde5

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

Change-Id: Ie42d5a8f6af6270c0c3bfa843199416e09dc6ff1

8 years agoFix issues in synchronization.fences
Pyry Haulos [Mon, 11 Apr 2016 18:41:39 +0000 (11:41 -0700)]
Fix issues in synchronization.fences

 * timeout = 0 was not being tested.

 * Test was incorrectly assuming that DEFAULT_TIMEOUT would be
sufficient for work to complete.

 * Other minor fixes.

Bug: 27967146
Change-Id: I1b5b0001d2cdfe7d03904055d2074bea0aaf4942

8 years agoMerge "Another attempt at capturing full removal list for 22713865" into marshmallow...
Daniel Xie [Mon, 11 Apr 2016 18:31:16 +0000 (18:31 +0000)]
Merge "Another attempt at capturing full removal list for 22713865" into marshmallow-cts-dev

8 years agoFix dEQP-VK.binding_model discontiguous descriptors tests
Pyry Haulos [Mon, 11 Apr 2016 17:15:34 +0000 (10:15 -0700)]
Fix dEQP-VK.binding_model discontiguous descriptors tests

 * Descriptor set update wrote descriptors in incorrect order.

 * Removed compute cases where MULTIPLE_DISCONTIGUOUS_DESCRIPTORS didn't
have any effect.

 * Removed a few cases where code was needlessly handling
MULTIPLE_DISCONTIGUOUS_DESCRIPTORS causing confusion.

Bug: 28075783

Change-Id: I86ef93d41f5d493fac757ba44088d947b88bc702

8 years agoMerge "Improve VK_MAKE_VERSION and VK_BIT macros" into nyc-dev
Pyry Haulos [Mon, 11 Apr 2016 16:19:59 +0000 (16:19 +0000)]
Merge "Improve VK_MAKE_VERSION and VK_BIT macros" into nyc-dev

8 years agoMerge bugfixes from Khronos repository
Pyry Haulos [Sun, 10 Apr 2016 18:04:37 +0000 (11:04 -0700)]
Merge bugfixes from Khronos repository

Change-Id: Id4ae8f02381b25c2b7f1978ce665955e3ec35833

8 years agoMerge branch 'synchronization-tests-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Sun, 10 Apr 2016 18:03:10 +0000 (18:03 +0000)]
Merge branch 'synchronization-tests-fixes' into 'vulkan-cts-1.0-dev'

Various fixes for synchronization tests

- Tests were not querying the available queueCount in the queue family properties.
- Tests were using the "universal" queue family index when the device created in createTestDevice() could be using queues belonging to a different family index.
- 3D image view was being used with a 2D image.
- Command buffer Deleter was not holding any reference to the command pool.

- Fences tests:
    * Fence status VK_NOT_READY was expected between queueSubmit() and waitForFences(). Status could be VK_SUCCESS if the work finishes before waitForFences().
    * It seems that the first waitForFences() was intended for multiple fences, but it was waiting for one of the fences only.
    * Added check for default status of fence 1 (unsignaled).

- Code style:
    * DE_NULL was being used as a boolean parameter in createFences()
    * Use VkResult names instead of error codes in the error messages.
    * Fixed some typos and indentation.

See merge request !491

8 years agoMerge "Add rendering verification to dEQP-VK.api.smoke.*triangle" into nyc-dev
Pyry Haulos [Sun, 10 Apr 2016 18:00:21 +0000 (18:00 +0000)]
Merge "Add rendering verification to dEQP-VK.api.smoke.*triangle" into nyc-dev

8 years agoMerge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Pyry Haulos [Sun, 10 Apr 2016 00:24:36 +0000 (17:24 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev

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

8 years agoMerge branch 'extend-query-validation' into 'vulkan-cts-1.0'
Pyry Haulos [Sun, 10 Apr 2016 00:02:31 +0000 (00:02 +0000)]
Merge branch 'extend-query-validation' into 'vulkan-cts-1.0'

Extend feature and limit query validation

Manual cherry-pick of extended validation code in `vktApiFeatureInfo.cpp` from the development to the release branch.

Includes framework API update to 1.0.5 as the new code requires `VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT`

See merge request !499

8 years agoExtend feature and limit query validation
Pyry Haulos [Tue, 5 Apr 2016 22:32:41 +0000 (15:32 -0700)]
Extend feature and limit query validation

This change manually cherry-picks extended feature and limit query
validation code from development branch to the release branch.

8 years agoFix typo in log message
Pyry Haulos [Sat, 9 Apr 2016 23:59:38 +0000 (16:59 -0700)]
Fix typo in log message

Change-Id: I801f5c4ad438ea482a6825020e723bd3e833b529

8 years agoMerge "Fix a few style issues in rrShaders.hpp" into nyc-dev
Pyry Haulos [Sat, 9 Apr 2016 23:39:26 +0000 (23:39 +0000)]
Merge "Fix a few style issues in rrShaders.hpp" into nyc-dev

8 years agoMerge "Limit flush and invalidation to mapped memory range" into nyc-dev
Mika Isojarvi [Fri, 8 Apr 2016 00:26:05 +0000 (00:26 +0000)]
Merge "Limit flush and invalidation to mapped memory range" into nyc-dev

8 years agoAdd rendering verification to dEQP-VK.api.smoke.*triangle
Pyry Haulos [Thu, 7 Apr 2016 23:27:24 +0000 (16:27 -0700)]
Add rendering verification to dEQP-VK.api.smoke.*triangle

Change-Id: I227cfb8a66162bf947b20545a444e2863a74176f

8 years agoFix a few style issues in rrShaders.hpp
Pyry Haulos [Fri, 8 Apr 2016 00:09:48 +0000 (17:09 -0700)]
Fix a few style issues in rrShaders.hpp

Change-Id: I80ceb7d1fc799f8a86cb60d1fe1f23cfbbaa4cd6

8 years agoMerge "Actually enable VK_KHR_swapchain in WSI swapchain tests" into nyc-dev
Pyry Haulos [Fri, 8 Apr 2016 00:07:19 +0000 (00:07 +0000)]
Merge "Actually enable VK_KHR_swapchain in WSI swapchain tests" into nyc-dev

8 years agoMerge "Mask compared bits in atomic operation tests." into nyc-dev
Mika Isojarvi [Thu, 7 Apr 2016 23:19:05 +0000 (23:19 +0000)]
Merge "Mask compared bits in atomic operation tests." into nyc-dev

8 years agoMerge "Return false from Vulkan validation callback" into nyc-dev
Mika Isojarvi [Thu, 7 Apr 2016 23:19:01 +0000 (23:19 +0000)]
Merge "Return false from Vulkan validation callback" into nyc-dev

8 years agoLimit flush and invalidation to mapped memory range
Mika Isojärvi [Thu, 7 Apr 2016 21:46:40 +0000 (14:46 -0700)]
Limit flush and invalidation to mapped memory range

Change-Id: I3eea1095283391fc3a54944e0cab1ccbcc1c80ac

8 years agoActually enable VK_KHR_swapchain in WSI swapchain tests
Pyry Haulos [Thu, 7 Apr 2016 22:39:16 +0000 (15:39 -0700)]
Actually enable VK_KHR_swapchain in WSI swapchain tests

Bug: 28056362
Change-Id: I5ce57ea855e0c48a10137fbc5b72158cdc54f73d

8 years agoReturn false from Vulkan validation callback
Mika Isojärvi [Thu, 7 Apr 2016 20:36:12 +0000 (13:36 -0700)]
Return false from Vulkan validation callback

Change-Id: I6441b0d4b856c66886390a3517288ecf7537d694

8 years agoMask compared bits in atomic operation tests.
Mika Isojärvi [Tue, 5 Apr 2016 17:42:09 +0000 (10:42 -0700)]
Mask compared bits in atomic operation tests.

Bug: 27975797
Change-Id: Id24a784b5b8a665f509218358d58d7eca9a7bb93

8 years agoMerge branch '340-cube-corner-mustpass' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 7 Apr 2016 20:47:36 +0000 (20:47 +0000)]
Merge branch '340-cube-corner-mustpass' into 'vulkan-cts-1.0'

Remove test affected by cube corner texel selection issue

See #340

See merge request !505

8 years agoMerge branch '352-missed-pipeline-barrier' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 7 Apr 2016 20:46:55 +0000 (20:46 +0000)]
Merge branch '352-missed-pipeline-barrier' into 'vulkan-cts-1.0'

Add missing memory barrier to draw tests

Fixes #352

See merge request !493

8 years agoMerge branch '350-LOD-precision-for-snorm-cts-1.0' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 7 Apr 2016 20:46:25 +0000 (20:46 +0000)]
Merge branch '350-LOD-precision-for-snorm-cts-1.0' into 'vulkan-cts-1.0'

Use larger threshold for EAC formats in sampler tests

Fixes #350

See merge request !490

8 years agoAdd missing memory barrier to draw tests.
zeppelin [Fri, 1 Apr 2016 23:09:55 +0000 (16:09 -0700)]
Add missing memory barrier to draw tests.

Fixes #352

8 years agoUse larger threshold for EAC formats in sampler tests
zeppelin [Fri, 1 Apr 2016 01:43:50 +0000 (18:43 -0700)]
Use larger threshold for EAC formats in sampler tests

Fixes #350

8 years agoRemove test affected by cube corner texel selection issue
Pyry Haulos [Thu, 7 Apr 2016 20:12:15 +0000 (13:12 -0700)]
Remove test affected by cube corner texel selection issue

8 years ago Fix int->float conversion warning
Pyry Haulos [Wed, 9 Mar 2016 21:10:47 +0000 (13:10 -0800)]
 Fix int->float conversion warning

Change-Id: I3a8c01a9223b1b261b2cf162ab0ef9babb8bbb45
(cherry picked from commit de443fdd0e0f38f5fd8bd02aa27e6931063a39e3)

8 years agoValidate that VkImageFormatProperties fields are set to 0
Pyry Haulos [Thu, 7 Apr 2016 19:53:23 +0000 (12:53 -0700)]
Validate that VkImageFormatProperties fields are set to 0

Specification requires that even if parameter combination is not
supported and driver returns VK_ERROR_FORMAT_NOT_SUPPORTED all
properties are set to 0.

Improve debuggability by using tcu::ResultCollector rather than
TCU_CHECK().

Change-Id: I215b81e29672b8cc7d281519538a6e027eed7491

8 years agoRemove instances of pDynamicState->dynamicStateCount = 0
Pyry Haulos [Wed, 6 Apr 2016 22:44:14 +0000 (15:44 -0700)]
Remove instances of pDynamicState->dynamicStateCount = 0

Specification explicitly disallows using
VkPipelineDynamicStateCreateInfo with dynamicStateCount = 0 when
creating pipelines. Instead pDynamicState must be set to NULL.

Change-Id: Iff9e2f10e0080ffae0f6698aff342132f148b41d

8 years agoMerge branch 'scygan-image_atomic_ops-non_square_cubes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Wed, 6 Apr 2016 17:28:56 +0000 (17:28 +0000)]
Merge branch 'scygan-image_atomic_ops-non_square_cubes' into 'vulkan-cts-1.0-dev'

Fix non-square cube image faces in dEQP-VK.image.atomic_operations.*.cube* tests

Some of the new image atomic aperations are trying to use images with non-square faces as cubes and cube map images.

See merge request !496

8 years agoUpdate Vulkan framework to API 1.0.5
Pyry Haulos [Tue, 16 Feb 2016 10:05:17 +0000 (12:05 +0200)]
Update Vulkan framework to API 1.0.5

Change-Id: I4e469b9384701303f96826c25a51e623316719dc
(cherry picked from commit 931d1df9bc5ac16200e2e63dfce17dcbbbb35d36)

8 years agoMerge "Add runtime estimates for the CTS v2 integration" into nyc-dev
Kalle Raita [Tue, 5 Apr 2016 22:11:31 +0000 (22:11 +0000)]
Merge "Add runtime estimates for the CTS v2 integration" into nyc-dev

8 years agoMerge "Add check for relationship between maxImageDimension2D/maxViewDimension/viewpo...
David Sodman [Tue, 5 Apr 2016 21:12:14 +0000 (21:12 +0000)]
Merge "Add check for relationship between maxImageDimension2D/maxViewDimension/viewportBoundsRange" into nyc-dev am: 3787fe8
am: d78e200

* commit 'd78e2008a105d1afdd0fb8656740df11ea8d8f32':
  Add check for relationship between maxImageDimension2D/maxViewDimension/viewportBoundsRange

Change-Id: Iffd813ef10be8db6308cb129ed999a9232c04da9

8 years agoMerge "Add check for relationship between maxImageDimension2D/maxViewDimension/viewpo...
David Sodman [Tue, 5 Apr 2016 21:08:40 +0000 (21:08 +0000)]
Merge "Add check for relationship between maxImageDimension2D/maxViewDimension/viewportBoundsRange" into nyc-dev
am: 3787fe8

* commit '3787fe80e9980b47b0f4ddcf4396705e770a71de':
  Add check for relationship between maxImageDimension2D/maxViewDimension/viewportBoundsRange

Change-Id: I905c5eff59928543cfb77b521403ff9099261055

8 years agoMerge "Add check for relationship between maxImageDimension2D/maxViewDimension/viewpo...
David Sodman [Tue, 5 Apr 2016 21:01:02 +0000 (21:01 +0000)]
Merge "Add check for relationship between maxImageDimension2D/maxViewDimension/viewportBoundsRange" into nyc-dev

8 years agoMerge "Add sanity checking of API version" into nyc-dev am: ff697ef
David Sodman [Tue, 5 Apr 2016 20:59:41 +0000 (20:59 +0000)]
Merge "Add sanity checking of API version" into nyc-dev am: ff697ef
am: c278ab4

* commit 'c278ab4c1259608a39125af37641a5fceb9936ba':
  Add sanity checking of API version

Change-Id: Id21d50893650cb7e66b6db83e44769cfa739d2ec

8 years agoAdd checks for bitmap limits in VkPhysicalDeviceLimits am: a4c04b0
David Sodman [Tue, 5 Apr 2016 20:59:40 +0000 (20:59 +0000)]
Add checks for bitmap limits in VkPhysicalDeviceLimits am: a4c04b0
am: d0a153f

* commit 'd0a153fe5e0b0e68b411dd84eab8a3556e844520':
  Add checks for bitmap limits in VkPhysicalDeviceLimits

Change-Id: Ia90f6438cbce38733d714a7dfba84347dacff7d3

8 years agoMerge "Add sanity checking of API version" into nyc-dev
David Sodman [Tue, 5 Apr 2016 20:56:39 +0000 (20:56 +0000)]
Merge "Add sanity checking of API version" into nyc-dev
am: ff697ef

* commit 'ff697ef37589f0daa4f8fa7a2bbe839f34851636':
  Add sanity checking of API version

Change-Id: I97ce9db5fb5c45f1d1359c4d6de09a60472a5146

8 years agoAdd checks for bitmap limits in VkPhysicalDeviceLimits
David Sodman [Tue, 5 Apr 2016 20:56:39 +0000 (20:56 +0000)]
Add checks for bitmap limits in VkPhysicalDeviceLimits
am: a4c04b0

* commit 'a4c04b0f8023c3dd34bbb596c9346dea81bc14db':
  Add checks for bitmap limits in VkPhysicalDeviceLimits

Change-Id: I71826659ca0da65dd6452d4f5a3eb1ac2418f500

8 years agoMerge "Add sanity checking of API version" into nyc-dev
David Sodman [Tue, 5 Apr 2016 20:46:13 +0000 (20:46 +0000)]
Merge "Add sanity checking of API version" into nyc-dev

8 years agoAdd check for relationship between
David Sodman [Tue, 5 Apr 2016 18:07:18 +0000 (11:07 -0700)]
Add check for relationship between
maxImageDimension2D/maxViewDimension/viewportBoundsRange

Partial fix for Vulkan CTS issue _344

Change-Id: Ia1d31ec9f460341819567906ef548db1f94264fe

8 years agoAdd checks for bitmap limits in VkPhysicalDeviceLimits
David Sodman [Mon, 4 Apr 2016 22:53:12 +0000 (15:53 -0700)]
Add checks for bitmap limits in VkPhysicalDeviceLimits

Partial fix for Khronos Vulkan CTS issue _344

Change-Id: Ia82328c84c68f28cea22f0af50a1e2c5191299f8

8 years agoAdd sanity checking of API version
David Sodman [Tue, 5 Apr 2016 02:16:24 +0000 (19:16 -0700)]
Add sanity checking of API version

Bug: 27640790

Change-Id: I8b4d1b9311908ef3591ec20f34996a2e68384410

8 years agoAdd runtime estimates for the CTS v2 integration
Kalle Raita [Tue, 5 Apr 2016 00:09:44 +0000 (17:09 -0700)]
Add runtime estimates for the CTS v2 integration

Bug: 22230380
Change-Id: I2e05765708fb7c952d48aba87ab1d7ead0bbd865

8 years agoMerge "Add test case for discontinuous sampler bindings" into nyc-dev am: 3e85d09
David Sodman [Tue, 5 Apr 2016 04:36:19 +0000 (04:36 +0000)]
Merge "Add test case for discontinuous sampler bindings" into nyc-dev am: 3e85d09
am: 7d9c26d

* commit '7d9c26dd3cc2d92a31d4dee3004313f16860b1b1':
  Add test case for discontinuous sampler bindings

Change-Id: I5752020f97bcd04d034c30693ed792737c99131b

8 years agoMerge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc...
David Sodman [Tue, 5 Apr 2016 04:36:19 +0000 (04:36 +0000)]
Merge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev am: 8142b85
am: 6296bab

* commit '6296bab306cb736d18de3d0aedf8697628b40b91':
  Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT

Change-Id: I69129b2dd3d859a9df71778114a71cc6f5a9bbd4

8 years agoMerge "Add test case for discontinuous sampler bindings" into nyc-dev
David Sodman [Tue, 5 Apr 2016 04:33:52 +0000 (04:33 +0000)]
Merge "Add test case for discontinuous sampler bindings" into nyc-dev
am: 3e85d09

* commit '3e85d09d72e17a3cd6bbd84f0365cbe7f43fad81':
  Add test case for discontinuous sampler bindings

Change-Id: I76cb38bedfd974afdd8fda9e461bce2629ebf050

8 years agoMerge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev
David Sodman [Tue, 5 Apr 2016 04:33:51 +0000 (04:33 +0000)]
Merge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev
am: 8142b85

* commit '8142b85521f3dd34cdbabc066e7a24f1634fb3ca':
  Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT

Change-Id: Idfb2ca342921926d9005bf7f4115df377f57f90f

8 years agoMerge "Add test case for discontinuous sampler bindings" into nyc-dev
David Sodman [Tue, 5 Apr 2016 04:30:08 +0000 (04:30 +0000)]
Merge "Add test case for discontinuous sampler bindings" into nyc-dev

8 years agoMerge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev
David Sodman [Tue, 5 Apr 2016 04:29:50 +0000 (04:29 +0000)]
Merge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev

8 years agoMerge "Add --deqp-validation=enable/disable option" into nyc-dev am: 72f417a
Pyry Haulos [Mon, 4 Apr 2016 22:56:57 +0000 (22:56 +0000)]
Merge "Add --deqp-validation=enable/disable option" into nyc-dev am: 72f417a
am: 60c7142

* commit '60c714289579ba632dbfcf6aca7ee76316e55d47':
  Add --deqp-validation=enable/disable option

Change-Id: I7f24c274a085d4d134bfe6085b9e4754b72e1940

8 years agoMerge "Add --deqp-validation=enable/disable option" into nyc-dev
Pyry Haulos [Mon, 4 Apr 2016 22:54:14 +0000 (22:54 +0000)]
Merge "Add --deqp-validation=enable/disable option" into nyc-dev
am: 72f417a

* commit '72f417a4e68cd9dbc7b85e710c04dbf9a4009086':
  Add --deqp-validation=enable/disable option

Change-Id: I3547ef21ec9cd3dd92cdd79347c7719eabb6f090

8 years agoMerge "Add --deqp-validation=enable/disable option" into nyc-dev
Pyry Haulos [Mon, 4 Apr 2016 22:43:53 +0000 (22:43 +0000)]
Merge "Add --deqp-validation=enable/disable option" into nyc-dev

8 years agoAdd checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
David Sodman [Mon, 4 Apr 2016 01:17:53 +0000 (18:17 -0700)]
Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT

Fixes Vulkan CTS issue _349

Change-Id: Ia6ad980f701a05f49b6864983217f02182143c0c

8 years agoAdd test case for discontinuous sampler bindings
David Sodman [Sun, 20 Mar 2016 16:51:28 +0000 (09:51 -0700)]
Add test case for discontinuous sampler bindings

BUG:27527648

Change-Id: Ib21d6dc1627b621e07b593bc2f5a01e136443a4f

8 years agoMerge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev am: fd7bffb
Pyry Haulos [Mon, 4 Apr 2016 21:11:42 +0000 (21:11 +0000)]
Merge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev am: fd7bffb
am: 7ae9141

* commit '7ae91415bf099d55d80543a3cd108c6ba4232d13':
  Change license in vkDebugReportUtil.cpp/hpp

Change-Id: Icdbd86d3c6541dc4f3a1dbad04fc9a1e3ce3e1cb

8 years agoMerge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev
Pyry Haulos [Mon, 4 Apr 2016 21:09:15 +0000 (21:09 +0000)]
Merge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev
am: fd7bffb

* commit 'fd7bffb6461765c2cffd221d01be08cc160eda87':
  Change license in vkDebugReportUtil.cpp/hpp

Change-Id: Ie906f172ace4f532f03af59e65bbb7a9b27500ca

8 years agoMerge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev
Pyry Haulos [Mon, 4 Apr 2016 20:59:30 +0000 (20:59 +0000)]
Merge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev

8 years agoMerge "Allow alternative form for refract()." into nyc-dev am: f492a25
Mika Isojarvi [Mon, 4 Apr 2016 20:26:15 +0000 (20:26 +0000)]
Merge "Allow alternative form for refract()." into nyc-dev am: f492a25
am: 4abf3cc

* commit '4abf3cccc7f6672bb649276de5ca4433cc0b969b':
  Allow alternative form for refract().

Change-Id: I75818af88e94ac2a4b1a865d33c4c8bb11a761fa

8 years agoMerge "Remove negative compressed cube map array test." into nyc-dev am: 695df7f
Mika Isojarvi [Mon, 4 Apr 2016 20:26:15 +0000 (20:26 +0000)]
Merge "Remove negative compressed cube map array test." into nyc-dev am: 695df7f
am: 4dbce56

* commit '4dbce56a3a1971dd18774790efd2e82ff79f5bdb':
  Remove negative compressed cube map array test.

Change-Id: If9de59f8346b7d912de71b1b300b9a58d4b8ed1b

8 years agoMerge "Allow alternative form for refract()." into nyc-dev
Mika Isojärvi [Mon, 4 Apr 2016 20:23:18 +0000 (20:23 +0000)]
Merge "Allow alternative form for refract()." into nyc-dev
am: f492a25

* commit 'f492a25430bc9d306c8b4a6a8149c5d6c578be17':
  Allow alternative form for refract().

Change-Id: I380e7056a6ab57e7928c1e392603941985450723

8 years agoMerge "Remove negative compressed cube map array test." into nyc-dev
Mika Isojärvi [Mon, 4 Apr 2016 20:23:18 +0000 (20:23 +0000)]
Merge "Remove negative compressed cube map array test." into nyc-dev
am: 695df7f

* commit '695df7f67dab3709eea476d7aaa3a724500315bb':
  Remove negative compressed cube map array test.

Change-Id: I0d3e2a372613e97be34235ebd31232e5b1bcd0ba

8 years agoMerge "Allow alternative form for refract()." into nyc-dev
Mika Isojarvi [Mon, 4 Apr 2016 20:14:45 +0000 (20:14 +0000)]
Merge "Allow alternative form for refract()." into nyc-dev

8 years agoMerge "Remove negative compressed cube map array test." into nyc-dev
Mika Isojarvi [Mon, 4 Apr 2016 20:14:41 +0000 (20:14 +0000)]
Merge "Remove negative compressed cube map array test." into nyc-dev

8 years agoAdd --deqp-validation=enable/disable option
Pyry Haulos [Tue, 29 Mar 2016 00:35:44 +0000 (17:35 -0700)]
Add --deqp-validation=enable/disable option

Specifying --deqp-validation=enable when running Vulkan tests will
result in:

1) vkt::TestCaseExecutor will create debug report callback on default
instance. Any debug messages reported during test execution will be
included as a separate log section in the test log.

2) vkt::Context will enable known validation layers on both default
instance as well as default device.

If any errors are reported (for example validation errors) test result
will be set to InternalError.

Change-Id: Icc89a3f57f0c19170988d7b518fe6b24dcf3df6e

8 years agoMerge in changes from Khronos Vulkan CTS repository am: 0c99420
Pyry Haulos [Mon, 4 Apr 2016 19:31:31 +0000 (19:31 +0000)]
Merge in changes from Khronos Vulkan CTS repository am: 0c99420
am: 878f268

* commit '878f2683c5034b9087643ead9a234ebb089c1cfa':
  Compiler warning fix.
  Change Vulkan CTS license to Apache 2
  Fix malformed copyright boxes
  Change Vulkan CTS license to Apache 2
  Fix malformed copyright boxes
  Exclude new tests from Khronos Vulkan CTS mustpass
  Remove invalid Invocations=0 from geometry shaders.
  vktApiDeviceInitializationTests patch iteration added
  Fix createOpUndef tests.

Change-Id: Ie76a0932b286d167b6e4fb8a8c5d0d1a944f21b7

8 years agoMerge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Mon, 4 Apr 2016 19:28:35 +0000 (19:28 +0000)]
Merge in changes from Khronos Vulkan CTS repository
am: 0c99420

* commit '0c99420d7150a677813efce453c33295679ac495':
  Compiler warning fix.
  Change Vulkan CTS license to Apache 2
  Fix malformed copyright boxes
  Change Vulkan CTS license to Apache 2
  Fix malformed copyright boxes
  Exclude new tests from Khronos Vulkan CTS mustpass
  Remove invalid Invocations=0 from geometry shaders.
  vktApiDeviceInitializationTests patch iteration added
  Fix createOpUndef tests.
  LOCAL_COMPATIBILITY_SUPPORT_FILES relative to $(TOP).

Change-Id: I89bb42afb6407f824eddaa59241db4bba59fc5e5

8 years agoChange license in vkDebugReportUtil.cpp/hpp
Pyry Haulos [Mon, 4 Apr 2016 19:23:49 +0000 (12:23 -0700)]
Change license in vkDebugReportUtil.cpp/hpp

This follows Khronos' decision to re-license Vulkan CTS under Apache 2.

Change-Id: I73b0eff6755dab1e8fe675eaec7252c6dd94b115

8 years agoMerge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Mon, 4 Apr 2016 19:18:34 +0000 (12:18 -0700)]
Merge in changes from Khronos Vulkan CTS repository

Khronos CTS license has been changed to Apache 2.

Includes various bugfixes to Vulkan tests.

8 years agoMerge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Pyry Haulos [Mon, 4 Apr 2016 19:15:43 +0000 (12:15 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev

8 years agoMerge branch 'change-license-dev' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Mon, 4 Apr 2016 19:14:55 +0000 (19:14 +0000)]
Merge branch 'change-license-dev' into 'vulkan-cts-1.0-dev'

Change license in development branch

See merge request !482

8 years agoMerge branch 'change-license-rel' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 4 Apr 2016 19:14:31 +0000 (19:14 +0000)]
Merge branch 'change-license-rel' into 'vulkan-cts-1.0'

Change license in release branch

See merge request !481

8 years agoMerge branch 'compiler-warning-fix' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Mon, 4 Apr 2016 18:08:21 +0000 (18:08 +0000)]
Merge branch 'compiler-warning-fix' into 'vulkan-cts-1.0-dev'

Compiler warning fix.

See merge request !492

8 years agoAllow alternative form for refract().
Mika Isojärvi [Fri, 25 Mar 2016 17:04:08 +0000 (10:04 -0700)]
Allow alternative form for refract().

Bug: 27266906
Change-Id: Ib24c8d065d922a987feb0271f397d83b837ae936

8 years agoMerge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev am: 431c1bf
Mika Isojärvi [Mon, 4 Apr 2016 17:21:09 +0000 (17:21 +0000)]
Merge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev am: 431c1bf
am: b1e3284

* commit 'b1e32845c7a95cf2f4b5cd59f7ddaa3c655da626':
  Remove test from mustpass due lod computation issues
  Remove array layout location tests due to spec issue.
  Remove out of range border clamp tests due to spec issue

Change-Id: Ifc5facd7d52d8091673ee805b08a81e6c27c60b1

8 years agoMerge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev
Mika Isojärvi [Mon, 4 Apr 2016 17:17:42 +0000 (17:17 +0000)]
Merge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev
am: 431c1bf

* commit '431c1bf8cb19f7d30bd935eeae667190ef002548':
  Remove test from mustpass due lod computation issues
  Remove array layout location tests due to spec issue.
  Remove out of range border clamp tests due to spec issue

Change-Id: I1c3857b1724abe7b5aa2ae08bdc002359aa9dd35

8 years agoRemove negative compressed cube map array test.
Mika Isojärvi [Fri, 1 Apr 2016 21:43:49 +0000 (14:43 -0700)]
Remove negative compressed cube map array test.

There are no compressed texture formats that wouldn't support cube map arrays.

Bug: 27124142
Change-Id: I018da78820b961da6f9914b37efd69e1f2c2e334

8 years agoMerge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev
Mika Isojarvi [Mon, 4 Apr 2016 17:11:33 +0000 (17:11 +0000)]
Merge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev

* changes:
  Remove test from mustpass due lod computation issues
  Remove array layout location tests due to spec issue.
  Remove out of range border clamp tests due to spec issue

8 years agoFix non-square cube image faces in dEQP-VK.image.atomic_operations.*.cube* tests
scygan [Mon, 4 Apr 2016 14:17:12 +0000 (16:17 +0200)]
Fix non-square cube image faces in dEQP-VK.image.atomic_operations.*.cube* tests

8 years agoImplement ITestCollector for DeqpTestRunner am: 776eb84
Kalle Raita [Fri, 1 Apr 2016 23:56:21 +0000 (23:56 +0000)]
Implement ITestCollector for DeqpTestRunner am: 776eb84
am: 29549fa

* commit '29549fa1a366323fa1366be3515b935b114a4daf':
  Implement ITestCollector for DeqpTestRunner

Change-Id: I7bed3a970c840784209488c641ad3d068bf5247d

8 years agoImplement ITestCollector for DeqpTestRunner
Kalle Raita [Fri, 1 Apr 2016 23:51:32 +0000 (23:51 +0000)]
Implement ITestCollector for DeqpTestRunner
am: 776eb84

* commit '776eb8464b1f89d978badf35cc994f6b9fb3b16e':
  Implement ITestCollector for DeqpTestRunner

Change-Id: I82d28444b774bcedc48ea294ec06359a72bc65ef

8 years agoImplement ITestCollector for DeqpTestRunner
Kalle Raita [Fri, 1 Apr 2016 21:56:37 +0000 (14:56 -0700)]
Implement ITestCollector for DeqpTestRunner

Bug: 27614481
Change-Id: I2cc74c953361b85f943394986696d0123baf7b0b

8 years agoUse ETC2 format instead of ASTC format in negative texture tests am: 7bf1b81
Mika Isojärvi [Fri, 1 Apr 2016 17:10:17 +0000 (17:10 +0000)]
Use ETC2 format instead of ASTC format in negative texture tests am: 7bf1b81
am: c06edad

* commit 'c06edada4f4a7f00214227b2e67b10d25df9b883':
  Use ETC2 format instead of ASTC format in negative texture tests

Change-Id: Iab31b8315b3f7abf612578db9f6b6e6b072841e9

8 years agoUse ETC2 format instead of ASTC format in negative texture tests
Mika Isojrvi [Fri, 1 Apr 2016 17:05:57 +0000 (17:05 +0000)]
Use ETC2 format instead of ASTC format in negative texture tests
am: 7bf1b81

* commit '7bf1b814b0216c9793c353fdee3bf295ef9603f2':
  Use ETC2 format instead of ASTC format in negative texture tests

Change-Id: I41f3a1808b1b4cd5beb0122f7d0a7487df258474

8 years agoRemove test from mustpass due lod computation issues
Mika Isojärvi [Thu, 31 Mar 2016 22:23:07 +0000 (15:23 -0700)]
Remove test from mustpass due lod computation issues

Bug: 27535731
Change-Id: I3f12c9ccd42a66d41ca90bff93a40a9dbe0ca645

8 years agoCompiler warning fix.
Csaba Osztrogonác [Fri, 1 Apr 2016 11:57:01 +0000 (13:57 +0200)]
Compiler warning fix.

8 years agoVarious fixes for synchronization tests:
Dae Kim [Fri, 1 Apr 2016 09:25:36 +0000 (10:25 +0100)]
Various fixes for synchronization tests:

- Tests were not querying the available queueCount in the queue family properties.
- Tests were using the "universal" queue family index when the device created in createTestDevice() could be using queries belonging to a different family index.
- 3D image view was being used with a 2D image.
- Command buffer Deleter was not holding any reference to the command pool.

- Fences tests:
    * Fence status VK_NOT_READY was expected between queueSubmit() and waitForFences(). Status could be VK_SUCCESS if the work finishes before waitForFences().
    * It seems that the first waitForFences() was intended for multiple fences, but it was waiting for one of the fences only.
    * Added check for default status of fence[1] (unsignaled).

- Code style:
    * DE_NULL was being used as a boolean parameter in createFences()
    * Use VkResult names instead of error codes in the error messages.
    * Fixed some typos and indentation.

8 years agoRemove array layout location tests due to spec issue.
Mika Isojärvi [Thu, 31 Mar 2016 22:16:38 +0000 (15:16 -0700)]
Remove array layout location tests due to spec issue.

Bug: 27834911
Change-Id: Ibd8fb8f28ae20de1877c13dca35988d0f5cd5e5a