platform/upstream/VK-GL-CTS.git
8 years agoRefactor mustpass script
Pyry Haulos [Thu, 14 Jan 2016 21:48:08 +0000 (13:48 -0800)]
Refactor mustpass script

Move actual configuration-independent implementation to
scripts/mustpass.py

Change-Id: I706b08379db2d4b17caecac192cbace4aa6e718a

8 years agoRemove unused variable.
Pyry Haulos [Thu, 14 Jan 2016 18:28:44 +0000 (10:28 -0800)]
Remove unused variable.

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Thu, 14 Jan 2016 18:20:39 +0000 (10:20 -0800)]
Merge in changes from Khronos repository

8 years agoMerge branch 'scygan_astc_fix' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 18:19:41 +0000 (13:19 -0500)]
Merge branch 'scygan_astc_fix' into 'master'

pipeline.image.view_type.2d.format.astc: fix compression parameters for  ASTC formats

Looks like there is an error in tcuCompressedTexture.hpp file. Here:
TexDecompressionParams (AstcMode astcMode_ = ASTCMODE_LAST) : astcMode(astcMode_) {}
ASTCMODE_LAST is set instead of ASTCMODE_LDR.

This causes an assert in tcuCompressedTexture.cpp file:
DE_ASSERT(params.astcMode == TexDecompressionParams::ASTCMODE_LDR || params.astcMode == TexDecompressionParams::ASTCMODE_HDR);

See merge request !276

8 years agoMerge branch 'scygan_compute_to_small_dset' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 18:18:06 +0000 (13:18 -0500)]
Merge branch 'scygan_compute_to_small_dset' into 'master'

dEQP-VK.compute.indirect_dispatch.*  - to small descriptor pool

Descriptor pool is created with not enough storage for a used descriptor type increased proper descriptorCount to match the number of allocations in test.

See merge request !306

8 years agoMerge branch 'jbolz_vertexIndex_instanceIndex' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 18:16:46 +0000 (13:16 -0500)]
Merge branch 'jbolz_vertexIndex_instanceIndex' into 'master'

Search/place VertexID->VertexIndex and InstanceID->InstanceIndex

Fixes #181.

This is all just simple search and replace. None of these files used non-zero firstVertex/firstInstance.

I did some testing of the affected tests, but I can't run all the spirv assembly tests.

See merge request !298

8 years agoMerge branch 'jbolz_compute' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 18:16:09 +0000 (13:16 -0500)]
Merge branch 'jbolz_compute' into 'master'

Fix compute tests: UBO/SSBO layout mismatch, and uninitialized atomic counter value

ubo_to_ssbo tests had mismatching layout (UBO defaults to std140, SSBO defaults to std430). Since there are tests for UBO->SSBO and SSBO->SSBO, easiest thing to do is to consistently use std140 layout.

ImageBarrier tests did not initialize the output buffer, which is written via atomic adds.

See merge request !281

8 years agoMerge branch 'fix-unsupported-result-in-api-buffer-tests' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 18:15:31 +0000 (13:15 -0500)]
Merge branch 'fix-unsupported-result-in-api-buffer-tests' into 'master'

Fixing buffer test results if sparse memory is not supported.

Changed the results of the buffer tests from 'pass' to 'not supported' if the sparse memory is required but the hardware does not support it.

See merge request !302

8 years agoMerge branch 'awoloszyn-fix-opquantize-tests' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 18:13:42 +0000 (13:13 -0500)]
Merge branch 'awoloszyn-fix-opquantize-tests' into 'master'

Fix OpQuantizeF16 Spirv-assembly tests.

Fixes indexing error in constructNormalizedFloat.
Fixes incorrect constants being used in some tests.

Fixes #193

See merge request !290

8 years agomerge master
Jeff Bolz [Thu, 14 Jan 2016 17:47:46 +0000 (17:47 +0000)]
merge master

8 years agoMerge "Bug fixes to render pass tests." into vulkan
Mika Isojarvi [Thu, 14 Jan 2016 17:47:11 +0000 (17:47 +0000)]
Merge "Bug fixes to render pass tests." into vulkan

8 years agofix compression parameters for ASTC formats
scygan [Thu, 14 Jan 2016 17:32:18 +0000 (18:32 +0100)]
fix compression parameters for ASTC formats

