platform/upstream/VK-GL-CTS.git
8 years agoMultiple fixes in dEQP-VK.pipeline.timestamp test
scygan [Tue, 12 Jan 2016 19:14:25 +0000 (20:14 +0100)]
Multiple fixes in dEQP-VK.pipeline.timestamp test

8 years agoMerge branch 'jbolz_pipeline_barrier_1998' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 04:28:48 +0000 (23:28 -0500)]
Merge branch 'jbolz_pipeline_barrier_1998' into 'master'

Put point vertex coordinates in [-.999, .999] rather than [-0.999, 1.0]

Fixes #236

See merge request !355

8 years agoPut point vertex coordinates in [-.999, .999] rather than [-0.999, 1.0]
Jeff Bolz [Wed, 20 Jan 2016 03:49:14 +0000 (03:49 +0000)]
Put point vertex coordinates in [-.999, .999] rather than [-0.999, 1.0]

8 years agoMerge branch '235-pipeline_multisample-alpha_translucent-higher-threshold' into ...
Pyry Haulos [Wed, 20 Jan 2016 03:19:01 +0000 (22:19 -0500)]
Merge branch '235-pipeline_multisample-alpha_translucent-higher-threshold' into 'master'

Use a higher threshold for translucency case to let the test pass:

dEQP-VK.pipeline.multisample.alpha_to_coverage.samples_2.alpha_translucent

Issue is described in #235

See merge request !352

8 years agoMerge "Pass boolean values correctly to shaders." into vulkan
Pyry Haulos [Wed, 20 Jan 2016 02:50:41 +0000 (02:50 +0000)]
Merge "Pass boolean values correctly to shaders." into vulkan

8 years agoFix int-size_t comparison warning
Pyry Haulos [Wed, 20 Jan 2016 00:13:42 +0000 (16:13 -0800)]
Fix int-size_t comparison warning

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Wed, 20 Jan 2016 00:11:08 +0000 (16:11 -0800)]
Merge in changes from Khronos repository

8 years agoPass boolean values correctly to shaders.
Mika Isojärvi [Tue, 19 Jan 2016 22:46:34 +0000 (14:46 -0800)]
Pass boolean values correctly to shaders.

Map type to correct vkFormat for other than floating point types and
pass boolean values correctly as 0xFFFFFFFFu instead of 0x1u to shader
in vulkan ShaderLibrary tests.

Change-Id: Ib13b4a3c648b21a0b9020d00caeafd17a23b7402

8 years agoUse a higher threshold for translucency case to let the test pass:
Mais Alnasser [Tue, 19 Jan 2016 22:47:30 +0000 (17:47 -0500)]
Use a higher threshold for translucency case to let the test pass:

dEQP-VK.pipeline.multisample.alpha_to_coverage.samples_2.alpha_translucent

Issue is described in:

https://gitlab.khronos.org/vulkan/vulkancts/issues/235

8 years agoRe-enable dEQP-GLES3.functional.shaders.builtin_variable.fragcoord_w .
Kenneth Russell [Tue, 19 Jan 2016 22:13:28 +0000 (22:13 +0000)]
Re-enable dEQP-GLES3.functional.shaders.builtin_variable.fragcoord_w .
am: 888059d575

* commit '888059d575bed0e8beedba85068f473a4f1fcdd8':
  Re-enable dEQP-GLES3.functional.shaders.builtin_variable.fragcoord_w .

8 years agoMerge branch '218-builtin-precision-hw-issues' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 19:42:44 +0000 (14:42 -0500)]
Merge branch '218-builtin-precision-hw-issues' into 'master'

Remove builtin precision tests affected by HW limitations from mustpass

Fixes #218

See merge request !327

8 years agoMerge branch '217-builtin-precision-test-issues' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 19:42:17 +0000 (14:42 -0500)]
Merge branch '217-builtin-precision-test-issues' into 'master'

Remove precision tests with known issues from mustpass

Fixes #217

See merge request !328

