platform/upstream/VK-GL-CTS.git
8 years agoMerge in fixes from Khronos Vulkan CTS repository
Pyry Haulos [Wed, 9 Mar 2016 20:37:33 +0000 (12:37 -0800)]
Merge in fixes from Khronos Vulkan CTS repository

8 years agoMerge "Change deqp APK to cts target instead of cts_v2" into nyc-dev
Kalle Raita [Wed, 9 Mar 2016 20:02:23 +0000 (20:02 +0000)]
Merge "Change deqp APK to cts target instead of cts_v2" into nyc-dev

8 years agoChange deqp APK to cts target instead of cts_v2
Kalle Raita [Wed, 9 Mar 2016 00:16:52 +0000 (16:16 -0800)]
Change deqp APK to cts target instead of cts_v2

Bug: 27506892
Change-Id: Id85db800c627d01672e9b7fc0b9b7a95dba74628

8 years agoAdd vkt::addTestGroup() utility to vktTestGroupUtil
Pyry Haulos [Tue, 8 Mar 2016 23:55:36 +0000 (15:55 -0800)]
Add vkt::addTestGroup() utility to vktTestGroupUtil

This is similar to vkt::addFunctionCase().

Change-Id: Iaa3298c56b013c700ca7746cc6907b8bf3544200

8 years agoMerge branch 'vulkan-cts-1.0' into vulkan-cts-1.0-dev
Pyry Haulos [Mon, 7 Mar 2016 23:24:34 +0000 (15:24 -0800)]
Merge branch 'vulkan-cts-1.0' into vulkan-cts-1.0-dev

8 years agoMerge branch '323_timestamp_buffer_overflow_fix' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 7 Mar 2016 23:21:49 +0000 (18:21 -0500)]
Merge branch '323_timestamp_buffer_overflow_fix' into 'vulkan-cts-1.0'

Fixes buffer overflow in pipeline timestamp tests

Fixes #323

See merge request !459

8 years agoMerge branch '310-update-glslang' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 7 Mar 2016 23:20:44 +0000 (18:20 -0500)]
Merge branch '310-update-glslang' into 'vulkan-cts-1.0'

Update glslang to include "SPV: Use heuristic to avoid geometry multi-streams"

Fixes issue #310

See merge request !463

8 years agoMerge branch '308-fix-opaque-type-indexing-array-descriptors' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 7 Mar 2016 23:20:13 +0000 (18:20 -0500)]
Merge branch '308-fix-opaque-type-indexing-array-descriptors' into 'vulkan-cts-1.0'

ShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the…

… shader code. Another partial solution to #308.

See merge request !455

8 years agoMerge branch 'spec-176-api-remove-patch-version-check' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 7 Mar 2016 23:19:48 +0000 (18:19 -0500)]
Merge branch 'spec-176-api-remove-patch-version-check' into 'vulkan-cts-1.0'

Issue 322: dEQP-VK.api.device_init.create_instance_invalid_api_version - remove patch version check

In the spirit of spec bug #176, the implementation should not emit error on unrecognized PATCH component of VkApplicationInfo.apiVersion.

This makes implementation compatible with all header patch versions that may be used by the application.

This fixes #322

See merge request !454

8 years agobinding_model: Respect the StoresAndAtomics feature bits
Jason Ekstrand [Mon, 29 Feb 2016 23:51:51 +0000 (15:51 -0800)]
binding_model: Respect the StoresAndAtomics feature bits

This takes care of #320 for the binding_model tests

8 years agoMerge branch '320-binding-model-stores-and-atomics' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Mon, 7 Mar 2016 23:16:40 +0000 (18:16 -0500)]
Merge branch '320-binding-model-stores-and-atomics' into 'vulkan-cts-1.0-dev'

binding_model: Respect the StoresAndAtomics feature bits

This takes care of #320 for the binding_model tests

See merge request !451

8 years agoUpdate glslang to include "SPV: Use heuristic to avoid geometry multi-streams"
scygan [Fri, 4 Mar 2016 17:44:39 +0000 (18:44 +0100)]
Update glslang to include "SPV: Use heuristic to avoid geometry multi-streams"

8 years agoFixes buffer overflow in pipeline timestamp tests
mnetsch [Thu, 3 Mar 2016 18:19:22 +0000 (13:19 -0500)]
Fixes buffer overflow in pipeline timestamp tests

