platform/upstream/VK-GL-CTS.git
8 years agoChange Vulkan CTS license to Apache 2
Pyry Haulos [Tue, 29 Mar 2016 20:47:06 +0000 (13:47 -0700)]
Change Vulkan CTS license to Apache 2

8 years agoFix malformed copyright boxes
Pyry Haulos [Tue, 29 Mar 2016 20:40:06 +0000 (13:40 -0700)]
Fix malformed copyright boxes

8 years agoMerge branch '341-fix-invocations' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 29 Mar 2016 19:36:22 +0000 (19:36 +0000)]
Merge branch '341-fix-invocations' into 'vulkan-cts-1.0'

Remove invalid Invocations=0 from geometry shaders.

All of these geometry shaders are default, so they do not need any
Invocations decoration.

Fixeds #341

See merge request !477

8 years agoRemove invalid Invocations=0 from geometry shaders.
Andrew Woloszyn [Tue, 22 Mar 2016 15:57:04 +0000 (11:57 -0400)]
Remove invalid Invocations=0 from geometry shaders.

All of these geometry shaders are default, so they do not need any
Invocations decoration.

8 years agoMerge branch 'side-effect-of-322_api-patch-version-test' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 22 Mar 2016 14:53:04 +0000 (07:53 -0700)]
Merge branch 'side-effect-of-322_api-patch-version-test' into 'vulkan-cts-1.0'

Add a test for checking random values of PATCH component of VKApplicationInfo.apiVersion

This is a continuation of #322, where negative test for checking random patch versions is removed.

Here, a positive test is added instead to ensure that vkCreateInstande does NOT fail if PATCH version is unrecognized, weird or just 0.

See merge request !462

8 years agoMerge branch '329-fix-undef-tests' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 22 Mar 2016 14:52:27 +0000 (07:52 -0700)]
Merge branch '329-fix-undef-tests' into 'vulkan-cts-1.0'

Fix createOpUndef tests.

If we get a Nan from the OpFMul %f32 %undef %c_f32_0 then zero that
out as well.

Fixes #329

See merge request !473

8 years agovktApiDeviceInitializationTests patch iteration added
saniola [Thu, 3 Mar 2016 15:34:07 +0000 (16:34 +0100)]
vktApiDeviceInitializationTests patch iteration added

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 agoFix createOpUndef tests.
Andrew Woloszyn [Wed, 16 Mar 2016 20:06:16 +0000 (16:06 -0400)]
Fix createOpUndef tests.

If we get a Nan from the OpFMul %f32 %undef %c_f32_0 then zero that
out as well.

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 '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 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 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 '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 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 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 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 '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 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 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 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 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 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 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 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 branch 'aosp-copyright' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 12 Feb 2016 17:44:04 +0000 (12:44 -0500)]
Merge branch 'aosp-copyright' into 'vulkan-cts-1.0'

Add AOSP copyright to tests ported from dEQP GLES tests

See merge request !436

8 years agoMerge branch '305-fix-access-flags' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 12 Feb 2016 17:24:48 +0000 (12:24 -0500)]
Merge branch '305-fix-access-flags' into 'vulkan-cts-1.0'

Fix for dEQP-VK.image.load_store* lacks setting access flags for image memory barrier

Fixes #305

See merge request !438

8 years agodEQP-VK.image.load_store* lacks setting access flags for image memory barrier
Kantoch [Fri, 12 Feb 2016 14:22:33 +0000 (15:22 +0100)]
dEQP-VK.image.load_store* lacks setting access flags for image memory barrier

8 years agoAdd AOSP copyright to tests ported from dEQP GLES tests
Pyry Haulos [Thu, 11 Feb 2016 21:39:09 +0000 (13:39 -0800)]
Add AOSP copyright to tests ported from dEQP GLES tests

8 years agoMerge branch '259-fix-arm-gcc-issue' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 20:21:42 +0000 (15:21 -0500)]
Merge branch '259-fix-arm-gcc-issue' into 'vulkan-cts-1.0'

Image load/store: remove DynArray

As per description in #259 this code posed a problem in some situations, so this is an attempt to sidestep an issue altogether.