8 years agoMerge branch 'scygan_spirv_assembly-opunreachanble_bad_ptr_type-pr617' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 17:26:40 +0000 (12:26 -0500)]
Merge branch 'scygan_spirv_assembly-opunreachanble_bad_ptr_type-pr617' into 'master'

Fix dEQP-VK.spirv_assembly.instruction.compute.opunreachable.all

Fix hand-written SPIR-V: const int was passed to a function taking a pointer as a parameter

See merge request !305

8 years agoMerge branch 'scygan_spirv_assembly-wrong_type_of_struct_member_pr620' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 17:26:11 +0000 (12:26 -0500)]
Merge branch 'scygan_spirv_assembly-wrong_type_of_struct_member_pr620' into 'master'

Fix dEQP-VK.spirv_assembly.instruction.graphics.opconstantcomposite.struct* - wrong type of struct member

The %fp_v4f32 structure has two members: [0] of vec4 type, and [1] of float  type. However OpAccessChain for [1] member, which is a float, so as subsequent OpLoad use vec4 as type.

See merge request !304

8 years agoMerge branch 'jekstrand_spirv_assembly_fixes' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 17:25:42 +0000 (12:25 -0500)]
Merge branch 'jekstrand_spirv_assembly_fixes' into 'master'

Various fixes for the spirv_assembly tests

This fixes all of the problems I've found so far with the SPIR-V assembly tests.

I think this should be enough to fix #184.

See merge request !301

8 years agoDescriptor pool is created with not enough storage for a used descriptor type - incre...
pflisiko [Thu, 14 Jan 2016 13:27:41 +0000 (14:27 +0100)]
Descriptor pool is created with not enough storage for a used descriptor type - increased proper descriptorCount to match the number of allocations in test.

8 years agoFix dEQP-VK.spirv_assembly.instruction.compute.opunreachable.all
scygan [Thu, 14 Jan 2016 13:56:12 +0000 (14:56 +0100)]
Fix dEQP-VK.spirv_assembly.instruction.compute.opunreachable.all

Fix hand-written SPIR-V: const int was passed to a function taking a pointer as a parameter

8 years agoFix dEQP-VK.spirv_assembly.instruction.graphics.opconstantcomposite.struct* - wrong...
scygan [Thu, 14 Jan 2016 15:59:22 +0000 (16:59 +0100)]
Fix dEQP-VK.spirv_assembly.instruction.graphics.opconstantcomposite.struct* - wrong type of struct member

The %fp_v4f32 structure has two members: [0]  of vec4 type, and [1] of float  type. However OpAccessChain for [1] member,
 which is a float, so as subsequent load use vec4 as type

8 years agoFixing buffer test results if spares memory is not suppoerted.
Peter Siket [Thu, 14 Jan 2016 09:26:19 +0000 (10:26 +0100)]
Fixing buffer test results if spares memory is not suppoerted.

8 years agoSwitch to libpng_ndk to remove platform library dependency am: cf4407563b am: aa4099c48f
Brian Carlstrom [Thu, 14 Jan 2016 06:18:40 +0000 (06:18 +0000)]
Switch to libpng_ndk to remove platform library dependency am: cf4407563b am: aa4099c48f
am: fdd37578e7

* commit 'fdd37578e709ea65535aab80038a6ea4704384fa':
  Switch to libpng_ndk to remove platform library dependency

8 years agoSwitch to libpng_ndk to remove platform library dependency am: cf4407563b
Brian Carlstrom [Thu, 14 Jan 2016 06:15:14 +0000 (06:15 +0000)]
Switch to libpng_ndk to remove platform library dependency am: cf4407563b
am: aa4099c48f

* commit 'aa4099c48f58c93d951b64451ef87adb31fce406':
  Switch to libpng_ndk to remove platform library dependency

8 years agoSwitch to libpng_ndk to remove platform library dependency
Brian Carlstrom [Thu, 14 Jan 2016 05:05:13 +0000 (05:05 +0000)]
Switch to libpng_ndk to remove platform library dependency
am: cf4407563b

* commit 'cf4407563b4783b69214f3542728806468b200a6':
  Switch to libpng_ndk to remove platform library dependency