Fixes #323

8 years agoMerge branch '319_memory_blit_scale_fix' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 3 Mar 2016 18:00:41 +0000 (13:00 -0500)]
Merge branch '319_memory_blit_scale_fix' into 'vulkan-cts-1.0'

Fixes ImageBlitFromImage tests scaling blit verification code

Fixes #319

See merge request !456

8 years agoFixes ImageBlitFromImage tests scaling blit verification code
mnetsch [Tue, 1 Mar 2016 20:48:28 +0000 (15:48 -0500)]
Fixes ImageBlitFromImage tests scaling blit verification code

Fixes #319

8 years agobinding_model: Respect the StoresAndAtomics feature bits
Jason Ekstrand [Mon, 29 Feb 2016 23:51:51 +0000 (15:51 -0800)]
binding_model: Respect the StoresAndAtomics feature bits

This takes care of #320 for the binding_model tests

8 years agoMerge branch 'update-glslang' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 2 Mar 2016 20:38:40 +0000 (15:38 -0500)]
Merge branch 'update-glslang' into 'vulkan-cts-1.0'

Update glslang

See merge request !460

8 years agoUpdate glslang
Pyry Haulos [Wed, 2 Mar 2016 18:48:17 +0000 (10:48 -0800)]
Update glslang

8 years agoMerge branch '316-dEQP-VK.api-system-memory-limitations' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 2 Mar 2016 18:28:38 +0000 (13:28 -0500)]
Merge branch '316-dEQP-VK.api-system-memory-limitations' into 'vulkan-cts-1.0'

316-dEQP-VK.api-system-memory-limitations

Reducing the number of command buffers allocated due to system memory limitations on 32-bit systems.

This would allow us to pass these tests on 32-bit systems, which offer less system memory to the driver causing out-of-memory issues. The following are the affected tests:

* dEQP-VK.api.object_management.max_concurrent.command_buffer_primary
* dEQP-VK.api.object_management.max_concurrent.command_buffer_secondary
* dEQP-VK.api.command_buffers.allocate_many_primary
* dEQP-VK.api.command_buffers.allocate_many_secondary

Ultimately, we need to modify the test to factor in the system memory available or let a test pass if the driver reports out-of-memory errors gracefully.

See merge request !457

8 years agoRemove duplicate test issues filter caused by merges
Mika Isojärvi [Wed, 2 Mar 2016 14:47:14 +0000 (06:47 -0800)]
Remove duplicate test issues filter caused by merges

Change-Id: If6bc0d840e2e520c27975280550fd77eb0f85e6a

8 years agoReducing the number of command buffers allocated due to system memory limitations...
Mais Alnasser [Wed, 2 Mar 2016 04:25:54 +0000 (23:25 -0500)]
Reducing the number of command buffers allocated due to system memory limitations of 32-bit systems

8 years agoRemove GLES2 texture unit tests from the mustpass. am: 0678398f7a
Mika Isojärvi [Tue, 1 Mar 2016 22:05:08 +0000 (22:05 +0000)]
Remove GLES2 texture unit tests from the mustpass. am: 0678398f7a
am: 504c828dc8

* commit '504c828dc8d2f9583d87167fd4915609de2f310f':
  Remove GLES2 texture unit tests from the mustpass.

8 years agoRemove GLES2 texture unit tests from the mustpass.
Mika Isojärvi [Tue, 1 Mar 2016 21:19:36 +0000 (21:19 +0000)]
Remove GLES2 texture unit tests from the mustpass.
am: 0678398f7a

* commit '0678398f7a0d1b0b2ed3b32083871f7115d17486':
  Remove GLES2 texture unit tests from the mustpass.

8 years agoShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the...
Akos Dirner [Tue, 1 Mar 2016 18:35:04 +0000 (19:35 +0100)]
ShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the shader code. Another partial solution to #308.

8 years agoIssue 322: dEQP-VK.api.device_init.create_instance_invalid_api_version - remove patch...
Slawomir Cygan [Tue, 1 Mar 2016 17:54:08 +0000 (18:54 +0100)]
Issue 322: dEQP-VK.api.device_init.create_instance_invalid_api_version - remove patch version check

