platform/upstream/VK-GL-CTS.git
8 years agoAdd Android NDK r11 toolchain as new default
Pyry Haulos [Tue, 15 Mar 2016 20:47:53 +0000 (13:47 -0700)]
Add Android NDK r11 toolchain as new default

New NDK r11 toolchain fixes libc++ on x86 enabling glslang support in
Android builds.

Change-Id: I5141b97f3152cfb1420a116cae40d671477ed254

8 years agoAdd checks to verify all bits set in getXXX functions
David Sodman [Thu, 11 Feb 2016 23:24:46 +0000 (15:24 -0800)]
Add checks to verify all bits set in getXXX functions

Change-Id: Ifd826403a3e45bdcfdc9c2506404e418e679349a

8 years agoMerge "Properly reset GL error state" into nyc-dev
Mika Isojarvi [Mon, 14 Mar 2016 19:37:02 +0000 (19:37 +0000)]
Merge "Properly reset GL error state" into nyc-dev

8 years agoMerge "Clean up SPIR-V support code in framework" into nyc-dev
Pyry Haulos [Mon, 14 Mar 2016 19:10:31 +0000 (19:10 +0000)]
Merge "Clean up SPIR-V support code in framework" into nyc-dev

8 years agoProperly reset GL error state
Mika Isojärvi [Thu, 10 Mar 2016 21:56:54 +0000 (13:56 -0800)]
Properly reset GL error state

- Pass in ContextInfo to state reset
- Call glGetError() until all errors have been cleared

Bug: 27534832
Change-Id: I9390b94bec1f45d4fb3b44d774a800610770916f

8 years agoClean up SPIR-V support code in framework
Pyry Haulos [Thu, 10 Mar 2016 20:06:21 +0000 (12:06 -0800)]
Clean up SPIR-V support code in framework

 * Return result codes instead of exceptions when GLSL compilation or
assembling fails. Reserve exceptions for unexpected errors.

 * Move vk::disassembleSpirV() to vkSpirVAsm.cpp/hpp.

 * Use deUint32 vectors/pointers for passing around SPIR-V binary data.
Consolidate endianness handling to vkPrograms.cpp.

 * Log disassembled GLSL shaders as <SpirVAssemblySource>.

 * Enable validation for glslang-generated SPIR-V binaries. Requires
updating both glslang and spirv-tools.

 * Clean up vk::SpirVAsmSource and vk::SpirVProgramInfo.

 * Clean up some potential resource leaks in spirv-tools integration.

 * Add --validate-spv option to vk-build-programs.

Change-Id: I0d5683c83c16b3e6d794e284c17ed65ea9541a35

8 years agoRemove invalid duplicate checks for negative texture level
Mika Isojärvi [Thu, 10 Mar 2016 23:59:29 +0000 (15:59 -0800)]
Remove invalid duplicate checks for negative texture level

Bug: 27126464
Change-Id: I2565e87011aef1576f5ab9727b11160a4f86c73f

8 years agoFix out of bounds access in draw buffers indexed tests
Mika Isojärvi [Mon, 14 Mar 2016 16:21:30 +0000 (09:21 -0700)]
Fix out of bounds access in draw buffers indexed tests

Change-Id: I42449896c58a5b7276b5876c26333b09cd863cae

8 years agoAdd WSI tests to mustpass
Pyry Haulos [Fri, 11 Mar 2016 16:27:52 +0000 (08:27 -0800)]
Add WSI tests to mustpass

Change-Id: I8c7553060c249bedfd701ccfe75cd458692e9859

8 years agoMerge changes Iafe8d14c,I4619c2f8,I4e469b93 into nyc-dev
Pyry Haulos [Fri, 11 Mar 2016 15:30:58 +0000 (15:30 +0000)]
Merge changes Iafe8d14c,I4619c2f8,I4e469b93 into nyc-dev

* changes:
  Add dEQP-VK.wsi test group
  Add WSI extension support to Vulkan framework
  Update Vulkan framework to API 1.0.5

8 years agoMerge changes Id7b52bba,I13b7d016 into nyc-dev
Mika Isojarvi [Fri, 11 Mar 2016 01:06:22 +0000 (01:06 +0000)]
Merge changes Id7b52bba,I13b7d016 into nyc-dev

* changes:
  Check that glReadnPixels() is supported in negative tests
  Add robustness extensions to GL wrappers

8 years agoMerge "Remove cube map tests affected by HW issues." into nyc-dev
Mika Isojarvi [Fri, 11 Mar 2016 00:02:17 +0000 (00:02 +0000)]
Merge "Remove cube map tests affected by HW issues." into nyc-dev

8 years agoMerge "Fix out of bounds access in internal format query tests" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:30:53 +0000 (23:30 +0000)]
Merge "Fix out of bounds access in internal format query tests" into nyc-dev

8 years agoMerge "Remove invalid call to detach rbo from default fbo" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:30:36 +0000 (23:30 +0000)]
Merge "Remove invalid call to detach rbo from default fbo" into nyc-dev

