platform/upstream/VK-GL-CTS.git
7 years agodEQP-VK.pipeline.spec_constant.*.composite: non-trivial operations on spec_constant...
Slawomir Cygan [Wed, 22 Jun 2016 17:08:54 +0000 (19:08 +0200)]
dEQP-VK.pipeline.spec_constant.*.composite:  non-trivial operations on spec_constant does not yield spec constant

Fixes GLSL compilation issue in following tests:

dEQP-VK.pipeline.spec_constant.*.composite.array.*
dEQP-VK.pipeline.spec_constant.*.composite.vector.*
dEQP-VK.pipeline.spec_constant.*.composite.matrix.*
dEQP-VK.pipeline.spec_constant.*.composite.struct.*

7 years agoFix deStrnlen fall-back implementation
Pyry Haulos [Thu, 7 Jul 2016 21:58:52 +0000 (14:58 -0700)]
Fix deStrnlen fall-back implementation

Fixes #423

7 years agoUse VK_IMAGE_USAGE_TRANSFER_SRC_BIT for source image
Alexander Galazin [Thu, 7 Jul 2016 14:10:04 +0000 (16:10 +0200)]
Use VK_IMAGE_USAGE_TRANSFER_SRC_BIT for source image

The test incorrectly uses VK_IMAGE_USAGE_TRANSFER_DST_BIT for source
images while the spec (section 18.1 says) that
VK_IMAGE_USAGE_TRANSFER_SRC_BIT should be used.

Fixes #424

7 years agoAdd test for gl_FrontFacing
Peter Siket [Tue, 28 Jun 2016 11:18:36 +0000 (13:18 +0200)]
Add test for gl_FrontFacing

Fixes #412

7 years agoRe-build Vulkan CTS mustpass
Pyry Haulos [Thu, 7 Jul 2016 19:34:04 +0000 (12:34 -0700)]
Re-build Vulkan CTS mustpass

7 years agoSparse Image Memory Aliasing Test
Kantoch [Fri, 17 Jun 2016 10:08:59 +0000 (12:08 +0200)]
Sparse Image Memory Aliasing Test

7 years agoRefactoring of existing sparse resources tests to reduce code size
Kantoch [Fri, 17 Jun 2016 10:07:59 +0000 (12:07 +0200)]
Refactoring of existing sparse resources tests to reduce code size

7 years agoFix various barrier issues in resolve_image tests
Dominik Witczak [Wed, 15 Jun 2016 12:54:04 +0000 (14:54 +0200)]
Fix various barrier issues in resolve_image tests

Fixes #405

7 years agoAdd tests for textureSamples, QueryLevels, and QueryLod
Akos Dirner [Wed, 25 May 2016 12:30:11 +0000 (14:30 +0200)]
Add tests for textureSamples, QueryLevels, and QueryLod

Add new tests for textureSamples, textureQueryLevels and
textureQueryLod GLSL functions, extend textureSize test.

See #379

7 years agoAdd OpAtomicLoad, Store, and CompareExchange assembly tests
Csaba Osztrogonác [Fri, 3 Jun 2016 12:58:50 +0000 (14:58 +0200)]
Add OpAtomicLoad, Store, and CompareExchange assembly tests

Fixes #370

7 years agoExtend dEQP-VK.api.image_clearing.clear_color_image tests to perform clears also...
scygan [Wed, 20 Apr 2016 17:08:19 +0000 (19:08 +0200)]
Extend dEQP-VK.api.image_clearing.clear_color_image tests to perform clears also on non-renderable textures

7 years agoAdd dEQP-VK.tessellation.user_defined_io to mustpass
Maciej Jesionowski [Mon, 16 May 2016 08:03:02 +0000 (10:03 +0200)]
Add dEQP-VK.tessellation.user_defined_io to mustpass

Fixes #384

7 years agoFix warnings in shader derivate tests
Pyry Haulos [Thu, 7 Jul 2016 18:50:35 +0000 (11:50 -0700)]
Fix warnings in shader derivate tests

7 years agoUpdate glslang to d02dc5d
Pyry Haulos [Thu, 7 Jul 2016 18:46:50 +0000 (11:46 -0700)]
Update glslang to d02dc5d