Fixes #259

See merge request !419

8 years agoMerge branch 'fix-290-291-ds-advanced' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 17:46:17 +0000 (12:46 -0500)]
Merge branch 'fix-290-291-ds-advanced' into 'vulkan-cts-1.0'

Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced #290, #291

- Add missing barriers to ensure fragment loads wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations

Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c

See merge request !432

8 years agoMerge branch '289-renderpass-formats' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 17:45:17 +0000 (12:45 -0500)]
Merge branch '289-renderpass-formats' into 'vulkan-cts-1.0'

Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.

Round the (-0.5,-0.5) - (0.5,0.5) quad coordinates to pixel edges, to fix #289.

See merge request !430

8 years agoRound quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.
Michael Stokes [Tue, 9 Feb 2016 13:50:40 +0000 (14:50 +0100)]
Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.

Fixes #289

8 years agoMerge branch '295-fix-glsl-discard-missing-barriers' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 17:39:25 +0000 (12:39 -0500)]
Merge branch '295-fix-glsl-discard-missing-barriers' into 'vulkan-cts-1.0'

Fix for dEQP-VK.glsl.discard.* missing barriers

ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer

See merge request !434

8 years agoFix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced
Joerg Wagner [Tue, 9 Feb 2016 19:57:17 +0000 (20:57 +0100)]
Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced

- Add missing barriers to ensure fragment loads for color and ds wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations

Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c

8 years agoRemove header snippets from Vulkan API test plan
Pyry Haulos [Wed, 10 Feb 2016 21:49:16 +0000 (13:49 -0800)]
Remove header snippets from Vulkan API test plan

8 years agoShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer
Mais Alnasser [Wed, 10 Feb 2016 20:08:15 +0000 (15:08 -0500)]
ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer

8 years agoAdd top-level README
Pyry Haulos [Wed, 10 Feb 2016 20:45:07 +0000 (12:45 -0800)]
Add top-level README

8 years agoMerge branch 'remove-confidentiality-clause' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 10 Feb 2016 18:18:02 +0000 (13:18 -0500)]
Merge branch 'remove-confidentiality-clause' into 'vulkan-cts-1.0'

Remove confidentiality clause from Vulkan CTS license

See merge request !433

8 years agoRemove confidentiality clause from Vulkan CTS license
Pyry Haulos [Tue, 9 Feb 2016 20:49:00 +0000 (12:49 -0800)]
Remove confidentiality clause from Vulkan CTS license

8 years agoMerge branch '274-remove-round-mustpass' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 9 Feb 2016 18:30:47 +0000 (13:30 -0500)]
Merge branch '274-remove-round-mustpass' into 'vulkan-cts-1.0'

Remove rounding tests from the mustpass list

See merge request !429

8 years agoMerge branch '283-reset-query-pool-before-use' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 9 Feb 2016 18:29:53 +0000 (13:29 -0500)]
Merge branch '283-reset-query-pool-before-use' into 'vulkan-cts-1.0'

Add missing commands for reseting queryPool prior to use

Fixes #283

See merge request !428

8 years agoMerge branch 'origin/280-move_vkCmdCopyQueryPoolResults_outside_renderpass' into...
Pyry Haulos [Tue, 9 Feb 2016 18:29:06 +0000 (13:29 -0500)]
Merge branch 'origin/280-move_vkCmdCopyQueryPoolResults_outside_renderpass' into 'vulkan-cts-1.0'

#280: End the renderpass before trying to copy the query results

End the renderpass before trying to copy the query results,
as vkCmdCopyQueryPoolResults is only allowed outside.

Fixes #280.

See merge request !424

8 years agoRemove rounding tests from the mustpass list
Peter Gal [Tue, 9 Feb 2016 10:58:49 +0000 (11:58 +0100)]
Remove rounding tests from the mustpass list

8 years agoCompute, image: remove DynArray
Maciej Jesionowski [Fri, 5 Feb 2016 10:34:18 +0000 (11:34 +0100)]
Compute, image: remove DynArray