In the spirit of spec bug #176, the implementation should not emit error on
unrecognized PATCH component of VkApplicationInfo.apiVersion.

This makes implementation compatible with all header patch versions
that may be used by the application.

8 years agoSwitch to CTSv2
Stuart Scott [Mon, 29 Feb 2016 21:09:58 +0000 (13:09 -0800)]
Switch to CTSv2

bug:21762834
Change-Id: Ic56a6e9bdb932dc1ed76c0d11bc9788b8494d1a5

8 years agoMerge branch '288-enable-validator' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Mon, 29 Feb 2016 19:00:43 +0000 (14:00 -0500)]
Merge branch '288-enable-validator' into 'vulkan-cts-1.0-dev'

Validate assembled SPIR-V binaries in debug builds

Fixes #288

See merge request !426

8 years agoEnable SPIR-V validator in the module-building chain.
Dejan Mircevski [Thu, 11 Feb 2016 17:19:56 +0000 (12:19 -0500)]
Enable SPIR-V validator in the module-building chain.

Update fetched spirv-tools revision to get the latest validator.

Only validate hand-assembled SPIR-V for now, as many GLSL tests
currently fail validation.

8 years agoMerge vulkan-cts-1.0 to master
Pyry Haulos [Fri, 26 Feb 2016 23:19:21 +0000 (15:19 -0800)]
Merge vulkan-cts-1.0 to master

8 years agoMerge branch 'update-glslang' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 26 Feb 2016 23:12:12 +0000 (18:12 -0500)]
Merge branch 'update-glslang' into 'vulkan-cts-1.0'

Update glslang to latest revision

See merge request !448

8 years agoMerge branch 'fix-missing-capabilities' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 26 Feb 2016 21:17:18 +0000 (16:17 -0500)]
Merge branch 'fix-missing-capabilities' into 'vulkan-cts-1.0'

Add missing capabilities in assembly tests

Add 'OpCapability ClipDistance' and 'OpCapability CullDistance' when
they are required.

See merge request !449

8 years agoAdd missing capabilities in assembly tests
Qining Lu [Fri, 26 Feb 2016 19:17:12 +0000 (14:17 -0500)]
Add missing capabilities in assembly tests

Add 'OpCapability ClipDistance' and 'OpCapability CullDistance' when
they are required.

8 years agoUpdate glslang to latest revision
Pyry Haulos [Fri, 26 Feb 2016 19:07:06 +0000 (11:07 -0800)]
Update glslang to latest revision

8 years agoFix compiler warning in render pass tests
Pyry Haulos [Fri, 26 Feb 2016 19:05:27 +0000 (11:05 -0800)]
Fix compiler warning in render pass tests

8 years agoMerge vulkan-cts-1.0 to master
Pyry Haulos [Fri, 26 Feb 2016 18:32:07 +0000 (10:32 -0800)]
Merge vulkan-cts-1.0 to master

8 years agoMerge branch '306_use_transfer_dst' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 26 Feb 2016 18:31:34 +0000 (13:31 -0500)]
Merge branch '306_use_transfer_dst' into 'vulkan-cts-1.0'

Images used in dynamic tests need TRANSFER_DST usage flags

Fixes #306

See merge request !442

8 years agoMerge branch '294_format_properties_fix' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 26 Feb 2016 18:30:43 +0000 (13:30 -0500)]
Merge branch '294_format_properties_fix' into 'vulkan-cts-1.0'

Fixes format_properties test with required formats from Vulkan 1.0 spec

Fixes #294

See merge request !446

8 years agoMerge "Manual merge of GLES2 test removals in M CTS" into nyc-dev
Kalle Raita [Fri, 26 Feb 2016 17:25:21 +0000 (17:25 +0000)]
Merge "Manual merge of GLES2 test removals in M CTS" into nyc-dev

8 years agoManual merge of GLES2 test removals in M CTS
Kalle Raita [Fri, 26 Feb 2016 00:11:57 +0000 (16:11 -0800)]
Manual merge of GLES2 test removals in M CTS

Original change:
https://android.googlesource.com/platform/external/deqp/+/2ae253977f3461489edc73b66b87c16545ab1655

Bug: 27101650
Change-Id: I5ddc14c3801dc28008616ad09be1a2da46b2ee31