8 years agovktSpvAsmInstructionTests: Add array strides to OpSpecConstant tests
Jason Ekstrand [Wed, 13 Jan 2016 23:44:32 +0000 (15:44 -0800)]
vktSpvAsmInstructionTests: Add array strides to OpSpecConstant tests

8 years agoMerge "Do not normalize binary path in xs::PosixTestProcess"
Pyry Haulos [Wed, 13 Jan 2016 23:22:34 +0000 (23:22 +0000)]
Merge "Do not normalize binary path in xs::PosixTestProcess"
am: 5231f5a8b9

* commit '5231f5a8b9a6a3f177033157b83bf92353d7864d':
  Do not normalize binary path in xs::PosixTestProcess

8 years agoUse device limits in api object management tests.
Mika Isojärvi [Wed, 13 Jan 2016 23:02:46 +0000 (15:02 -0800)]
Use device limits in api object management tests.

Change-Id: Ibad7fa9df8fb5ad8eec7298ac360585f2f3e0c2f

8 years agoMerge "Do not normalize binary path in xs::PosixTestProcess"
Pyry Haulos [Wed, 13 Jan 2016 23:19:31 +0000 (23:19 +0000)]
Merge "Do not normalize binary path in xs::PosixTestProcess"

8 years agoMerge branch 'jbolz_mapBorderColor' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 23:10:01 +0000 (18:10 -0500)]
Merge branch 'jbolz_mapBorderColor' into 'master'

Fix mapping of float border colors

See merge request !300

8 years agoFix mapping of float border colors
Jeff Bolz [Wed, 13 Jan 2016 23:07:22 +0000 (23:07 +0000)]
Fix mapping of float border colors

8 years agoSwitch to libpng_ndk to remove platform library dependency
Brian Carlstrom [Wed, 13 Jan 2016 22:19:49 +0000 (22:19 +0000)]
Switch to libpng_ndk to remove platform library dependency
am: f6346adae0

* commit 'f6346adae0294a30fd71bd38ac4e11a68732af6b':
  Switch to libpng_ndk to remove platform library dependency

8 years agoSwitch to libpng_ndk to remove platform library dependency
Brian Carlstrom [Wed, 13 Jan 2016 19:48:47 +0000 (11:48 -0800)]
Switch to libpng_ndk to remove platform library dependency

Bug: 26513978

(cherry picked from commit f6346adae0294a30fd71bd38ac4e11a68732af6b)

Change-Id: If2e08e80be97c3c1b2dbabf9fd482f2bf5179540

8 years agoBug fixes to render pass tests.
Mika Isojärvi [Wed, 13 Jan 2016 21:52:22 +0000 (13:52 -0800)]
Bug fixes to render pass tests.

- Check that subpasses never use more than maxColorAttachments color
  attachments. Fixes #196.
- Handle rounding and quantization in checkColorRenderQuad().
  Fixes #64.
- Add attachment count group for 4.

Change-Id: Ib218ddef344b8b626f822db1cde7e20295298e03

8 years agoDo not normalize binary path in xs::PosixTestProcess
Pyry Haulos [Wed, 13 Jan 2016 21:42:13 +0000 (13:42 -0800)]
Do not normalize binary path in xs::PosixTestProcess

Normalizing path will prevent deProcess correctly stripping leading
working directory name from binary path.

Change-Id: If9e22b683f0f929219147e19cc31b42cf6e6bdeb

8 years agoFix bugs in pipeline barrier tests.
Mika Isojärvi [Wed, 13 Jan 2016 20:55:14 +0000 (12:55 -0800)]
Fix bugs in pipeline barrier tests.

- Set m_currentImageLayout correctly. Fixes 201.
- Make sure GPU has finished before host memory accesses. Fixes #192.
- Handle _BOTTOM_OF_PIPE stage. Fixes #187.

Change-Id: Idd288583486dbd4239515587147301320b065eef

8 years agomerge master
Jeff Bolz [Wed, 13 Jan 2016 20:33:28 +0000 (20:33 +0000)]
merge master

8 years agoSearch/place VertexID->VertexIndex and InstanceID->InstanceIndex
Jeff Bolz [Wed, 13 Jan 2016 20:29:10 +0000 (20:29 +0000)]
Search/place VertexID->VertexIndex and InstanceID->InstanceIndex

