platform/upstream/VK-GL-CTS.git
8 years agoMerge branch 'jbolz_opquantize' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:49:47 +0000 (12:49 -0500)]
Merge branch 'jbolz_opquantize' into 'master'

Fix various OpQuantize test bugs

See merge request !315

8 years agoMerge branch 'alloc-callback-erase-ptrToSlotIndex' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:49:16 +0000 (12:49 -0500)]
Merge branch 'alloc-callback-erase-ptrToSlotIndex' into 'master'

Fix allocation callback validation

Allocation callback validation assumed incorrectly that alloc or realloc would never return same pointer twice. This fixes that assumption.

See merge request !283

8 years agoMerge branch 'mchomicz_spirv_assembly_opcopyobject_spotcheck' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:36:15 +0000 (12:36 -0500)]
Merge branch 'mchomicz_spirv_assembly_opcopyobject_spotcheck' into 'master'

Fix dEQP-VK.spirv_assembly.instruction.compute.opcopyobject.spotcheck

Shader in the test extracts an column from a matrix (%c_fmat_copy) , but the result type of the operation is said to be a float scalar.

See merge request !323

8 years agofix typo update realloc path
Jeannot Breton [Fri, 15 Jan 2016 17:31:10 +0000 (11:31 -0600)]
fix typo update realloc path

8 years agoMerge branch 'scygan_pipelineVertexInput_64bit_locations' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:08:00 +0000 (12:08 -0500)]
Merge branch 'scygan_pipelineVertexInput_64bit_locations' into 'master'

pipeline/vktPipelineVertexInputTests: fixed attribute location for double formats

The tests uses 3- and 4-element double (fp64) vertex attributes, but does not provide enough location space for these.

According to spec:
```
 Input attributes which have three- or four-component 64-bit formats will consume two consecutive locations.
```

See merge request !275

8 years agoMerge branch '198-input-assembly-check-topology-support' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:02:17 +0000 (12:02 -0500)]
Merge branch '198-input-assembly-check-topology-support' into 'master'

dEQP-VK.pipeline.input_assembly: check if the primitive topology under test is available.

This should resolve issue #198.

See merge request !322

8 years agoMerge branch '143-remove-gl-arb-extensions' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:01:36 +0000 (12:01 -0500)]
Merge branch '143-remove-gl-arb-extensions' into 'master'

Remove GL_ARB_ extensions from ShaderRenderCase- and ShaderExecutor-based tests.

Fixes #143

See merge request !320

8 years agoMerge branch '207-208-basic-compute-bugfix' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 17:00:04 +0000 (12:00 -0500)]
Merge branch '207-208-basic-compute-bugfix' into 'master'

Basic compute: fix wrong enum and uninitialized atomic variable

Fixes #207 and #208

#207 was partially fixed by !281, but the same initialization logic was also needed in SSBO barrier test, so I'm adding it here.

See merge request !318

8 years agoMerge branch 'draw-tests-missing-flags-fix' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 16:53:50 +0000 (11:53 -0500)]
Merge branch 'draw-tests-missing-flags-fix' into 'master'

Draw tests: added missing flags in create info structures.

See merge request !313

8 years agoMerge branch 'jbolz_createBuffer' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 16:53:19 +0000 (11:53 -0500)]
Merge branch 'jbolz_createBuffer' into 'master'

Skip createBuffer tests that exercise an invalid combination of create flags

See merge request !311

8 years agoMerge branch 'jekstrand_renderpass_transfer_bit_fix' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 16:52:48 +0000 (11:52 -0500)]
Merge branch 'jekstrand_renderpass_transfer_bit_fix' into 'master'

dEQP-VK.renderpass: Set IMAGE_USAGE_TRANSFER_SRC_BIT when needed

Later on in the test, if "lazy" is not set, we try and download the image.

See merge request !266

8 years agoMerge branch 'awoloszyn-fix-opname' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 16:52:15 +0000 (11:52 -0500)]
Merge branch 'awoloszyn-fix-opname' into 'master'

Fixed typo in OpName instruction.

Fixes #137

See merge request !310

8 years agoMerge branch '129-remove-shader-executor-builtin-constants-tests' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 16:51:56 +0000 (11:51 -0500)]
Merge branch '129-remove-shader-executor-builtin-constants-tests' into 'master'

Remove dEQP-VK.glsl.ShaderExecutor.builtin_constants tests.

Fixes #129

See merge request !321

8 years agopipeline/vktPipelineVertexInputTests: fixed attribute location for double formats
asokolow [Tue, 12 Jan 2016 08:38:29 +0000 (09:38 +0100)]
pipeline/vktPipelineVertexInputTests: fixed attribute location for double formats