8 years agoRemove precision tests with known issues from mustpass
Pyry Haulos [Fri, 15 Jan 2016 19:13:50 +0000 (11:13 -0800)]
Remove precision tests with known issues from mustpass

Fixes #217

8 years agoMerge branch '231-fix-spirv-loop-exit' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 19:35:25 +0000 (14:35 -0500)]
Merge branch '231-fix-spirv-loop-exit' into 'master'

Fix #231 and #232.

Split apart the early-exit loop tests and ensure that %val defs dominate
uses and OpPhi instructions always mention parent blocks.

See merge request !351

8 years agoMerge branch 'cube_and_shadow_face_coords-fix' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 19:16:59 +0000 (14:16 -0500)]
Merge branch 'cube_and_shadow_face_coords-fix' into 'master'

cubeshadow sampler - valid coords setup

OpaqueTypeIndexingTests: fixed cubeshadow sampler - provided valid coords setup
I am closing #336 as it was incomplete.

See merge request !344

8 years agoMerge branch 'issue_230_mustpass' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 19:16:26 +0000 (14:16 -0500)]
Merge branch 'issue_230_mustpass' into 'master'

Fix dEQP-VK.api.object_management.max_concurrent.device_memory_small

Fixes #230

Limit the number of allocations to 4K (which is the minimum required by the spec).

See merge request !348

8 years agoMerge branch 'ppiotrowski_memory_pipeline_barrier_src_usage_flag_fix' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 18:52:34 +0000 (13:52 -0500)]
Merge branch 'ppiotrowski_memory_pipeline_barrier_src_usage_flag_fix' into 'master'

memory.pipeline.barrier.* fix for copy*Image flags

This affects tests using cmdImageCopy and cmdImageBlitCopy.
change layout of destination image to VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL;
changed image layout of source image to VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL;

See merge request !335

8 years agoMerge branch '139-fix-shaderexecutor-upload-image' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 18:51:34 +0000 (13:51 -0500)]
Merge branch '139-fix-shaderexecutor-upload-image' into 'master'

ShaderExecutor: use buffer for copying images, fixes #139.

See merge request !350

8 years agoFix dEQP-VK.api.object_management.max_concurrent.device_memory_small
Daniel Koch [Tue, 19 Jan 2016 15:11:10 +0000 (10:11 -0500)]
Fix dEQP-VK.api.object_management.max_concurrent.device_memory_small

Issue 230

Clamp to 4K allocations (minimum required by the spec).

8 years agoFix #231 and #232.
Dejan Mircevski [Tue, 19 Jan 2016 17:52:54 +0000 (12:52 -0500)]
Fix #231 and #232.

Split apart the early-exit loop tests and ensure that %val defs dominate
uses and OpPhi instructions always mention parent blocks.

8 years agoShaderExecutor: use buffer for copying images, fixes #139.
Akos Dirner [Tue, 19 Jan 2016 16:58:33 +0000 (17:58 +0100)]
ShaderExecutor: use buffer for copying images, fixes #139.

8 years agoMerge branch 'jbolz_nan_sign' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 16:46:22 +0000 (11:46 -0500)]
Merge branch 'jbolz_nan_sign' into 'master'

Don't test sign of NaN value, as NaN values are not preserved

See https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15426

See merge request !349

8 years agoMerge branch 'jbolz_timestamp_locations' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 16:38:27 +0000 (11:38 -0500)]
Merge branch 'jbolz_timestamp_locations' into 'master'

Add location assignments to shader I/O variables in timestamp tests

See merge request !338

8 years agoMerge branch '216-remove-lowp-shaderrendercase-and-shaderexecutor-cases' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 16:36:20 +0000 (11:36 -0500)]
Merge branch '216-remove-lowp-shaderrendercase-and-shaderexecutor-cases' into 'master'

Remove ported lowp ShaderRenderCase and ShaderExecutor cases

fixes #216

See merge request !347

