platform/upstream/VK-GL-CTS.git
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 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: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: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 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 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

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 agoFix issues in synchronization.fences am: 3241ee1
Pyry Haulos [Mon, 11 Apr 2016 20:39:41 +0000 (20:39 +0000)]
Fix issues in synchronization.fences am: 3241ee1
am: bf9d049

* commit 'bf9d049bedc1187fd155249e58aeab9a19f6dda8':
  Fix issues in synchronization.fences

Change-Id: If9b85ad6766f4aaaf12da423c1ee14bed0ab3fbd

8 years agoFix issues in synchronization.fences
Pyry Haulos [Mon, 11 Apr 2016 20:34:23 +0000 (20:34 +0000)]
Fix issues in synchronization.fences
am: 3241ee1

* commit '3241ee1a924df7b5c25b865fe05a278db90e2f26':
  Fix issues in synchronization.fences

Change-Id: I4213a74afd63b30cfdaf99dc1ce9902c8b2c8a6d

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 am: 006fe19
Pyry Haulos [Mon, 11 Apr 2016 16:35:39 +0000 (16:35 +0000)]
Merge "Improve VK_MAKE_VERSION and VK_BIT macros" into nyc-dev am: 006fe19
am: a700fab

* commit 'a700fab5783fb7740f05ee18699a74a0ceee4c56':
  Improve VK_MAKE_VERSION and VK_BIT macros

Change-Id: I71e5ceed483a4fa7f6efd92300fc1371a9ea3c90

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

* commit '006fe19757c786aa3986e57da9ec3ef52ef75ff2':
  Improve VK_MAKE_VERSION and VK_BIT macros

Change-Id: Ie58e0abadca395447e1f37e80ef353b29c0eed89

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 am: e1c768b
Pyry Haulos [Mon, 11 Apr 2016 15:53:45 +0000 (15:53 +0000)]
Merge bugfixes from Khronos repository am: e1c768b
am: 4a7db57

* commit '4a7db57e0ccc298ee50fa9dc8a8c57a13c5dd021':
  Extend feature and limit query validation
  Add missing memory barrier to draw tests.
  Use larger threshold for EAC formats in sampler tests
  Remove test affected by cube corner texel selection issue
  Fix int->float conversion warning
  Update Vulkan framework to API 1.0.5
  Fix non-square cube image faces in dEQP-VK.image.atomic_operations.*.cube* tests
  Various fixes for synchronization tests:

Change-Id: If137fec3da91e448bd8fa8b96088624ed2387f58

8 years agoMerge bugfixes from Khronos repository
Pyry Haulos [Mon, 11 Apr 2016 15:48:50 +0000 (15:48 +0000)]
Merge bugfixes from Khronos repository
am: e1c768b

* commit 'e1c768b9fea220809ff2123edd382491eea6ca69':
  Extend feature and limit query validation
  Add missing memory barrier to draw tests.
  Use larger threshold for EAC formats in sampler tests
  Remove test affected by cube corner texel selection issue
  Fix int->float conversion warning
  Update Vulkan framework to API 1.0.5
  Fix non-square cube image faces in dEQP-VK.image.atomic_operations.*.cube* tests
  Various fixes for synchronization tests:

Change-Id: I90977fc06014af05ca60102612383b4a67b050b4

8 years agoBug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.
Arkadiusz Sarwa [Mon, 11 Apr 2016 13:30:40 +0000 (15:30 +0200)]
Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.

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

* commit '45bb976a4d99cbbe72a78a0331f230715a153a3c':
  Add rendering verification to dEQP-VK.api.smoke.*triangle

Change-Id: I0615b7f2ad6549e04f786ab99f483bd3d1ddff80

8 years agoFix typo in log message am: 3915b8d
Pyry Haulos [Sun, 10 Apr 2016 18:07:54 +0000 (18:07 +0000)]
Fix typo in log message am: 3915b8d
am: 00dcab4

* commit '00dcab4d017a831a2c6e922a4892196006e3a69f':
  Fix typo in log message

Change-Id: I022de88d74112827d622eb5d010c29120ced5d7c

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 "Add rendering verification to dEQP-VK.api.smoke.*triangle" into nyc-dev
Pyry Haulos [Sun, 10 Apr 2016 18:03:44 +0000 (18:03 +0000)]
Merge "Add rendering verification to dEQP-VK.api.smoke.*triangle" into nyc-dev
am: d8e1532

* commit 'd8e15324f7f20accbe003fb7242aa327d9725649':
  Add rendering verification to dEQP-VK.api.smoke.*triangle

Change-Id: Ie3914a9221ebb683e31c75d9f52aaebf5bc6bcec

8 years agoFix typo in log message
Pyry Haulos [Sun, 10 Apr 2016 18:03:44 +0000 (18:03 +0000)]
Fix typo in log message
am: 3915b8d

* commit '3915b8d8919cd5e980e7d8a5cedb44227f09ea76':
  Fix typo in log message

Change-Id: Ibcd804aae42da1fe3134ad75d65b1fac97dc013f

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 am: 716bef7
Pyry Haulos [Sat, 9 Apr 2016 23:47:38 +0000 (23:47 +0000)]
Merge "Fix a few style issues in rrShaders.hpp" into nyc-dev am: 716bef7
am: b855f9e

* commit 'b855f9e005ef35722c4cfb8a429de1028538346b':
  Fix a few style issues in rrShaders.hpp

Change-Id: I542cfe2153bf28c1677737a172fdc4c589e3e5b9

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

* commit '716bef79e111799b71927a9b73b5032b534ed919':
  Fix a few style issues in rrShaders.hpp