7 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 7 Jul 2016 18:03:51 +0000 (11:03 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

7 years agoUpdate glslang to (f5dcdf01) "Front-end: Don't lower precision of bit operations...
scygan [Thu, 16 Jun 2016 12:53:06 +0000 (14:53 +0200)]
Update glslang to (f5dcdf01) "Front-end: Don't lower precision of bit operations taking highp inputs."

Fixes #382

7 years agoMerge branch '324-shader-texture-function-tests' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Mon, 27 Jun 2016 18:24:26 +0000 (18:24 +0000)]
Merge branch '324-shader-texture-function-tests' into 'vulkan-cts-1.0-dev'

Add shader texture function tests

Fixes #324

See merge request !471

7 years agoMerge branch '395-convert-assembly-fix-arraystride' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Fri, 24 Jun 2016 17:28:13 +0000 (17:28 +0000)]
Merge branch '395-convert-assembly-fix-arraystride' into 'vulkan-cts-1.0-dev'

Fix missing ArrayStride decorator.

Fix the missing ArrayStride decorator in OpSConvert and OpUConvert tests.

See merge request !578

7 years agoShaderRenderDerivateTests: fix threshold calculation.
Akos Dirner [Thu, 23 Jun 2016 12:14:23 +0000 (14:14 +0200)]
ShaderRenderDerivateTests: fix threshold calculation.

7 years agoAdd more texture function tests to the exclude list, regenerate mustpass list.
Akos Dirner [Tue, 21 Jun 2016 11:47:26 +0000 (13:47 +0200)]
Add more texture function tests to the exclude list, regenerate mustpass list.

7 years agoAdd more texture function tests to the exclude list, regenerate mustpass list.
Akos Dirner [Mon, 20 Jun 2016 12:10:06 +0000 (14:10 +0200)]
Add more texture function tests to the exclude list, regenerate mustpass list.

7 years agoMerge branch '392-split-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Fri, 17 Jun 2016 16:10:51 +0000 (16:10 +0000)]
Merge branch '392-split-tests' into 'vulkan-cts-1.0-dev'

Fix issues with undefined levels in tess primitive discard tests

In certain cases less than 1 inner tessellation levels result in
implementation-dependent number of vertices to be generated. Relax
verification in those cases, and add separate tests that exercise only
valid (>= 1) inner levels.

Fixes #392

See merge request !592

7 years agoExclude some failing tests from mustpass.
Akos Dirner [Fri, 17 Jun 2016 15:01:16 +0000 (17:01 +0200)]
Exclude some failing tests from mustpass.

7 years agoFix issues with undefined levels in tess primitive discard tests
Pyry Haulos [Thu, 16 Jun 2016 20:50:55 +0000 (13:50 -0700)]
Fix issues with undefined levels in tess primitive discard tests

In certain cases less than 1 inner tessellation levels result in
implementation-dependent number of vertices to be generated. Relax
verification in those cases, and add separate tests that exercise only
valid (>= 1) inner levels.

Fixes #392

7 years agoUpdate Khronos mustpass list
Mika Isojärvi [Thu, 16 Jun 2016 17:58:09 +0000 (10:58 -0700)]
Update Khronos mustpass list

7 years agoMerge branch '342-opinboundsaccesschain-assembly-tests' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Thu, 16 Jun 2016 17:53:02 +0000 (17:53 +0000)]
Merge branch '342-opinboundsaccesschain-assembly-tests' into 'vulkan-cts-1.0-dev'

Add OpInBoundsAccessChain tests.

See merge request !549

7 years agoMerge branch '296-derivate-function-tests' into '324-shader-texture-function-tests'
Mika Isojarvi [Thu, 16 Jun 2016 17:51:43 +0000 (17:51 +0000)]
Merge branch '296-derivate-function-tests' into '324-shader-texture-function-tests'

Added Derivate function tests.

I set target to branch 360-texture-gather-tests because this code depends on some ShaderRendercase modifications from the unmerged branch.

See merge request !538

7 years agoExplicitly declare gl_PerVertex block
Maciej Jesionowski [Thu, 16 Jun 2016 12:02:45 +0000 (14:02 +0200)]
Explicitly declare gl_PerVertex block

