platform/upstream/VK-GL-CTS.git
8 years agoMerge branch 334-resolve-image-tests into vulkan-cts-1.0-dev
Pyry Haulos [Mon, 13 Jun 2016 17:07:18 +0000 (10:07 -0700)]
Merge branch 334-resolve-image-tests into vulkan-cts-1.0-dev

8 years agoAdd OpAtomicIAdd, OpAtomicISub, OpAtomicIIncrement and OpAtomicIDecrement assembly...
Csaba Osztrogonác [Tue, 17 May 2016 14:02:34 +0000 (16:02 +0200)]
Add OpAtomicIAdd, OpAtomicISub, OpAtomicIIncrement and OpAtomicIDecrement assembly tests

8 years agoFix after review and validation layer errors
Szilard Ledan [Fri, 3 Jun 2016 14:30:10 +0000 (16:30 +0200)]
Fix after review and validation layer errors

8 years agoAdd tests for resolve images
Szilard Ledan [Mon, 29 Feb 2016 09:32:23 +0000 (10:32 +0100)]
Add tests for resolve images

8 years agoMerge branch 'jekstrand-spirv-assembly-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:37:24 +0000 (18:37 +0000)]
Merge branch 'jekstrand-spirv-assembly-fixes' into 'vulkan-cts-1.0-dev'

spirv_assembly: Don't use booleans in SSBOs

The bool type in spirv isn't allowed in external storage.  From the SPIR-V
spec for OpTypeBool:

> Values of this type can only be either true or false. There is no
> physical size or bit pattern defined for these values. If they are
> stored (in conjunction with OpVariable), they can only be used with
> logical addressing operations, not physical, and only with
> non-externally visible shader Storage Classes: Workgroup,
> CrossWorkgroup, Private, and Function.

Instead, we should use an integer and use OpSelect to convert from a
boolean to the expected 0/1 value the test wants.

See merge request !569

8 years agoMerge branch 'jekstrand-rasterization-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:36:08 +0000 (18:36 +0000)]
Merge branch 'jekstrand-rasterization-fixes' into 'vulkan-cts-1.0-dev'

rasterization: Use LOAD_OP_DONT_CARE for the resolve attachment

It used to use LOAD_OP_CLEAR for the resolve attachment but only provided
one clear value which led to an out-of-bounds read.

See merge request !571

8 years agoMerge branch 'jekstrand-clearing-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:35:46 +0000 (18:35 +0000)]
Merge branch 'jekstrand-clearing-fixes' into 'vulkan-cts-1.0-dev'

image_clearing: Don't set a component mapping for the view to be cleared

From the Vulkan 1.0.12 spec for VkComponentMapping:

> This remapping must be identity for storage image descriptors, input
> attachment descriptors, and framebuffer attachments.

This fixes 6 CTS tests on the Intel Linux driver.

See merge request !568

8 years agoMerge branch 'scygan-update-glslang' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:34:51 +0000 (18:34 +0000)]
Merge branch 'scygan-update-glslang' into 'vulkan-cts-1.0-dev'

Update glslang to (5b3f755) to include struct member decorations fix

This fixes #384

CC @mjesionowski

See merge request !561 and !558.

8 years agospirv_assembly: Use deInt32 instead of VkBool32 for OpFUnord* tests
Jason Ekstrand [Thu, 2 Jun 2016 18:25:00 +0000 (11:25 -0700)]
spirv_assembly: Use deInt32 instead of VkBool32 for OpFUnord* tests

8 years agorasterization: Use LOAD_OP_DONT_CARE for the resolve attachment
Jason Ekstrand [Wed, 1 Jun 2016 21:04:26 +0000 (14:04 -0700)]
rasterization: Use LOAD_OP_DONT_CARE for the resolve attachment

It used to use LOAD_OP_CLEAR for the resolve attachment but only provided
one clear value which led to an out-of-bounds read.

8 years agoUpdate glslang to (22e0d414) to include struct member and in/out struct decorations...
scygan [Wed, 18 May 2016 10:59:59 +0000 (12:59 +0200)]
Update glslang to (22e0d414) to include struct member and in/out struct decorations fixes

This unblocks MR !558

8 years agospirv_assembly: Don't use booleans in SSBOs
Jason Ekstrand [Tue, 31 May 2016 22:49:29 +0000 (15:49 -0700)]
spirv_assembly: Don't use booleans in SSBOs

The bool type in spirv isn't allowed in external storage.  From the SPIR-V
spec for OpTypeBool:

    "Values of this type can only be either true or false. There is no
    physical size or bit pattern defined for these values. If they are
    stored (in conjunction with OpVariable), they can only be used with
    logical addressing operations, not physical, and only with
    non-externally visible shader Storage Classes: Workgroup,
    CrossWorkgroup, Private, and Function."

Instead, we should use an integer and use OpSelect to convert from a
boolean to the expected 0/1 value the test wants.

