platform/upstream/VK-GL-CTS.git
7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:27:47 +0000 (01:27 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am: 1fcf1c0083 am: 6cab656d32 am: f6caf46da6 am: ba4c42a3d4
am: 356db64cc0

Change-Id: I3cee790f8a9cfd69dcbfa944a8b5d4d8b0096dff

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Thu, 17 Nov 2016 01:20:49 +0000 (01:20 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62 am: 87d5ca1e30 am: 42149e7b88 am: ed2847e325
am: 2be672f23c

Change-Id: Ia6a854b051a4cbedec72dd071680ee47338a1848

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:20:37 +0000 (01:20 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am: a2c0c6be9d am: 1459961551
am: 02ac9c36cf

Change-Id: I29393352bce384f1a6e9bc26199bd1970a2b6f0f

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

Change-Id: Ib2451c9f260daad80356d92fd64b6c40b493b37c

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Thu, 17 Nov 2016 01:13:28 +0000 (01:13 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62 am: 87d5ca1e30 am: 42149e7b88
am: ed2847e325

Change-Id: I5f4cc388160be890660fd92a6cc74a4ca57624da

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:13:14 +0000 (01:13 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am: a2c0c6be9d
am: 1459961551

Change-Id: I1110dec18b4266156f6b277b0e885723c026a9fe

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:12:12 +0000 (01:12 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am: 1fcf1c0083 am: 6cab656d32
am: f6caf46da6

Change-Id: Ie262e36887dd8204ef280051b3713e2e06ccc4b6

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Thu, 17 Nov 2016 01:05:14 +0000 (01:05 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62 am: 87d5ca1e30
am: 42149e7b88

Change-Id: Ic58049aa16f4e45866e5b6fa70fc7398526f04c5

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff
Chun-Ta Lin [Thu, 17 Nov 2016 01:04:59 +0000 (01:04 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff
am: a2c0c6be9d

Change-Id: I5668266612ddc89e574e682d879fddf136138029

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:04:41 +0000 (01:04 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff am: 1fcf1c0083
am: 6cab656d32

Change-Id: I04a3a954054110e7d4bf69d13f85ed7a6a796169

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff
Chun-Ta Lin [Thu, 17 Nov 2016 00:56:41 +0000 (00:56 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 7e2d9f83ff
am: 1fcf1c0083

Change-Id: I5dd2c5c3ab3605b78ce1bad055acde751cc4d9a3

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Thu, 17 Nov 2016 00:51:28 +0000 (00:51 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62
am: 87d5ca1e30

Change-Id: Idcc451614d0eda5e48c3ef83de2d5f40f4dba72a

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c
Chun-Ta Lin [Thu, 17 Nov 2016 00:51:19 +0000 (00:51 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c
am: 7e2d9f83ff

Change-Id: If4a219377c77d0c121f58a82779da7cc2a4459f8

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c
Chun-Ta Lin [Thu, 17 Nov 2016 00:50:10 +0000 (00:50 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c
am: 7e2d9f83ff

Change-Id: I6c98f52ea07ecb5e3b1dfa02283597eff729f9d8

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev
Tina Zhou [Thu, 17 Nov 2016 00:43:40 +0000 (00:43 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev
am: 6cea9dbc62

Change-Id: I3525d88dbc3e04b702cef54d1759f406222047b2

7 years agoAdd the support to device connection via TCP/IP
Chun-Ta Lin [Thu, 17 Nov 2016 00:43:39 +0000 (00:43 +0000)]
Add the support to device connection via TCP/IP
am: 4ccc9fd56c

Change-Id: I16ab5038ff64448458aaafc7bda43128e0941e4e

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev
Tina Zhou [Thu, 17 Nov 2016 00:38:13 +0000 (00:38 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b am:...
Aaron Holden [Wed, 16 Nov 2016 01:01:15 +0000 (01:01 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b am: 7e127cca59 am: 3b7ad55647
am: 93c809e3de

Change-Id: Ic7b426c1df626cb0e00223366049a22b22bbd280

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b am:...
Aaron Holden [Wed, 16 Nov 2016 00:53:42 +0000 (00:53 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b am: 7e127cca59
am: 3b7ad55647

Change-Id: I5f0c728170d21b077bdac525c2f0bf821458d035

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b
Aaron Holden [Wed, 16 Nov 2016 00:43:18 +0000 (00:43 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25 am: b2c1391b7b
am: 7e127cca59

Change-Id: I1902b0f5bfeed01ee437e26663974ecf7406e154

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: ac5e3c7c2d am: 1ee10d6a16
Aaron Holden [Wed, 16 Nov 2016 00:40:11 +0000 (00:40 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: ac5e3c7c2d am: 1ee10d6a16
am: 6890f381ac

Change-Id: Ia3452533fcca452a22ffd769d2e8edef1870ae84

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25
Aaron Holden [Wed, 16 Nov 2016 00:36:24 +0000 (00:36 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: dc61e9cf25
am: b2c1391b7b

Change-Id: Ie80af3f59696faaf1d91994a6fbd7e1dbd625522

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424 am: ac5e3c7c2d
Aaron Holden [Wed, 16 Nov 2016 00:32:40 +0000 (00:32 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424 am: ac5e3c7c2d
am: 1ee10d6a16

Change-Id: I94488c3d9f6dbc0a7235384e28b5e8e7d9693aac

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424
Aaron Holden [Wed, 16 Nov 2016 00:28:42 +0000 (00:28 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424
am: dc61e9cf25

Change-Id: Id7e0bdb94d4274d0854d3abb172022c5a6b08df6

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424
Aaron Holden [Wed, 16 Nov 2016 00:25:41 +0000 (00:25 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424
am: ac5e3c7c2d

Change-Id: Ib13d9d030ba50c19a5c67de30952201a0c02f1b2

7 years agoAdd runtime to CtsDeqpTestCases
Aaron Holden [Wed, 16 Nov 2016 00:20:57 +0000 (00:20 +0000)]
Add runtime to CtsDeqpTestCases
am: bf0076a424

Change-Id: Ib9f6bdc64bac535c9d95b5af1f61d798b10a90d9

7 years agoAdd runtime to CtsDeqpTestCases
Aaron Holden [Wed, 16 Nov 2016 00:12:10 +0000 (00:12 +0000)]
Add runtime to CtsDeqpTestCases
am: bf0076a424

Change-Id: I6e2e3cef5581db27c34538bc3d5292d79b0d3881

7 years agoAdd runtime to CtsDeqpTestCases
Aaron Holden [Tue, 15 Nov 2016 01:47:00 +0000 (17:47 -0800)]
Add runtime to CtsDeqpTestCases

Test: cts-tradefed run cts -m CtsDeqpTestCases
Bug:32843094
Change-Id: I6ea71f0d6658b1f06354374ece54743609472345

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 8bff020a8a am: c047913d3d
Pyry Haulos [Sat, 12 Nov 2016 02:25:40 +0000 (02:25 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 8bff020a8a am: c047913d3d
am: f16b3558e6

Change-Id: I055bb0177ef0394a5eba72ba46110172762ee477

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 8bff020a8a
Pyry Haulos [Sat, 12 Nov 2016 02:18:39 +0000 (02:18 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 8bff020a8a
am: c047913d3d

Change-Id: I69a82411d3d249a138fcca0f1ba4814499e1e47b

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Sat, 12 Nov 2016 02:11:08 +0000 (02:11 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am: 8bff020a8a

Change-Id: I5ecf9f9265e3527729de2c8f526a46f3c2b73212

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Fri, 11 Nov 2016 22:53:54 +0000 (14:53 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I68f026a0c2f69918f03b14e479ad5473db08a7a0

7 years agoUpdate SPIR-V dependencies
Maciej Jesionowski [Wed, 9 Nov 2016 16:42:32 +0000 (17:42 +0100)]
Update SPIR-V dependencies

This will add support for SPV_KHR_shader_draw_parameters.

Change-Id: I172be89240c37e46e52dc005c5ae310e990672b8

7 years agoAdd Vulkan WSI support to the Wayland platform
Jason Ekstrand [Wed, 9 Nov 2016 17:38:22 +0000 (09:38 -0800)]
Add Vulkan WSI support to the Wayland platform

Change-Id: I572e30710202cd53d503036310c379f2fd5468a7

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 43e50db72d am: ae92b0c427
Pyry Haulos [Fri, 11 Nov 2016 18:34:13 +0000 (18:34 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 43e50db72d am: ae92b0c427
am: c133ee71ca

Change-Id: I77f31e66c4851d461f945986599181d0a703cb7b

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 43e50db72d
Pyry Haulos [Fri, 11 Nov 2016 18:27:13 +0000 (18:27 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 43e50db72d
am: ae92b0c427

Change-Id: I32eaaba374c77bb60c2aa7138dc6a46a3d3f8782

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Fri, 11 Nov 2016 18:20:18 +0000 (18:20 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am: 43e50db72d

Change-Id: I33d13e009d97558145ba7d8908a8117fcfe3b377

7 years agoEnable multithreading in glslang
Pyry Haulos [Fri, 11 Nov 2016 00:19:52 +0000 (16:19 -0800)]
Enable multithreading in glslang

Glslang is internally synchronized and able to support multithreaded
compilation as long as global lock is implemented.

This change provides 12x speedup in building SPIR-V binaries on a
40-core machine.

Change-Id: I27b8ce22db980c3657ac3ba67b7cec1543859d0d

7 years agoReuse binary indices when rebuilding SPIR-V binaries
Pyry Haulos [Fri, 28 Oct 2016 22:35:30 +0000 (07:35 +0900)]
Reuse binary indices when rebuilding SPIR-V binaries

When prebuilt SPIR-V binaries are stored in a version control system,
we want to minimize churn (rewritten files) when updating binaries in
response to test or compiler changes.

This change makes vk::BinaryRegistyWriter significantly smarter when
updating binary registry. Old binary files (and thus indices) are
reused if possible. Any newly unused binaries are removed, and new
indices are allocated only for binaries that haven't been present
before.

Change-Id: Ieac61ff32821e4381480dd56ff27dbcdd44e50cb

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Fri, 11 Nov 2016 16:43:37 +0000 (08:43 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I1bf942ca0cb3f4b92c522d60aed6b49a78ec1354

7 years agoAdd new files to Android.mk
Pyry Haulos [Fri, 11 Nov 2016 16:42:38 +0000 (08:42 -0800)]
Add new files to Android.mk

Change-Id: I68305d2ac6cc1f79bcb49ad9ee7611038bfbf634

7 years agoAdd test: queue bind sparse api
Maciej Jesionowski [Mon, 17 Oct 2016 15:32:50 +0000 (17:32 +0200)]
Add test: queue bind sparse api

Test vkQueueBindSparse with wait and signal semaphores,
zero bindInfos, etc.

New test:
- dEQP-VK.sparse_resources.queue_bind.*

See issue #401

Change-Id: If2201095cb9508bf9fa79f3c57e7de5a7dd03616

7 years agoRefactor sparse resources module
Maciej Jesionowski [Mon, 17 Oct 2016 15:30:33 +0000 (17:30 +0200)]
Refactor sparse resources module

Get rid of unused functions and custom classes where common
framework-provided utilities suffice.

Affected tests:
- dEQP-VK.sparse_resources.shader_intrinsics.*_sparse_sample_explicit_lod.*
- dEQP-VK.sparse_resources.shader_intrinsics.*_sparse_sample_implicit_lod.*
- dEQP-VK.sparse_resources.shader_intrinsics.*_sparse_gather.*
- dEQP-VK.sparse_resources.* (only code changed)

Sparse sample tests now use a different graphics pipeline, but their
behavior should remain unchanged.

Change-Id: Ib3b5158f142630360c1b5e176f16b2f604de8dfe

7 years agoAdd reset command pool reuseing test
Arkadiusz Sarwa [Mon, 17 Oct 2016 13:27:01 +0000 (15:27 +0200)]
Add reset command pool reuseing test

New test:
- dEQP-VK.api.command_buffers.pool_reset_reuse

Fixes #453

Change-Id: If21e5c833880530fc0a1f9e19e2c579d0b288ef9

7 years agoAdd geometry shader tests
Arkadiusz Sarwa [Tue, 27 Sep 2016 09:10:05 +0000 (11:10 +0200)]
Add geometry shader tests

New tests:
- dEQP-VK.geometry.*

Fixes #63

Change-Id: If1da0ce5e171ca6cb7396421f2fb8ffbcc55ce88

7 years agoAdd license check to scripts/src_util/check_all.py
Pyry Haulos [Fri, 11 Nov 2016 15:57:59 +0000 (07:57 -0800)]
Add license check to scripts/src_util/check_all.py

Change-Id: Id63ff1e351d01bc72253f298e373bfba963e2735

7 years agoFix license in a few files
Pyry Haulos [Fri, 11 Nov 2016 15:57:37 +0000 (07:57 -0800)]
Fix license in a few files

Change-Id: Ie26dfa6e9d151b71ddba7e00d05759532632b408

7 years agoUse VK_REMAINING_MIP_LEVELS in image clearing tests
Maciej Jesionowski [Mon, 26 Sep 2016 10:47:54 +0000 (12:47 +0200)]
Use VK_REMAINING_MIP_LEVELS in image clearing tests

Modified tests:
- dEQP-VK.api.image_clearing.clear_color_image.*
- dEQP-VK.api.image_clearing.* (refactor)

Tests were refactored to use images with more than one mip map,
but multiple mip maps were only added to clear_color_image tests.

Image is now cleared with two distinct colors, one for explicit
range of mip maps, the other for VK_REMAINING_MIP_LEVELS.

Fixes #459

Change-Id: Ia02289bf81faebd47c2e4c86a6bd8a4d06ddf34d

8 years agoUse all KHR and EXT extensions by default
Arkadiusz Sarwa [Fri, 4 Nov 2016 12:22:30 +0000 (13:22 +0100)]
Use all KHR and EXT extensions by default

Change-Id: If6111170be15db7a90692a730bffdfb7c5382be8

8 years agoFix wrong barriers in D+S texture upload routines in vkt::pipeline tests
Slawomir Cygan [Wed, 2 Nov 2016 17:16:30 +0000 (18:16 +0100)]
Fix wrong barriers in D+S texture upload routines in vkt::pipeline tests

Affects tests:
dEQP-VK.texture.shadow.2d.nearest.less_or_equal_d24_unorm_s8_uint
dEQP-VK.texture.shadow.2d.nearest.less_or_equal_d32_sfloat_s8_uint
...and possibly other dEQP-VK.texture.shadow.*d.*.*d*s8_uint

In case of D+S textures, there was an invalid aspect mask used in
barriers before and after the copy to image operation in
vkt::pipeline::uploadTestTextureInternal.

Because the upload of textures was split into D-only and S-only phases,
the barriers were operating separately on D and S aspects of DS texture,
what is forbidden by spec:

"""
If image has a depth/stencil format with both depth and stencil
components, then aspectMask member of subresourceRange must include
both VK_IMAGE_ASPECT_DEPTH_BIT and VK_IMAGE_ASPECT_STENCIL_BIT".
"""

This change batches D & S uploads together (uploadTestTextureInternal is
called once), so full DS aspect mask is used in case of D+S textures.

Change-Id: Ib9d8b2a0156ffc8437edc0d5ed76c54116dd736b

8 years agoFix fetching geometry in dEQP-VK.renderpass test
Slawomir Cygan [Thu, 27 Oct 2016 18:11:15 +0000 (20:11 +0200)]
Fix fetching geometry in dEQP-VK.renderpass test

The renderpass test uses 48 byte vertex buffer for 6x 2-element float
values. At the same time pipeline tries to fetch 4-element atributes,
so the last vertex from buffer is outside of bounds (and may be zeroed).

Affected: All dEQP-VK.renderpass* that have the render geoemtry visible
in tested attachments.

Change-Id: If58e18c4df0ea053aa0a766b2bab381a0648326f

8 years agoFix GLSL precision in dEQP-VK.memory.pipeline_barrier.*storage_buffer
Slawomir Cygan [Thu, 27 Oct 2016 16:37:24 +0000 (18:37 +0200)]
Fix GLSL precision in dEQP-VK.memory.pipeline_barrier.*storage_buffer

The GLSL global precision qualifier in many shaders in this test was malformed
 - it essentially did not change any default precision.

Additionally *storage_buffer.65536 cases require higp integer precision in
 storage_buffer fragment shaders - otherwise the buffer indexing can wrap.

Change-Id: Ic5e965b8e418b1c68bee3a058a771d2b894c0f63

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 25 Oct 2016 05:36:23 +0000 (22:36 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: I766de7d6d392d4a2503caae6e321836fde09c804

8 years agodEQP-VK.api.image_clearing: Use the correct aspects for depth/stencil attachments
Jason Ekstrand [Sat, 22 Oct 2016 16:16:55 +0000 (09:16 -0700)]
dEQP-VK.api.image_clearing: Use the correct aspects for depth/stencil attachments

These tests were blindly setting the aspectMask field of VkClearAttachment
to VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT even though the
format of the attachment may be a depth-only format.  This affects the
following tests:

dEQP-VK.api.image_clearing.clear_depth_stencil_attachment.2d_d16_unorm
dEQP-VK.api.image_clearing.clear_depth_stencil_attachment.2d_d32_sfloat
dEQP-VK.api.image_clearing.clear_depth_stencil_attachment.2d_x8_d24_unorm_pack32
dEQP-VK.api.image_clearing.partial_clear_depth_stencil_attachment.2d_d16_unorm
dEQP-VK.api.image_clearing.partial_clear_depth_stencil_attachment.2d_d32_sfloat
dEQP-VK.api.image_clearing.partial_clear_depth_stencil_attachment.2d_x8_d24_unorm_pack32

Change-Id: I7c0de07de97ae8529e429c26b1b99798cc1443a4

8 years agocopy_and_blit.blit_image: loosen threshold of float/float blits
Lionel Landwerlin [Sat, 15 Oct 2016 00:01:03 +0000 (01:01 +0100)]
copy_and_blit.blit_image: loosen threshold of float/float blits

In commit bd6f90c07f4bd0e0667ada50e134b479eeab78c5 :

  blit_image: compute validation threshold based on I/O formats

We tried to introduce an error threshold for unorm/integer formats and
removed all the precomputed thresholds for floating point formats. Also
introducing a bug where the threshold was ceiled to 1.0 (making a lot of
tests pass no matter the results).

In commit 161314f0ff255dfe47e280dd4945292295dab1ed :

  copy_and_blit.blit_image: fix threshold computation

We fixed the threshold to computation for unorm/integer formats but now all
threshold would be computed on the assumption that the resolution of numbers
is based of the number of bits in the fractional part of the number's
representation (which is incorrect for floating point formats).

This commit brings back the precomputed thresholds for floating point
formats, while still computing a threshold based on the number of bits in
the fractional part of the unorm formats.

Affected tests:
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*float*float*

Change-Id: I52034a58d145a8e046fb33bcc6becb9e83774d73

8 years agoCheck dependency between multiViewport and geometry
Maciej Jesionowski [Wed, 19 Oct 2016 09:48:30 +0000 (11:48 +0200)]
Check dependency between multiViewport and geometry

Modified tests:
- dEQP-VK.api.info.device.features

Public issue #25

Change-Id: Ifea108a909113f4628a7bfb1a75d9bdbd10866f3

8 years agoCheck for geometryShader in multi-viewport scissor
Maciej Jesionowski [Wed, 19 Oct 2016 09:32:29 +0000 (11:32 +0200)]
Check for geometryShader in multi-viewport scissor

Affected tests:
- dEQP-VK.fragment_operations.scissor.multi_viewport.*

Public issue #25

Change-Id: I82c45e7bff2f771b9874966246341d14d3371d8a

8 years agoRemove XML mustpass lists
Pyry Haulos [Wed, 24 Aug 2016 22:19:40 +0000 (15:19 -0700)]
Remove XML mustpass lists

Android CTS no longer uses per-package XML test lists.

(cherry picked from commit af8270690ae19b52cf673bdda853a57755b7d3fe)

Change-Id: I66c76af2c9b8dafbec7db9a9a7c150d4e5400ac2

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 812d768b55
Pyry Haulos [Thu, 20 Oct 2016 20:41:25 +0000 (20:41 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 812d768b55
am: 8e32ffdbc2

Change-Id: I77e316e2847350fe515741fc3a4f8b4ae9ac72a5

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 20 Oct 2016 20:33:53 +0000 (20:33 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am: 812d768b55

Change-Id: I2dbda20b10059ae5275db48a54b811ce01c1d5cf

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 20 Oct 2016 18:42:41 +0000 (11:42 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: Ia92eae5ac913055ba0cd769b8ca3ac877e02d48c

8 years agoAdd excluded copy and blit tests back to mustpass
Pyry Haulos [Thu, 29 Sep 2016 21:43:55 +0000 (14:43 -0700)]
Add excluded copy and blit tests back to mustpass

See #431

Change-Id: I4d06edd0ad05e62fabe9f14c192aec3eb8d457c8

8 years agoAdd user clip plane tests back to mustpass
Pyry Haulos [Thu, 29 Sep 2016 21:22:06 +0000 (14:22 -0700)]
Add user clip plane tests back to mustpass

See #420

Change-Id: If0c5265298281241d50691a092b8af9720c1d2d7

8 years agoEnable some of dEQP-VK.glsl.texture_functions.texelfetchoffset.*
Slawomir Cygan [Tue, 20 Sep 2016 10:56:27 +0000 (12:56 +0200)]
Enable  some of dEQP-VK.glsl.texture_functions.texelfetchoffset.*

These are still disabled:
dEQP-VK.glsl.texture_functions.texelfetchoffset.sparse_sampler*

These tests were blacklisted as a part of issue 410, but it seems it was because of driver bug.

Change-Id: I01e3fdff78edef37dc0e7e72f129bd50e600b4aa

8 years agoAdd fragment sampled images to pipeline barrier tests
Mika Isojärvi [Thu, 15 Sep 2016 22:55:05 +0000 (15:55 -0700)]
Add fragment sampled images to pipeline barrier tests

Change-Id: I100f97a18206fc8e92e28b8c62289666048de6ea

8 years agoAdd fragment storage images to pipeline barrier tests
Mika Isojärvi [Fri, 9 Sep 2016 19:55:14 +0000 (12:55 -0700)]
Add fragment storage images to pipeline barrier tests

Change-Id: I34614de9bbc6ac567ba5a0faab1fc78c7b6375ca

8 years agoAdd fragment storage texel buffers to pipeline barrier tests
Mika Isojärvi [Wed, 7 Sep 2016 21:42:24 +0000 (14:42 -0700)]
Add fragment storage texel buffers to pipeline barrier tests

Change-Id: Id1ea453508d36b10908e46e79c4a7c2e4f7add5b

8 years agoAdd fragment uniform texel buffers to pipeline barrier tests
Mika Isojärvi [Wed, 7 Sep 2016 18:23:33 +0000 (11:23 -0700)]
Add fragment uniform texel buffers to pipeline barrier tests

Change-Id: I6a3bf3d522f952d0e0eb9ce623ff0f4efa4343c9

8 years agoAdd fragment storage buffers to pipeline barrier tests
Mika Isojärvi [Thu, 1 Sep 2016 22:51:56 +0000 (15:51 -0700)]
Add fragment storage buffers to pipeline barrier tests

Change-Id: Iac04ac1015064e8f5159c2d0f9838ccc79e33072

8 years agoAdd fragment uniform buffers to pipeline barrier tests
Mika Isojärvi [Thu, 1 Sep 2016 21:03:37 +0000 (14:03 -0700)]
Add fragment uniform buffers to pipeline barrier tests

Change-Id: I9a5ef06501c1969ee71f4adc37bbe5dd142646bb

8 years agoSplit pipeline barrier tests over multiple iterations
Mika Isojärvi [Wed, 31 Aug 2016 00:37:03 +0000 (17:37 -0700)]
Split pipeline barrier tests over multiple iterations

- Split different pipeline barrier test stages over multiple iterate() calls.
- Instead of running 100 ops once for each memory type run 50ops 5 times.
- Reduces resource usage, but increases number of operations performed.

Change-Id: I16f46ef94591cc45877f880dcf871f6302744c06

8 years agoExtend renderpass tests to use input attachments
Mika Isojärvi [Wed, 17 Aug 2016 20:23:36 +0000 (13:23 -0700)]
Extend renderpass tests to use input attachments

- Render only values 0 and 1 to all attachments.
- The value depends on attachment, subpass and pixel location.
- Depth formats also sets gl_FragDepth to 0.0 or 1.0 depending on location.
- Stencil uses only values 0 and 0xff.
- Verification requires that the quads are rasterized exactly and
  that all result values are either 0 or 1.
- Input attachment containing 1s and 0s are interpreted as true and
  false bools and input values are combined with boolean operations and
  written to shader outputs.

See #447
Change-Id: I4ebe3d9b5151d40558e473a028ee458cf6285a85

8 years agoFixes invalid subresource defs in *.simple_tests.
Dominik Witczak [Fri, 14 Oct 2016 14:18:15 +0000 (16:18 +0200)]
Fixes invalid subresource defs in *.simple_tests.

Affects dEQP-VK.api.copy_and_blit.blit_image.simple_tests

Fixes #519

Change-Id: I3c8331f27495333ece5bd43c160128fa49a7950d

8 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 19:32:13 +0000 (19:32 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev am: 544e0e3b1d am: af005183c6 am: 3af556fa23 am: 4b09d218b7
am: ca2cf0c2cf

Change-Id: I32cacdd730ebb81a629aaee8d3670e53f6a33db0

8 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e...
Pyry Haulos [Wed, 19 Oct 2016 19:31:57 +0000 (19:31 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e am: b403d93667 am: 7d57783e07 am: 2c96ee9d1e
am: bf7e838fac

Change-Id: I420894ff4bfc5cf9b40e391d1b85cbc5d36d8f6c

8 years agoMerge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev...
Tina Zhou [Wed, 19 Oct 2016 19:31:45 +0000 (19:31 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev am: b82263e2ad am: bde74aec80 am: c3471eb1c7 am: 6389ecabb6
am: 1e0c7ca177

Change-Id: I38dfba41509ac72bb8ea79d434f7604ee6cc37fc

8 years agoCP: Use empty region when buffer age is not supported am: 8230646213 am: 3e8d57ed32...
Kalle Raita [Wed, 19 Oct 2016 19:31:33 +0000 (19:31 +0000)]
CP: Use empty region when buffer age is not supported am: 8230646213 am: 3e8d57ed32 am: 24169a1c92 am: 5f95cd5862
am: 8dff8112ff

Change-Id: Icf7cea703ed2e962be0b80f64348c9184d6903e3

8 years agoMerge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e...
Tina Zhou [Wed, 19 Oct 2016 19:31:20 +0000 (19:31 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e am: 4e28a717a1 am: 9bcd2cdcae am: 63dabf3db4
am: f05d10eaf2

Change-Id: I4da1171a9a08714971f20acd05ece96613b1cbbc

8 years agoFix deStrnlen fall-back implementation am: 54ebe093a9 am: 7595269a79 am: a1e1fe14f0...
Pyry Haulos [Wed, 19 Oct 2016 19:31:08 +0000 (19:31 +0000)]
Fix deStrnlen fall-back implementation am: 54ebe093a9 am: 7595269a79 am: a1e1fe14f0 am: e21b847ac0
am: 071f3960da

Change-Id: I111f517ba0ca5246372b91ade2ca80a30569b7de

8 years agoMerge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts...
Tina Zhou [Wed, 19 Oct 2016 19:30:56 +0000 (19:30 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev am: 4275d2099c am: 6fd85eb3eb am: 2ba9b99e0a am: ff244078e9
am: 297c3f45f7

Change-Id: Ic56bf0f193fe91ebe3632025c35ef672a81c2641

8 years agoRemove a few preprocessor cases testing undefined behavior am: e5f7483417 am: b9a2f1b...
Pyry Haulos [Wed, 19 Oct 2016 19:30:42 +0000 (19:30 +0000)]
Remove a few preprocessor cases testing undefined behavior am: e5f7483417 am: b9a2f1b768 am: d280df3576 am: 5655cfc165
am: 7f6529bea6

Change-Id: I5ffdae1e9ce33ac3873210fcbd2cbcc5722c277b

8 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 19:24:52 +0000 (19:24 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev am: 544e0e3b1d am: 05e378a71d
am: 618ea5cfea

Change-Id: I0c51fbc07db4e847d7c0cb741db6491a91f43ade

8 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e...
Pyry Haulos [Wed, 19 Oct 2016 19:24:42 +0000 (19:24 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e am: 101d60fc56
am: feb5fa2e2d

Change-Id: Iaed0790d2b7e7c31dd2f32fa7c012371a17f8ca1

8 years agoMerge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev...
Tina Zhou [Wed, 19 Oct 2016 19:24:29 +0000 (19:24 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev am: b82263e2ad am: a2ce844bcb
am: 82380ac1e2

Change-Id: I655cd37d10ecb55385393cbc63c397be187b0db5

8 years agoCP: Use empty region when buffer age is not supported am: 8230646213 am: 5997f85ae1
Kalle Raita [Wed, 19 Oct 2016 19:24:14 +0000 (19:24 +0000)]
CP: Use empty region when buffer age is not supported am: 8230646213 am: 5997f85ae1
am: 61e8a65852

Change-Id: Ic64410f5cce41ece626ceafd66308170a9d66915

8 years agoMerge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e...
Tina Zhou [Wed, 19 Oct 2016 19:24:03 +0000 (19:24 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e am: b484689e86
am: b7b7984913

Change-Id: I9c25adfd816c27f3cff44b808e81dc36e5a7618b

8 years agoFix deStrnlen fall-back implementation am: 54ebe093a9 am: d4fee8c43b
Pyry Haulos [Wed, 19 Oct 2016 19:23:52 +0000 (19:23 +0000)]
Fix deStrnlen fall-back implementation am: 54ebe093a9 am: d4fee8c43b
am: 778bc2435a

Change-Id: Ibfcb0c01dcb1238dd3fceb8da4e78e1c754cb766

8 years agoMerge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts...
Tina Zhou [Wed, 19 Oct 2016 19:23:41 +0000 (19:23 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev am: 4275d2099c am: 75cbc40ebf
am: 6ef846f260

Change-Id: I2b50315718c3bab9d0b08ce834c86d8f4d9b1c4e

8 years agoresolve merge conflicts of e5f7483 to master am: c4598ea31b
Pyry Haulos [Wed, 19 Oct 2016 19:23:31 +0000 (19:23 +0000)]
resolve merge conflicts of e5f7483 to master am: c4598ea31b
am: 8e2e181bd6

Change-Id: I5007494e2a76aaa637f7f009e1a873ba0eec4e2f

8 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 19:17:58 +0000 (19:17 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev am: 544e0e3b1d
am: 05e378a71d

Change-Id: If3ac25e64dcd16e9c5b03d3b1583c2e0dc3b796d

8 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e
Pyry Haulos [Wed, 19 Oct 2016 19:17:38 +0000 (19:17 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e
am: 101d60fc56

Change-Id: I451dbcecdf18f19e78b91beb7666e7c6efe8eb70

8 years agoMerge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev...
Tina Zhou [Wed, 19 Oct 2016 19:17:10 +0000 (19:17 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev am: b82263e2ad
am: a2ce844bcb

Change-Id: Icfa834f4f44b6cd5235f817e52e49b5864f8a42e

8 years agoCP: Use empty region when buffer age is not supported am: 8230646213
Kalle Raita [Wed, 19 Oct 2016 19:16:53 +0000 (19:16 +0000)]
CP: Use empty region when buffer age is not supported am: 8230646213
am: 5997f85ae1

Change-Id: Ic143fcd05c40551c0391f5555e3e8980dbe3269f

8 years agoMerge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e
Tina Zhou [Wed, 19 Oct 2016 19:16:43 +0000 (19:16 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e
am: b484689e86

Change-Id: I45f017a4bf82ff1af508994bc37cc7c457785be2

8 years agoFix deStrnlen fall-back implementation am: 54ebe093a9
Pyry Haulos [Wed, 19 Oct 2016 19:16:29 +0000 (19:16 +0000)]
Fix deStrnlen fall-back implementation am: 54ebe093a9
am: d4fee8c43b

Change-Id: Ib3ebc0e7bd3368f7d7dd261b4a373f3319aa91a8

8 years agoMerge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts...
Tina Zhou [Wed, 19 Oct 2016 19:16:16 +0000 (19:16 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev am: 4275d2099c
am: 75cbc40ebf

Change-Id: I023c8ae967f37ac72414ba6095a1bd1299ea3f58

8 years agoresolve merge conflicts of e5f7483 to master
Pyry Haulos [Wed, 19 Oct 2016 19:16:03 +0000 (19:16 +0000)]
resolve merge conflicts of e5f7483 to master
am: c4598ea31b

Change-Id: I61aa10b24cfc71434506c5a83816ce42225b58fd

8 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 18:13:50 +0000 (18:13 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev
am: 544e0e3b1d

Change-Id: I9b6b41060c199df465bb1aaf602b6c4e65170f19

8 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
Pyry Haulos [Wed, 19 Oct 2016 18:13:49 +0000 (18:13 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
am: 37e360591e

Change-Id: Iebccb4130e83bc05880ed19700b627920bd2c195

8 years agoMerge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 18:13:35 +0000 (18:13 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev
am: b82263e2ad

Change-Id: I48d7e3cf7abc24ea85d15e2c8e1cc28f495a715b