8 years agoFixes format_properties test with required formats from Vulkan 1.0 spec
mnetsch [Thu, 25 Feb 2016 21:50:01 +0000 (16:50 -0500)]
Fixes format_properties test with required formats from Vulkan 1.0 spec

Related to issue #294

8 years agoMerge "Add final Vulkan feature support check to DeqpTestRunner" into nyc-dev
Mika Isojarvi [Thu, 25 Feb 2016 21:30:37 +0000 (21:30 +0000)]
Merge "Add final Vulkan feature support check to DeqpTestRunner" into nyc-dev

8 years agoRemove now unnecessary mustpass exclusion
Pyry Haulos [Thu, 25 Feb 2016 18:57:08 +0000 (10:57 -0800)]
Remove now unnecessary mustpass exclusion

Rounding tests were completely removed from code so mustpass
exclusion is not necessary any more.

8 years agoFix build
Pyry Haulos [Thu, 25 Feb 2016 18:55:43 +0000 (10:55 -0800)]
Fix build

8 years agoMerge branch '308-fix-ssbo-array-descriptors' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 25 Feb 2016 18:18:25 +0000 (13:18 -0500)]
Merge branch '308-fix-ssbo-array-descriptors' into 'vulkan-cts-1.0'

Fix ssbo array descriptors

This is a partial solution to #308.  It fixes the ssbo tests to properly use array descriptors.

See merge request !443

8 years agoMerge vulkan-cts-1.0 to master
Pyry Haulos [Thu, 25 Feb 2016 18:17:34 +0000 (10:17 -0800)]
Merge vulkan-cts-1.0 to master

8 years agoSSBOLayoutCase: Make proper use of array descriptors
Jason Ekstrand [Sun, 21 Feb 2016 02:32:43 +0000 (18:32 -0800)]
SSBOLayoutCase: Make proper use of array descriptors

Previously, the SSBO tests were using arrays of blocks in the shader but
declaring them as individual descriptors in the descriptor set layout.
This is in violation of the spec and was causing issues on some
implementations.

As a side-effect of this change, we now update most of the bindings in a
single update.  The Vulkan spec allows descriptor writes that go over the
bounds of the current binding to spill into the next as long as the
bindings have the same type.  This makes updating substantially simpler
especially when we have bindings with different numbers of descriptors.

8 years agoMerge branch '274-remove-round' into 'master'
Pyry Haulos [Thu, 25 Feb 2016 18:06:26 +0000 (13:06 -0500)]
Merge branch '274-remove-round' into 'master'

Remove rounding test

Fixes #274

See merge request !422

8 years agoMerge branch '286-fix_regressions' into 'master'
Pyry Haulos [Thu, 25 Feb 2016 18:05:39 +0000 (13:05 -0500)]
Merge branch '286-fix_regressions' into 'master'

Issue 286: fix regressions after `Extend device feature and limit validation in dEQP-VK.api.info`

This fixes few bugs introduced in new `dEQP_VK.info.image_properties` added in issue #286:

* The enum value 1<<31 is cast in test to VkDeviceSize, which is 64-bit unsigned int. According to C++
standard it is undefined wether enums are signed, or not, so the resulting value can be 0x8000000 or 0xffffffff80000000.  At least this happens on MSVC++.

* properly calculate mip pyramid size. It should be log_2(size) + 1, not log_2(size).

See merge request !445

8 years agoMerge branch 'jekstrand-linux-lib-name' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 25 Feb 2016 18:04:21 +0000 (13:04 -0500)]
Merge branch 'jekstrand-linux-lib-name' into 'vulkan-cts-1.0'

Use the correct library name on Linux

Shortly before release, the official library name was changed from libvulkan-1.so to libvulkan.so.1.  We should be loading the right one.

See merge request !444

8 years agoMerge branch '304-disable-robust-buffer-access' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 25 Feb 2016 18:03:05 +0000 (13:03 -0500)]
Merge branch '304-disable-robust-buffer-access' into 'vulkan-cts-1.0'

Disable robustBufferAccess in the default VkDevice to avoid performance issues on some HW

Addresses #304

See merge request !437

8 years agodEQP-VK.api.info.image_format_properties: properly calculate mip pyramid size.
scygan [Thu, 25 Feb 2016 13:32:57 +0000 (14:32 +0100)]
dEQP-VK.api.info.image_format_properties: properly calculate mip pyramid size.