8 years agoMerge branch 'awoloszyn-fix-IDs' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 20:16:17 +0000 (15:16 -0500)]
Merge branch 'awoloszyn-fix-IDs' into 'master'

Replaced uses of VertexID and InstanceID.

Switched to using InstanceIndex and VertexIndex.

See merge request !297

8 years agoReplaced uses of VertexID and InstanceID.
Andrew Woloszyn [Wed, 13 Jan 2016 20:11:39 +0000 (15:11 -0500)]
Replaced uses of VertexID and InstanceID.

Switched to using InstanceIndex and VertexIndex.

8 years agoSwitch to libpng_ndk to remove platform library dependency
Brian Carlstrom [Wed, 13 Jan 2016 19:48:47 +0000 (11:48 -0800)]
Switch to libpng_ndk to remove platform library dependency

Bug: 26513978
Change-Id: I4cb929149264adccdaf3de0f0f57a1e6b64921b5

8 years agoMerge branch 'awoloszyn-fix-opquantize-compute-tests' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 17:09:43 +0000 (12:09 -0500)]
Merge branch 'awoloszyn-fix-opquantize-compute-tests' into 'master'

Added missing assembly to spirv_assembly.instruction.compute.opquantize

Fixes #190

See merge request !292

8 years agoMerge branch '51_renederpass_grow_fix_image-layouts' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 17:08:59 +0000 (12:08 -0500)]
Merge branch '51_renederpass_grow_fix_image-layouts' into 'master'

51 dEQP-VK.renderpass.grow and others: do not use DEPTH layouts for color images, and vice versa.

This is the continuation of issue #51, that was not completely fixed in merge request !106. This change just replicates what !106 did for other test cases.

This fixes issue #51

See merge request !294

8 years agoMerge branch 'jbolz_astc_srgb_5x4_8x5' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 17:07:52 +0000 (12:07 -0500)]
Merge branch 'jbolz_astc_srgb_5x4_8x5' into 'master'

Fix mapping of ASTC/sRGB formats for 5x4 and 8x5 block sizes

See merge request !284

8 years agoMerge branch 'scygan_pipeline_memoryBarrier-usage_flags' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 17:06:14 +0000 (12:06 -0500)]
Merge branch 'scygan_pipeline_memoryBarrier-usage_flags' into 'master'

memory.pipeline_barrier test: wrong buffer usage flags

The `srcBuffer` buffer is used as a source in vkCmdCopyBufferToImage - however it lacks VK_BUFFER_USAGE_TRANSFER_SRC_BIT usage flag.

See merge request !293

8 years agoMerge branch '175-fix-opaque-type-indexing-atomic-counter-tests' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 17:04:29 +0000 (12:04 -0500)]
Merge branch '175-fix-opaque-type-indexing-atomic-counter-tests' into 'master'

ShaderExecutor: read counter values from the buffer

Problem: At vktOpaqueTypeIndexingTests.cpp:1077, the tests creates a std::vector called counterValues and default-initializies. Then, in the loop below, it checks counterValues as if it contains the actual counter values even though they are never read from the buffer.

Solve: Read back the counter values from the buffer.

Fixes #175

See merge request !291

8 years agoMerge branch 'jbolz_descriptor_set_regression' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 16:56:04 +0000 (11:56 -0500)]
Merge branch 'jbolz_descriptor_set_regression' into 'master'

Fix recent regression binding unallocated descriptor set

See merge request !285

8 years agoMerge branch '86-fix-api-buffer' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 16:54:39 +0000 (11:54 -0500)]
Merge branch '86-fix-api-buffer' into 'master'

Fix sparse memory issues in buffer test

Fixes #86
Fixes #171

See merge request !268

8 years agoMerge branch '56-fix-image-copy-inside-render-pass' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 16:53:09 +0000 (11:53 -0500)]
Merge branch '56-fix-image-copy-inside-render-pass' into 'master'

Move cmdCopyImageToBuffer outside from render pass

Fixes #56

See merge request !287

8 years agoMerge branch '185-fix-timestamp-test-issue' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 16:44:15 +0000 (11:44 -0500)]
Merge branch '185-fix-timestamp-test-issue' into 'master'