8 years agoMerge branch '287-puniq' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 8 Feb 2016 19:09:06 +0000 (14:09 -0500)]
Merge branch '287-puniq' into 'vulkan-cts-1.0'

Make buffer-pointer types unique.  Fixes #287

See merge request !425

8 years agoAdd missing commands for reseting queryPool prior to use
Szilard Ledan [Mon, 8 Feb 2016 16:08:27 +0000 (17:08 +0100)]
Add missing commands for reseting queryPool prior to use

8 years agoMake buffer-pointer types unique.
Dejan Mircevski [Sun, 7 Feb 2016 22:32:27 +0000 (17:32 -0500)]
Make buffer-pointer types unique.

8 years agoEnd the renderpass before trying to copy the query results, as
Joerg Wagner [Sun, 7 Feb 2016 12:54:37 +0000 (13:54 +0100)]
End the renderpass before trying to copy the query results, as
vkCmdCopyQueryPoolResults is only allowed outside.

Change-Id: I07cdd6c056017418f5080bdabb56746daeea73e7

8 years agoMerge branch '277-log-original-assembly-of-SPIRV-assembly-tests' into 'master'
Pyry Haulos [Fri, 5 Feb 2016 16:33:29 +0000 (11:33 -0500)]
Merge branch '277-log-original-assembly-of-SPIRV-assembly-tests' into 'master'

Add original assembly of the SPIR-V assembly tests to the log

fixes #277

Old MR: !416 (I had to create a new MR one because of renaming the branch.)

See merge request !420

8 years agoAdd original assembly of the SPIR-V assembly tests to the log
Csaba Osztrogonác [Fri, 5 Feb 2016 11:03:45 +0000 (12:03 +0100)]
Add original assembly of the SPIR-V assembly tests to the log

fixes #277

8 years agoMerge branch '278-proposed_texcoord_offset_is_too_low_fix' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 4 Feb 2016 21:26:18 +0000 (16:26 -0500)]
Merge branch '278-proposed_texcoord_offset_is_too_low_fix' into 'vulkan-cts-1.0'

Fixes #278

8 years agoMerge branch '276-fix-incorrect-buffer-usage-flag' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 4 Feb 2016 21:24:33 +0000 (16:24 -0500)]
Merge branch '276-fix-incorrect-buffer-usage-flag' into 'vulkan-cts-1.0'

dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag

Fixes #276

See merge request !418

8 years agodEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag
Maciej Jesionowski [Thu, 4 Feb 2016 17:24:18 +0000 (18:24 +0100)]
dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag

8 years agoIncrease texcoord offset used by pipeline.sampler conformance tests from 0.001 to...
Dominik Witczak [Thu, 4 Feb 2016 12:32:05 +0000 (13:32 +0100)]
Increase texcoord offset used by pipeline.sampler conformance tests from 0.001 to 0.002

8 years agoMerge branch 'gstrm' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:25:17 +0000 (13:25 -0500)]
Merge branch 'gstrm' into 'vulkan-cts-1.0'

Eliminate Stream decorations.

They require the `GeometryStreams` capability, which I'm not sure we should require of every implementation.

See merge request !406

8 years agoMerge branch 'jbolz_createBuffer_memoryType' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:24:05 +0000 (13:24 -0500)]
Merge branch 'jbolz_createBuffer_memoryType' into 'vulkan-cts-1.0'

Change buffer tests to use queried memory type index

Previously this test assumed/required that memory type 0 was capable of sparse.

See merge request !407

8 years agoMerge branch '266-dEQP-VK.renderpass-Test-Fixes' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:15:13 +0000 (13:15 -0500)]
Merge branch '266-dEQP-VK.renderpass-Test-Fixes' into 'vulkan-cts-1.0'

dEQP-VK.renderpass-Test-Fixes

* cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero.
* Adding code to initialize image attachment usage.

Fixes issue #266

See merge request !408

8 years agoMerge branch '271-uninitialized-size' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:09:54 +0000 (13:09 -0500)]
Merge branch '271-uninitialized-size' into 'vulkan-cts-1.0'

Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image

The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.

Fixes #271

See merge request !414