This fixes SPIR-V validation error in shaders generated from GLSL (not ES)
due to missing ClipDistance capability.

(cherry picked from commit 0a6fe1448b303a6a4e4ab48712eaf1c0b16d75b1)

7 years agoMerge branch 'mobica_fix_spirv_validation_errors' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Thu, 16 Jun 2016 17:40:02 +0000 (17:40 +0000)]
Merge branch 'mobica_fix_spirv_validation_errors' into 'vulkan-cts-1.0-dev'

Explicitly declare gl_PerVertex block

This fixes SPIR-V validation error in shaders generated from GLSL (not ES) due to missing ClipDistance capability.

I'm adding "for discussion" label to highlight this. Also not sure if we really need to make these fixes, or should this be dealt with someplace else.

Affected tests (at least those I noticed):

- dEQP-VK.draw
- dEQP-VK.binding_model
- dEQP-VK.pipeline.early_fragment
- dEQP-VK.pipeline.spec_constant

See merge request !590

7 years agoMerge branch 'issue_408' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Thu, 16 Jun 2016 17:37:46 +0000 (17:37 +0000)]
Merge branch 'issue_408' into 'vulkan-cts-1.0-dev'

Fixes OpSConvert and OpUConvert output buffer

The OpSConvert and OpUConvert incorrectly bound the same buffer as input
and output. This can lead to issues when they are of different size.

Fixes #408

See merge request !588

7 years agoFix VkDeviceSize -> size_t warning
Pyry Haulos [Thu, 16 Jun 2016 16:01:47 +0000 (09:01 -0700)]
Fix VkDeviceSize -> size_t warning

7 years agoRe-build Vulkan CTS mustpass
Pyry Haulos [Thu, 16 Jun 2016 16:01:29 +0000 (09:01 -0700)]
Re-build Vulkan CTS mustpass

7 years agoFix missing ArrayStride decorator.
Gabor Abraham [Wed, 8 Jun 2016 13:26:52 +0000 (15:26 +0200)]
Fix missing ArrayStride decorator.

7 years agoExplicitly declare gl_PerVertex block
Maciej Jesionowski [Thu, 16 Jun 2016 12:02:45 +0000 (14:02 +0200)]
Explicitly declare gl_PerVertex block

This fixes SPIR-V validation error in shaders generated from GLSL (not ES)
due to missing ClipDistance capability.

7 years agoFixes OpSConvert and OpUConvert output buffer
Lars-Ivar Hesselberg Simonsen [Thu, 16 Jun 2016 10:59:44 +0000 (12:59 +0200)]
Fixes OpSConvert and OpUConvert output buffer

The OpSConvert and OpUConvert incorrectly bound the same buffer as input
and output. This can lead to issues when they are of different size.

7 years agoMerge branch 'buffer-overflow-in-deqp-vk-draw-indirect_draw-404' into 'vulkan-cts...
Pyry Haulos [Wed, 15 Jun 2016 16:04:16 +0000 (16:04 +0000)]
Merge branch 'buffer-overflow-in-deqp-vk-draw-indirect_draw-404' into 'vulkan-cts-1.0-dev'

Fix for buffer overflow in dEQP-VK.draw.indirect_draw.*

Closes #404

See merge request !584

7 years agoDisable textureproj* tests which are affected by glslang issue (319).
Akos Dirner [Wed, 15 Jun 2016 13:35:06 +0000 (15:35 +0200)]
Disable textureproj* tests which are affected by glslang issue (319).

7 years agoMerge branch 'git_log_process_update' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 14 Jun 2016 15:45:41 +0000 (15:45 +0000)]
Merge branch 'git_log_process_update' into 'vulkan-cts-1.0'

See merge request !577

7 years agoMerge branch '396-component-mapping-fix' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 14 Jun 2016 15:44:27 +0000 (15:44 +0000)]
Merge branch '396-component-mapping-fix' into 'vulkan-cts-1.0-dev'

Component mapping fix for rasterization tests.

