platform/upstream/VK-GL-CTS.git
8 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

8 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.

8 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.

8 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.

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

8 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.

8 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

8 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

8 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

8 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.

8 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.

8 years agoReset debug message callback if exception is thrown
Mika Isojärvi [Thu, 9 Jun 2016 17:08:17 +0000 (10:08 -0700)]
Reset debug message callback if exception is thrown

Bug: 29190874
Change-Id: Ie98b2286d1e9257247bfd0ff5924670c68631056

8 years agoAllow specifying version when creating OpenGL context
Mika Isojärvi [Thu, 9 Jun 2016 16:45:35 +0000 (09:45 -0700)]
Allow specifying version when creating OpenGL context

Allow specifying version number when creating OpenGL context using
EGL_KHR_create_context.

Bug: 29191048
Change-Id: Ia827f8b1ba69c0695943d34f43255d4153780bbf

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

8 years agoMerge "Deqptestrunner efficient filtering am: 57792529e7 am: be1738c4a4" into nyc...
Aaron Holden [Tue, 7 Jun 2016 03:47:11 +0000 (03:47 +0000)]
Merge "Deqptestrunner efficient filtering am: 57792529e7 am: be1738c4a4" into nyc-mr1-dev-plus-aosp
am: 7f6128d3a9

* commit '7f6128d3a9b8f230a2f191d8c795a64532bcd57d':

Change-Id: Ibb31a268687b175130f6e56b09ca869b391fb672

8 years agoDeqptestrunner efficient filtering am: 57792529e7 am: d7540db924
Aaron Holden [Tue, 7 Jun 2016 03:47:09 +0000 (03:47 +0000)]
Deqptestrunner efficient filtering am: 57792529e7 am: d7540db924
am: f7c4ac2212

* commit 'f7c4ac2212c95bfe37def051e53eb1abc215e52f':
  Deqptestrunner efficient filtering

Change-Id: I7b629ceb24d9c40bbfb393f2c8571aa9ca000733

8 years agoMerge "Deqptestrunner efficient filtering am: 57792529e7 am: be1738c4a4" into nyc...
Android Build Merger (Role) [Tue, 7 Jun 2016 03:44:37 +0000 (03:44 +0000)]
Merge "Deqptestrunner efficient filtering am: 57792529e7 am: be1738c4a4" into nyc-mr1-dev-plus-aosp

8 years agoDeqptestrunner efficient filtering am: 57792529e7
Aaron Holden [Tue, 7 Jun 2016 03:44:28 +0000 (03:44 +0000)]
Deqptestrunner efficient filtering am: 57792529e7
am: be1738c4a4

* commit 'be1738c4a4953fd5f4ec793ca2f29e41ae92718d':
  Deqptestrunner efficient filtering

Change-Id: I88450c67cceffd70693df2ce9ea8110b07f1e188

8 years agoDeqptestrunner efficient filtering am: 57792529e7
Aaron Holden [Tue, 7 Jun 2016 03:44:26 +0000 (03:44 +0000)]
Deqptestrunner efficient filtering am: 57792529e7
am: d7540db924

* commit 'd7540db92473a347d7fe6ad2b16407082097e31c':
  Deqptestrunner efficient filtering

Change-Id: Ie2bcdd35ef548748d6d2587d723716c996e3b504

8 years agoDeqptestrunner efficient filtering
Aaron Holden [Tue, 7 Jun 2016 03:41:45 +0000 (03:41 +0000)]
Deqptestrunner efficient filtering
am: 57792529e7

* commit '57792529e763644169c77eb43596887ebb5f52e7':
  Deqptestrunner efficient filtering

Change-Id: I3d3cbfa856d7dcbcae693e4035e5fe9a63d099ff

8 years agoDeqptestrunner efficient filtering
Aaron Holden [Tue, 7 Jun 2016 03:41:42 +0000 (03:41 +0000)]
Deqptestrunner efficient filtering
am: 57792529e7

* commit '57792529e763644169c77eb43596887ebb5f52e7':
  Deqptestrunner efficient filtering

Change-Id: I409d0415562770b312227d3db3a9fe43de54a9c1

8 years agoDeqptestrunner efficient filtering
Aaron Holden [Mon, 6 Jun 2016 23:51:56 +0000 (16:51 -0700)]
Deqptestrunner efficient filtering

bug:28245788

Change-Id: I2c28fb7aed7a13c4f011b76b699cf0845c821f7c

8 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

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

