platform/upstream/VK-GL-CTS.git
8 years agoMerge branch 'jekstrand_copy_and_bit_usage_flags' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 15:46:42 +0000 (10:46 -0500)]
Merge branch 'jekstrand_copy_and_bit_usage_flags' into 'master'

copy_and_blit: Fix image/buffer create-time usage flags

For buffers, it had both source and destination marked as DST.  For images,
it both uploads and downloads the images, so it needs both set.

Fixes #199

See merge request !309

8 years agoMerge branch '194-fix-builtin-precision-testcase-logs' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 15:45:31 +0000 (10:45 -0500)]
Merge branch '194-fix-builtin-precision-testcase-logs' into 'master'

move statement and definition logs to test instance, fixes #194

See merge request !308

8 years agoMerge branch 'copy_image_usage_flag_dst_issue' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 15:45:08 +0000 (10:45 -0500)]
Merge branch 'copy_image_usage_flag_dst_issue' into 'master'

Fix image usage flags used in copy and blit test, fix regression from MR 180

I didn't pay attention with merge request 180 and the second getPhysicalDeviceImageFormatProperties had the wrong image usage flags.

This should fix the issue.

See merge request !299

8 years agoMerge branch '158-fix-cmdbuf-query-index' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 15:40:34 +0000 (10:40 -0500)]
Merge branch '158-fix-cmdbuf-query-index' into 'master'

Change the incorrect entry index in cmdBeginQuery

According to the Vulkan 1.0 Specification the value of entry has to be
less than the number of queries. Three test cases used an incorrect
value of entry (equal to the query count).

Fixes #158

See merge request !288

8 years agoMerge branch '162-163-fix-timestamp-issues' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 15:31:01 +0000 (10:31 -0500)]
Merge branch '162-163-fix-timestamp-issues' into 'master'