8 years agoimage_clearing: Don't set a component mapping for the view to be cleared
Jason Ekstrand [Tue, 31 May 2016 18:42:02 +0000 (11:42 -0700)]
image_clearing: Don't set a component mapping for the view to be cleared

From the Vulkan 1.0.12 spec for VkComponentMapping:

    "This remapping must be identity for storage image descriptors, input
    attachment descriptors, and framebuffer attachments."

This fixes 6 CTS tests on the Intel Linux driver.

8 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 31 May 2016 16:31:25 +0000 (09:31 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

8 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 31 May 2016 16:29:45 +0000 (09:29 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

8 years agoMerge branch 'memory-release-fix' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 31 May 2016 16:27:30 +0000 (16:27 +0000)]
Merge branch 'memory-release-fix' into 'vulkan-cts-1.0'

Use TCU_CHECK instead of DE_ASSERT

DE_ASSERT is optimized away in release build. In this case it resulted
in the 'modifyXor' function not being called, causing the reference
memory to go out of sync with the actual memory. Follow up to the fix
for #353.

See merge request !566

8 years agoUse TCU_CHECK instead of DE_ASSERT
Sivert Berg [Tue, 31 May 2016 12:37:57 +0000 (14:37 +0200)]
Use TCU_CHECK instead of DE_ASSERT

DE_ASSERT is optimized away in release build. In this case it resulted
in the 'modifyXor' function not being called, causing the reference
memory to go out of sync with the actual memory.

8 years agoFixes to random memory mapping tests am: 223b8f6911 am: c277f941dd
Mika Isojrvi [Sat, 28 May 2016 00:37:59 +0000 (00:37 +0000)]
Fixes to random memory mapping tests am: 223b8f6911 am: c277f941dd
am: 2996c7f493

* commit '2996c7f4933ff1272451e5545fc47f43f0cf367d':

Change-Id: Id1462b89bb79e8e3895742e5c5b1b600f472109b

8 years agoFixes to random memory mapping tests am: 223b8f6911 am: 1dd022e33d
Mika Isojrvi [Sat, 28 May 2016 00:37:57 +0000 (00:37 +0000)]
Fixes to random memory mapping tests am: 223b8f6911 am: 1dd022e33d
am: 1c7af2b568

* commit '1c7af2b568ab1ef38199a2a9587efad98a259b26':
  Fixes to random memory mapping tests

Change-Id: If5e5ff9189d03f3d09a4594f566b2795ce400cf9

8 years agoFixes to random memory mapping tests am: 223b8f6911
Mika Isojärvi [Sat, 28 May 2016 00:11:52 +0000 (00:11 +0000)]
Fixes to random memory mapping tests am: 223b8f6911
am: c277f941dd

* commit 'c277f941dd00ab3f9cd0d7aff3028f5c18a5ebb5':

Change-Id: I38c50df26568d40cfb928ab88194deec03e97554

8 years agoFixes to random memory mapping tests am: 223b8f6911
Mika Isojärvi [Sat, 28 May 2016 00:09:09 +0000 (00:09 +0000)]
Fixes to random memory mapping tests am: 223b8f6911
am: 1dd022e33d

* commit '1dd022e33d0ead6fa4e3761a12be2b013a79f91b':
  Fixes to random memory mapping tests

Change-Id: I7761467d2692a1fd4832047d677de011f5591f7a

8 years agoFixes to random memory mapping tests
Mika Isojrvi [Sat, 28 May 2016 00:04:04 +0000 (00:04 +0000)]
Fixes to random memory mapping tests
am: 223b8f6911

* commit '223b8f6911719df9863119197c12106db5dc0abc':
  Fixes to random memory mapping tests

Change-Id: I15e35517169216977eaa6f62b2ce4cbf9bdfc45e

8 years agoFixes to random memory mapping tests
Mika Isojrvi [Sat, 28 May 2016 00:04:03 +0000 (00:04 +0000)]
Fixes to random memory mapping tests
am: 223b8f6911

* commit '223b8f6911719df9863119197c12106db5dc0abc':
  Fixes to random memory mapping tests

Change-Id: Ia94be0fac2b283df0954596d5fa006b3a8416181

8 years agoMerge "De-duplicate utility code between some Vulkan test groups"
Pyry Haulos [Fri, 27 May 2016 23:57:38 +0000 (23:57 +0000)]
Merge "De-duplicate utility code between some Vulkan test groups"

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c am: 0257d9458a
Mika Isojrvi [Fri, 27 May 2016 23:17:05 +0000 (23:17 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c am: 0257d9458a
am: 508ae6d9f1

* commit '508ae6d9f1d37335b4c286b6d46a40e4d2f10b8a':

Change-Id: I0134a429f69897af6d70b73f2e472260d87cc495

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c am: 46e8192cb1
Mika Isojrvi [Fri, 27 May 2016 23:17:04 +0000 (23:17 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c am: 46e8192cb1
am: 4305224b1c

* commit '4305224b1c8d49fce6b323b6dbc0c31fe6bae01f':
  Flush changes before invalidate in memory mapping tests

Change-Id: I8a66f7d2426992d8148315ac351fc77afb76fc46

8 years agoFix several issues in dEQP-VK.memory.mapping tests
Pyry Haulos [Fri, 27 May 2016 23:03:46 +0000 (16:03 -0700)]
Fix several issues in dEQP-VK.memory.mapping tests

This is a very manual cherry-pick of memory mapping test fixes from
development branch into the release branch.

Fixes #353

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c
Mika Isojärvi [Fri, 27 May 2016 22:55:39 +0000 (22:55 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c
am: 0257d9458a

* commit '0257d9458a73c0fc24bec89ba60b353b312c8de3':

Change-Id: I8850f380084125039d5ef0edd34ea650877bacd3

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 22:53:08 +0000 (22:53 +0000)]
Flush changes before invalidate in memory mapping tests
am: e73ac75e3c

* commit 'e73ac75e3c0ee3068e2366bf69a83c77f3dba268':
  Flush changes before invalidate in memory mapping tests

Change-Id: Ibe83e08a3a62a9253ff50b8732f3432976b92e7b

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c
Mika Isojärvi [Fri, 27 May 2016 22:48:03 +0000 (22:48 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c
am: 46e8192cb1

* commit '46e8192cb1d3d11640778548b94e114119349219':
  Flush changes before invalidate in memory mapping tests

Change-Id: I2a830a172b614b41408e917dcb5aa66475ae955a

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 22:43:01 +0000 (22:43 +0000)]
Flush changes before invalidate in memory mapping tests
am: e73ac75e3c

* commit 'e73ac75e3c0ee3068e2366bf69a83c77f3dba268':
  Flush changes before invalidate in memory mapping tests

Change-Id: I8f12f5627d626e6df5953d996f2ce42d6ced39f7

8 years agoFixes to random memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:21:49 +0000 (14:21 -0700)]
Fixes to random memory mapping tests

- Take nonCoherentAtomicSize into account.
- Track and handle correctly invalidating memory that has not
  been flushed.

Bug: 29006045
Bug: 28939771
Change-Id: Ib114822aff0fd4bf4df5d84a2e17b393368bdd3c

8 years agoMerge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c...
Mika Isojärvi [Fri, 27 May 2016 21:19:20 +0000 (21:19 +0000)]
Merge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am: 0a2cce9dfb" into nyc-mr1-dev-plus-aosp
am: b19f87d64e

* commit 'b19f87d64e804b0984d97b87844db3dd9fb6b68d':

Change-Id: Ic3fdaba128ceb6bf3768c39142ba6623fa9ab13d

8 years agoTake nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am:...
Mika Isojrvi [Fri, 27 May 2016 21:19:19 +0000 (21:19 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am: a2685d421f
am: 10f018138c

* commit '10f018138c56bcb7a06d9e91163acf8ab9f40957':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I7ab6a2b281817e97e3cfbdccffcd00cdac8965aa

8 years agoDe-duplicate utility code between some Vulkan test groups
Pyry Haulos [Fri, 27 May 2016 20:48:48 +0000 (13:48 -0700)]
De-duplicate utility code between some Vulkan test groups

draw, query_pool, and dynamic_state groups had a few identical
utilities. Move them under draw/.

Change-Id: I4e05606d75da6ac98ff3734604d080fe71ee36e8

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:05:20 +0000 (14:05 -0700)]
Flush changes before invalidate in memory mapping tests

Bug: 29006045
Change-Id: I697c69838bc75d0dfc7ac232888d60e1a0d80ded

8 years agoMerge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c...
Android Build Merger (Role) [Fri, 27 May 2016 20:39:27 +0000 (20:39 +0000)]
Merge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am: 0a2cce9dfb" into nyc-mr1-dev-plus-aosp

8 years agoTake nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c
Mika Isojärvi [Fri, 27 May 2016 20:39:22 +0000 (20:39 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c
am: 0a2cce9dfb

* commit '0a2cce9dfb5fb64418815926cfa2996c6809cd18':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I02c90ddd5226906fa05a5675bd726c7ddaa1d244

8 years agoTake nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c
Mika Isojärvi [Fri, 27 May 2016 20:39:13 +0000 (20:39 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c
am: a2685d421f

* commit 'a2685d421fe61eecc101827fd9fa037d85a96f26':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I297f620e4dd3201eb22e115996fc188025f84086

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 20:36:38 +0000 (20:36 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests
am: 81fe3f5a2c

* commit '81fe3f5a2ce6b1da0740f68e8dfd512db6d2dc11':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I97a0fce0fe584343719caa4ff7d4329ab95ef9dd

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 20:36:38 +0000 (20:36 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests
am: 81fe3f5a2c

* commit '81fe3f5a2ce6b1da0740f68e8dfd512db6d2dc11':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I845a3073047c365670011eef70b8ec413f8de822

8 years agoMerge "Fix several narrowing conversions inside struct initializers"
TreeHugger Robot [Fri, 27 May 2016 20:19:43 +0000 (20:19 +0000)]
Merge "Fix several narrowing conversions inside struct initializers"

8 years agoMerge "Initialize m_context in EGL thread clean up test class"
TreeHugger Robot [Fri, 27 May 2016 20:18:36 +0000 (20:18 +0000)]
Merge "Initialize m_context in EGL thread clean up test class"

8 years agoMerge "Do not throw exception from destructior in tcu::Either tests"
TreeHugger Robot [Fri, 27 May 2016 20:18:23 +0000 (20:18 +0000)]
Merge "Do not throw exception from destructior in tcu::Either tests"

8 years agoMerge "Add test for vkResetDescriptorPool memory leak"
Collin Baker [Fri, 27 May 2016 19:52:12 +0000 (19:52 +0000)]
Merge "Add test for vkResetDescriptorPool memory leak"

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:29:36 +0000 (15:29 -0700)]
Take nonCoherentAtomSize into account in memory mapping tests

Bug: 28939771
Change-Id: I02831f2a36b30b8f5b1c7e6710822f7b6f81a950

8 years agoMerge "Add Visual Studio 2015 generator to build scripts"
TreeHugger Robot [Fri, 27 May 2016 18:28:44 +0000 (18:28 +0000)]
Merge "Add Visual Studio 2015 generator to build scripts"

8 years agoChange unnamed enum VK_ constants to defines and update API
Pyry Haulos [Fri, 27 May 2016 15:41:29 +0000 (08:41 -0700)]
Change unnamed enum VK_ constants to defines and update API

Converting enum to target type causes narrowing conversion warnings on
MSVC 2015.

Change-Id: I51c41f7be0964de674c7b954469fbc523fddac5f

8 years agoInitialize m_context in EGL thread clean up test class
Pyry Haulos [Fri, 27 May 2016 16:21:19 +0000 (09:21 -0700)]
Initialize m_context in EGL thread clean up test class

This causes a crash when generating test case lists on null driver if
m_context ends up being some non-0 value.

Change-Id: I377af85a636a71366f4da8f4b00fccde979e91f3

8 years agoDo not throw exception from destructior in tcu::Either tests
Pyry Haulos [Fri, 27 May 2016 16:20:49 +0000 (09:20 -0700)]
Do not throw exception from destructior in tcu::Either tests

Change-Id: I5b63d0c3722d3856ac4b7827f8a4b46da2796856

8 years agoFix several narrowing conversions inside struct initializers
Pyry Haulos [Fri, 27 May 2016 16:02:26 +0000 (09:02 -0700)]
Fix several narrowing conversions inside struct initializers

MSVC 2015 is stricter about narrowing conversions and issues warnings more
agressively.

Change-Id: Ib6d78251afd8f280a5663396d47428d39bbb5fda

8 years agoAdd Visual Studio 2015 generator to build scripts
Pyry Haulos [Fri, 27 May 2016 15:39:15 +0000 (08:39 -0700)]
Add Visual Studio 2015 generator to build scripts

Change-Id: I9bd94dde94ee26d9b5ad4a2644dd98f2f544e662

8 years agoMerge "Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a am: db45dfc398...
Pyry Haulos [Fri, 27 May 2016 15:20:41 +0000 (15:20 +0000)]
Merge "Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a am: db45dfc398" into nyc-mr1-dev-plus-aosp
am: 0f76157c3b

* commit '0f76157c3be15a2e7cdce0227b2a13730bca76b3':

Change-Id: I6c5f2db7afbe1a9aa6aceb4f674a9d228b1ccfe8

8 years agoMerge vulkan-cts-1.0-dev from Khronos repo to master
Pyry Haulos [Fri, 27 May 2016 15:15:06 +0000 (08:15 -0700)]
Merge vulkan-cts-1.0-dev from Khronos repo to master

8 years agoresolve merge conflicts of 9a6dd53 to master
Pyry Haulos [Fri, 27 May 2016 15:03:27 +0000 (08:03 -0700)]
resolve merge conflicts of 9a6dd53 to master

Change-Id: Idb8abdf776d6ece74a2fdfab3941678c9813eea0

8 years agoMerge "Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a am: db45dfc398...
Android Build Merger (Role) [Fri, 27 May 2016 14:40:30 +0000 (14:40 +0000)]
Merge "Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a am: db45dfc398" into nyc-mr1-dev-plus-aosp

8 years agoMerge bug fixes from Khronos CTS release branch am: 3d8e6ee58a
Pyry Haulos [Fri, 27 May 2016 14:40:16 +0000 (14:40 +0000)]
Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a
am: 809bddd1e3

* commit '809bddd1e30264d10f5e118987a6f104c1ca3a10':
  Merge bug fixes from Khronos CTS release branch

Change-Id: I7ee6bae41a36c4fd9972696e75c60e68c627c900

8 years agoMerge bug fixes from Khronos CTS release branch am: 3d8e6ee58a
Pyry Haulos [Fri, 27 May 2016 14:40:15 +0000 (14:40 +0000)]
Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a
am: db45dfc398

* commit 'db45dfc39892a14cac9b6b5cfde492b7e8ccfd46':
  Merge bug fixes from Khronos CTS release branch

Change-Id: I5f90b8de83f80cb186ddee038414408ca0405ce2

8 years agoMerge bug fixes from Khronos CTS release branch
Pyry Haulos [Fri, 27 May 2016 14:36:39 +0000 (14:36 +0000)]
Merge bug fixes from Khronos CTS release branch
am: 3d8e6ee58a

* commit '3d8e6ee58a6f3a7701a3e6cdc4ba9fb14b162410':
  Merge bug fixes from Khronos CTS release branch

Change-Id: I3101250fb37af4b1630fbf94f1dab96219e59545

8 years agoMerge bug fixes from Khronos CTS release branch
Pyry Haulos [Fri, 27 May 2016 14:36:38 +0000 (14:36 +0000)]
Merge bug fixes from Khronos CTS release branch
am: 3d8e6ee58a

* commit '3d8e6ee58a6f3a7701a3e6cdc4ba9fb14b162410':
  Merge bug fixes from Khronos CTS release branch

Change-Id: I1f80298cd380c652564c2ee10bb168397b1468b8

8 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 26 May 2016 19:32:15 +0000 (12:32 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

8 years agoMerge branch '388-synchronization-semaphores-fence-timeout' into 'vulkan-cts-1.0...
Pyry Haulos [Thu, 26 May 2016 19:13:09 +0000 (19:13 +0000)]
Merge branch '388-synchronization-semaphores-fence-timeout' into 'vulkan-cts-1.0-dev'

Increase fence wait timeout in dEQP-VK.synchronization.semaphores

Fixes #388

See merge request !562

8 years agoMerge bug fixes from Khronos CTS release branch
Pyry Haulos [Thu, 19 May 2016 22:03:59 +0000 (15:03 -0700)]
Merge bug fixes from Khronos CTS release branch

This includes fixes available in Vulkan CTS 1.0.0.3 RC1:

8d6a75b Fix test copying zero sized regions
4d12ac5 Update sample conformance statement with latest release tag
2659c92 Remove use of non-standard strnlen()
fd6bbe6 Validation fix dEQP-VK.binding_model
8c019df Validation fix for dEQP-VK.ssbo
02bc895 Remove dEQP-VK.glsl.linkage.varying.rules.fragment_declare
0f75056 Validation fixes for dEQP-VK.renderpass
0619614 Validation fixes for dEQP-VK.glsl
2df3edd dEQP-VK.binding_model validation fixes
50664eb Removed not needed reading of image
ce3f36a Bug Fix: Corrected barriers in the tests dEQP-VK.query_pool
6d286f8 Validation fixes for dEQP-VK.api
d02ea76 dEQP-VK.api.info.device.properties struct offsets
d488796 Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.
a4f96c9 Turn on well defined signed integer overflow
ba9a6b8 Add Android NDK r11 toolchain as new default
355e4f8 Update glslang to (7b3096a) to include bitfield functions precision fix
cbba646 Fix Pipeline barrier test
6eaa4ce Update glslang to (af4592) - include proper RelaxedPrecision handling
f89b81f Remove instances of pDynamicState->dynamicStateCount = 0
989ae48 ShaderRender tests: do not use images in UNDEFINED layout
ed92247 Revert to original boilerplate in Vulkan CTS license appendix
0b834b7 Validation fixes in dEQP-VK.pipeline
92728bd Bug Fix: Corrected barriers in the tests dEQP-VK.compute
ad4a38e Bug Fix: Corrected barrier in the tests dEQP-VK.ubo
750f819 Fix unused parameter warning in vktDrawIndirectTest.cpp
7df90ed deqp-vk-draw: split indirect_draw tests into groups depending on `drawIndirectFirstInstance` optional feature
9025139 Remove initialization check for deviceName
9312e31 Fix VkPhysicalDeviceProperties init validation
4803b08 Fix a few issues in tessellation shader executors

As well as following cherry-picks:

b215306 Fix various compiler warnings
fad252e vktWsiSurfaceTests: fixed bug in surface capabilities validation where surface's height was tested with respect to width's limits.
4a57a13 vktWsiSwapchainTests: remove redundant barrier (already realised by subpass dependencies)
8a07cbb vktWsiSwapchainTests: remove incorrect barrier (COLOR_ATTACHMENT_OPT -> PRESENT_SRC), while image is already in PRESENT_SRC layout
9b48af0 vktWsiSwapchainTests: fixes for swapchain parameters
fb3fd80 WSI: depthClamp is an optional feature, disable it

Bug: 28911346
Change-Id: I124cdecdc5472e5889d40ae5b66baffa074df7ca

8 years agoRemove dot and reflect precision tests from mustpass am: 1fe86bba0f am: 6da9784777
Mika Isojrvi [Wed, 25 May 2016 22:35:19 +0000 (22:35 +0000)]
Remove dot and reflect precision tests from mustpass am: 1fe86bba0f am: 6da9784777
am: 12cd7c42b7

* commit '12cd7c42b713e2a76d7ee3ec0230631b66b016d1':

Change-Id: I3a3e0c0d36792bfd75f6710e3331d5225aab7db6

8 years agoRemove dot and reflect precision tests from mustpass am: 1fe86bba0f am: 20954ce4bf
Mika Isojrvi [Wed, 25 May 2016 22:35:16 +0000 (22:35 +0000)]
Remove dot and reflect precision tests from mustpass am: 1fe86bba0f am: 20954ce4bf
am: ec44e2ff9f

* commit 'ec44e2ff9f0bcecd74350709e0b81fadb38cceaa':
  Remove dot and reflect precision tests from mustpass

Change-Id: Iba02d852ac2bc4698cbacfd3d542a1d7a8fea9e2

8 years agoRemove dot and reflect precision tests from mustpass am: 1fe86bba0f
Mika Isojärvi [Wed, 25 May 2016 22:28:46 +0000 (22:28 +0000)]
Remove dot and reflect precision tests from mustpass am: 1fe86bba0f
am: 6da9784777

* commit '6da978477781fbe45a029b942343d1c6bbf2970e':

Change-Id: I5e88714143afcf4469123218fbc661f7b2d77b6d

8 years agoRemove dot and reflect precision tests from mustpass am: 1fe86bba0f
Mika Isojärvi [Wed, 25 May 2016 22:26:43 +0000 (22:26 +0000)]
Remove dot and reflect precision tests from mustpass am: 1fe86bba0f
am: 20954ce4bf

* commit '20954ce4bf0d903627828b486458bf1670fa853c':
  Remove dot and reflect precision tests from mustpass

Change-Id: I4df15c26ce7aa52c4f92d7cc2c487b29bd5fcbf1

8 years agoRemove dot and reflect precision tests from mustpass
Mika Isojrvi [Wed, 25 May 2016 22:23:56 +0000 (22:23 +0000)]
Remove dot and reflect precision tests from mustpass
am: 1fe86bba0f

* commit '1fe86bba0f99b85f69239b68906b6573eeb0091d':
  Remove dot and reflect precision tests from mustpass

Change-Id: Ic345695c40863481a4a0c85715caa8c3e007d289

8 years agoRemove dot and reflect precision tests from mustpass
Mika Isojrvi [Wed, 25 May 2016 22:23:51 +0000 (22:23 +0000)]
Remove dot and reflect precision tests from mustpass
am: 1fe86bba0f

* commit '1fe86bba0f99b85f69239b68906b6573eeb0091d':
  Remove dot and reflect precision tests from mustpass

Change-Id: Ibd0bc2c5c4743767c297117ea8960fddc4bd35a3

8 years agoAdd test for vkResetDescriptorPool memory leak
Collin Baker [Tue, 24 May 2016 20:50:43 +0000 (13:50 -0700)]
Add test for vkResetDescriptorPool memory leak

New test runs vkAllocateDescriptorSets then vkResetDescriptorPool
repeatedly to check for memory leak. Contains two cases; one that runs
only 2 cycles and should always pass, and one that runs 256 cycles and
should crash if a memory leak exists.

Bug: 28793498
Change-Id: I864bae72ab957bd64042f9023d694a5ae33b13dd

8 years agoRemove dot and reflect precision tests from mustpass
Mika Isojärvi [Wed, 25 May 2016 20:35:49 +0000 (13:35 -0700)]
Remove dot and reflect precision tests from mustpass

Remove dot and reflect precision test that don't take all of the
alternative evaluation orders into account from the mustpass.

Bug: 28767510
Change-Id: I8089dee4fc123b733d27f3bf2b0846dcd5f5ad6c

8 years agoRemove double allocate from memory mapping tests am: ebadf9e6ca am: 9508a9f70f
Mika Isojrvi [Wed, 25 May 2016 16:55:12 +0000 (16:55 +0000)]
Remove double allocate from memory mapping tests am: ebadf9e6ca am: 9508a9f70f
am: 684d2f1675

* commit '684d2f16759dcfb1a8db994758d1a47e7255f8d7':

Change-Id: I4f1dab8fd04855228273d4907abcb13b74cc8e27

8 years agoRemove double allocate from memory mapping tests am: ebadf9e6ca am: b6dbf28dfb
Mika Isojrvi [Wed, 25 May 2016 16:55:08 +0000 (16:55 +0000)]
Remove double allocate from memory mapping tests am: ebadf9e6ca am: b6dbf28dfb
am: 3420d9c79e

* commit '3420d9c79e5b4c35bff6a4e876315945dcbb65eb':
  Remove double allocate from memory mapping tests

Change-Id: I3ea18cfaa4af3e9019e8e1ab22121ce51ca09982

8 years agoRemove double allocate from memory mapping tests am: ebadf9e6ca
Mika Isojärvi [Wed, 25 May 2016 16:54:06 +0000 (16:54 +0000)]
Remove double allocate from memory mapping tests am: ebadf9e6ca
am: 9508a9f70f

* commit '9508a9f70f6a36fad8ff73a9b60c2fc3312329f5':

Change-Id: Iddd6cd67ada6dde64ab57e27539b7e3bc56026b9

8 years agoRemove double allocate from memory mapping tests am: ebadf9e6ca
Mika Isojärvi [Wed, 25 May 2016 16:50:33 +0000 (16:50 +0000)]
Remove double allocate from memory mapping tests am: ebadf9e6ca
am: b6dbf28dfb

* commit 'b6dbf28dfb4c36d235d201cc48334ac5246c1fc4':
  Remove double allocate from memory mapping tests

Change-Id: I9a1bb0d6f45bda332fb866eefe7e4f556ff5aa94

8 years agoRemove double allocate from memory mapping tests
Mika Isojrvi [Wed, 25 May 2016 16:29:35 +0000 (16:29 +0000)]
Remove double allocate from memory mapping tests
am: ebadf9e6ca

* commit 'ebadf9e6cae16ed53a3ae555132a7a3b068717b4':
  Remove double allocate from memory mapping tests

Change-Id: I0f2a3a50db2b6b2c20498f7fd9c1d95427cea71a

8 years agoRemove double allocate from memory mapping tests
Mika Isojrvi [Wed, 25 May 2016 16:29:34 +0000 (16:29 +0000)]
Remove double allocate from memory mapping tests
am: ebadf9e6ca

* commit 'ebadf9e6cae16ed53a3ae555132a7a3b068717b4':
  Remove double allocate from memory mapping tests

Change-Id: I59befb4333ab87be3ca916601841a2ba23c2eee5

8 years agoRemove double allocate from memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:20:00 +0000 (15:20 -0700)]
Remove double allocate from memory mapping tests

Bug: 28936898
Change-Id: I7ef8da41929288c10a9d978bbe84d086eba008e4

8 years agoMerge branch 'cherry-pick-validation-fixes' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 24 May 2016 17:42:32 +0000 (17:42 +0000)]
Merge branch 'cherry-pick-validation-fixes' into 'vulkan-cts-1.0'

Cherry-pick validation fixes to release branch

See merge request !563

8 years agoMerge pull request #16 from jchen10/image_layout
Pyry Haulos [Fri, 20 May 2016 19:55:25 +0000 (12:55 -0700)]
Merge pull request #16 from jchen10/image_layout

Fix Pipeline barrier test

8 years agoFix test copying zero sized regions
Mika Isojärvi [Tue, 17 May 2016 17:08:40 +0000 (10:08 -0700)]
Fix test copying zero sized regions

Bug: 28677103
Change-Id: I4c23277f51ab4ea3e28a76ab757d0c2c8fe007d6
(cherry picked from commit 5dcb4c684341f681eea37ffc4d1727b2239516ef)

8 years agoMerge pull request #1 from Aransentin/apiVersion-is-0
Pyry Haulos [Fri, 20 May 2016 19:44:24 +0000 (12:44 -0700)]
Merge pull request #1 from Aransentin/apiVersion-is-0

Added a test when apiVersion is 0

8 years agoUpdate sample conformance statement with latest release tag
Pyry Haulos [Fri, 20 May 2016 19:35:30 +0000 (12:35 -0700)]
Update sample conformance statement with latest release tag

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55 am...
Mika Isojärvi [Fri, 20 May 2016 17:27:40 +0000 (17:27 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55 am: a5aad1b63b
am: 6fc1e17b83

* commit '6fc1e17b831739eacd630cefe9535e94b3d52e9c':

Change-Id: Iafd3a45642129822ba784cd7b006f469a2a488e4

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55 am...
Mika Isojärvi [Fri, 20 May 2016 17:27:36 +0000 (17:27 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55 am: a5ef338784
am: f7da744eed

* commit 'f7da744eededea2a811d03e957dbb44046a62828':
  Increase deqp CTS runner timeout to 10min

Change-Id: Ib409e849f56bd0a98db8eabbc73bcce823ddd44f

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55
Mika Isojarvi [Fri, 20 May 2016 17:23:00 +0000 (17:23 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55
am: a5aad1b63b

* commit 'a5aad1b63b3446bb42474f7437e2fdfe6191e5d1':

Change-Id: Ib8c04f8fdd98c04c68517319cfb5b792f22c920d

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55
Mika Isojarvi [Fri, 20 May 2016 17:20:10 +0000 (17:20 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev am: 5c55468d55
am: a5ef338784

* commit 'a5ef338784992b973b1efec624f1c09c641a2198':
  Increase deqp CTS runner timeout to 10min

Change-Id: I92f2521ca08f5c495c4473555d5c327740288e5d

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev
Mika Isojärvi [Fri, 20 May 2016 17:15:50 +0000 (17:15 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev
am: 5c55468d55

* commit '5c55468d55d85ca2ff529f36e531289a347140c9':
  Increase deqp CTS runner timeout to 10min

Change-Id: I85ea20d0627867448e403ed75dccce990f8e4abd

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev
Mika Isojärvi [Fri, 20 May 2016 17:15:30 +0000 (17:15 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev
am: 5c55468d55

* commit '5c55468d55d85ca2ff529f36e531289a347140c9':
  Increase deqp CTS runner timeout to 10min

Change-Id: Iad42c8621cc2653ebb086806dd50bee41a178e2d

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev
Mika Isojarvi [Fri, 20 May 2016 17:02:09 +0000 (17:02 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev

8 years agoIncrease deqp CTS runner timeout to 10min
Mika Isojärvi [Thu, 19 May 2016 22:47:34 +0000 (15:47 -0700)]
Increase deqp CTS runner timeout to 10min

Bug: 28052105
Bug: 23287994
Change-Id: Ifc7ed2d5e00e94cfe5c16f43f40b7f6b0cfc396a

8 years agoMerge "Check configs before mutable_render_buffer negative test"
TreeHugger Robot [Thu, 19 May 2016 21:58:12 +0000 (21:58 +0000)]
Merge "Check configs before mutable_render_buffer negative test"

8 years agoRemove use of non-standard strnlen()
Pyry Haulos [Thu, 21 Apr 2016 22:09:17 +0000 (15:09 -0700)]
Remove use of non-standard strnlen()

(cherry picked from commit febb0bbd97bc3004df7e81f90e9a5ddb49504aac)

8 years agoValidation fix dEQP-VK.binding_model
Maciej Jesionowski [Tue, 10 May 2016 09:40:39 +0000 (11:40 +0200)]
Validation fix dEQP-VK.binding_model

- Add srcStageMask to barriers

(cherry picked from commit f2e4f11a0803db89f7c7d8f9a9038a79e27a65ea)

8 years agoValidation fix for dEQP-VK.ssbo
Maciej Jesionowski [Mon, 25 Apr 2016 11:43:37 +0000 (13:43 +0200)]
Validation fix for dEQP-VK.ssbo

Fixed an issue where descriptor set bindings were updated incorrectly
(array of descriptors vs a few bindings of a single descriptor).

(cherry picked from commit 517e989710e57ac0008c0ea26bafb67418e52610)

8 years agoRemove dEQP-VK.glsl.linkage.varying.rules.fragment_declare
Maciej Jesionowski [Fri, 22 Apr 2016 12:44:19 +0000 (14:44 +0200)]
Remove dEQP-VK.glsl.linkage.varying.rules.fragment_declare

Test removed because it used the API incorrectly.

(cherry picked from commit 077398babe16b80a3934ec970932a3c80ae02bc1)

8 years agoValidation fixes for dEQP-VK.renderpass
Maciej Jesionowski [Thu, 21 Apr 2016 14:20:12 +0000 (16:20 +0200)]
Validation fixes for dEQP-VK.renderpass

- Correct access flags in layout barriers
- Remove duplicate barrier
- Fix minDepthBounds value

(cherry picked from commit ba01feddc2c4b2cafba566462732ac2f3e813c83)

8 years agoValidation fixes for dEQP-VK.glsl
Maciej Jesionowski [Tue, 19 Apr 2016 13:21:12 +0000 (15:21 +0200)]
Validation fixes for dEQP-VK.glsl

- Use uint type for booleans to match attribute format
- Don't bind descriptor set when it's not updated
- Use correct number of vertex input bindings
- Use correct color attachment format and layout
- Use correct access flags and layout in image barriers

(cherry picked from commit 5533f025bb144cdeee813ebabba2885e14b33b2e)

8 years agodEQP-VK.binding_model validation fixes
Maciej Jesionowski [Tue, 19 Apr 2016 09:12:28 +0000 (11:12 +0200)]
dEQP-VK.binding_model validation fixes

- Add image layout transition barrier flags
- Fix shader interface mismatch
- Add fence after command submission
- Remove buffer barrier from render pass

(cherry picked from commit ad5e2b6869cdbe14bd7f9847b2eef498f7a41a8c)

8 years agoRemoved not needed reading of image
Arkadiusz Sarwa [Mon, 18 Apr 2016 08:27:34 +0000 (10:27 +0200)]
Removed not needed reading of image

(cherry picked from commit 908d6bebb1e8149a8ec877853fc4a84641923425)