8 years agoMerge "Add swapchain resize test" into nyc-dev am: b1437bc776 am: 80aa52dec8
Jesse Hall [Fri, 3 Jun 2016 17:43:02 +0000 (17:43 +0000)]
Merge "Add swapchain resize test" into nyc-dev am: b1437bc776 am: 80aa52dec8
am: db3fd748cf

* commit 'db3fd748cf5ab85c8a5ab3fac34e408a84d5ccbc':

Change-Id: I2c803f0ba7ff113d7b8b04273289d7e03096dcc0

8 years agoMerge "Add swapchain resize test" into nyc-dev am: b1437bc776 am: 10f985c532
Jesse Hall [Fri, 3 Jun 2016 17:42:58 +0000 (17:42 +0000)]
Merge "Add swapchain resize test" into nyc-dev am: b1437bc776 am: 10f985c532
am: 3c3ea33a04

* commit '3c3ea33a04a55d6e4ff1dfa0b8b71fbc36016793':
  Add swapchain resize test

Change-Id: I32f53214ddab482c14c99a82a7d668e0c047083a

8 years agoMerge "Add swapchain resize test" into nyc-dev am: b1437bc776
Jesse Hall [Fri, 3 Jun 2016 17:39:33 +0000 (17:39 +0000)]
Merge "Add swapchain resize test" into nyc-dev am: b1437bc776
am: 80aa52dec8

* commit '80aa52dec8fd6fd3d6fbf61f5889d8d1acdfae76':

Change-Id: I9788d0dd8eb35f4416ef159705e30f5c006b4f05

8 years agoMerge "Add swapchain resize test" into nyc-dev am: b1437bc776
Jesse Hall [Fri, 3 Jun 2016 17:30:11 +0000 (17:30 +0000)]
Merge "Add swapchain resize test" into nyc-dev am: b1437bc776
am: 10f985c532

* commit '10f985c53201a424e89aa681b72f749b38699473':
  Add swapchain resize test

Change-Id: I38eb8a5bac1f8270dd8acd64ad6722d18373eeeb

8 years agoMerge "Add swapchain resize test" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 17:26:50 +0000 (17:26 +0000)]
Merge "Add swapchain resize test" into nyc-dev
am: b1437bc776

* commit 'b1437bc776aaf88e84d3b2840df9c3d84647b0bc':
  Add swapchain resize test

Change-Id: I2b8453a99d2e5b68fbdc28ec823def0939ed5ba6

8 years agoMerge "Add swapchain resize test" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 17:26:13 +0000 (17:26 +0000)]
Merge "Add swapchain resize test" into nyc-dev
am: b1437bc776

* commit 'b1437bc776aaf88e84d3b2840df9c3d84647b0bc':
  Add swapchain resize test

Change-Id: Id8fb4fc325488f8c05cd320dd9438f0bcf935d3d

8 years agoMerge "Add swapchain resize test" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 17:13:27 +0000 (17:13 +0000)]
Merge "Add swapchain resize test" into nyc-dev

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 agoAdd swapchain resize test
Jesse Hall [Tue, 31 May 2016 05:43:54 +0000 (22:43 -0700)]
Add swapchain resize test

Bug: 26927424
Change-Id: I9d0124d7a2ddc25ba8953b0a1df15a0faeb620d9

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 agoAdd negative tessellation IO array size cases to mustpass
Pyry Haulos [Wed, 1 Jun 2016 19:53:05 +0000 (12:53 -0700)]
Add negative tessellation IO array size cases to mustpass

Bug: 25389474
Change-Id: If531728a82def9594262006867b8f7bc3781ff9e

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 agoAdd tests for varying linking by location
Pyry Haulos [Tue, 31 May 2016 23:28:26 +0000 (16:28 -0700)]
Add tests for varying linking by location

In Vulkan varyings are linked by location only, so having name
mismatches or collisions must not affect validity of a pipeline.

Bug: 29056634
Change-Id: I3579b02064c1b5cb9862b48795b16357319ce7af

8 years agoAdd tests for uniform block linking by binding
Pyry Haulos [Fri, 20 May 2016 18:52:42 +0000 (11:52 -0700)]
Add tests for uniform block linking by binding

Drivers should ignore uniform block name debug opcodes when doing
linking and instead expect matching by binding only. Test this by
declaring different uniform blocks with same name but different bindings
in vertex and fragment shaders.

Bug: 28857593
Change-Id: I4a84b4de2021802fd247cd744d01491eb8224bd4