It fixes the improper use of the getFormatComponentMapping() in the rasterization tests. (vulkan/vulkancts#396)

See merge request !573

7 years agoMerge branch 'scygan-fix_image_properties_tests' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 14 Jun 2016 15:44:14 +0000 (15:44 +0000)]
Merge branch 'scygan-fix_image_properties_tests' into 'vulkan-cts-1.0'

Fix dEQP-VK.api.info.image_format_properties - TRANSIENT usage flag used with DMA flags

Spec:
```
VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT indicates that the ....
If this is set, then bits other than VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,
VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, and VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT must not be set.
```

The test tries the forbidden combination of usage flags, for example VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT + VK_IMAGE_USAGE_TRANSFER_SRC

See merge request !570

7 years agoMerge branch 'validation_fix_api_command_buffers' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 14 Jun 2016 15:43:26 +0000 (15:43 +0000)]
Merge branch 'validation_fix_api_command_buffers' into 'vulkan-cts-1.0-dev'

dEQP-VK.api.command_buffers: remove bad test

I think two test cases were wrong -- they allocated zero command buffers which shouldn't be allowed. Layers treat it as an error and I filed a spec bug because it's not stated explicitly. I'm removing these two tests.

See #357 for details on validation task.

### Vulkan spec issue

- [Issue 292](https://gitlab.khronos.org/vulkan/vulkan/issues/292) - VkCommandBufferAllocateInfo valid usage

See merge request !525

7 years agoFix SPIR-V validation error (missing ClipDistance capability) by declaring gl_PerVert...
Akos Dirner [Fri, 10 Jun 2016 12:11:47 +0000 (14:11 +0200)]
Fix SPIR-V validation error (missing ClipDistance capability) by declaring gl_PerVertex explicitly.

7 years agocheck if sample count actually supported on image format
Daniel Hegedus [Thu, 2 Jun 2016 11:27:32 +0000 (13:27 +0200)]
check if sample count actually supported on image format

7 years agorefactor vulnerable sample count handling
Daniel Hegedus [Thu, 2 Jun 2016 10:56:56 +0000 (12:56 +0200)]
refactor vulnerable  sample count handling

7 years agoAdded Derivate function tests.
Daniel Hegedus [Fri, 22 Apr 2016 13:23:42 +0000 (15:23 +0200)]
Added Derivate function tests.

7 years agoFix for buffer overflow in dEQP-VK.draw.indirect_draw.* CTS tests
John Corbally [Mon, 13 Jun 2016 15:27:04 +0000 (16:27 +0100)]
Fix for buffer overflow in dEQP-VK.draw.indirect_draw.* CTS tests

7 years agoFix a few size_t -> deUint32 conversion warnings
Pyry Haulos [Mon, 13 Jun 2016 17:27:47 +0000 (10:27 -0700)]
Fix a few size_t -> deUint32 conversion warnings

7 years agoAdd texture function and texture gather tests to the mustpass and exclude lists.
Akos Dirner [Mon, 13 Jun 2016 14:24:28 +0000 (16:24 +0200)]
Add texture function and texture gather tests to the mustpass and exclude lists.

7 years agoAdd texture gather tests. Fixes #360.
Akos Dirner [Tue, 26 Apr 2016 20:13:53 +0000 (22:13 +0200)]
Add texture gather tests. Fixes #360.

7 years agoFix sampler definition used for texelFetch tests.
Akos Dirner [Thu, 2 Jun 2016 15:22:15 +0000 (17:22 +0200)]
Fix sampler definition used for texelFetch tests.

7 years agoAdd ShaderRenderTextureFunctionTests. Fixes #324.
Akos Dirner [Fri, 11 Mar 2016 15:53:35 +0000 (16:53 +0100)]
Add ShaderRenderTextureFunctionTests. Fixes #324.

7 years agoShaderRender:
Akos Dirner [Fri, 11 Mar 2016 15:49:20 +0000 (16:49 +0100)]
ShaderRender:
* add support for 2darray, 3d and cube samplers.
* derived classes can configure more parameters (e.g. render size, color format of result image, etc.) and they can use custom rendering (even multiple times).
Related to #324.

7 years agoRe-build Vulkan CTS 1.0.1 mustpass
Pyry Haulos [Mon, 13 Jun 2016 17:18:30 +0000 (10:18 -0700)]
Re-build Vulkan CTS 1.0.1 mustpass

7 years agoMerge branch 381-new-synchronization-tests into vulkan-cts-1.0-dev
Pyry Haulos [Mon, 13 Jun 2016 17:07:58 +0000 (10:07 -0700)]
Merge branch 381-new-synchronization-tests into vulkan-cts-1.0-dev

7 years agoMerge branch 334-resolve-image-tests into vulkan-cts-1.0-dev
Pyry Haulos [Mon, 13 Jun 2016 17:07:18 +0000 (10:07 -0700)]
Merge branch 334-resolve-image-tests into vulkan-cts-1.0-dev

7 years agoAdd ArrayStride decorator in OpTypeArray cases.
Gabor Abraham [Fri, 10 Jun 2016 12:27:11 +0000 (14:27 +0200)]
Add ArrayStride decorator in OpTypeArray cases.

7 years agoFix OpInBoundsAccessChain return type in matrix cases.
Gabor Abraham [Fri, 10 Jun 2016 11:45:16 +0000 (13:45 +0200)]
Fix OpInBoundsAccessChain return type in matrix cases.

7 years agoUpdate git log command
Alexander Galazin [Wed, 8 Jun 2016 09:25:47 +0000 (11:25 +0200)]
Update git log command

7 years agoAdd OpAtomicIAdd, OpAtomicISub, OpAtomicIIncrement and OpAtomicIDecrement assembly...
Csaba Osztrogonác [Tue, 17 May 2016 14:02:34 +0000 (16:02 +0200)]
Add OpAtomicIAdd, OpAtomicISub, OpAtomicIIncrement and OpAtomicIDecrement assembly tests

7 years agoComponent mapping fix.
Peter Siket [Mon, 6 Jun 2016 07:56:42 +0000 (09:56 +0200)]
Component mapping fix.

8 years agoFix after review and validation layer errors
Szilard Ledan [Fri, 3 Jun 2016 14:30:10 +0000 (16:30 +0200)]
Fix after review and validation layer errors

8 years agoAdd tests for resolve images
Szilard Ledan [Mon, 29 Feb 2016 09:32:23 +0000 (10:32 +0100)]
Add tests for resolve images

8 years agoMerge branch 'jekstrand-spirv-assembly-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:37:24 +0000 (18:37 +0000)]
Merge branch 'jekstrand-spirv-assembly-fixes' into 'vulkan-cts-1.0-dev'

spirv_assembly: Don't use booleans in SSBOs

The bool type in spirv isn't allowed in external storage.  From the SPIR-V
spec for OpTypeBool:

> Values of this type can only be either true or false. There is no
> physical size or bit pattern defined for these values. If they are
> stored (in conjunction with OpVariable), they can only be used with
> logical addressing operations, not physical, and only with
> non-externally visible shader Storage Classes: Workgroup,
> CrossWorkgroup, Private, and Function.

Instead, we should use an integer and use OpSelect to convert from a
boolean to the expected 0/1 value the test wants.

See merge request !569

8 years agoMerge branch 'jekstrand-rasterization-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:36:08 +0000 (18:36 +0000)]
Merge branch 'jekstrand-rasterization-fixes' into 'vulkan-cts-1.0-dev'

rasterization: Use LOAD_OP_DONT_CARE for the resolve attachment

It used to use LOAD_OP_CLEAR for the resolve attachment but only provided
one clear value which led to an out-of-bounds read.

See merge request !571

8 years agoMerge branch 'jekstrand-clearing-fixes' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:35:46 +0000 (18:35 +0000)]
Merge branch 'jekstrand-clearing-fixes' into 'vulkan-cts-1.0-dev'

