platform/upstream/VK-GL-CTS.git
8 years agoSparse Image Residency Test
Kantoch [Wed, 24 Feb 2016 09:31:26 +0000 (10:31 +0100)]
Sparse Image Residency Test

8 years agoSparse Buffer Residency Test
Kantoch [Wed, 10 Feb 2016 16:34:06 +0000 (17:34 +0100)]
Sparse Buffer Residency Test

8 years agoSparse Resources Binding Tests
Kantoch [Thu, 4 Feb 2016 12:50:00 +0000 (13:50 +0100)]
Sparse Resources Binding Tests

8 years agoAdded getPhysicalDeviceSparseImageFormatProperties to Framework
Kantoch [Mon, 21 Mar 2016 13:05:41 +0000 (14:05 +0100)]
Added getPhysicalDeviceSparseImageFormatProperties to Framework

8 years agoMerge branch '167-image-atomic-operations-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Wed, 23 Mar 2016 21:45:58 +0000 (14:45 -0700)]
Merge branch '167-image-atomic-operations-tests' into 'vulkan-cts-1.0-dev'

Image Atomic Operations Tests

This merge request implements issue #167
Port Image Atomic Operations tests from OpenGL ES 3.1 to Vulkan.
To be precise port BinaryAtomicOperationCase test case from es31fShaderImageLoadStoreTests.cpp

See merge request !254

8 years agoMerge branch 'command-buffers' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 22 Mar 2016 14:54:47 +0000 (07:54 -0700)]
Merge branch 'command-buffers' into 'vulkan-cts-1.0-dev'

Extending command buffers tests

Three new tests are added to the command buffer tests.

See merge request !453

8 years agoMerge branch '284-image-early-fragment-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 22 Mar 2016 14:53:55 +0000 (07:53 -0700)]
Merge branch '284-image-early-fragment-tests' into 'vulkan-cts-1.0-dev'

Early fragment tests

Ported from OpenGL ES 3.1

Some changes wrt the original implementation:
- original test was categorized as "image", but I moved it to "pipeline"
  as it seemed more appropriate. (As a result branch name is slightly off now)
- uses SSBO/atomicAdd instead of image/imageAtomicAdd. Image use was an
  implementation detail and buffer is more straightforward to use.
- GLES had non-VBO cases which don't translate to Vulkan so were left out.

Fixes #284

See merge request !435

8 years agoEarly fragment tests
Maciej Jesionowski [Wed, 10 Feb 2016 11:08:05 +0000 (12:08 +0100)]
Early fragment tests

Ported from OpenGL ES 3.1

Some changes wrt the original implementation:
- original test was categorized as "image", but I moved it to "pipeline"
  as it seemed more appropriate.
- uses SSBO/atomicAdd instead of image/imageAtomicAdd. Image use was an
  implementation detail and buffer is more straightforward to use.
- GLES had non-VBO cases which don't translate to Vulkan so were left out.

8 years agoCommand buffer tests are fixed and extended.
Peter Siket [Tue, 26 Jan 2016 14:08:16 +0000 (15:08 +0100)]
Command buffer tests are fixed and extended.

8 years agoAdded command buffer tests using semaphores
Jan Syryczynski [Thu, 7 Jan 2016 09:52:37 +0000 (10:52 +0100)]
Added command buffer tests using semaphores

8 years agoMerge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Pyry Haulos [Mon, 21 Mar 2016 17:34:57 +0000 (10:34 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev

8 years agoMerge branch 'jbreton-buffer-test-heap-limit' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 21 Mar 2016 17:28:07 +0000 (10:28 -0700)]
Merge branch 'jbreton-buffer-test-heap-limit' into 'vulkan-cts-1.0'

Fix createBuffer tests to clamp the buffer size based on the size of the selected heap

Right now, those tests clamp the allocation size based on the size of heap 0.
This is incorrect if the allocation is not done on heap 0.
In order to get the first compatible heap, we need to create the buffer and then call getBufferMemoryRequirements to query the requirement.

Then if we detect if the size need to be clamped we will recreate another buffer with the clamped size.

Fixes #326

See merge request !464

8 years agoclamp allocation size based on heap size
Jeannot Breton [Fri, 4 Mar 2016 19:05:39 +0000 (13:05 -0600)]
clamp allocation size based on heap size

8 years agoImage Atomic Operations Tests
Kantoch [Mon, 21 Dec 2015 10:12:40 +0000 (11:12 +0100)]
Image Atomic Operations Tests

8 years agoMerge branch '325-spirv-assembly-avoid-rounding' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 10 Mar 2016 21:35:18 +0000 (16:35 -0500)]
Merge branch '325-spirv-assembly-avoid-rounding' into 'vulkan-cts-1.0'

dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding

Avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.

See merge request !461

8 years agoMerge branch 'issue-307' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 10 Mar 2016 16:18:03 +0000 (11:18 -0500)]
Merge branch 'issue-307' into 'vulkan-cts-1.0'

Issue 307: Add new --deqp-log-flush command line option

Fixes issue #307

It defaults to enabled. When disabled it skips calling fflush() for every XML token and line of log.

See merge request !441

8 years agodEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding in...
Dae Kim [Wed, 9 Mar 2016 15:16:25 +0000 (15:16 +0000)]
dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.

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 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 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 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 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 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 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 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 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 agoAdd new --deqp-log-flush command line option
Piers Daniell [Thu, 18 Feb 2016 18:54:23 +0000 (11:54 -0700)]
Add new --deqp-log-flush command line option

It defaults to enabled. When disabled it skips calling fflush() for
every XML token and line of log.

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

8 years agoUpdate glslang and spirv-tools in fetch_sources.py to public versions
Pyry Haulos [Tue, 16 Feb 2016 15:16:56 +0000 (17:16 +0200)]
Update glslang and spirv-tools in fetch_sources.py to public versions

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 agoMerge in changes from Khronos Vulkan CTS repo
Pyry Haulos [Mon, 15 Feb 2016 12:21:54 +0000 (04:21 -0800)]
Merge in changes from Khronos Vulkan CTS repo

8 years agoMerge branch '286-extend-device-feature-limit-validation' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:45:52 +0000 (06:45 -0500)]
Merge branch '286-extend-device-feature-limit-validation' into 'master'

Extend device feature and limit validation in dEQP-VK.api.info

Fixes #286

See merge request !423

8 years agoMerge branch '292-use-spirv-tools-to-create-disassembly' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:43:23 +0000 (06:43 -0500)]
Merge branch '292-use-spirv-tools-to-create-disassembly' into 'master'

disassembleSpirV should use spirv-tools instead of glslang

Fixes #292

See merge request !427

8 years agoMerge branch '292-update-glslang' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:42:04 +0000 (06:42 -0500)]
Merge branch '292-update-glslang' into 'master'

Update glslang

This is a dependency of #292.

We need a glslang fix to avoid header clashing between glslang and spirv-tools: glslang commit f947debf70f626ab2fd9dd1339be5f3d1ce8c671

Let's bump to the latest KHR_vulkan_glsl revision: 6060845a36bfeed28357942b93335b29642c99cb

See merge request !440

8 years agoMerge branch '272-bump-version-to-310' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:40:51 +0000 (06:40 -0500)]
Merge branch '272-bump-version-to-310' into 'master'

Bump #version to 310 in vktApiSmokeTests.cpp

fixes #272

See merge request !439

8 years agoDisable robustBufferAccess in the default VkDevice to avoid performance issues on...
Dae Kim [Sat, 13 Feb 2016 16:03:38 +0000 (16:03 +0000)]
Disable robustBufferAccess in the default VkDevice to avoid performance issues on some HW

8 years agoMerge in changes from Khronos Vulkan CTS repo
Pyry Haulos [Fri, 12 Feb 2016 18:51:57 +0000 (10:51 -0800)]
Merge in changes from Khronos Vulkan CTS repo

8 years agoMerge "Add Vulkan support to DeqpTestRunner and mustpass script." into nyc-dev
Mika Isojarvi [Fri, 12 Feb 2016 18:23:48 +0000 (18:23 +0000)]
Merge "Add Vulkan support to DeqpTestRunner and mustpass script." into nyc-dev