8 years agoDon't test sign of NaN value, as NaN values are not preserved
Jeff Bolz [Tue, 19 Jan 2016 16:34:49 +0000 (16:34 +0000)]
Don't test sign of NaN value, as NaN values are not preserved

8 years agoMerge branch '221-fix-memory-leak-in-command-buffers' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 16:14:16 +0000 (11:14 -0500)]
Merge branch '221-fix-memory-leak-in-command-buffers' into 'master'

Fix memory leak in dEQP-VK.api.command_buffers tests

See merge request !337

8 years agoMerge branch 'awoloszyn-fix-opphi' into 'master'
Pyry Haulos [Tue, 19 Jan 2016 16:12:19 +0000 (11:12 -0500)]
Merge branch 'awoloszyn-fix-opphi' into 'master'

Updated the SPIR-V in opphi.out_of_order to be the same as the comments

The previous test fixed the comments and expectations, but
not the actual SPIR-V.

Fixes #209

See merge request !334

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

Change 'Sampled' operand to '1' for OpUndef image tests

Vulkan spec says:

"Variables of type code:OpTypeImage must: have a code:Sampled
operand of 1 (sampled image) or 2 (storage image)."

See merge request !317

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 agoOpaqueTypeIndexingTests: fixed cubeshadow sampler - valid coords setup
asokolow [Tue, 19 Jan 2016 08:08:13 +0000 (09:08 +0100)]
OpaqueTypeIndexingTests: fixed cubeshadow sampler - valid coords setup

8 years agoRemove ported lowp ShaderRenderCase and ShaderExecutor cases
Csaba Osztrogonác [Tue, 19 Jan 2016 11:56:58 +0000 (12:56 +0100)]
Remove ported lowp ShaderRenderCase and ShaderExecutor cases
fixes #216

8 years agoAdd location assignments to shader I/O variables in timestamp tests
Jeff Bolz [Mon, 18 Jan 2016 17:31:49 +0000 (17:31 +0000)]
Add location assignments to shader I/O variables in timestamp tests

8 years agoFix memory leak in dEQP-VK.api.command_buffers tests
Kristof Kosztyo [Mon, 18 Jan 2016 15:32:59 +0000 (16:32 +0100)]
Fix memory leak in dEQP-VK.api.command_buffers tests

8 years agochanged source buffer usage flag to VK_BUFFER_USAGE_TRANSFER_SRC_BIT; changed image...
pflisiko [Mon, 18 Jan 2016 11:29:34 +0000 (12:29 +0100)]
changed source buffer usage flag to VK_BUFFER_USAGE_TRANSFER_SRC_BIT; changed image layout of destination image to VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; changed image layout of source image to VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL

8 years agoUpdated the SPIR-V in opphi.out_of_order to be the same as the comments
Andrew Woloszyn [Sat, 16 Jan 2016 18:16:41 +0000 (13:16 -0500)]
Updated the SPIR-V in opphi.out_of_order to be the same as the comments

The previous test fixed the comments and expectations, but
not the actual SPIR-V.

Fixes #209

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 agoRemove builtin precision tests affected by HW limitations from mustpass
Pyry Haulos [Fri, 15 Jan 2016 19:16:30 +0000 (11:16 -0800)]
Remove builtin precision tests affected by HW limitations from mustpass

Fixes #218

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 agoChange 'Sampled' operand to '1' for OpUndef image tests
Jeff Bolz [Fri, 15 Jan 2016 08:22:54 +0000 (08:22 +0000)]
Change 'Sampled' operand to '1' for OpUndef image tests

8 years agoRe-enable dEQP-GLES3.functional.shaders.builtin_variable.fragcoord_w .
Kenneth Russell [Fri, 15 Jan 2016 04:08:49 +0000 (20:08 -0800)]
Re-enable dEQP-GLES3.functional.shaders.builtin_variable.fragcoord_w .

This test covers important functionality and driver bugs that affect it
should be fixed.

BUG: 26333630

Change-Id: I2342045da4860d76b4e8f48031b985cc884cd263

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.