8 years agofix dEQP-VK.spirv_assembly.instruction.compute.opcopyobject.spotcheck
mchomicz [Fri, 15 Jan 2016 09:50:02 +0000 (10:50 +0100)]
fix dEQP-VK.spirv_assembly.instruction.compute.opcopyobject.spotcheck

Shader in the test extracts an column from a matrix (%c_fmat_copy) , but the result type of the operation is said to be a float scalar.

8 years agodEQP-VK.pipeline.input_assembly: check if the primitive topology under test is available.
Dae Kim [Fri, 15 Jan 2016 13:16:48 +0000 (13:16 +0000)]
dEQP-VK.pipeline.input_assembly: check if the primitive topology under test is available.

8 years agoRemove dEQP-VK.glsl.ShaderExecutor.builtin_constants tests.
Csaba Osztrogonác [Fri, 15 Jan 2016 12:38:40 +0000 (13:38 +0100)]
Remove dEQP-VK.glsl.ShaderExecutor.builtin_constants tests.
Fixes #129

8 years agoRemove GL_ARB_ extensions from ShaderRenderCase- and ShaderExecutor-based tests.
Csaba Osztrogonác [Fri, 15 Jan 2016 12:08:06 +0000 (13:08 +0100)]
Remove GL_ARB_ extensions from ShaderRenderCase- and ShaderExecutor-based tests.
Fixes #143

8 years agoBasic compute: fix wrong enum and uninitialized atomic variable
Maciej Jesionowski [Fri, 15 Jan 2016 09:50:32 +0000 (10:50 +0100)]
Basic compute: fix wrong enum and uninitialized atomic variable

Issue #207 and #208

8 years agoFix various OpQuantize test bugs
Jeff Bolz [Fri, 15 Jan 2016 02:04:59 +0000 (02:04 +0000)]
Fix various OpQuantize test bugs

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Thu, 14 Jan 2016 23:15:19 +0000 (15:15 -0800)]
Merge in changes from Khronos repository

8 years agoMerge "Add initial Vulkan CTS 1.0.0 mustpass" into vulkan
Pyry Haulos [Thu, 14 Jan 2016 23:11:34 +0000 (23:11 +0000)]
Merge "Add initial Vulkan CTS 1.0.0 mustpass" into vulkan

8 years agoMerge "Refactor mustpass script" into vulkan
Pyry Haulos [Thu, 14 Jan 2016 23:11:17 +0000 (23:11 +0000)]
Merge "Refactor mustpass script" into vulkan

8 years agoMerge branch 'awoloszyn-fix-double-definition' into 'master'
Pyry Haulos [Thu, 14 Jan 2016 22:35:29 +0000 (17:35 -0500)]
Merge branch 'awoloszyn-fix-double-definition' into 'master'

Removed double-defined %fvec3

dEQP-VK.spirv_assembly.instruction.compute.opcopyobject.spotcheck
and
dEQP-VK.spirv_assembly.instruction.compute.opconstantnullcomposite.spotcheck

Contained a double-defined %fvec3 one in s_CommonTypes and one in the test.

See merge request !314

8 years agoRemoved double-defined %fvec3
Andrew Woloszyn [Thu, 14 Jan 2016 22:01:46 +0000 (17:01 -0500)]
Removed double-defined %fvec3

8 years agoAdd initial Vulkan CTS 1.0.0 mustpass
Pyry Haulos [Thu, 14 Jan 2016 21:48:57 +0000 (13:48 -0800)]
Add initial Vulkan CTS 1.0.0 mustpass

Change-Id: Ic91aa817944c856ce18af46909cfee3c04fd7e20

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 agoDraw tests: added missing flags in create info structures.
Dae Kim [Thu, 14 Jan 2016 20:55:35 +0000 (20:55 +0000)]
Draw tests: added missing flags in create info structures.

8 years agoUpdate glslang
Pyry Haulos [Thu, 14 Jan 2016 20:17:34 +0000 (12:17 -0800)]
Update glslang

Change-Id: I4056cc5632cf68ba57aea4928ca3e24a790d13e0

8 years agoSkip createBuffer tests that exercise an invalid combination of create flags
Jeff Bolz [Thu, 14 Jan 2016 20:02:43 +0000 (20:02 +0000)]
Skip createBuffer tests that exercise an invalid combination of create flags

8 years agoFixed typo in OpName instruction.
Andrew Woloszyn [Thu, 14 Jan 2016 19:58:52 +0000 (14:58 -0500)]
Fixed typo in OpName instruction.

Fixes #137

8 years agomake new allocation live and update the record
Jeannot Breton [Thu, 14 Jan 2016 18:52:51 +0000 (12:52 -0600)]
make new allocation live and update the record

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 agoremove a pointer from ptrToSlotIndex when it is released
Jeannot Breton [Wed, 13 Jan 2016 03:12:45 +0000 (21:12 -0600)]
remove a pointer from ptrToSlotIndex when it is released

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