8 years agoAdd simple Vulkan smoke test that doesn't use OpName
Pyry Haulos [Tue, 24 May 2016 20:27:56 +0000 (13:27 -0700)]
Add simple Vulkan smoke test that doesn't use OpName

Covers following places where glslang generates OpName by default:

 * Vertex and fragment shader user-defined inputs
 * Vertex and fragment shader user-defined outputs
 * Built-in vertex shader outputs
 * Struct type name
 * Struct member name
 * Local variable

Bug: 29054693
Bug: 28887585
Change-Id: I07c2f3cfc1306811100e9380bf6c68d53b8d1a14

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 "Use TCU_CHECK instead of DE_ASSERT am: c578741609 am: 55f1d10c95" into nyc...
Sivert Berg [Tue, 31 May 2016 18:26:46 +0000 (18:26 +0000)]
Merge "Use TCU_CHECK instead of DE_ASSERT am: c578741609 am: 55f1d10c95" into nyc-mr1-dev-plus-aosp
am: 11efed9c8d

* commit '11efed9c8d3f9bab79326ef06a229d9130f6b390':

Change-Id: I0cabfb64470b9bec54a94020de992465e22a8c2b

8 years agoUse TCU_CHECK instead of DE_ASSERT am: c578741609 am: ddd8373793
Sivert Berg [Tue, 31 May 2016 18:26:44 +0000 (18:26 +0000)]
Use TCU_CHECK instead of DE_ASSERT am: c578741609 am: ddd8373793
am: 7580dbc0e7

* commit '7580dbc0e7d8049458981b972563c8ae6447da71':
  Use TCU_CHECK instead of DE_ASSERT

Change-Id: Ia83e29fca645f8260e05a2fcd99d5fa0b1ffb08b

8 years agoMerge "Use TCU_CHECK instead of DE_ASSERT am: c578741609 am: 55f1d10c95" into nyc...
Android Build Merger (Role) [Tue, 31 May 2016 18:24:28 +0000 (18:24 +0000)]
Merge "Use TCU_CHECK instead of DE_ASSERT am: c578741609 am: 55f1d10c95" into nyc-mr1-dev-plus-aosp

8 years agoUse TCU_CHECK instead of DE_ASSERT am: c578741609
Sivert Berg [Tue, 31 May 2016 18:24:15 +0000 (18:24 +0000)]
Use TCU_CHECK instead of DE_ASSERT am: c578741609
am: ddd8373793

* commit 'ddd8373793ca6b9ff97177b10984e8cae1a49b0a':
  Use TCU_CHECK instead of DE_ASSERT

Change-Id: I295ec8ba8f4d90317f97cf437f97431866cf2746

8 years agoUse TCU_CHECK instead of DE_ASSERT am: c578741609
Sivert Berg [Tue, 31 May 2016 18:24:15 +0000 (18:24 +0000)]
Use TCU_CHECK instead of DE_ASSERT am: c578741609
am: 55f1d10c95

* commit '55f1d10c95c80b77298a260865b96ed400266d12':
  Use TCU_CHECK instead of DE_ASSERT

Change-Id: I2b78cc19e4d8412f629af42fdcd7ac71a5e43122

8 years agoUse TCU_CHECK instead of DE_ASSERT
Sivert Berg [Tue, 31 May 2016 18:21:46 +0000 (18:21 +0000)]
Use TCU_CHECK instead of DE_ASSERT
am: c578741609

* commit 'c578741609cf57e83e1e13a260d7f081ff125245':
  Use TCU_CHECK instead of DE_ASSERT

Change-Id: I4101c640ee5af008dacaadcb7ae27b98f1a0ae90

8 years agoUse TCU_CHECK instead of DE_ASSERT
Sivert Berg [Tue, 31 May 2016 18:21:46 +0000 (18:21 +0000)]
Use TCU_CHECK instead of DE_ASSERT
am: c578741609

* commit 'c578741609cf57e83e1e13a260d7f081ff125245':
  Use TCU_CHECK instead of DE_ASSERT

Change-Id: Ic762ef62f4c5a4789f2e8c2cd97516c87f7720d7

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.

(cherry picked from commit 8b9bed7d58e73412eeb361b612a51b89d1f30978)

Bug: 29044372
Change-Id: I1cf5a5d756cc000dfa0d5fa55535865e13717442

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

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

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