image_clearing: Don't set a component mapping for the view to be cleared

From the Vulkan 1.0.12 spec for VkComponentMapping:

> This remapping must be identity for storage image descriptors, input
> attachment descriptors, and framebuffer attachments.

This fixes 6 CTS tests on the Intel Linux driver.

See merge request !568

8 years agoMerge branch 'scygan-update-glslang' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 2 Jun 2016 18:34:51 +0000 (18:34 +0000)]
Merge branch 'scygan-update-glslang' into 'vulkan-cts-1.0-dev'

Update glslang to (5b3f755) to include struct member decorations fix

This fixes #384

CC @mjesionowski

See merge request !561 and !558.

8 years agospirv_assembly: Use deInt32 instead of VkBool32 for OpFUnord* tests
Jason Ekstrand [Thu, 2 Jun 2016 18:25:00 +0000 (11:25 -0700)]
spirv_assembly: Use deInt32 instead of VkBool32 for OpFUnord* tests

8 years agorasterization: Use LOAD_OP_DONT_CARE for the resolve attachment
Jason Ekstrand [Wed, 1 Jun 2016 21:04:26 +0000 (14:04 -0700)]
rasterization: Use LOAD_OP_DONT_CARE for the resolve attachment

It used to use LOAD_OP_CLEAR for the resolve attachment but only provided
one clear value which led to an out-of-bounds read.