Reset the query pool entries before write timestamp to fix issue #185

In Test case dEQP-VK.pipeline.timestamp.transfer_tests.transfer_stage_with_copy_query_pool_results_method,
the timestamp will be written twice and the query pool entries need be reset between these write timestamp operations.

See merge request !286

8 years agoMerge branch 'copy-blit-size-format-issue2' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 16:40:25 +0000 (11:40 -0500)]
Merge branch 'copy-blit-size-format-issue2' into 'master'

Fix format and texture level width issue

Fixes #180

See merge request !282

8 years agoMerge branch '143-fix-version-in-shader-render-case-based-tests' into 'master'
Pyry Haulos [Wed, 13 Jan 2016 16:29:37 +0000 (11:29 -0500)]
Merge branch '143-fix-version-in-shader-render-case-based-tests' into 'master'

Use version 310 es in ShaderRenderCase based tests.

fixes #143

See merge request !280

8 years agodEQP-VK.renderpass.grow and others: do not use DEPTH layouts for color images, and...
scygan [Wed, 13 Jan 2016 16:21:21 +0000 (17:21 +0100)]
dEQP-VK.renderpass.grow and others: do not use DEPTH layouts for color images, and vice versa.

This is the continuation of issue #51, that was not completely fixed in merge request !106. This change just replicates what !106 did for other test cases.

8 years agocorrected source buffer usage flags
pflisiko [Wed, 13 Jan 2016 13:05:55 +0000 (14:05 +0100)]
corrected source buffer usage flags

8 years agoAdded missing assembly to spirv_assembly.instruction.compute.opquantize
Andrew Woloszyn [Wed, 13 Jan 2016 14:46:59 +0000 (09:46 -0500)]
Added missing assembly to spirv_assembly.instruction.compute.opquantize

Fixes #190

8 years agoFixed incorrect constants in opquantize.spec_const.* tests.
Andrew Woloszyn [Wed, 13 Jan 2016 14:35:07 +0000 (09:35 -0500)]
Fixed incorrect constants in opquantize.spec_const.* tests.

8 years agoShaderExecutor: read counter values from the buffer
Robert Sipka [Wed, 13 Jan 2016 14:31:25 +0000 (15:31 +0100)]
ShaderExecutor: read counter values from the buffer

8 years agoFixed constructNormalizedFloat.
Andrew Woloszyn [Wed, 13 Jan 2016 14:27:43 +0000 (09:27 -0500)]
Fixed constructNormalizedFloat.

It was starting this significand at the wrong index.

8 years agoHeap size fix.
Peter Siket [Wed, 13 Jan 2016 10:51:20 +0000 (11:51 +0100)]
Heap size fix.

8 years agoLimit the maximum buffer size in the buffer creation tests
Kristof Kosztyo [Mon, 11 Jan 2016 10:31:58 +0000 (11:31 +0100)]
Limit the maximum buffer size in the buffer creation tests

8 years agoMove cmdCopyImageToBuffer outside from render pass
Szilard Ledan [Tue, 12 Jan 2016 15:25:49 +0000 (16:25 +0100)]
Move cmdCopyImageToBuffer outside from render pass

8 years agoReset the query pool entries before write timestamp.
Rocky Shi [Wed, 13 Jan 2016 07:41:52 +0000 (15:41 +0800)]
Reset the query pool entries before write timestamp.

8 years agoFix recent regression binding unallocated descriptor set
Jeff Bolz [Wed, 13 Jan 2016 04:51:29 +0000 (04:51 +0000)]
Fix recent regression binding unallocated descriptor set

8 years agoFix mapping of ASTC/sRGB formats for 5x4 and 8x5 block sizes
Jeff Bolz [Wed, 13 Jan 2016 04:39:33 +0000 (04:39 +0000)]
Fix mapping of ASTC/sRGB formats for 5x4 and 8x5 block sizes

8 years agoReverse sense of checking for unsupported features when determining
David Sodman [Mon, 11 Jan 2016 06:54:48 +0000 (22:54 -0800)]
Reverse sense of checking for unsupported features when determining
limits.

Fixes #174

Change-Id: Ic36127c5d9ab9512d1995f5898a14b8ba344d43f