Fix 2 issues in pipeline.timestamp tests (#162,#163)

for issue #162, set aspect flag when clearing images.
for issue #163, add optimal tiling feature check when creating images.
Also fix some typo.

See merge request !272

8 years agoMerge branch 'marka_arm_calling_convention' into 'master'
Pyry Haulos [Sat, 16 Jan 2016 17:26:23 +0000 (12:26 -0500)]
Merge branch 'marka_arm_calling_convention' into 'master'

Use aapcs-vfp calling convention for ARMv7A

This is required to match the calling convention specified in
vk_platform.h. Tests using functions with float parameters were failing
when built for 32-bit ARM since the values were in different registers
than expected.

In particular, most of the dEQP-VK.dynamic_state.* tests were failing since the driver was seeing incorrect parameter values.

See merge request !331

8 years agoMerge branch 'marka_pipeline_float' into 'master'
Pyry Haulos [Sat, 16 Jan 2016 17:06:41 +0000 (12:06 -0500)]
Merge branch 'marka_pipeline_float' into 'master'

Use memcpy to copy floats for vertex input

The destination buffer may not be aligned as required to
cast as a float* or deFloat16*. This was causing crashes
due to bus errors on 32-bit ARM systems in several of the
dEQP-VK.pipeline.vertex_input.multiple_attributes.* tests.

See merge request !333

8 years agoCoding style fixes
Mark Adams [Sat, 16 Jan 2016 17:03:17 +0000 (12:03 -0500)]
Coding style fixes

8 years agoMerge branch '197-206-vertex-input-fixes' into 'master'
Pyry Haulos [Sat, 16 Jan 2016 16:53:05 +0000 (11:53 -0500)]
Merge branch '197-206-vertex-input-fixes' into 'master'

dEQP-VK.pipeline.vertex_input.*: check 64-bit float support, use correct alignment in vertex buffers

This should fix issues #197 and #206.

See merge request !332

8 years agoMerge branch 'jbolz_fp16denorm' into 'master'
Pyry Haulos [Sat, 16 Jan 2016 16:51:59 +0000 (11:51 -0500)]
Merge branch 'jbolz_fp16denorm' into 'master'

Flush fp16 denorms to zero for format_reinterpret tests.

Similar to what is already done for fp32 values, when int16 values are reinterpreted as fp16 they can include denorms which may be flushed to zero.

See merge request !307

8 years agoUse memcpy to copy floats for vertex input
Mark Adams [Sat, 16 Jan 2016 16:37:31 +0000 (11:37 -0500)]
Use memcpy to copy floats for vertex input

The destination buffer may not be aligned as required to
cast as a float* or deFloat16*. This was causing crashes
due to bus errors on 32-bit ARM systems in several of the
dEQP-VK.pipeline.vertex_input.multiple_attributes.* tests.

8 years agodEQP-VK.pipeline.vertex_input.* fixes:
Dae Kim [Fri, 15 Jan 2016 16:44:42 +0000 (16:44 +0000)]
dEQP-VK.pipeline.vertex_input.* fixes:
- Check if 64-bit float types are supported.
- Use correct alignment of vertex attributes.

8 years agoUse aapcs-vfp calling convention for ARMv7A
Mark Adams [Sat, 16 Jan 2016 01:48:20 +0000 (20:48 -0500)]
Use aapcs-vfp calling convention for ARMv7A

This is required to match the calling convention specified in
vk_platform.h. Tests using functions with float parameters were failing
when built for 32-bit ARM since the values were in different registers
than expected.

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

Fix offset parameter for flushMappedMemoryRange

In ShaderRenderCaseInstance::uploadImage2D(), the allocation object was
being passed in instead of the offset. This resulted in attempting to
flush an invalid memory range.

This was resulting in intermittent crashes in the dEQP-VK.glsl.discard.* tests.

See merge request !329

8 years agoMerge "Fix missing/error entries in unsupported table" into vulkan
David Sodman [Fri, 15 Jan 2016 22:34:04 +0000 (22:34 +0000)]
Merge "Fix missing/error entries in unsupported table" into vulkan

8 years agoFix missing/error entries in unsupported table
David Sodman [Fri, 15 Jan 2016 22:13:05 +0000 (14:13 -0800)]
Fix missing/error entries in unsupported table

Change-Id: Ibf0d21a7573dd4cd1ce1460df67a112071ebd2c9

8 years agoUpdate Vulkan CTS README
Pyry Haulos [Fri, 15 Jan 2016 22:09:56 +0000 (14:09 -0800)]
Update Vulkan CTS README

 * Build instructions for Windows, Linux, and Android
 * Command line options for official CTS runs
 * Other misc improvements

8 years agoFix offset parameter for flushMappedMemoryRange
Mark Adams [Fri, 15 Jan 2016 22:02:39 +0000 (17:02 -0500)]
Fix offset parameter for flushMappedMemoryRange

In ShaderRenderCaseInstance::uploadImage2D(), the allocation object was
being passed in instead of the offset. This resulted in attempting to
flush an invalid memory range.

8 years agoMerge branch 'shaderExecutor-descriptorSet' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 21:49:44 +0000 (16:49 -0500)]
Merge branch 'shaderExecutor-descriptorSet' into 'master'

ShaderExecutor: fixed FragmentOutExecutor that tried to create empty DescriptorPool

Spec says (on VkDescriptorPoolCreateInfo): The value of poolSizeCount must be greater than 0

See merge request !221

8 years agoMerge branch 'awoloszyn-variable-and-modules-fixes' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 19:24:29 +0000 (14:24 -0500)]
Merge branch 'awoloszyn-variable-and-modules-fixes' into 'master'

Fixes for module color inversion and placement of OpVariable Instructions.

Contains two fixes:

 * Follow the SPIR-V universal validation rule: OpVariable instructions must precede (most other kinds of) instructions. So don't interleave the OpVariable with OpStore. It's likely implementations are forgiving in this respect, but better to do it correctly. Discovered during code review of something else.

 * Always write 1.0 into the alpha channel. This fixes #211

See merge request !325

8 years agoMoved all OpVariables with Function scope to the top of functions.
Andrew Woloszyn [Fri, 15 Jan 2016 18:58:12 +0000 (13:58 -0500)]
Moved all OpVariables with Function scope to the top of functions.