8 years agoUpdate glslang to (22e0d414) to include struct member and in/out struct decorations...
scygan [Wed, 18 May 2016 10:59:59 +0000 (12:59 +0200)]
Update glslang to (22e0d414) to include struct member and in/out struct decorations fixes

This unblocks MR !558

8 years agospirv_assembly: Don't use booleans in SSBOs
Jason Ekstrand [Tue, 31 May 2016 22:49:29 +0000 (15:49 -0700)]
spirv_assembly: Don't use booleans in SSBOs

The bool type in spirv isn't allowed in external storage.  From the SPIR-V
spec for OpTypeBool:

    "Values of this type can only be either true or false. There is no
    physical size or bit pattern defined for these values. If they are
    stored (in conjunction with OpVariable), they can only be used with
    logical addressing operations, not physical, and only with
    non-externally visible shader Storage Classes: Workgroup,
    CrossWorkgroup, Private, and Function."

Instead, we should use an integer and use OpSelect to convert from a
boolean to the expected 0/1 value the test wants.

8 years agoFix dEQP-VK.api.info.image_format_properties - TRANSIENT usage flag used with DMA...
scygan [Wed, 1 Jun 2016 13:55:20 +0000 (15:55 +0200)]
Fix dEQP-VK.api.info.image_format_properties - TRANSIENT usage flag used with DMA flags

Conflicts:
intel/negativeList.txt

8 years agoAdded synchronization basic tests
Arkadiusz Sarwa [Fri, 6 May 2016 14:50:31 +0000 (16:50 +0200)]
Added synchronization basic tests

8 years agoCreate OpInBoundsAccessChain tests using OpCompositeInsert utility functions.
Gabor Abraham [Thu, 28 Apr 2016 15:27:22 +0000 (17:27 +0200)]
Create OpInBoundsAccessChain tests using OpCompositeInsert utility functions.

8 years agoAdd synchronization module
Maciej Jesionowski [Mon, 9 May 2016 13:08:03 +0000 (15:08 +0200)]
Add synchronization module

- Moved existing synchronization tests to a subgroup

8 years agoimage_clearing: Don't set a component mapping for the view to be cleared
Jason Ekstrand [Tue, 31 May 2016 18:42:02 +0000 (11:42 -0700)]
image_clearing: Don't set a component mapping for the view to be cleared

From the Vulkan 1.0.12 spec for VkComponentMapping:

    "This remapping must be identity for storage image descriptors, input
    attachment descriptors, and framebuffer attachments."

This fixes 6 CTS tests on the Intel Linux driver.