Change-Id: I98d5aaa70b25540036632a20e5968045bf69f5ff

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 agodEQP-VK.memory.pipeline_barrier.*: memory leak: delete render pass commands.
Dae Kim [Fri, 8 Apr 2016 10:08:05 +0000 (11:08 +0100)]
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.

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

* commit '2b152d846d4436b3bea00fe6cad6c2bbaac2e147':
  Limit flush and invalidation to mapped memory range

Change-Id: Ifae0c1917f5ec78ecbe4f246b0435639caa36340

8 years agoMerge "Limit flush and invalidation to mapped memory range" into nyc-dev
Mika Isojärvi [Fri, 8 Apr 2016 00:32:15 +0000 (00:32 +0000)]
Merge "Limit flush and invalidation to mapped memory range" into nyc-dev
am: 05a0857

* commit '05a08573c71d15ae456ada3065844b7e394e0ce9':
  Limit flush and invalidation to mapped memory range

Change-Id: I6f7fd848eb5a682704fd7e433549005f7b471b06

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 agoMerge "Actually enable VK_KHR_swapchain in WSI swapchain tests" into nyc-dev am:...
Pyry Haulos [Fri, 8 Apr 2016 00:25:43 +0000 (00:25 +0000)]
Merge "Actually enable VK_KHR_swapchain in WSI swapchain tests" into nyc-dev am: c82adce
am: 5cdf141

* commit '5cdf141060dc4f94bb35b115ddd872acbabc7842':
  Actually enable VK_KHR_swapchain in WSI swapchain tests

Change-Id: I935d2743a2eb9c0483f16399407faa50d9300a72

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

* commit 'c82adce9f7c21fb2b3f0e64abe77a635090a18d6':
  Actually enable VK_KHR_swapchain in WSI swapchain tests

Change-Id: I5a377ada7a5a5fcc7010a49ecc8299aa8524a246

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 am: da4c4a4
Mika Isojarvi [Thu, 7 Apr 2016 23:40:31 +0000 (23:40 +0000)]
Merge "Mask compared bits in atomic operation tests." into nyc-dev am: da4c4a4
am: d934c7a

* commit 'd934c7a0ca841fc4eab3b827fb5e7197b18e3849':
  Mask compared bits in atomic operation tests.

Change-Id: I37df51f4ba2cdfa6bb4a9781e910063c022ad35e

8 years agoMerge "Return false from Vulkan validation callback" into nyc-dev am: bd34d7e
Mika Isojarvi [Thu, 7 Apr 2016 23:40:31 +0000 (23:40 +0000)]
Merge "Return false from Vulkan validation callback" into nyc-dev am: bd34d7e
am: 43c90e2

* commit '43c90e2183cab65e38e0711baee2aaa29d102b61':
  Return false from Vulkan validation callback

Change-Id: I409b20c89a1c592b4b9cece6480088068e39e004

8 years agoMerge "Mask compared bits in atomic operation tests." into nyc-dev
Mika Isojärvi [Thu, 7 Apr 2016 23:37:02 +0000 (23:37 +0000)]
Merge "Mask compared bits in atomic operation tests." into nyc-dev
am: da4c4a4

* commit 'da4c4a4c3c7c9534ccee8e4a754bf026a8bd2c09':
  Mask compared bits in atomic operation tests.

Change-Id: I4a22dde696eeac587452273378f486b2aff16609

8 years agoMerge "Return false from Vulkan validation callback" into nyc-dev
Mika Isojärvi [Thu, 7 Apr 2016 23:37:02 +0000 (23:37 +0000)]
Merge "Return false from Vulkan validation callback" into nyc-dev
am: bd34d7e

* commit 'bd34d7ebd4bca8f649ce95d5dd6e10765405caaf':
  Return false from Vulkan validation callback

Change-Id: I0da11e0be44d06aea57c00cf6d1356937871e353

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 agoValidate that VkImageFormatProperties fields are set to 0 am: b739653
Pyry Haulos [Thu, 7 Apr 2016 21:30:21 +0000 (21:30 +0000)]
Validate that VkImageFormatProperties fields are set to 0 am: b739653
am: 91cf503

* commit '91cf503cd413a84960fc92a055fe9ba8b47feb1d':
  Validate that VkImageFormatProperties fields are set to 0

Change-Id: I142ba9d7a0821dcc9485123127a33687df404cd9

8 years agoValidate that VkImageFormatProperties fields are set to 0
Pyry Haulos [Thu, 7 Apr 2016 21:26:37 +0000 (21:26 +0000)]
Validate that VkImageFormatProperties fields are set to 0
am: b739653

* commit 'b739653d43482a57dbfb9308d4c682826f578e6e':
  Validate that VkImageFormatProperties fields are set to 0

Change-Id: I8a85f0122b9722a913dbaaf16a47356a96b7b25b

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 am: 86a8ae9
Pyry Haulos [Thu, 7 Apr 2016 18:17:13 +0000 (18:17 +0000)]
Remove instances of pDynamicState->dynamicStateCount = 0 am: 86a8ae9
am: 958017b

* commit '958017b6d5aeb58ce6e627995430bf4d0bfd8d61':
  Remove instances of pDynamicState->dynamicStateCount = 0

Change-Id: Ie6addc2329c202b6eebaba9d7666a3c8b7ce5835

8 years agoRemove instances of pDynamicState->dynamicStateCount = 0
Pyry Haulos [Thu, 7 Apr 2016 18:12:57 +0000 (18:12 +0000)]
Remove instances of pDynamicState->dynamicStateCount = 0
am: 86a8ae9

* commit '86a8ae9e0d61bbfe1f1e273fdbb026369bdb5f29':
  Remove instances of pDynamicState->dynamicStateCount = 0

Change-Id: I9e458534a771c93ba4a8239531dae36338c9e065

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