8 years agoMerge "Query profile mask to correct variable in context test" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:29:20 +0000 (23:29 +0000)]
Merge "Query profile mask to correct variable in context test" into nyc-dev

8 years agoMerge "Check cube map array support in opaque indexing tests" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:29:07 +0000 (23:29 +0000)]
Merge "Check cube map array support in opaque indexing tests" into nyc-dev

8 years agoRemove cube map tests affected by HW issues.
Mika Isojärvi [Thu, 10 Mar 2016 22:42:34 +0000 (14:42 -0800)]
Remove cube map tests affected by HW issues.

Bug: 27598329
Change-Id: I2ea80e847aa85dff2aed079c5f225a2535374e8d

8 years agoCheck cube map array support in opaque indexing tests
Mika Isojärvi [Thu, 10 Mar 2016 22:25:40 +0000 (14:25 -0800)]
Check cube map array support in opaque indexing tests

Bug: 27570992
Change-Id: I5d6e2a5e3e0da8e4e7ca248bc9f8710bb836626f

8 years agoFix out of bounds access in internal format query tests
Mika Isojärvi [Thu, 10 Mar 2016 22:16:47 +0000 (14:16 -0800)]
Fix out of bounds access in internal format query tests

Bug: 27570736
Change-Id: Id95f80765b3ed020515edb544cf871282672d802

8 years agoQuery profile mask to correct variable in context test
Mika Isojärvi [Thu, 10 Mar 2016 22:03:42 +0000 (14:03 -0800)]
Query profile mask to correct variable in context test

Bug: 27570797
Change-Id: I409977c31e81baebf3d165d1246660944a9d81c1

8 years agoRemove invalid call to detach rbo from default fbo
Mika Isojärvi [Thu, 10 Mar 2016 22:01:42 +0000 (14:01 -0800)]
Remove invalid call to detach rbo from default fbo

Bug: 27469404
Change-Id: Ifee3c839a5e1819f15658a6225444009f7d17052

8 years agoCheck that glReadnPixels() is supported in negative tests
Mika Isojärvi [Thu, 10 Mar 2016 21:36:52 +0000 (13:36 -0800)]
Check that glReadnPixels() is supported in negative tests

Bug: 27536300
Change-Id: Id7b52bbaa0c635b9b4f0a8060a17fc304fdc453f

8 years agoAdd robustness extensions to GL wrappers
Mika Isojärvi [Thu, 10 Mar 2016 21:35:20 +0000 (13:35 -0800)]
Add robustness extensions to GL wrappers

Change-Id: I13b7d016037aa991bf6b9c50bbb2580797baf415

8 years agoIncrease threshold in ES2 frag op and buffer tests am: ce69f90677
Pyry Haulos [Thu, 10 Mar 2016 20:08:32 +0000 (20:08 +0000)]
Increase threshold in ES2 frag op and buffer tests am: ce69f90677
am: eecffcfa8a

* commit 'eecffcfa8a55cd52895727f16f7487e749e9a3a8':
  Increase threshold in ES2 frag op and buffer tests

8 years agoMerge "Don't require GL config for deqp packages" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 20:06:38 +0000 (20:06 +0000)]
Merge "Don't require GL config for deqp packages" into nyc-dev

8 years agoIncrease threshold in ES2 frag op and buffer tests
Pyry Haulos [Thu, 10 Mar 2016 19:57:51 +0000 (19:57 +0000)]
Increase threshold in ES2 frag op and buffer tests
am: ce69f90677

* commit 'ce69f90677293129efc908755aa3e73605478c08':
  Increase threshold in ES2 frag op and buffer tests

8 years agoFix debug build when spirv-tools is not available
Pyry Haulos [Thu, 10 Mar 2016 18:21:10 +0000 (10:21 -0800)]
Fix debug build when spirv-tools is not available

vk::validateSpirV signature mismatch was causing linking error
in debug builds when DEQP_HAVE_SPIRV_TOOLS was not defined.

Change-Id: Icf98f80b72dfa744c4482b1abb0b7d1132aad296

8 years agoMerge "Make deqp build reproducible" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 18:07:20 +0000 (18:07 +0000)]
Merge "Make deqp build reproducible" into nyc-dev

8 years agoMerge "Test vkCreateInstance with NULL application info" into nyc-dev
Jesse Hall [Thu, 10 Mar 2016 17:01:15 +0000 (17:01 +0000)]
Merge "Test vkCreateInstance with NULL application info" into nyc-dev

8 years agoTest vkCreateInstance with NULL application info
Jesse Hall [Wed, 9 Mar 2016 00:22:45 +0000 (16:22 -0800)]
Test vkCreateInstance with NULL application info

Bug: 27531340
Change-Id: I38fd9b48535aff49cb2e30355b8cfea2ea3f0f68

8 years agoDon't require GL config for deqp packages
Mika Isojärvi [Thu, 10 Mar 2016 01:02:43 +0000 (17:02 -0800)]
Don't require GL config for deqp packages