8 years agoMerge branch '273-vertex-input-stride-fix' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:09:02 +0000 (13:09 -0500)]
Merge branch '273-vertex-input-stride-fix' into 'vulkan-cts-1.0'

dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.

Consecutive strides did not result in aligned accesses to the vertex
attributes.

See merge request !415

8 years agodEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.
Dae Kim [Wed, 3 Feb 2016 11:23:56 +0000 (11:23 +0000)]
dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.

Consecutive strides did not result in aligned accesses to the vertex
attributes.

8 years agoGet sampled and storage usage flags from format properties.
Mais Alnasser [Tue, 2 Feb 2016 07:32:45 +0000 (02:32 -0500)]
Get sampled and storage usage flags from format properties.

8 years agoDon't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image
Kristian Høgsberg Kristensen [Mon, 1 Feb 2016 23:14:25 +0000 (15:14 -0800)]
Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image

The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.

8 years agoMerge branch '268-command-buffers-memory-leak-fix' into 'master'
Pyry Haulos [Mon, 1 Feb 2016 18:55:23 +0000 (13:55 -0500)]
Merge branch '268-command-buffers-memory-leak-fix' into 'master'

268 dEQP-VK.api.command_buffers test fix.

Fixes the memory leaks in the CommandBuffers tests. (vulkan/vulkancts#268)

See merge request !412

8 years agoMerge branch '267-spirv_assembly.instruction-Fixes' into 'master'
Pyry Haulos [Mon, 1 Feb 2016 18:54:39 +0000 (13:54 -0500)]
Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'

267 spirv assembly.instruction fixes

1- missing ArrayStride: Array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost. Affects:

    spirv_assembly.instruction.compute.opcopymemory.*

2- OpSelect's condition operand doesn't follow spec:

    OpSelect's condition operand should have same component number as OpSelect's result type.

    SPIR-V spec p110:
    OpSelect
    ...
    Condition must be a scalar or vector of Boolean type. It must have the same number of components as Result Type.

This addresses issue #267

See merge request !410

8 years agoRemoved correct code by mistake, adding that back and back out the originally intende...
Mais Alnasser [Mon, 1 Feb 2016 15:44:37 +0000 (10:44 -0500)]
Removed correct code by mistake, adding that back and back out the originally intended code.

8 years agoCommandPool creations in some tests are fixed.
Peter Siket [Mon, 1 Feb 2016 12:07:29 +0000 (13:07 +0100)]
CommandPool creations in some tests are fixed.

8 years agoApply formating fixes
Mais Alnasser [Sun, 31 Jan 2016 00:25:30 +0000 (19:25 -0500)]
Apply formating fixes
Remove ArrayStride code.

8 years agoOpSelect's condition operand didn't follow spec
Mais Alnasser [Sat, 30 Jan 2016 19:33:27 +0000 (14:33 -0500)]
OpSelect's condition operand didn't follow spec
OpSelect's condition operand should have same component number as OpSelect's result type.

SPIR-V spec p110:
OpSelect
...
Condition must be a scalar or vector of Boolean type. It must have the
same number of components as Result Type.

8 years agospirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array...
Mais Alnasser [Thu, 28 Jan 2016 21:57:04 +0000 (16:57 -0500)]
spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.

8 years agoFix Renderpass tests cmdPipelineBarrier should not be called with srcStageMask and...
Mais Alnasser [Fri, 29 Jan 2016 19:59:41 +0000 (14:59 -0500)]
Fix Renderpass tests cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero. Adding code to initialize image attachment usage.

8 years agoChange buffer tests to use queried memory type index
Jeff Bolz [Sat, 30 Jan 2016 18:24:22 +0000 (18:24 +0000)]
Change buffer tests to use queried memory type index

8 years agoEliminate Stream decorations.
Dejan Mircevski [Fri, 29 Jan 2016 19:35:03 +0000 (14:35 -0500)]
Eliminate Stream decorations.

8 years agoFix capability for Stream decorations.
Dejan Mircevski [Thu, 28 Jan 2016 20:42:50 +0000 (15:42 -0500)]
Fix capability for Stream decorations.