platform/upstream/VK-GL-CTS.git
7 years agoCherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d am: 9b853f5259 am...
Pyry Haulos [Thu, 22 Dec 2016 02:34:54 +0000 (02:34 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d am: 9b853f5259 am: ae704400e8 am: 91b53912e4
am: a5b5961f77  -s ours

Change-Id: I76c25dd4619d2bb20e789f94295a633b6225b15f

7 years agoCherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd am: 5332103...
Pyry Haulos [Thu, 22 Dec 2016 02:34:51 +0000 (02:34 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd am: 5332103bc2 am: f066c9a577 am: df90278080
am: 3ff1767250

Change-Id: I08f61f97bdb22aad57911f2df11ff56c151c8616

7 years agoCherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d am: 9b853f5259 am...
Pyry Haulos [Wed, 21 Dec 2016 23:25:24 +0000 (23:25 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d am: 9b853f5259 am: ae704400e8
am: 91b53912e4

Change-Id: Ic3d3a31adc8e261191ac9a2e892d31dcaf327e1d

7 years agoCherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd am: 5332103...
Pyry Haulos [Wed, 21 Dec 2016 23:25:22 +0000 (23:25 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd am: 5332103bc2 am: f066c9a577
am: df90278080

Change-Id: I5571f9a6c8701129dd4236c95b5764b7747c3944

7 years agoCherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d am: 9b853f5259
Pyry Haulos [Wed, 21 Dec 2016 23:18:23 +0000 (23:18 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d am: 9b853f5259
am: ae704400e8

Change-Id: Ie37d0d42a21b19ad984570a7273590c349a20cf8

7 years agoCherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd am: 5332103bc2
Pyry Haulos [Wed, 21 Dec 2016 23:18:19 +0000 (23:18 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd am: 5332103bc2
am: f066c9a577

Change-Id: I0e567116a2cce1b652060aeddbe1c1f615674554

7 years agoCherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d
Pyry Haulos [Wed, 21 Dec 2016 23:07:09 +0000 (23:07 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes am: ef29b7735d
am: 9b853f5259

Change-Id: Ib961d7855cf27b70d8f60169706536528e721090

7 years agoCherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd
Pyry Haulos [Wed, 21 Dec 2016 23:07:05 +0000 (23:07 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am: e71e3bbacd
am: 5332103bc2

Change-Id: I2819b5fa50c9c2a939d74b2f0aff167e7279af6c

7 years agoCherry-pick SPIR-V ClipDistance validation fixes
Pyry Haulos [Wed, 21 Dec 2016 22:47:28 +0000 (22:47 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes
am: ef29b7735d

Change-Id: I1754888223cf4f23d359472276620400a0dc9a07

7 years agoCherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
Pyry Haulos [Wed, 21 Dec 2016 22:47:25 +0000 (22:47 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
am: e71e3bbacd

Change-Id: I466771aaf44fc8670cabf442bb35f1548b4b3342

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf...
Nicolas Boichat [Tue, 20 Dec 2016 22:20:35 +0000 (22:20 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf am: 79041623c9 am: 639a3b82f5 am: fddf33bdd1 am: a6d2c746fa am: 4004893d31 am: d6734426ee
am: ea87ae8483

Change-Id: I2e77efb8ba46959a0457184ced3e19cb79984403

7 years agoresolve merge conflicts of cc5cabd to nyc-mr1-dev am: 7a338a6626
Nicolas Boichat [Tue, 20 Dec 2016 22:20:24 +0000 (22:20 +0000)]
resolve merge conflicts of cc5cabd to nyc-mr1-dev am: 7a338a6626
am: b64869c70f

Change-Id: I1a875a589c43630fc3f1baf7fdff6902aacbca95

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf...
Nicolas Boichat [Tue, 20 Dec 2016 22:16:33 +0000 (22:16 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf am: 79041623c9 am: 639a3b82f5 am: fddf33bdd1 am: a6d2c746fa am: 4004893d31
am: d6734426ee

Change-Id: Ia252fe1d37932ca3059e2b831e0131e836ab21c3

7 years agoresolve merge conflicts of cc5cabd to nyc-mr1-dev
Nicolas Boichat [Tue, 20 Dec 2016 22:16:21 +0000 (22:16 +0000)]
resolve merge conflicts of cc5cabd to nyc-mr1-dev
am: 7a338a6626

Change-Id: I195a7d513828433103a20331bbe5eb1ee167a4f3

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: 133c610be6...
Nicolas Boichat [Tue, 20 Dec 2016 22:11:55 +0000 (22:11 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: 133c610be6 am: cc0eaf79f0
am: b6d32610cf

Change-Id: I9bf7977a59b947d4e9ef7e2a8a66f4d5a96fcbbd

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf...
Nicolas Boichat [Tue, 20 Dec 2016 22:11:54 +0000 (22:11 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf am: 79041623c9 am: 639a3b82f5 am: fddf33bdd1 am: a6d2c746fa
am: 4004893d31

Change-Id: Ie547c5910391a4e3f4fbb1700f20feab9a7f64e8

7 years agoresolve merge conflicts of b6d3261 to nyc-mr1-dev-plus-aosp
Kalle Raita [Tue, 20 Dec 2016 21:38:32 +0000 (13:38 -0800)]
resolve merge conflicts of b6d3261 to nyc-mr1-dev-plus-aosp

Test: Tried to run the install script locally
Change-Id: I2c34fa110c811741ad53bd42143bfd2a371b459a

7 years agoresolve merge conflicts of cc5cabd to nyc-mr1-dev
Nicolas Boichat [Tue, 20 Dec 2016 19:56:55 +0000 (03:56 +0800)]
resolve merge conflicts of cc5cabd to nyc-mr1-dev

It appears 4ccc9fd56c9c0305c1cc325d2be8435cb68476e0
"Add the support to device connection via TCP/IP" was not automerged
to nyc-mr1-dev, for whatever reason, this merge also includes
that change.

Change-Id: Ifa9243f7ebc5d4ea7aa3030728a9cfe96789ab96

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf...
Nicolas Boichat [Tue, 20 Dec 2016 19:22:51 +0000 (19:22 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf am: 79041623c9 am: 639a3b82f5 am: fddf33bdd1
am: a6d2c746fa

Change-Id: I1023988b48ed6b133c9cd9a35e5bd16ce6101882

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf...
Nicolas Boichat [Tue, 20 Dec 2016 19:17:12 +0000 (19:17 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf am: 79041623c9 am: 639a3b82f5
am: fddf33bdd1

Change-Id: I9b18b64c9e09af46abca64378f410c5819757001

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf...
Nicolas Boichat [Tue, 20 Dec 2016 19:12:40 +0000 (19:12 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf am: 79041623c9
am: 639a3b82f5

Change-Id: Ia47d588dc3bf3ade9552ab45c9eb1e13389b7216

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: 133c610be6
Nicolas Boichat [Tue, 20 Dec 2016 19:09:12 +0000 (19:09 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: 133c610be6
am: cc0eaf79f0

Change-Id: I4bb85c1dce1fc225077a5c46911d39dd395c3e40

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf
Nicolas Boichat [Tue, 20 Dec 2016 19:09:09 +0000 (19:09 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: a44c013aaf
am: 79041623c9

Change-Id: I571901bbc48bffdad90e2a5f278d75a2fe1833ba

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: 133c610be6
Nicolas Boichat [Tue, 20 Dec 2016 19:09:00 +0000 (19:09 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509 am: 133c610be6
am: 4c63135524

Change-Id: I9d337977ac0e01e8c8fd0b079a3f25c9e2cdcaaa

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509
Nicolas Boichat [Tue, 20 Dec 2016 19:04:09 +0000 (19:04 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509
am: a44c013aaf

Change-Id: Ic6181b284d350dedca354ddd60706903f639ba4a

7 years agoGetDevices: Also allow `\.` to be part of the host name
Nicolas Boichat [Tue, 20 Dec 2016 18:59:57 +0000 (18:59 +0000)]
GetDevices: Also allow `\.` to be part of the host name
am: dbf9715509

Change-Id: Id812eaa1a85dded4241ae6d760de072532228109

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509
Nicolas Boichat [Tue, 20 Dec 2016 18:59:40 +0000 (18:59 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509
am: 133c610be6

Change-Id: I21054992a16e3e6847a8af086528f4172602d614

7 years agoGetDevices: Also allow `\.` to be part of the host name am: dbf9715509
Nicolas Boichat [Tue, 20 Dec 2016 18:59:39 +0000 (18:59 +0000)]
GetDevices: Also allow `\.` to be part of the host name am: dbf9715509
am: 133c610be6

Change-Id: I8938bf6b769de3d2da911243f203181f191ec89f

7 years agoGetDevices: Also allow `\.` to be part of the host name
Nicolas Boichat [Tue, 20 Dec 2016 18:55:24 +0000 (18:55 +0000)]
GetDevices: Also allow `\.` to be part of the host name
am: dbf9715509

Change-Id: I659ce579867c7ca0c9b47e3b53a734265e0fbb26

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 9412810768 am...
Tina Zhou [Fri, 16 Dec 2016 22:36:55 +0000 (22:36 +0000)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 9412810768 am: 01c922fc26
am: bd9e51a20d

Change-Id: I7bfddfdc33311a88817c88a25b9370abf4088371

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev am: 868a8938ca am: aea1bbfaa2
Pyry Haulos [Fri, 16 Dec 2016 22:36:41 +0000 (22:36 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev am: 868a8938ca am: aea1bbfaa2
am: 5c1cc6ba46

Change-Id: Id23dbea96fcdde835b825a49af5fe10a87715350

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 9412810768
Tina Zhou [Fri, 16 Dec 2016 22:28:18 +0000 (22:28 +0000)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 9412810768
am: 01c922fc26

Change-Id: I8a81f63fe2b8462c4697435a2ed9436dfcfe3937

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev am: 868a8938ca
Pyry Haulos [Fri, 16 Dec 2016 22:28:05 +0000 (22:28 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev am: 868a8938ca
am: aea1bbfaa2

Change-Id: I82c416fb663418dd6bd062fa1b5375ec7c99fa5a

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev
Tina Zhou [Fri, 16 Dec 2016 22:19:20 +0000 (22:19 +0000)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev
am: 9412810768

Change-Id: I822bfa3fba4335717f34be9cfb4ff4c621c7ed8c

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
Pyry Haulos [Fri, 16 Dec 2016 22:19:07 +0000 (22:19 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev
am: 868a8938ca

Change-Id: I07a0249da8ae52fb82ad6120dec0897f63d5e567

7 years agoMerge "Non-compressed copy image target size (64,64,8)" am: beba5d481a
Kalle Raita [Fri, 16 Dec 2016 01:19:07 +0000 (01:19 +0000)]
Merge "Non-compressed copy image target size (64,64,8)" am: beba5d481a
am: 9bbc395b49

Change-Id: Ic9236cb82742f188a0c8a385ab1371d37e852f7f

7 years agoMerge "Non-compressed copy image target size (64,64,8)"
Kalle Raita [Thu, 15 Dec 2016 23:37:37 +0000 (23:37 +0000)]
Merge "Non-compressed copy image target size (64,64,8)"
am: beba5d481a

Change-Id: Ifa9d096019e7944b67f1bea9b7ab98214f932673

7 years agoMerge "Non-compressed copy image target size (64,64,8)"
Kalle Raita [Thu, 15 Dec 2016 23:29:39 +0000 (23:29 +0000)]
Merge "Non-compressed copy image target size (64,64,8)"

7 years agoMerge "Allow ANGLE_depth_texture for FBO completeness." am: a8249e3a00
Jamie Madill [Wed, 14 Dec 2016 13:07:24 +0000 (13:07 +0000)]
Merge "Allow ANGLE_depth_texture for FBO completeness." am: a8249e3a00
am: 8542846868

Change-Id: I77672e3e1d50f8c3fb5082022393865544e7acd5

7 years agoMerge "Allow ANGLE_depth_texture for FBO completeness."
Jamie Madill [Wed, 14 Dec 2016 13:00:26 +0000 (13:00 +0000)]
Merge "Allow ANGLE_depth_texture for FBO completeness."
am: a8249e3a00

Change-Id: I54ce3f2e3fef94bdb53136afa6cf70c116418b73

7 years agoMerge "Allow ANGLE_depth_texture for FBO completeness."
Treehugger Robot [Wed, 14 Dec 2016 12:50:45 +0000 (12:50 +0000)]
Merge "Allow ANGLE_depth_texture for FBO completeness."

7 years agoMerge "Extend primitive_bounding_box negative tests" am: 1975e3bd28
John Richardson [Wed, 14 Dec 2016 12:39:25 +0000 (12:39 +0000)]
Merge "Extend primitive_bounding_box negative tests" am: 1975e3bd28
am: 4983f5a49f

Change-Id: I880f77b4d13fe64389797cacc76ed7fcd95b17cd

7 years agoMerge "Extend primitive_bounding_box negative tests"
John Richardson [Wed, 14 Dec 2016 12:32:25 +0000 (12:32 +0000)]
Merge "Extend primitive_bounding_box negative tests"
am: 1975e3bd28

Change-Id: Icdf2606c4583f234bf3e7a4a7eaa853e90c75885

7 years agoAdd shader storage negative coverage tests am: 51e20f1e25
John Richardson [Wed, 14 Dec 2016 12:25:25 +0000 (12:25 +0000)]
Add shader storage negative coverage tests am: 51e20f1e25
am: 299bbc9a59

Change-Id: I7f229d582e19869cd25a10e1a77fe6950bd9ea33

7 years agoMerge "Extend primitive_bounding_box negative tests"
Treehugger Robot [Wed, 14 Dec 2016 12:23:50 +0000 (12:23 +0000)]
Merge "Extend primitive_bounding_box negative tests"

7 years agoAdd shader storage negative coverage tests
John Richardson [Wed, 14 Dec 2016 12:18:24 +0000 (12:18 +0000)]
Add shader storage negative coverage tests
am: 51e20f1e25

Change-Id: I27ab45d397c7fe775a19b724dd3b7e271583210f

7 years agoAllow ANGLE_depth_texture for FBO completeness.
Jamie Madill [Thu, 8 Dec 2016 19:51:07 +0000 (14:51 -0500)]
Allow ANGLE_depth_texture for FBO completeness.

This extension enables the same depth attachment formats as
GL_OES_depth_texture. The few restrictions on usage aren't
relevant for the completeness tests.

Bug: 33453991

7 years agoExtend primitive_bounding_box negative tests
John Richardson [Tue, 1 Nov 2016 13:06:53 +0000 (13:06 +0000)]
Extend primitive_bounding_box negative tests

    Tests groups added to
    - dEQP-GLES31.functional.debug.negative_coverage.*.

    Extended tests:
    - shader_directive.primitive_bounding_box

Change-Id: I38b698e3bd594f71b15d3bce4dc9a809298eb95e

7 years agoAdd shader storage negative coverage tests
John Richardson [Wed, 26 Oct 2016 08:43:56 +0000 (09:43 +0100)]
Add shader storage negative coverage tests

Tests groups added to:
- dEQP-GLES31.functional.debug.negative_coverage.*.

New tests:
- shader_storage.block_number_limits
- shader_storage.max_combined_block_number_limit

Extended tests:
- state.get_integeri_v
- state.get_integer64i_v
- shader.compile_compute_shader

Fixed tests:
- buffer.bind_buffer_base
- buffer.bind_buffer_range

Change-Id: Id71fb997e14ad026f0d6634298993f1638c67dde

7 years agoEncode es3pBufferDataUploadTests.cpp as utf-8 am: 455d82c60b
Jamie Madill [Wed, 7 Dec 2016 20:19:48 +0000 (20:19 +0000)]
Encode es3pBufferDataUploadTests.cpp as utf-8 am: 455d82c60b
am: ee11c5503a

Change-Id: I1cbd873f141a00f52c1e4cd90b863a502fc238db

7 years agoEncode es3pBufferDataUploadTests.cpp as utf-8
Jamie Madill [Wed, 7 Dec 2016 20:15:20 +0000 (20:15 +0000)]
Encode es3pBufferDataUploadTests.cpp as utf-8
am: 455d82c60b

Change-Id: I6b11c3c9a75b7da2da78a5022d9e7e6d7268498a

7 years agoNon-compressed copy image target size (64,64,8)
Kalle Raita [Wed, 7 Dec 2016 17:41:41 +0000 (09:41 -0800)]
Non-compressed copy image target size (64,64,8)

Non-compressed copy image tests target size reduced to (64,64,8). The
compressed cases retain old size of (128,128,16) to ensure coverage of
all block size combinations.

Test: Run tests on N6 and N9 on L MR 1 with known failures.
Change-Id: I7ddc7c55d73731d0a8cc2fcc04f2391f78d2d7de

7 years agoEncode es3pBufferDataUploadTests.cpp as utf-8
Jamie Madill [Wed, 7 Dec 2016 17:34:25 +0000 (12:34 -0500)]
Encode es3pBufferDataUploadTests.cpp as utf-8

This test was using "Mac Ndash". Change this to plain "-".

BUG=chromium:671021

7 years agoMerge gerrit/vulkan-cts-1.0-dev into aosp/master am: 6c4fe5bd7a
Pyry Haulos [Sat, 3 Dec 2016 04:17:48 +0000 (04:17 +0000)]
Merge gerrit/vulkan-cts-1.0-dev into aosp/master am: 6c4fe5bd7a
am: ebebe7d3b9

Change-Id: Ie5adae071148ed2d2a00a0d2840110dffddb6d30

7 years agoMerge gerrit/vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Sat, 3 Dec 2016 04:12:46 +0000 (04:12 +0000)]
Merge gerrit/vulkan-cts-1.0-dev into aosp/master
am: 6c4fe5bd7a

Change-Id: I4048f85f24ef24c8825cb5bbfb62033742a04657

7 years agoMerge gerrit/vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Fri, 2 Dec 2016 21:38:22 +0000 (13:38 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into aosp/master

Change-Id: Ic9e43c0554d8976766507fab6916be6a037505a7

7 years agoAdd new files to Android.mk
Pyry Haulos [Fri, 2 Dec 2016 21:36:36 +0000 (13:36 -0800)]
Add new files to Android.mk

Change-Id: I75be28ac1a62e9ee3f797e8eb4adaffc75486826

7 years agoBugfix: Use PointSize in draw tests
Maciej Jesionowski [Mon, 28 Nov 2016 15:12:23 +0000 (16:12 +0100)]
Bugfix: Use PointSize in draw tests

Tests that rasterize points have to write to PointSize variable.
Also fix nonCoherentAtomSize errors from validation.

Affected tests:
- dEQP-VK.draw.basic_draw.draw.point_list.*
- dEQP-VK.draw.basic_draw.draw_indexed.point_list.*
- dEQP-VK.draw.basic_draw.draw_indirect.point_list.*
- dEQP-VK.draw.basic_draw.draw_indexed_indirect.point_list.*
- dEQP-VK.draw.instanced.draw_vk_primitive_topology_point_list
- dEQP-VK.draw.instanced.draw_indexed_vk_primitive_topology_point_list
- dEQP-VK.draw.instanced.draw_indirect_vk_primitive_topology_point_list
- dEQP-VK.draw.instanced.draw_indexed_indirect_vk_primitive_topology_point_list

Fixes #536

Change-Id: Ief9df51887babfc3765b0d11c6431765f322c634

7 years agoFix variable declaring location in SPIR-V assembly.
Lei Zhang [Wed, 30 Nov 2016 23:10:36 +0000 (18:10 -0500)]
Fix variable declaring location in SPIR-V assembly.

The spec validation rules require that all OpVariable instructions
in a function must be as the first instructions in the first block.

Change-Id: If054bd7882eaf5ffc00899fbdef9a9b71d544019

7 years agoBugfix: upload stencil data in pipeline image util
Maciej Jesionowski [Wed, 30 Nov 2016 11:37:01 +0000 (12:37 +0100)]
Bugfix: upload stencil data in pipeline image util

Fixes:
- Upload stencil data to the image with mixed DS formats
- Respect 4 byte offset alignment for formats <4 bytes
- Fix some nonCoherentAtomSize validation errors

Affected tests:
- dEQP-VK.texture.shadow.*d16_unorm
- dEQP-VK.texture.shadow.*x8_d24_unorm_pack32
- dEQP-VK.texture.shadow.*d32_sfloat
- dEQP-VK.texture.shadow.*s8_uint
- dEQP-VK.texture.shadow.*d16_unorm_s8_uint
- dEQP-VK.texture.shadow.*d24_unorm_s8_uint
- dEQP-VK.texture.shadow.*d32_sfloat_s8_uint

Issue #556

Change-Id: I56c0e7eef9c1bfc82790eb8ba6e48b95dc65f521

7 years agoAdd new tests Render To Image
Arkadiusz Sarwa [Tue, 22 Nov 2016 13:05:03 +0000 (14:05 +0100)]
Add new tests Render To Image

New tests:
- dEQP-VK.pipeline.render_to_image.*

Issue #535

Change-Id: I3854942c69d95b034cd9358cc7970f04b1c85d5b

7 years agoAdd tests for bulk object allocation failures
Maciej Jesionowski [Tue, 22 Nov 2016 11:30:45 +0000 (12:30 +0100)]
Add tests for bulk object allocation failures

New tests:
- dEQP-VK.api.object_management.alloc_callback_fail_multiple.*

Issue #532

Change-Id: I1a8050c8000abf083435910e2e65c6ee045364af

7 years agoAdd test: sparse buffer usage
Maciej Jesionowski [Mon, 7 Nov 2016 15:18:58 +0000 (16:18 +0100)]
Add test: sparse buffer usage

Test UBO, SSBO, VB, IB, InB with sparse buffers using:
- sparse binding
- sparse residency
- sparse aliasing
- residencyNonResidentStrict (with UBOs)

New tests:
- dEQP-VK.sparse_resources.buffer.ubo.*
- dEQP-VK.sparse_resources.buffer.vertex_buffer.*
- dEQP-VK.sparse_resources.buffer.index_buffer.*
- dEQP-VK.sparse_resources.buffer.indirect_buffer.*

Renamed tests:
in dEQP-VK.sparse_resources:
- .buffer_sparse_binding.* -> .buffer.transfer.sparse_binding.*
- .buffer_sparse_residency.* -> .buffer.ssbo.sparse_residency.*
- .buffer_sparse_memory_aliasing.* -> .buffer.ssbo.sparse_binding_aliased.*

Issue: #401

Change-Id: Iba583a16eba0b688849175813a86d44c9b038f0d

7 years agoExtend copyImage tests with depth/stencil formats
Szilard Ledan [Tue, 26 Jul 2016 12:43:02 +0000 (14:43 +0200)]
Extend copyImage tests with depth/stencil formats

Add tests with all depth/stencil formats into image to image copies cases.
It was needed to fix the 'uploadImage' and 'readImage' functions, because
the copying combined dept/stencil data between buffers and images are not
supprted at the same time.

Update and fix the generation of expected image.

Update the mustpass lists.

Fix conflict after rebase.

This affects:
 * dEQP-VK.api.copy_and_blit.image_to_image.all_formats.depth_stencil_*
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_d16_unorm_d16_unorm_nearest
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_x8_d24_unorm_pack32_x8_d24_unorm_pack32_nearest
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_d32_sfloat_d32_sfloat_nearest
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_s8_uint_s8_uint_nearest
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_d16_unorm_s8_uint_d16_unorm_s8_uint_nearest
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_d24_unorm_s8_uint_d24_unorm_s8_uint_nearest
 * dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_d32_sfloat_s8_uint_d32_sfloat_s8_uint_nearest

Fixes #488

Change-Id: I29bdaf1d87d7bdba112fd55526f8e661865baa6e

7 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Fri, 2 Dec 2016 16:42:53 +0000 (08:42 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: I9afe7efd004ee04a7edd465457e5376b03e0abc0

7 years agoFix post-copy barrier in readImageAspect()
Pyry Haulos [Fri, 2 Dec 2016 16:34:43 +0000 (08:34 -0800)]
Fix post-copy barrier in readImageAspect()

 * Barrier was using TOP_OF_PIPE_BIT for flushing buffer contents for
host access. HOST_BIT must be used instead.

 * For combined depth stencil formats image was left in wrong image layout
for later stencil aspect copy.

Affects combined DS format cases in:

dEQP-VK.api.copy_and_blit.blit_image.all_formats.*

Change-Id: I80263efbc12da21c8205768687725416419e923e

7 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Fri, 2 Dec 2016 00:33:32 +0000 (16:33 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Non-trivial merge of 0b0c5dba7daed6439ec6352aacf3cd216d1c1dd5

Change-Id: I1fa72e1814387b05b935cd781126880e603c91b4

7 years agoDo not generate constructor utils if API creates multiple objects
Pyry Haulos [Thu, 1 Dec 2016 23:23:12 +0000 (15:23 -0800)]
Do not generate constructor utils if API creates multiple objects

See #541

Change-Id: I1aa9ddae3bb758a70f6a72d1eb31e58c524ca9f4

7 years agoFix combined depth stencil handling in dEQP-VK.api.copy_and_blit
Pyry Haulos [Tue, 25 Oct 2016 08:41:48 +0000 (17:41 +0900)]
Fix combined depth stencil handling in dEQP-VK.api.copy_and_blit

The existing code had several bugs related to handling of combined DS
formats that manifested on implementations that support blitting of
said formats.

vk::isSupportedByFramework(VkFormat) utility function is added for
checking whether format is mappable to tcu::TextureFormat. This query
is used to filter out test cases that will always result in InternalError,
namely all cases that attempted to exercise formats with 64-bit channels.

Vulkan null driver is updated to advertise
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT to allow easier testing.

Affects:

dEQP-VK.api.copy_and_blit.*

See #488
See #515

Change-Id: Ic03c523aea6a4bc9115568ec486200c53ec37d80

7 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Thu, 1 Dec 2016 22:23:53 +0000 (14:23 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: I8723ff8e2442c4311dad5b9c305d5def12d3a4f0

7 years agoMerge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Pyry Haulos [Thu, 1 Dec 2016 22:23:51 +0000 (14:23 -0800)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1

Change-Id: I1881729f313bd8fbee7dcc2d305ac89e7aaf2761

7 years agoIncrease blit source to avoid extreme blit scaling
Oivind Boge [Tue, 22 Nov 2016 13:21:00 +0000 (14:21 +0100)]
Increase blit source to avoid extreme blit scaling

Fixes #548

Change-Id: Ied146b91dc748f9efe41b7b64d11c5da870e5ac0

7 years agoImprove coverage of dEQP-VK.pipeline.image test group
Dominik Witczak [Tue, 15 Nov 2016 08:51:05 +0000 (09:51 +0100)]
Improve coverage of dEQP-VK.pipeline.image test group

Change-Id: I711edd83f8c75e980d6e979a56810f67bbe2e204

7 years agoAdd test: image views with VK_REMAINING_* levels/layers
Maciej Jesionowski [Thu, 13 Oct 2016 14:18:07 +0000 (16:18 +0200)]
Add test: image views with VK_REMAINING_* levels/layers

Test image view subresource range with VK_REMAINING_MIP_LEVELS and VK_REMAINING_ARRAY_LAYERS.

New tests:
- dEQP-VK.pipeline.image_view.view_type.*.subresource_range.lod_base_mip_level_remaining_levels
- dEQP-VK.pipeline.image_view.view_type.*.subresource_range.base_array_layer_remaining_layers
- dEQP-VK.pipeline.image_view.view_type.*.subresource_range.lod_base_mip_level_base_array_layer_remaining_levels_and_layers

Fixes #504

Change-Id: I9b78c8ba345b45231d7a931de9effdbde8aa0fc2

7 years agoAdd granularity test cases.
Gabor Abraham [Mon, 10 Oct 2016 15:12:19 +0000 (17:12 +0200)]
Add granularity test cases.

New test:
- dEQP-VK.api.granularity.*

Change-Id: Ib3b045a0199aeb7195dd17a603c089834c64b904

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev
gitbuildkicker [Thu, 1 Dec 2016 00:55:30 +0000 (16:55 -0800)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev

7 years agoCheck in vulkan.h for generating framework code
Pyry Haulos [Wed, 30 Nov 2016 22:27:07 +0000 (14:27 -0800)]
Check in vulkan.h for generating framework code

Having copy of vulkan.h checked in makes it easier to re-generate
framework when needed.

vulkan.h is checked in as vulkan.h.in to discourage anyone from ever
attempting to include it directly in test code.

As part of this framework is updated to vulkan.h version 1.0.35.

Change-Id: I6e202a01d3633fe19855cf62afbf16e2b0ea67ea

7 years agoMove Vulkan CTS scripts to external/vulkancts/scripts
Pyry Haulos [Wed, 30 Nov 2016 22:23:57 +0000 (14:23 -0800)]
Move Vulkan CTS scripts to external/vulkancts/scripts

Change-Id: I928d848225d08f03d93fd700a80d36ac3fbc3ada

7 years agodEQP-VK.sparse_resources.shader_intrinsics fixes
Dominik Witczak [Thu, 17 Nov 2016 15:08:44 +0000 (16:08 +0100)]
dEQP-VK.sparse_resources.shader_intrinsics fixes

Some of the tests in the group form invalid SPIR-V code,
which tries to pass two arguments to the OpFAdd instruction,
whose number of components differs.

This change fixes this.

Khronos issue: #545

Change-Id: I3cad57d393f986cfb5b9bce85f758dcca3686d8a

7 years agoAdjust {Max,Min}Coords for {proj}offset texture tests with 3D texture targets
Iago Toral Quiroga [Tue, 22 Nov 2016 10:55:44 +0000 (06:55 -0400)]
Adjust {Max,Min}Coords for {proj}offset texture tests with 3D texture targets

As it is now, the computed lod ends up being ~0.962, which is very close to the
threshold that separates selection of the first two mipmap levels. At least on
Intel GPUs this leads to test failures because the miplevel selected by CTS to
produce the expected result does not match the one actually selected by the
hardware.

This patch alters the coordinates used with these tests so the comuted lod
isn't too close to a mipmap level threshold.

Affects:
dEQP-VK.glsl.texture_functions.texture{proj}offset.sampler3d*

Khronos issue: #552

Change-Id: I6ec766133905d2085cd795eea8aaf0b04e830278

7 years agoFixes incorrect usage of textureSamples().
Dominik Witczak [Fri, 18 Nov 2016 12:13:12 +0000 (13:13 +0100)]
Fixes incorrect usage of textureSamples().

The function should not be called against single-sample
images. See #538 for more details.

Tests affected: dEQP-VK.glsl.texture_functions.query.texturesamples.isampler*ms*

Change-Id: I7ce507c657b33cbcf99c9e3202fdafaee5ea1577

7 years agoGetDevices: Also allow `\.` to be part of the host name
Nicolas Boichat [Wed, 30 Nov 2016 04:14:52 +0000 (12:14 +0800)]
GetDevices: Also allow `\.` to be part of the host name

Useful when connecting over TCP to a device with a given IP.

Change-Id: Ibe3b75e5ba3ab0ff90219bb31d45e21d8f5fd61b

7 years agoCherry-pick SPIR-V ClipDistance validation fixes
Pyry Haulos [Wed, 23 Nov 2016 00:13:32 +0000 (16:13 -0800)]
Cherry-pick SPIR-V ClipDistance validation fixes

These fixes are needed in order for SPIR-V validation to pass when
shaders are compiled with a newer glslang version.

Bug: 33041922

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)

Explicitly declare gl_PerVertex in push constant tests

(cherry picked from commit cba5d02d184b771bc4a21b8aecbbde3377d86167)

Change tes/geom shaders in timestamp tests use 310 es

Vertex and fragment shaders were already using that GLSL version.

(cherry picked from commit d47309690aa9b2e685b267ea6395e88b32c855a8)

Change ubo and ssbo tests to use 310 es shaders

(cherry picked from commit 4d36051923691c5f92cf3615e82d30d54ed3b09b)

Explicitly declare gl_PerVertex in dynamic viewport state tests

(cherry picked from commit 816c46d518d08a4ff321ca93780f2786fa86ba60)

Explicitly declare gl_PerVertex in occlusion query tests

(cherry picked from commit a1257f69aa6008d4e5a22148a43d59692eb24822)

Change-Id: Ib53b245d25c6cbc345a88e8b247f01ac7cf8a541

7 years agoCherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
Pyry Haulos [Mon, 21 Nov 2016 23:54:55 +0000 (15:54 -0800)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev

Bug: 33041922

Validation fixes in dEQP-VK.pipeline

- Corrected out of range minDepthBounds value
- Added missing image layout transitions
- timestamp, cache tests: pass data through geometry shader
- cache test: use correct initialLayout in attachment when starting
  a second render pass

(cherry picked from commit 1d3585c5ec71cf90d6519913db6a01ef2c0f840c)

Fix use of out-of-scope struct in pipeline cache tests

Fixes #363

(cherry picked from commit 1ec71c633e5755a1932c1da7692aef69b66999db)

Pipeline cache test: fix SPIRV validation error

(cherry picked from commit 89cce75bae9beb123311281386fb59b8da59052b)

Change-Id: I4862cca352955c33d04540f2f881760f4e4ffd65

7 years agoFramework: Add assert to position deviation image compare
Maciej Jesionowski [Tue, 29 Nov 2016 12:38:22 +0000 (13:38 +0100)]
Framework: Add assert to position deviation image compare

When using position deviation tolerance it's easy to forget
about the depth and effectively skip the check for the whole
image.

Change-Id: Ide873be57ba19e7e9e45606d27aae403f9c131ec

7 years agoShaderRenderCaseInstance::uploadSparseImage() fix
Dominik Witczak [Thu, 17 Nov 2016 15:13:32 +0000 (16:13 +0100)]
ShaderRenderCaseInstance::uploadSparseImage() fix

The function is used by various test cases to fill sparse images
with actual content. What they are unaware of is that the func
does not assign memory backing to odd tiles.

This change fixes this by removing the malicious if() block.
The change affects dEQP-VK.glsl.*sparse* tests

Change-Id: Ia2b157181d5fdba2d4fa0bcaf37dc02c4a6fe320

7 years agoFix memory management, image layout issues in uploadImageSparse()
Dominik Witczak [Thu, 17 Nov 2016 12:10:19 +0000 (13:10 +0100)]
Fix memory management, image layout issues in uploadImageSparse()

Fixes an issue where ShaderRenderCaseInstance::uploadSparseImage()
would first configure sparse image bindings and then deallocate
the memory objects, prior to actually sampling the image.

Fixes an issue where the sparse image, after having been filled with
contents, would first be transitioned to SHADER_READ_ONLY_OPTIMAL
layout, and then used in a DS which was expecting it to be in
GENERLA layout.

Finally, the patch addresses a problem, where the function would not
correctly recognize the VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT,
as reported by the running driver.

The change affects dEQP-VK.glsl.*sparse* tests

Khronos issue: #543

Change-Id: Ie5717841fe0ef9c0672b5075380ff96bba9855b9

7 years agoMerge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmal...
Tina Zhou [Wed, 23 Nov 2016 22:52:31 +0000 (22:52 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am: a5af1b076f am: c1a3067570 am: effd4e62e5 am: 225502d2cc am: 4d04016fad am: 67dc3662e1 am: d64c35a5e6 am: 87a4ffcd07
am: 1094f351d1

Change-Id: Ifd7cc5ea44a565ae0372251d001df27cf8a08420

7 years agoFix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am: ea5589c748 am...
Kenneth Graunke [Wed, 23 Nov 2016 22:52:22 +0000 (22:52 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am: ea5589c748 am: 5613abd15f am: 1d0056de13 am: a4c8f24941 am: 1f1491167d am: 5ac1b7c804 am: f9ca1468a7 am: 9ee0dc70fc
am: 62d5098093

Change-Id: Ie5cb809585055872f651bdc365e1c54ab00e4531

7 years agoMerge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
Tina Zhou [Wed, 23 Nov 2016 22:52:12 +0000 (22:52 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am: d962b86909 am: b5ef7ae649 am: 5702f3e5ae am: a8564b49db am: 3126b25e64 am: d1109cef09 am: bd34d84e25 am: 94862a44ee
am: ec07f24c86

Change-Id: I2fa2046140e151b2f65c296e8ecfdf9d5d050a0f

7 years agoFix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db...
Kenneth Graunke [Wed, 23 Nov 2016 22:52:01 +0000 (22:52 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db am: 1d20a4108b am: 200b407779 am: c6382e2e23 am: a9d8fe46b4 am: 4cf7816eac am: ca0f4e0cbb am: 84b462d0fb
am: 7551b11773

Change-Id: Ie3713026bc846f995d318ea2c8baa91260ef7eea

7 years agoMerge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmal...
Tina Zhou [Wed, 23 Nov 2016 22:51:50 +0000 (22:51 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am: a5af1b076f am: c2c27aa562 am: e5d1db1d75 am: 5eed9806da am: ac4f7241a1
am: 5fa7a52fee

Change-Id: I98492712ad6820fde181fd8bd90086ee37886815

7 years agoFix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am: ea5589c748 am...
Kenneth Graunke [Wed, 23 Nov 2016 22:51:39 +0000 (22:51 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am: ea5589c748 am: ab691d3f7e am: 5a273080f0 am: 6558869cb1 am: f9dac85ad7
am: d0e437bcd7

Change-Id: I00c8c3200bd1203e19a7d62cfeee4c91e65a2deb

7 years agoMerge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
Tina Zhou [Wed, 23 Nov 2016 22:51:27 +0000 (22:51 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am: d962b86909 am: 080d0d5005 am: fa420a10e2 am: 54684887a6 am: 4c9703fccd
am: ac60fa9f6c

Change-Id: Ia9477cdaed7f85efcc8767b1e3fc0ebbfc862152

7 years agoFix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db...
Kenneth Graunke [Wed, 23 Nov 2016 22:51:15 +0000 (22:51 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db am: f5414b15bb am: 3a520ad416 am: 24aa8651ff am: 081007dbd3
am: 0209a8e015

Change-Id: Ia10fa3b15e9fe40fe3dc9fc0af293affd28516bc

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Wed, 23 Nov 2016 22:51:02 +0000 (22:51 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62 am: fa02db7127 am: c099989faf am: 6570dc4744 am: 2cb5f272cf am: 1dabb154d5 am: a7d55ba5a8 am: ab0806ca20
am: 4b9b3cda97

Change-Id: Idd8768fc82b9bfe6902873829e17d1284d325793

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569 am...
Chun-Ta Lin [Wed, 23 Nov 2016 22:50:49 +0000 (22:50 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569 am: cceb936715 am: c627567fb6 am: 41db2c5a2a am: 71e9173e0f am: f1855db31d am: da8bbdcb87
am: a01270f22a

Change-Id: I11c0dc3fe047aa355e52c6f2910fcb50256f635e

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Wed, 23 Nov 2016 22:50:34 +0000 (22:50 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62 am: 87d5ca1e30 am: 7ab3863a95 am: 889e4ea697 am: e82b53127b
am: 2b6f277417

Change-Id: Ia4ad500e676c48b5e42ca034325690ebdb071771

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am...
Chun-Ta Lin [Wed, 23 Nov 2016 22:50:20 +0000 (22:50 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am: 1fcf1c0083 am: 6cab656d32 am: f6caf46da6
am: ba4c42a3d4

Change-Id: I2dc830e1b71f939d512c429a082095aceb278dd4

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b am:...
Aaron Holden [Wed, 23 Nov 2016 22:50:03 +0000 (22:50 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b am: 7e127cca59
am: 3b7ad55647

Change-Id: Ic896f26c0fc3f31b80a22bee78eb3c05938a2084