Change-Id: I297f620e4dd3201eb22e115996fc188025f84086

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 20:36:38 +0000 (20:36 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests
am: 81fe3f5a2c

* commit '81fe3f5a2ce6b1da0740f68e8dfd512db6d2dc11':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I97a0fce0fe584343719caa4ff7d4329ab95ef9dd

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojrvi [Fri, 27 May 2016 20:36:38 +0000 (20:36 +0000)]
Take nonCoherentAtomSize into account in memory mapping tests
am: 81fe3f5a2c

* commit '81fe3f5a2ce6b1da0740f68e8dfd512db6d2dc11':
  Take nonCoherentAtomSize into account in memory mapping tests

Change-Id: I845a3073047c365670011eef70b8ec413f8de822

8 years agoMerge "Fix several narrowing conversions inside struct initializers"
TreeHugger Robot [Fri, 27 May 2016 20:19:43 +0000 (20:19 +0000)]
Merge "Fix several narrowing conversions inside struct initializers"

8 years agoMerge "Initialize m_context in EGL thread clean up test class"
TreeHugger Robot [Fri, 27 May 2016 20:18:36 +0000 (20:18 +0000)]
Merge "Initialize m_context in EGL thread clean up test class"

8 years agoMerge "Do not throw exception from destructior in tcu::Either tests"
TreeHugger Robot [Fri, 27 May 2016 20:18:23 +0000 (20:18 +0000)]
Merge "Do not throw exception from destructior in tcu::Either tests"

8 years agoMerge "Add test for vkResetDescriptorPool memory leak"
Collin Baker [Fri, 27 May 2016 19:52:12 +0000 (19:52 +0000)]
Merge "Add test for vkResetDescriptorPool memory leak"

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:29:36 +0000 (15:29 -0700)]
Take nonCoherentAtomSize into account in memory mapping tests

Bug: 28939771
Change-Id: I02831f2a36b30b8f5b1c7e6710822f7b6f81a950

8 years agoMerge "Add Visual Studio 2015 generator to build scripts"
TreeHugger Robot [Fri, 27 May 2016 18:28:44 +0000 (18:28 +0000)]
Merge "Add Visual Studio 2015 generator to build scripts"

8 years agoChange unnamed enum VK_ constants to defines and update API
Pyry Haulos [Fri, 27 May 2016 15:41:29 +0000 (08:41 -0700)]
Change unnamed enum VK_ constants to defines and update API

Converting enum to target type causes narrowing conversion warnings on
MSVC 2015.

Change-Id: I51c41f7be0964de674c7b954469fbc523fddac5f

8 years agoInitialize m_context in EGL thread clean up test class
Pyry Haulos [Fri, 27 May 2016 16:21:19 +0000 (09:21 -0700)]
Initialize m_context in EGL thread clean up test class

This causes a crash when generating test case lists on null driver if
m_context ends up being some non-0 value.

Change-Id: I377af85a636a71366f4da8f4b00fccde979e91f3

8 years agoDo not throw exception from destructior in tcu::Either tests
Pyry Haulos [Fri, 27 May 2016 16:20:49 +0000 (09:20 -0700)]
Do not throw exception from destructior in tcu::Either tests

Change-Id: I5b63d0c3722d3856ac4b7827f8a4b46da2796856

8 years agoFix several narrowing conversions inside struct initializers
Pyry Haulos [Fri, 27 May 2016 16:02:26 +0000 (09:02 -0700)]
Fix several narrowing conversions inside struct initializers

MSVC 2015 is stricter about narrowing conversions and issues warnings more
agressively.

Change-Id: Ib6d78251afd8f280a5663396d47428d39bbb5fda

8 years agoAdd Visual Studio 2015 generator to build scripts
Pyry Haulos [Fri, 27 May 2016 15:39:15 +0000 (08:39 -0700)]
Add Visual Studio 2015 generator to build scripts

Change-Id: I9bd94dde94ee26d9b5ad4a2644dd98f2f544e662

8 years agoMerge "Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a am: db45dfc398...
Pyry Haulos [Fri, 27 May 2016 15:20:41 +0000 (15:20 +0000)]
Merge "Merge bug fixes from Khronos CTS release branch am: 3d8e6ee58a am: db45dfc398" into nyc-mr1-dev-plus-aosp
am: 0f76157c3b

* commit '0f76157c3be15a2e7cdce0227b2a13730bca76b3':

Change-Id: I6c5f2db7afbe1a9aa6aceb4f674a9d228b1ccfe8

8 years agoMerge vulkan-cts-1.0-dev from Khronos repo to master
Pyry Haulos [Fri, 27 May 2016 15:15:06 +0000 (08:15 -0700)]
Merge vulkan-cts-1.0-dev from Khronos repo to master