8 years agoAdjust indentation and divide by 4
Jeannot Breton [Wed, 13 Jan 2016 01:09:52 +0000 (19:09 -0600)]
Adjust indentation and divide by 4

8 years agoExtra space is removed and Context::getDeviceFeatures() is used instead of the Instan...
Peter Siket [Tue, 12 Jan 2016 22:04:26 +0000 (23:04 +0100)]
Extra space is removed and Context::getDeviceFeatures() is used instead of the InstanceInterface::getPhysicalDeviceFeatures().

8 years agoFix compute tests: UBO/SSBO layout mismatch, and uninitialized atomic counter value
Jeff Bolz [Tue, 12 Jan 2016 20:28:45 +0000 (20:28 +0000)]
Fix compute tests: UBO/SSBO layout mismatch, and uninitialized atomic counter value

8 years agoUse version 310 es in ShaderRenderCase based tests.
Csaba Osztrogonác [Tue, 12 Jan 2016 19:27:10 +0000 (20:27 +0100)]
Use version 310 es in ShaderRenderCase based tests.

8 years agoMerge branch 'scygan_api_alloc_callback_and_bitwise_ops_fix' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 18:55:18 +0000 (13:55 -0500)]
Merge branch 'scygan_api_alloc_callback_and_bitwise_ops_fix' into 'master'

dEQP-VK.api.object_management.single_alloc_callbacks: Fix one AllocationCallbackRecord and bitwise operations used

1.
Function `validateAllocationCallbacks` used by mentioned test does that:

```
switch (record.type)
{
....
case AllocationCallbackRecord::TYPE_FREE:
    ...
    break;
case AllocationCallbackRecord::TYPE_INTERNAL_ALLOCATION:
case AllocationCallbackRecord::TYPE_INTERNAL_FREE:
    ....
    if (record.type == AllocationCallbackRecord::TYPE_FREE)

```

This if is clearly wrong. Should be `(record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE)`

2.
VK_SYSTEM_ALLOCATION_SCOPE_XXXX are used as bitmask, however these are nums. Should be changed to `1 << VK_SYSTEM_ALLOCATION_SCOPE_XXXX` to get a proper bitmask

See merge request !278

8 years agoFix typo in internal alloc validation
Pyry Haulos [Tue, 12 Jan 2016 18:54:11 +0000 (10:54 -0800)]
Fix typo in internal alloc validation

8 years agoFix warnings
Pyry Haulos [Tue, 12 Jan 2016 18:51:13 +0000 (10:51 -0800)]
Fix warnings

 * Unused isImmutable argument

 * Implicit conversion from VK_TRUE/VK_FALSE to VkBool32

Change-Id: Ia5894b28d19f83a3caafc73d565d461d24b35595

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Tue, 12 Jan 2016 18:47:51 +0000 (10:47 -0800)]
Merge in changes from Khronos repository

8 years agoMerge branch 'awoloszyn-remove-unnecessary-geom' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 18:36:44 +0000 (13:36 -0500)]
Merge branch 'awoloszyn-remove-unnecessary-geom' into 'master'

Remove geometry shader from addTessCtrlTest.

It is both un-needed and missing in these tests.

Fixes #186

See merge request !277

8 years agoMerge branch 'scygan_shaderRender_empty_dpool' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 18:32:46 +0000 (13:32 -0500)]
Merge branch 'scygan_shaderRender_empty_dpool' into 'master'

shaderRender tests: prevent of creating illegal empty descriptor pool when there are no uniforms

shaderRender test were trying to create empty desciprot pool. This is forbidden by spec

See merge request !263

8 years agoMerge branch 'scygan_memory_barrier_fixes' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 18:27:40 +0000 (13:27 -0500)]
Merge branch 'scygan_memory_barrier_fixes' into 'master'

memory barrier tests: multiple fixes

1)
VkBufferUsageFlags passed to VkImageCreateInfo as usage parameter. According to Vulkan spec it should be
VkImageUsageFlags.

2)
sType of VkImageMemoryBarrier struct is wrong

See merge request !262

8 years agoMerge branch 'amd-immutable-sampler-fix' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 18:24:37 +0000 (13:24 -0500)]
Merge branch 'amd-immutable-sampler-fix' into 'master'

Fix to always allocate storage in descriptor pools for samplers