8 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 31 May 2016 16:31:25 +0000 (09:31 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

8 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 31 May 2016 16:29:45 +0000 (09:29 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

8 years agoMerge branch 'memory-release-fix' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 31 May 2016 16:27:30 +0000 (16:27 +0000)]
Merge branch 'memory-release-fix' into 'vulkan-cts-1.0'

Use TCU_CHECK instead of DE_ASSERT

DE_ASSERT is optimized away in release build. In this case it resulted
in the 'modifyXor' function not being called, causing the reference
memory to go out of sync with the actual memory. Follow up to the fix
for #353.

See merge request !566

8 years agoUse TCU_CHECK instead of DE_ASSERT
Sivert Berg [Tue, 31 May 2016 12:37:57 +0000 (14:37 +0200)]
Use TCU_CHECK instead of DE_ASSERT

DE_ASSERT is optimized away in release build. In this case it resulted
in the 'modifyXor' function not being called, causing the reference
memory to go out of sync with the actual memory.

8 years agoFixes to random memory mapping tests am: 223b8f6911 am: c277f941dd
Mika Isojrvi [Sat, 28 May 2016 00:37:59 +0000 (00:37 +0000)]
Fixes to random memory mapping tests am: 223b8f6911 am: c277f941dd
am: 2996c7f493

* commit '2996c7f4933ff1272451e5545fc47f43f0cf367d':

Change-Id: Id1462b89bb79e8e3895742e5c5b1b600f472109b

8 years agoFixes to random memory mapping tests am: 223b8f6911 am: 1dd022e33d
Mika Isojrvi [Sat, 28 May 2016 00:37:57 +0000 (00:37 +0000)]
Fixes to random memory mapping tests am: 223b8f6911 am: 1dd022e33d
am: 1c7af2b568

* commit '1c7af2b568ab1ef38199a2a9587efad98a259b26':
  Fixes to random memory mapping tests

Change-Id: If5e5ff9189d03f3d09a4594f566b2795ce400cf9

8 years agoFixes to random memory mapping tests am: 223b8f6911
Mika Isojärvi [Sat, 28 May 2016 00:11:52 +0000 (00:11 +0000)]
Fixes to random memory mapping tests am: 223b8f6911
am: c277f941dd

* commit 'c277f941dd00ab3f9cd0d7aff3028f5c18a5ebb5':

Change-Id: I38c50df26568d40cfb928ab88194deec03e97554

8 years agoFixes to random memory mapping tests am: 223b8f6911
Mika Isojärvi [Sat, 28 May 2016 00:09:09 +0000 (00:09 +0000)]
Fixes to random memory mapping tests am: 223b8f6911
am: 1dd022e33d

* commit '1dd022e33d0ead6fa4e3761a12be2b013a79f91b':
  Fixes to random memory mapping tests

Change-Id: I7761467d2692a1fd4832047d677de011f5591f7a

8 years agoFixes to random memory mapping tests
Mika Isojrvi [Sat, 28 May 2016 00:04:04 +0000 (00:04 +0000)]
Fixes to random memory mapping tests
am: 223b8f6911

* commit '223b8f6911719df9863119197c12106db5dc0abc':
  Fixes to random memory mapping tests

Change-Id: I15e35517169216977eaa6f62b2ce4cbf9bdfc45e

8 years agoFixes to random memory mapping tests
Mika Isojrvi [Sat, 28 May 2016 00:04:03 +0000 (00:04 +0000)]
Fixes to random memory mapping tests
am: 223b8f6911

* commit '223b8f6911719df9863119197c12106db5dc0abc':
  Fixes to random memory mapping tests

Change-Id: Ia94be0fac2b283df0954596d5fa006b3a8416181

8 years agoMerge "De-duplicate utility code between some Vulkan test groups"
Pyry Haulos [Fri, 27 May 2016 23:57:38 +0000 (23:57 +0000)]
Merge "De-duplicate utility code between some Vulkan test groups"

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c am: 0257d9458a
Mika Isojrvi [Fri, 27 May 2016 23:17:05 +0000 (23:17 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c am: 0257d9458a
am: 508ae6d9f1

* commit '508ae6d9f1d37335b4c286b6d46a40e4d2f10b8a':

Change-Id: I0134a429f69897af6d70b73f2e472260d87cc495

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c am: 46e8192cb1
Mika Isojrvi [Fri, 27 May 2016 23:17:04 +0000 (23:17 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c am: 46e8192cb1
am: 4305224b1c

* commit '4305224b1c8d49fce6b323b6dbc0c31fe6bae01f':
  Flush changes before invalidate in memory mapping tests

Change-Id: I8a66f7d2426992d8148315ac351fc77afb76fc46

8 years agoFix several issues in dEQP-VK.memory.mapping tests
Pyry Haulos [Fri, 27 May 2016 23:03:46 +0000 (16:03 -0700)]
Fix several issues in dEQP-VK.memory.mapping tests

This is a very manual cherry-pick of memory mapping test fixes from
development branch into the release branch.

Fixes #353

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c
Mika Isojärvi [Fri, 27 May 2016 22:55:39 +0000 (22:55 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c
am: 0257d9458a

* commit '0257d9458a73c0fc24bec89ba60b353b312c8de3':

Change-Id: I8850f380084125039d5ef0edd34ea650877bacd3

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 22:53:08 +0000 (22:53 +0000)]
Flush changes before invalidate in memory mapping tests
am: e73ac75e3c

* commit 'e73ac75e3c0ee3068e2366bf69a83c77f3dba268':
  Flush changes before invalidate in memory mapping tests

Change-Id: Ibe83e08a3a62a9253ff50b8732f3432976b92e7b

8 years agoFlush changes before invalidate in memory mapping tests am: e73ac75e3c
Mika Isojärvi [Fri, 27 May 2016 22:48:03 +0000 (22:48 +0000)]
Flush changes before invalidate in memory mapping tests am: e73ac75e3c
am: 46e8192cb1

* commit '46e8192cb1d3d11640778548b94e114119349219':
  Flush changes before invalidate in memory mapping tests

Change-Id: I2a830a172b614b41408e917dcb5aa66475ae955a

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 22:43:01 +0000 (22:43 +0000)]
Flush changes before invalidate in memory mapping tests
am: e73ac75e3c

* commit 'e73ac75e3c0ee3068e2366bf69a83c77f3dba268':
  Flush changes before invalidate in memory mapping tests

Change-Id: I8f12f5627d626e6df5953d996f2ce42d6ced39f7

8 years agoFixes to random memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:21:49 +0000 (14:21 -0700)]
Fixes to random memory mapping tests

- Take nonCoherentAtomicSize into account.
- Track and handle correctly invalidating memory that has not
  been flushed.

Bug: 29006045
Bug: 28939771
Change-Id: Ib114822aff0fd4bf4df5d84a2e17b393368bdd3c

8 years agoMerge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c...
Mika Isojärvi [Fri, 27 May 2016 21:19:20 +0000 (21:19 +0000)]
Merge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am: 0a2cce9dfb" into nyc-mr1-dev-plus-aosp
am: b19f87d64e

* commit 'b19f87d64e804b0984d97b87844db3dd9fb6b68d':

Change-Id: Ic3fdaba128ceb6bf3768c39142ba6623fa9ab13d

8 years agoTake nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am:...
Mika Isojrvi [Fri, 27 May 2016 21:19:19 +0000 (21:19 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am: a2685d421f
am: 10f018138c

* commit '10f018138c56bcb7a06d9e91163acf8ab9f40957':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I7ab6a2b281817e97e3cfbdccffcd00cdac8965aa

8 years agoDe-duplicate utility code between some Vulkan test groups
Pyry Haulos [Fri, 27 May 2016 20:48:48 +0000 (13:48 -0700)]
De-duplicate utility code between some Vulkan test groups

draw, query_pool, and dynamic_state groups had a few identical
utilities. Move them under draw/.

Change-Id: I4e05606d75da6ac98ff3734604d080fe71ee36e8

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:05:20 +0000 (14:05 -0700)]
Flush changes before invalidate in memory mapping tests

Bug: 29006045
Change-Id: I697c69838bc75d0dfc7ac232888d60e1a0d80ded

8 years agoMerge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c...
Android Build Merger (Role) [Fri, 27 May 2016 20:39:27 +0000 (20:39 +0000)]
Merge "Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c am: 0a2cce9dfb" into nyc-mr1-dev-plus-aosp

8 years agoTake nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c
Mika Isojärvi [Fri, 27 May 2016 20:39:22 +0000 (20:39 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests am: 81fe3f5a2c
am: 0a2cce9dfb

* commit '0a2cce9dfb5fb64418815926cfa2996c6809cd18':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I02c90ddd5226906fa05a5675bd726c7ddaa1d244