It should be log_2(size) + 1, not log_2(size).

8 years agodEQP-VK.api.info.image_format_properties: enum value can be signed.
scygan [Thu, 25 Feb 2016 13:37:45 +0000 (14:37 +0100)]
dEQP-VK.api.info.image_format_properties: enum value can be signed.

The enum value 1<<31 is cast in test to VkDeviceSize, which is 64-bit unsigned int. According to C++
standard it is undefined wether enums are signed, or not, so the resulting value can be 0x8000000 or 0xffffffff80000000.

At least this happens on MSVC++.

8 years agoAdd final Vulkan feature support check to DeqpTestRunner
Mika Isojärvi [Wed, 24 Feb 2016 23:48:39 +0000 (15:48 -0800)]
Add final Vulkan feature support check to DeqpTestRunner

Change-Id: Ic77c5fbced296b7cd97528cc148b1582f94d5e2f

8 years agoRemove GLES2 texture unit tests from the mustpass.
Mika Isojärvi [Wed, 3 Feb 2016 23:17:14 +0000 (15:17 -0800)]
Remove GLES2 texture unit tests from the mustpass.

Add back the texture unit tests defined in gles2-failures.txt and
remove all of the texture unit GLES2 tests in gles2-tests-issues.txt.

Bug: 26906226
Change-Id: Ib3611daa2c89eff9ca34121dd5ec9d7baf53fc9c

8 years agoMerge vulkan-cts-1.0 to master
Pyry Haulos [Wed, 24 Feb 2016 21:15:16 +0000 (13:15 -0800)]
Merge vulkan-cts-1.0 to master

8 years agoUpdate min multicontext count to 32
Mika Isojärvi [Tue, 23 Feb 2016 19:29:13 +0000 (11:29 -0800)]
Update min multicontext count to 32

Change-Id: If3283942eb30d523e11a5722a5e73944425f9d8a

8 years agoUse the correct library name on Linux
Jason Ekstrand [Wed, 24 Feb 2016 05:48:40 +0000 (21:48 -0800)]
Use the correct library name on Linux

8 years agoMerge "Touch process watchdog in built-in precision tests" into marshmallow-cts-dev...
Daniel Xie [Tue, 23 Feb 2016 23:02:44 +0000 (23:02 +0000)]
Merge "Touch process watchdog in built-in precision tests" into marshmallow-cts-dev am: 9f0c301083
am: 88cd3abfe7

* commit '88cd3abfe7db05a823a1fe6a427fc566656eb049':
  Touch process watchdog in built-in precision tests

8 years agoMerge "Don\'t require supported binary formats in negative tests." into marshmallow...
Daniel Xie [Tue, 23 Feb 2016 23:02:37 +0000 (23:02 +0000)]
Merge "Don\'t require supported binary formats in negative tests." into marshmallow-cts-dev am: d21cda0378
am: 5f20d03e38

* commit '5f20d03e3842cdca757e56436c6769aaf77706ea':
  Don't require supported binary formats in negative tests.

8 years agoMerge "Remove a few texture tests from ES2 mustpass" into marshmallow-cts-dev am...
Daniel Xie [Tue, 23 Feb 2016 23:02:31 +0000 (23:02 +0000)]
Merge "Remove a few texture tests from ES2 mustpass" into marshmallow-cts-dev am: 18d8b289f9
am: 6e415153e0  -s ours

* commit '6e415153e08f2b14e74301e0c1a122b5cec76bd7':
  Remove a few texture tests from ES2 mustpass

8 years agoRelax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube am: f1c8ff1f20
Pyry Haulos [Tue, 23 Feb 2016 22:57:39 +0000 (22:57 +0000)]
Relax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube am: f1c8ff1f20
am: 87d86cc382

* commit '87d86cc3820b8d06705978a48239ae08911e90c3':
  Relax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube

8 years agoMerge "Touch process watchdog in built-in precision tests" into marshmallow-cts-dev
Daniel Xie [Tue, 23 Feb 2016 22:21:55 +0000 (22:21 +0000)]
Merge "Touch process watchdog in built-in precision tests" into marshmallow-cts-dev
am: 9f0c301083