Fix to always allocate storage in descriptor pools for samplers, indifferent of whether they are immutable or not.

Fixes #37

See merge request !273

8 years agoMerge branch '151-fix-create-bufferview-size' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 18:22:40 +0000 (13:22 -0500)]
Merge branch '151-fix-create-bufferview-size' into 'master'

Fix buffer view size

Fixes #151

See merge request !270

8 years agoFix memory allocation percent size rounding error.
Mika Isojärvi [Mon, 11 Jan 2016 19:27:22 +0000 (11:27 -0800)]
Fix memory allocation percent size rounding error.

Use int instead of float for percents to avoid rounding error in the
test case name.

Change-Id: I63e59ba9af71a1c9848ba05cd1d7882e82467739

8 years agoFix one AllocationCallbackRecord and bitwise operations
iostrows [Tue, 12 Jan 2016 16:13:43 +0000 (17:13 +0100)]
Fix one AllocationCallbackRecord and bitwise operations

8 years agoFixes to pipeline barrier tests
Mika Isojärvi [Mon, 11 Jan 2016 18:53:34 +0000 (10:53 -0800)]
Fixes to pipeline barrier tests

- Skip memory types if they don't support any operations.
- Add 8K and 64K memory size groups to increase coverage on implementations
  that always require more than 1K of memory for each buffer and texture.

Change-Id: I4e1ef2ce5862def8f3b09e6ae855ef9f704a808e

8 years agoUpdate vulkan library name on Windows
Pyry Haulos [Tue, 12 Jan 2016 15:51:07 +0000 (07:51 -0800)]
Update vulkan library name on Windows

Change-Id: I65713e2889fae2a69282530d139f1070a8a909dc

8 years agoRemove geometry shader from addTessCtrlTest.
Andrew Woloszyn [Tue, 12 Jan 2016 15:05:13 +0000 (10:05 -0500)]
Remove geometry shader from addTessCtrlTest.

It is both un-needed and missing in these tests.

Fixes #186

8 years agoprevent of creating illegal empty descriptor pool when there are no uniforms
bpkowali [Fri, 8 Jan 2016 08:49:09 +0000 (09:49 +0100)]
prevent of creating illegal empty descriptor pool when there are no uniforms

8 years agocorrected sType of VkImageMemoryBarrier struct
pflisiko [Fri, 8 Jan 2016 12:58:15 +0000 (13:58 +0100)]
corrected sType of VkImageMemoryBarrier struct

8 years agomemory barrier tests: fix VkImageCreateInfo
pflisiko [Fri, 8 Jan 2016 12:14:06 +0000 (13:14 +0100)]
memory barrier tests: fix VkImageCreateInfo

This reverts commit 9c890ae680c6be8791d5905e777088c74d85d50a.

8 years agoFix to always allocate storage in descriptor pools for samplers, indifferent of wheth...
aqnuep [Tue, 12 Jan 2016 12:33:35 +0000 (13:33 +0100)]
Fix to always allocate storage in descriptor pools for samplers, indifferent of whether they are immutable or not.

8 years agovktSpvAsmInstructionTests: Add array strides to OpCopyMemory tests
Jason Ekstrand [Tue, 12 Jan 2016 09:38:56 +0000 (01:38 -0800)]
vktSpvAsmInstructionTests: Add array strides to OpCopyMemory tests

8 years agoBufferView size is fixed.
Peter Siket [Tue, 12 Jan 2016 09:09:58 +0000 (10:09 +0100)]
BufferView size is fixed.

8 years agoUpdate Vulkan CTS to API 1.0.0
Pyry Haulos [Tue, 5 Jan 2016 22:10:12 +0000 (14:10 -0800)]
Update Vulkan CTS to API 1.0.0

Change-Id: Idb60e106fadb133fcbce136270853696a6290f5b

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Tue, 12 Jan 2016 03:51:04 +0000 (19:51 -0800)]
Merge in changes from Khronos repository

8 years agoIncrease GLES2 fbo comparison threshold to 0.03 am: 3f450ecc23 am: c509a7f078 am...
Mika Isojärvi [Tue, 12 Jan 2016 03:42:35 +0000 (03:42 +0000)]
Increase GLES2 fbo comparison threshold to 0.03 am: 3f450ecc23 am: c509a7f078 am: 837a58e9b7
am: ba28bddbe8