Some OpVariables were not at the top of Functions which is invalid.

8 years agoFixed color inversion in multi-module tests.
Andrew Woloszyn [Fri, 15 Jan 2016 18:51:15 +0000 (13:51 -0500)]
Fixed color inversion in multi-module tests.

Now force the alpha value to 1 in the test so that output colors
are kept.

Fixes #211.

8 years agoMerge "Add ULP part of limit for PointSize/LineWidth/Interpolation offset" into vulkan
David Sodman [Fri, 15 Jan 2016 18:55:13 +0000 (18:55 +0000)]
Merge "Add ULP part of limit for PointSize/LineWidth/Interpolation offset" into vulkan

8 years agoAdd ULP part of limit for PointSize/LineWidth/Interpolation offset
David Sodman [Thu, 14 Jan 2016 20:47:13 +0000 (12:47 -0800)]
Add ULP part of limit for PointSize/LineWidth/Interpolation offset

Fixes #172

Change-Id: Ic87495c9b8806993f77412b4cc3414fa284e2d29

8 years agoMerge branch 'jbolz_compareFRem' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 18:37:48 +0000 (13:37 -0500)]
Merge branch 'jbolz_compareFRem' into 'master'

Add 'compareFRem' function verifyIO function

Use an approximate comparison for FRem.

See merge request !316

8 years agoMerge branch 'awoloszyn-spirv-fixes' into 'master'
Pyry Haulos [Fri, 15 Jan 2016 18:36:10 +0000 (13:36 -0500)]
Merge branch 'awoloszyn-spirv-fixes' into 'master'

Fix issues in SPIRV graphics.decoration_groups and graphics.opphi tests.

See merge request !324

8 years agoFixed constants spirv_assembly.instruction.graphics.opphi.out_of_order
Andrew Woloszyn [Fri, 15 Jan 2016 18:21:23 +0000 (13:21 -0500)]
Fixed constants spirv_assembly.instruction.graphics.opphi.out_of_order

Fixes #209

8 years agoFixed spirv_assembly.instruction.graphics.decoration_group tests.
Andrew Woloszyn [Fri, 15 Jan 2016 18:09:43 +0000 (13:09 -0500)]
Fixed spirv_assembly.instruction.graphics.decoration_group tests.

The tests were incorrectly calculating input + 2 - 1, and expecting
no change. Now they calculate intput + 2 - 2.

Fixes #213

8 years agoAdd 'compareFRem' verifyIO function
Jeff Bolz [Fri, 15 Jan 2016 08:04:18 +0000 (08:04 +0000)]
Add 'compareFRem' verifyIO function

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 agocopy_and_blit: Fix image/buffer create-time usage flags
Jason Ekstrand [Thu, 14 Jan 2016 18:59:35 +0000 (10:59 -0800)]
copy_and_blit: Fix image/buffer create-time usage flags

For buffers, it had both source and destination marked as DST.  For images,
it both uploads and downloads the images, so it needs both set.

Fixes #199

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 agomove statement and definition logs to test instance, fixes #194
Daniel Hegedus [Thu, 14 Jan 2016 18:03:07 +0000 (19:03 +0100)]
move statement and definition logs to test instance, fixes #194

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 agoFlush fp16 denorms to zero for format_reinterpret tests.
Jeff Bolz [Thu, 14 Jan 2016 17:45:17 +0000 (17:45 +0000)]
Flush fp16 denorms to zero for format_reinterpret tests.

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 agoreplace VK_FORMAT_FEATURE_BLIT_DST_BIT by VK_IMAGE_USAGE_TRANSFER_DST_BIT in vkGetPhy...
Jeannot Breton [Wed, 13 Jan 2016 22:19:17 +0000 (16:19 -0600)]
replace VK_FORMAT_FEATURE_BLIT_DST_BIT by VK_IMAGE_USAGE_TRANSFER_DST_BIT in vkGetPhysicalDeviceImageFormatProperties

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