* commit '9f0c301083f5aa5abbbf907dee102da607780069':
  Touch process watchdog in built-in precision tests

8 years agoMerge "Don\'t require supported binary formats in negative tests." into marshmallow...
Daniel Xie [Tue, 23 Feb 2016 22:21:36 +0000 (22:21 +0000)]
Merge "Don\'t require supported binary formats in negative tests." into marshmallow-cts-dev
am: d21cda0378

* commit 'd21cda037846eacbbc57ce0da94b0ab997382379':
  Don't require supported binary formats in negative tests.

8 years agoMerge "Remove a few texture tests from ES2 mustpass" into marshmallow-cts-dev
Daniel Xie [Tue, 23 Feb 2016 22:21:28 +0000 (22:21 +0000)]
Merge "Remove a few texture tests from ES2 mustpass" into marshmallow-cts-dev
am: 18d8b289f9

* commit '18d8b289f97e87678949364307f318dc7ca5a5c1':
  Remove a few texture tests from ES2 mustpass

8 years agoRelax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube
Pyry Haulos [Tue, 23 Feb 2016 22:21:20 +0000 (22:21 +0000)]
Relax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube
am: f1c8ff1f20

* commit 'f1c8ff1f204f50ae1c785ef361fb88cc7dc611ef':
  Relax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube

8 years agoMerge "Touch process watchdog in built-in precision tests" into marshmallow-cts-dev
Daniel Xie [Tue, 23 Feb 2016 22:15:09 +0000 (22:15 +0000)]
Merge "Touch process watchdog in built-in precision tests" into marshmallow-cts-dev

8 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Daniel Xie [Tue, 23 Feb 2016 22:14:37 +0000 (22:14 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev

8 years agoMerge "Remove a few texture tests from ES2 mustpass" into marshmallow-cts-dev
Daniel Xie [Tue, 23 Feb 2016 22:14:23 +0000 (22:14 +0000)]
Merge "Remove a few texture tests from ES2 mustpass" into marshmallow-cts-dev

8 years agoMerge branch 'fix-memory-barrier-tests' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 23 Feb 2016 18:29:20 +0000 (13:29 -0500)]
Merge branch 'fix-memory-barrier-tests' into 'vulkan-cts-1.0'

Pipeline barrier test fixes

- Set image layout to undefined after memory has been written by host
  or through buffer.
- Fix CacheState transitivity by removing bit not operation.
- Require bound buffer for render operations.

Change-Id: I7c44f5be51ef5e23cc3304fc90f8970ebe135a52

See merge request !431

8 years agoPipeline barrier test fixes.
Mika Isojärvi [Tue, 9 Feb 2016 00:29:49 +0000 (16:29 -0800)]
Pipeline barrier test fixes.

- Set image layout to undefined after memory has been written by host
  or through buffer.
- Fix CacheState transitivity by removing bit not operation.
- Require bound buffer for render operations.
- Skip correct stages in CacheState::barrier.

Change-Id: I7c44f5be51ef5e23cc3304fc90f8970ebe135a52

8 years agoMerge in fixes from Khronos Vulkan CTS repo
Pyry Haulos [Mon, 22 Feb 2016 21:21:20 +0000 (13:21 -0800)]
Merge in fixes from Khronos Vulkan CTS repo

8 years agoMerge "Add multicontext creation tests for EGL." into nyc-dev
Mika Isojarvi [Mon, 22 Feb 2016 19:09:14 +0000 (19:09 +0000)]
Merge "Add multicontext creation tests for EGL." into nyc-dev

8 years agoRe-generate Android mustpass files
Pyry Haulos [Mon, 22 Feb 2016 18:49:28 +0000 (10:49 -0800)]
Re-generate Android mustpass files

Change-Id: I2fc88bb0a46e6b138a735c74856836803ec8ddc1

8 years agoMerge in new OpenGL ES 3.2 test code
Pyry Haulos [Mon, 22 Feb 2016 18:44:18 +0000 (10:44 -0800)]
Merge in new OpenGL ES 3.2 test code

Change-Id: I8667c03f0d1eb4b212bc33b54296336633fb39da

8 years agoAdd multicontext creation tests for EGL.
Mika Isojärvi [Thu, 18 Feb 2016 19:09:26 +0000 (11:09 -0800)]
Add multicontext creation tests for EGL.

Bug: 24290416
Change-Id: Ibaf7abc8a70249891aed8ea32ab21538cdccb419

8 years agoAdd native window resizing to swap buffers with damage tests
Mika Isojärvi [Fri, 19 Feb 2016 23:11:45 +0000 (15:11 -0800)]
Add native window resizing to swap buffers with damage tests

Bug: 27171356
Change-Id: I190acf09004b5b6e846dfce791facefbaa3a4db4

8 years agoMerge "Add native window resizing to buffer age tests" into nyc-dev
Mika Isojarvi [Mon, 22 Feb 2016 18:10:41 +0000 (18:10 +0000)]
Merge "Add native window resizing to buffer age tests" into nyc-dev

8 years agoMerge vulkan-cts-1.0 to master
Pyry Haulos [Mon, 22 Feb 2016 18:09:19 +0000 (10:09 -0800)]
Merge vulkan-cts-1.0 to master

8 years agoMerge branch 'memory-barrier-fix' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 22 Feb 2016 17:35:10 +0000 (12:35 -0500)]
Merge branch 'memory-barrier-fix' into 'vulkan-cts-1.0'