* commit 'ba28bddbe8d98a056ce54a7278b673222e32e628':
  Increase GLES2 fbo comparison threshold to 0.03

8 years agoIncrease GLES2 fbo comparison threshold to 0.03 am: 3f450ecc23 am: c509a7f078
Mika Isojärvi [Tue, 12 Jan 2016 03:40:50 +0000 (03:40 +0000)]
Increase GLES2 fbo comparison threshold to 0.03 am: 3f450ecc23 am: c509a7f078
am: 837a58e9b7

* commit '837a58e9b7161576b567b93bf203d32db5f15054':
  Increase GLES2 fbo comparison threshold to 0.03

8 years agoIncrease GLES2 fbo comparison threshold to 0.03 am: 3f450ecc23
Mika Isojärvi [Tue, 12 Jan 2016 03:37:50 +0000 (03:37 +0000)]
Increase GLES2 fbo comparison threshold to 0.03 am: 3f450ecc23
am: c509a7f078

* commit 'c509a7f07850a479acf88036a330ec191dd54ef8':
  Increase GLES2 fbo comparison threshold to 0.03

8 years agoIncrease GLES2 fbo comparison threshold to 0.03
Mika Isojärvi [Tue, 12 Jan 2016 03:28:27 +0000 (03:28 +0000)]
Increase GLES2 fbo comparison threshold to 0.03
am: 3f450ecc23

* commit '3f450ecc233b3f3b38e61b4a37c76600a90f5c26':
  Increase GLES2 fbo comparison threshold to 0.03

8 years agovktSpvAsmInstructionTests: Fix copymemory struct test
Jason Ekstrand [Tue, 12 Jan 2016 01:56:41 +0000 (17:56 -0800)]
vktSpvAsmInstructionTests: Fix copymemory struct test

It didn't provide offset decorations for interface blocks and it expected
negative values out.

8 years agoCopy arrays passed to builder util classes.
Dae Kim [Thu, 7 Jan 2016 12:42:45 +0000 (12:42 +0000)]
Copy arrays passed to builder util classes.

8 years agoMerge branch '179-fix-bitwisexor' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 00:55:11 +0000 (19:55 -0500)]
Merge branch '179-fix-bitwisexor' into 'master'

Switched opspecconstantop.bitwisexor tests to use xor instead of and.

Fixed an incorrect test that used BitwiseAnd instead of BitwiseXor.

Fixes #179

See merge request !271

8 years agoMerge branch '135-fix-copy-blit-same-data' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 00:51:32 +0000 (19:51 -0500)]
Merge branch '135-fix-copy-blit-same-data' into 'master'

Copy_and_blit fixes: generate the source and destination with different data

See merge request !269

8 years agoMerge branch '176-pipeline-image-buffer-offset-fix' into 'master'
Pyry Haulos [Tue, 12 Jan 2016 00:48:11 +0000 (19:48 -0500)]
Merge branch '176-pipeline-image-buffer-offset-fix' into 'master'

Pipeline image utils: use a bufferOffset multiple of 4 and multiple of the texel/block size.

This is an attempt to fix issue #176

See merge request !267

8 years agovktSpvAsmInstructionTests: Don't create constants of type RuntimeArray
Jason Ekstrand [Mon, 11 Jan 2016 22:24:29 +0000 (14:24 -0800)]
vktSpvAsmInstructionTests: Don't create constants of type RuntimeArray

This *may* make sense in some IR's such as LLVM which special-case NULL.
However, an SSA value with a run-time length isn't really a well-defined
thing.

8 years agovktSpvAsmInstructionTests: Don't create integer matrices
Jason Ekstrand [Mon, 11 Jan 2016 22:23:15 +0000 (14:23 -0800)]
vktSpvAsmInstructionTests: Don't create integer matrices

8 years agoIncrease GLES2 fbo comparison threshold to 0.03
Mika Isojärvi [Mon, 11 Jan 2016 22:11:53 +0000 (14:11 -0800)]
Increase GLES2 fbo comparison threshold to 0.03

Bug: 26422231
Change-Id: I8c7304bbf479e4e848974fc913c564f7378f9c1d