Option deqp-gl-config-name is not required for Vulkan package. Default is set
to "" which won't be passed to deqp executor.

Change-Id: I10bbb61b396b731bda5476cfcbc7b16ebaa05f7f

8 years agoAdd dEQP-VK.wsi test group
Pyry Haulos [Tue, 8 Mar 2016 23:52:58 +0000 (15:52 -0800)]
Add dEQP-VK.wsi test group

Includes basic tests for VkSurfaceKHR.

Change-Id: Iafe8d14cc22f26381ff5c8b0422a03029a09944a

8 years agoAdd WSI extension support to Vulkan framework
Pyry Haulos [Tue, 16 Feb 2016 13:42:20 +0000 (15:42 +0200)]
Add WSI extension support to Vulkan framework

Change-Id: I4619c2f8b42c0d08bf6b9377592b100d588037f9

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

Change-Id: I4e469b9384701303f96826c25a51e623316719dc

8 years agoMake deqp build reproducible
Mika Isojärvi [Wed, 9 Mar 2016 22:28:16 +0000 (14:28 -0800)]
Make deqp build reproducible

Change-Id: Id09a9b30ba13a21eebd6d5ddb42efaf10e831da4

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

8 years agoRe-generate Android mustpass lists
Pyry Haulos [Wed, 9 Mar 2016 21:06:05 +0000 (13:06 -0800)]
Re-generate Android mustpass lists

Change-Id: I9e8d2d456284cd0522967507f873f8716b3634a7

8 years agoMerge in ES3.2 tests
Pyry Haulos [Wed, 9 Mar 2016 21:00:03 +0000 (13:00 -0800)]
Merge in ES3.2 tests

Change-Id: I66d529eb13aa90382a553e4781123b716cb4cb0e

8 years agoRemove obsolete filter from mustpass exclusion list
Pyry Haulos [Wed, 9 Mar 2016 20:36:30 +0000 (12:36 -0800)]
Remove obsolete filter from mustpass exclusion list

Change-Id: If19713d7478c7f44981c5308c8d538ffd730bd7e

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 agoIncrease threshold in ES2 frag op and buffer tests
Pyry Haulos [Mon, 7 Mar 2016 20:48:25 +0000 (12:48 -0800)]
Increase threshold in ES2 frag op and buffer tests

Bug: 27527527
Bug: 27527530
Change-Id: Id94e11c300baa07a0b98c758cf5186c47465318b

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 "Add support for ES 3.2." into gles32-dev
Pyry Haulos [Fri, 26 Feb 2016 18:08:37 +0000 (18:08 +0000)]
Merge "Add support for ES 3.2." into gles32-dev

8 years agoMerge "Select appropriate shader version for running context." into gles32-dev
Pyry Haulos [Fri, 26 Feb 2016 17:58:45 +0000 (17:58 +0000)]
Merge "Select appropriate shader version for running context." into gles32-dev

8 years agoMerge "Add negative tests for precise qualifier and advanced blending." into gles32-dev
Pyry Haulos [Fri, 26 Feb 2016 17:44:05 +0000 (17:44 +0000)]
Merge "Add negative tests for precise qualifier and advanced blending." into gles32-dev

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 agoAdd negative tests for precise qualifier and advanced blending.
Daniel Andrade Groppe [Thu, 25 Feb 2016 19:59:59 +0000 (13:59 -0600)]
Add negative tests for precise qualifier and advanced blending.

Change-Id: Ib0560b5e97aa7b6a272d9525d18d6e8cd82c9f8d

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 agoMerge "Add support for ES 3.2." into gles32-dev
Pyry Haulos [Thu, 25 Feb 2016 22:20:13 +0000 (22:20 +0000)]
Merge "Add support for ES 3.2." into gles32-dev

8 years agoMerge "Select appropriate shader version for running context." into gles32-dev
Pyry Haulos [Thu, 25 Feb 2016 22:19:49 +0000 (22:19 +0000)]
Merge "Select appropriate shader version for running context." into gles32-dev

8 years agoSelect shader version appropriate for context version.
Daniel Andrade Groppe [Thu, 25 Feb 2016 19:51:57 +0000 (13:51 -0600)]
Select shader version appropriate for context version.

- Check if required extensions are supported in 3.1 contexts.

Change-Id: Idf4f16f75073a977596b40988177ab924d86d4a7

8 years agoAdd support for ES 3.2.
Daniel Andrade Groppe [Thu, 25 Feb 2016 21:58:02 +0000 (15:58 -0600)]
Add support for ES 3.2.

Change-Id: Ic17ec910710af4a5aebec8e9b78ba95679d26751

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 agoAdd support for ES 3.2.
Daniel Andrade Groppe [Thu, 25 Feb 2016 21:49:45 +0000 (15:49 -0600)]
Add support for ES 3.2.

Change-Id: Ib0490b74a20f0bd59b2f6c03e07ce8ea2688f85b

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).