Fix issues with memory barrier tests.

There are multiple issues currently in the dEQP-VK.memory.pipeline_barrier.* tests.

I found 3 ocasions where the values provided to srcAccessMask and dstAccessMask are the other way around.
In particular, after a transfer operation the barrier responsible for flushing the output of the transfer writes uses srcAccessMask=0 and dstAccessMask=VK_ACCESS_TRANSFER_WRITE_BIT, when actually VK_ACCESS_TRANSFER_WRITE_BIT should have been set in srcAccessMask not in dstAccessMask.

See merge request !421

8 years agoAdd native window resizing to buffer age tests
Mika Isojärvi [Fri, 19 Feb 2016 23:04:14 +0000 (15:04 -0800)]
Add native window resizing to buffer age tests

Bug: 27171356
Change-Id: Ie63cc517557e8d878b290b7a9744b4e31ecd2995

8 years agoSkip negative alignment check when alignment is 1
Mika Isojärvi [Fri, 19 Feb 2016 21:59:13 +0000 (13:59 -0800)]
Skip negative alignment check when alignment is 1

Skip uniform buffer negative alignment check when alignment is 1 since there
are no possible invalid values.

Bug: 27270184
Change-Id: I33f1b51c312cfe2ecc6ccf0f3b0b994385724b1d

8 years agoMerge "Improve egluNativeDisplay." into nyc-dev
Mika Isojarvi [Fri, 19 Feb 2016 20:57:29 +0000 (20:57 +0000)]
Merge "Improve egluNativeDisplay." into nyc-dev

8 years agoMerge "Add missing getPlatformAttributes() method to X11 EGL platform." into nyc-dev
Mika Isojarvi [Fri, 19 Feb 2016 20:54:50 +0000 (20:54 +0000)]
Merge "Add missing getPlatformAttributes() method to X11 EGL platform." into nyc-dev

8 years agoImprove egluNativeDisplay.
Mika Isojärvi [Fri, 19 Feb 2016 19:49:55 +0000 (11:49 -0800)]
Improve egluNativeDisplay.

- Properly throw NotSupportedError() in all methods that
  implementation doesn't support.
- Add comments to better describe when InternalError is thrown.

Change-Id: I614da6793716d3a592089e863a87d2211f5811db

8 years agoAdd missing getPlatformAttributes() method to X11 EGL platform.
Mika Isojärvi [Fri, 19 Feb 2016 19:45:41 +0000 (11:45 -0800)]
Add missing getPlatformAttributes() method to X11 EGL platform.

Bug: 27265778
Change-Id: I77d3fc1333826d269a4bea21cbf672d2b7ecb2e4

8 years agoAdd timeout to eglClientWaitSync() tests.
Mika Isojärvi [Thu, 18 Feb 2016 19:57:21 +0000 (11:57 -0800)]
Add timeout to eglClientWaitSync() tests.

Require that eglClientWaitSync() with timeout 0 and without rendering
anything finishes in 100us.

Bug: 18183346
Change-Id: Id1c8e9793cb96a95022f2d051a7b27ac03e92f53

8 years agoMerge "Remove unnecessary current context from reusable sync tests" into nyc-dev
Mika Isojarvi [Fri, 19 Feb 2016 16:13:15 +0000 (16:13 +0000)]
Merge "Remove unnecessary current context from reusable sync tests" into nyc-dev

8 years agoIssue #306
Joerg Wagner [Fri, 19 Feb 2016 09:11:36 +0000 (10:11 +0100)]
Issue #306

Images used in dynamic tests need TRANSFER_DST usage flags.

Change-Id: I74581d038a56914582c79084d0ccec9d06c67d87

8 years agoFix EGLImage format compatibility check.
Mika Isojärvi [Wed, 17 Feb 2016 23:21:00 +0000 (15:21 -0800)]
Fix EGLImage format compatibility check.

Bug: 27224316
Change-Id: I5fa4288379a620c0cd36a8a2fd93d7868857812c

8 years agoMerge "Report QualityWarning if resize doesn't crop image to corner." into nyc-dev
Mika Isojarvi [Thu, 18 Feb 2016 22:08:59 +0000 (22:08 +0000)]
Merge "Report QualityWarning if resize doesn't crop image to corner." into nyc-dev

8 years agoRemove unnecessary current context from reusable sync tests
Mika Isojärvi [Thu, 18 Feb 2016 20:40:30 +0000 (12:40 -0800)]
Remove unnecessary current context from reusable sync tests

Bug: 19872165
Change-Id: Icdbcdb58d0a557b7ba69f823448d0926ea0089a6

8 years agoRemove a few texture tests from ES2 mustpass
Pyry Haulos [Thu, 18 Feb 2016 12:19:40 +0000 (04:19 -0800)]
Remove a few texture tests from ES2 mustpass

These tests produce false negatives on certain platforms and use image
comparison method that can't be trivially relaxed to allow the
comparison to pass.

Bug: 27101650
Change-Id: Ibaf7ee4aafee51ee2ecbcb88453f3451f258dee2

8 years agoRelax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube
Pyry Haulos [Thu, 18 Feb 2016 12:13:29 +0000 (04:13 -0800)]
Relax uvwBits to 3 in dEQP-GLES2.functional.texture.filtering.cube

Bug: 27101650
Change-Id: Icf0f0ccbb176df5e71521ea9b6be273f3c648950

8 years agoReport QualityWarning if resize doesn't crop image to corner.
Mika Isojärvi [Wed, 17 Feb 2016 22:20:00 +0000 (14:20 -0800)]
Report QualityWarning if resize doesn't crop image to corner.

Bug: 27170794
Change-Id: Ie52566d92ef4f3185e2baf6bb260c72bd92736bc

8 years agoDon't require supported binary formats in negative tests.
Mika Isojärvi [Wed, 3 Feb 2016 22:43:58 +0000 (14:43 -0800)]
Don't require supported binary formats in negative tests.

Bug: 26906411
Change-Id: I4dd1bcbdd43a85e320767fa0160db24f5b84ad74

8 years agoLOCAL_COMPATIBILITY_SUPPORT_FILES relative to $(TOP).
Ying Wang [Tue, 16 Feb 2016 23:44:03 +0000 (15:44 -0800)]
LOCAL_COMPATIBILITY_SUPPORT_FILES relative to $(TOP).

Change-Id: Ic90955086b436411531b60b84b376c4cb49ee5d6
(cherry picked from commit 5072ce1021d700853deb7dee90dfc1adcc6cec1f)

8 years agoFix issues with memory barrier tests.
aqnuep [Wed, 17 Feb 2016 14:06:56 +0000 (15:06 +0100)]
Fix issues with memory barrier tests.

8 years agoMerge branch 'vulkan-cts-1.0'
Pyry Haulos [Tue, 16 Feb 2016 15:32:40 +0000 (17:32 +0200)]
Merge branch 'vulkan-cts-1.0'

8 years agoFix type conversion warnings
Pyry Haulos [Mon, 15 Feb 2016 12:36:29 +0000 (04:36 -0800)]
Fix type conversion warnings

8 years agoBump #version to 310 in vktApiSmokeTests.cpp
Csaba Osztrogonác [Fri, 12 Feb 2016 15:15:45 +0000 (16:15 +0100)]
Bump #version to 310 in vktApiSmokeTests.cpp

fixes #272