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
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
Pyry Haulos [Fri, 18 Nov 2016 20:52:14 +0000 (20:52 +0000)]
Do not remove old SPIR-V binaries before running vk-build-programs am:
b28ca98dd6
am:
799a2912dc
Change-Id: I996e04fdc760982c579c795c74e8b8c2ae59e718
Pyry Haulos [Fri, 18 Nov 2016 20:49:13 +0000 (20:49 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am:
c9061d1b52
am:
3e3c5a179e
Change-Id: Iaafc0d66fe01b2e0a9c98043bd97f44aa76afaf0
Pyry Haulos [Fri, 18 Nov 2016 20:49:13 +0000 (20:49 +0000)]
Do not remove old SPIR-V binaries before running vk-build-programs
am:
b28ca98dd6
Change-Id: I0d8d8b118f3c3097e4416c4c9130eb2de9418b00
Pyry Haulos [Fri, 18 Nov 2016 20:46:16 +0000 (20:46 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
c9061d1b52
Change-Id: I24f864e246bd5d5ab5677cb0f5edeff67b9ad547
Pyry Haulos [Fri, 18 Nov 2016 18:46:55 +0000 (10:46 -0800)]
Do not remove old SPIR-V binaries before running vk-build-programs
vk-build-programs can update pre-built binary directory in a smarter way
when there are existing binaries.
Test: Run external/vulkancts/build_spirv_binaries.py
Change-Id: I2a6afdc2855b7da1baf02682e8214a73a35cebda
Pyry Haulos [Fri, 18 Nov 2016 18:40:54 +0000 (10:40 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I656d82525b18e936b6c4a78dd73cbb9ef65a06a4
Pyry Haulos [Fri, 18 Nov 2016 18:40:10 +0000 (10:40 -0800)]
Add vktTextureFilteringAnisotropyTests.cpp to Android.mk
Arkadiusz Sarwa [Wed, 19 Oct 2016 13:43:19 +0000 (15:43 +0200)]
Add anisotropic filtering tests
New tests:
- dEQP-VK.texture.filtering_anisotropy.basic.*
- dEQP-VK.texture.filtering_anisotropy.mipmap.*
Fixes #512
Change-Id: I96649846503e7ab349c774ad934f654388b01d0a
Zoltan Janos Szabo [Wed, 26 Oct 2016 13:51:22 +0000 (15:51 +0200)]
Extends rasterization culling tests with polygonModes
Fixes #523
Change-Id: I2665e999f5ecb6bacd0d670b88e037bfbb0d5b2e
Maciej Jesionowski [Tue, 11 Oct 2016 09:35:24 +0000 (11:35 +0200)]
Add test: UBO out of order block member offsets
New tests:
- dEQP-VK.ubo.random.all_out_of_order_offsets.*
Modified tests:
- dEQP-VK.ubo.* - changed GLSL version from '310 es' to '450'
- dEQP-VK.ubo.random.all_* - include arrays of arrays
Version change is required to support 'offset' layout in GLSL.
Fixes #490
Change-Id: I0c07dcebd85874d64146e48db8fefe8ad9f88877
Maciej Jesionowski [Wed, 5 Oct 2016 14:28:38 +0000 (16:28 +0200)]
Add test: validate memoryTypeBits for buffers/images
Query VkMemoryRequirements for various buffer and image configurations
and check:
- memoryTypeBits and alignment
- spec-imposed guarantees
New test:
- dEQP-VK.memory.requirements.*
Fixes #492
Change-Id: I3901cc4aa5501539404bdd900c5a1b4d3a62befb
Pyry Haulos [Fri, 18 Nov 2016 17:48:25 +0000 (09:48 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Change-Id: I0800a091d1025c0ff6efc7f22f901285e198fd38
Pyry Haulos [Fri, 18 Nov 2016 17:48:22 +0000 (09:48 -0800)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Change-Id: Ib79da8c670b790d009cdf977039ece08c4e14320
Maciej Jesionowski [Wed, 16 Nov 2016 14:21:28 +0000 (15:21 +0100)]
Bugfix: use per-subpass pipeline in MS image tests
The tests created a single graphics pipeline with a subpass index 0
and incorrectly reused it across different subpasses within the
same renderpass.
Affected tests:
- dEQP-VK.pipeline.multisample.sampled_image.*
- dEQP-VK.pipeline.multisample.storage_image.*
Change-Id: I71463748f10f7bb8cf194622b07ce44a855d823a
Pyry Haulos [Thu, 20 Oct 2016 20:07:45 +0000 (13:07 -0700)]
Use highp in linkage.varying.rules.differing_name_*
This resolves RelaxedPrecision mismatches
Affects:
dEQP-VK.glsl.linkage.varying.rules.differing_name_1
dEQP-VK.glsl.linkage.varying.rules.differing_name_2
See #518
Change-Id: I7a152138e2d6ff2092c04d4226f7d00c8a40f4e0
Pyry Haulos [Thu, 20 Oct 2016 20:17:33 +0000 (13:17 -0700)]
Fix RelaxedPrecision mismatch in shader return statement tests
Affects:
dEQP-VK.glsl.return.single_return_vertex
dEQP-VK.glsl.return.double_return_vertex
dEQP-VK.glsl.return.last_statement_in_main_vertex
dEQP-VK.glsl.return.return_in_infinite_loop_vertex
See #518
Change-Id: I981b7623f7dc2eed2e438092226f3fa3bde44d58
Pyry Haulos [Thu, 20 Oct 2016 20:07:45 +0000 (13:07 -0700)]
Use highp by default in ShaderLibrary-based tests
This resolves numerous RelaxedPrecision mismatches
Affects:
dEQP-VK.glsl.arrays.*
dEQP-VK.glsl.conditionals.*
dEQP-VK.glsl.constants.*
dEQP-VK.glsl.conversions.*
dEQP-VK.glsl.functions.*
dEQP-VK.glsl.linkage.*
dEQP-VK.glsl.scoping.*
dEQP-VK.glsl.swizzles.*
See #518
Change-Id: I7b79f10c6dbdd5ae8da31359b680ac52ce2ad28c
Pyry Haulos [Thu, 20 Oct 2016 20:06:49 +0000 (13:06 -0700)]
Fix RelaxedPrecision mismatch in binding_model tests
Affects: dEQP-VK.binding_model.*
See #518
Change-Id: Iccda14ae17c7852c5283547e01573907f2eef18a
Slawomir Cygan [Mon, 14 Nov 2016 16:57:31 +0000 (17:57 +0100)]
Fix race condition between query pool reset and accessing query results
Affects tests:
dEQP-VK.query_pool.occlusion_query.get_results*(wait_query|wait_none)*
These tests access query pool results on host, without any synchronization
with command buffer which performs the query - they either use
VK_QUERY_RESULT_WAIT_BIT or allow for incomplete results to be captured.
This may have a race condition, mentioned by spec:
"""
Applications must take care to ensure that use of the
VK_QUERY_RESULT_WAIT_BIT bit has the desired effect. For example, if
a query has been used previously and a command buffer records the
commands vkCmdResetQueryPool, vkCmdBeginQuery, and vkCmdEndQuery for
that query, then the query will remain in the available state until the
vkCmdResetQueryPool command executes on a queue.
"""
In affected tests, this change moves vkCmdResetQueryPool to separate
command buffer that is sumitted and completed before query is used on
device & host.
Additionally code handling RESULTS_MODE_COPY mode is refactored to use
new haveSeparateCopyCmdBuf() function instead of tons of flags and conditions.
Change-Id: Id4a538b912030f2a86b09593fecaae37f1819a71
Tina Zhou [Thu, 17 Nov 2016 17:40:14 +0000 (17:40 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f am:
c2c27aa562 am:
3dda7ae2d2
am:
68289ab9d7
Change-Id: I59d62fe066c60dafd9dfa33c3ab3b2564fe47017
Kenneth Graunke [Thu, 17 Nov 2016 17:40:04 +0000 (17:40 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748 am:
ab691d3f7e am:
d131139629
am:
fe70f6f1db
Change-Id: Ibce5815c936f4d2740c897c34852d667ed01a824
Tina Zhou [Thu, 17 Nov 2016 17:39:52 +0000 (17:39 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am:
d962b86909 am:
080d0d5005 am:
e5f339cae5
am:
d7a4a648f5
Change-Id: I4bc04a38b245b49fe09ab49ea0e6de0489f0543e
Kenneth Graunke [Thu, 17 Nov 2016 17:39:40 +0000 (17:39 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am:
d2f3b468db am:
f5414b15bb am:
7098357b48
am:
a660b9fc59
Change-Id: Ia908291a144cc644a21608f41757c61411baf25f
Tina Zhou [Thu, 17 Nov 2016 17:32:56 +0000 (17:32 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f am:
c2c27aa562
am:
3dda7ae2d2
Change-Id: I99a63b7fe5fc3d5d9230cb4dd5fe3b5564224b50
Kenneth Graunke [Thu, 17 Nov 2016 17:32:41 +0000 (17:32 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748 am:
ab691d3f7e
am:
d131139629
Change-Id: If746ac17aaab756f7907d91341ee07d7b897e9bb
Tina Zhou [Thu, 17 Nov 2016 17:32:27 +0000 (17:32 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am:
d962b86909 am:
080d0d5005
am:
e5f339cae5
Change-Id: I9695776ce4230fa3c11ed049bfc46ee912d675cb
Kenneth Graunke [Thu, 17 Nov 2016 17:32:11 +0000 (17:32 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am:
d2f3b468db am:
f5414b15bb
am:
7098357b48
Change-Id: Ib3708679574ed1f7a75706a3eb0fb268cfc2065f
Tina Zhou [Thu, 17 Nov 2016 17:17:43 +0000 (17:17 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f
am:
c2c27aa562
Change-Id: I92de6f7a0cd6b064f8d0391fac2f70b464acd8d4
Kenneth Graunke [Thu, 17 Nov 2016 17:17:34 +0000 (17:17 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748
am:
ab691d3f7e
Change-Id: Ic377ad147e7a774685c6dcc3190f8f3e95f45049
Tina Zhou [Thu, 17 Nov 2016 17:17:24 +0000 (17:17 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am:
d962b86909
am:
080d0d5005
Change-Id: I52ff978738ebe738d3d705c4a321a31b4786fa58
Kenneth Graunke [Thu, 17 Nov 2016 17:17:10 +0000 (17:17 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am:
d2f3b468db
am:
f5414b15bb
Change-Id: I36fd5090772f6881a14135edcaf9c1ae8dab22fe
Tina Zhou [Thu, 17 Nov 2016 17:10:28 +0000 (17:10 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev
am:
a5af1b076f
Change-Id: I01c65d693d7ad5befe9244cb0d24814750a80bd2
Kenneth Graunke [Thu, 17 Nov 2016 17:10:28 +0000 (17:10 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
am:
ea5589c748
Change-Id: I7358276f100608371da5b44ebc8e102a54706197
Tina Zhou [Thu, 17 Nov 2016 17:10:12 +0000 (17:10 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev
am:
d962b86909
Change-Id: I6a82d71f2fed9f848a953ae21c30079bacb07052
Kenneth Graunke [Thu, 17 Nov 2016 17:10:05 +0000 (17:10 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests.
am:
d2f3b468db
Change-Id: Id43b369d67e04cf3a6d6b5b4e3303f02c7a35b87
Tina Zhou [Thu, 17 Nov 2016 17:03:36 +0000 (17:03 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev
Tina Zhou [Thu, 17 Nov 2016 17:02:44 +0000 (17:02 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev
Maciej Jesionowski [Thu, 17 Nov 2016 09:44:36 +0000 (10:44 +0100)]
Update SPIRV-Headers
Add constants required for VK_KHR_shader_draw_parameters
Change-Id: I3cbf7cfa68714c47c205be019ece7f1218a66e00
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
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
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
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
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
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
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
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
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
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
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
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
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
Pyry Haulos [Wed, 16 Nov 2016 18:17:26 +0000 (10:17 -0800)]
Fix typo in check_license.py error message
Change-Id: Id1d0ec96e8b81cb434f7b39dcde1ba087418fc2e
David Neto [Wed, 16 Nov 2016 16:25:58 +0000 (11:25 -0500)]
Update to latest SPIRV-Tools
Requested for use by https://gerrit.khronos.org/#/c/279/
Test: Android build; also "vk-build-programs -v" under Linux
Change-Id: Ic207f64f861c9e3824f77f09b301b3855351c7c4
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
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
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
Aaron Holden [Wed, 16 Nov 2016 00:28:42 +0000 (00:28 +0000)]
Add runtime to CtsDeqpTestCases am:
bf0076a424
am:
dc61e9cf25
Change-Id: Id7e0bdb94d4274d0854d3abb172022c5a6b08df6
Aaron Holden [Wed, 16 Nov 2016 00:25:41 +0000 (00:25 +0000)]
Add runtime to CtsDeqpTestCases am:
bf0076a424
am:
ac5e3c7c2d
Change-Id: Ib13d9d030ba50c19a5c67de30952201a0c02f1b2
Aaron Holden [Wed, 16 Nov 2016 00:20:57 +0000 (00:20 +0000)]
Add runtime to CtsDeqpTestCases
am:
bf0076a424
Change-Id: Ib9f6bdc64bac535c9d95b5af1f61d798b10a90d9
Arkadiusz Sarwa [Tue, 15 Nov 2016 12:38:12 +0000 (13:38 +0100)]
Add getInstanceExtensions() to Context
Change-Id: I7d442578c3dbea007bbf77bdeac0177fde9b87cd
Aaron Holden [Wed, 16 Nov 2016 00:12:10 +0000 (00:12 +0000)]
Add runtime to CtsDeqpTestCases
am:
bf0076a424
Change-Id: I6e2e3cef5581db27c34538bc3d5292d79b0d3881
Pyry Haulos [Tue, 15 Nov 2016 22:09:47 +0000 (17:09 -0500)]
Merge "Revert "Update SPIR-V dependencies"" into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 15 Nov 2016 22:09:41 +0000 (18:09 -0400)]
Revert "Update SPIR-V dependencies"
Reverted since latest SPIRV-Tools breaks Android build.
This reverts commit
53331f8a91b6ab5f6ea57707620c92435bc06dde.
Change-Id: Ib4de2ecb13a51c5ce3c664b85cf0004c7e4df403
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
Pyry Haulos [Mon, 14 Nov 2016 17:05:16 +0000 (09:05 -0800)]
Fix warnings reported by VS 2015
Change-Id: Ifc12df928d6d2f939d01c39a55a48bf861c51be7
Pyry Haulos [Mon, 14 Nov 2016 16:56:12 +0000 (08:56 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Change-Id: I4a9d3481a1f3c3d4975fb7b8c1fad0262beea8b0
Pyry Haulos [Mon, 14 Nov 2016 16:56:10 +0000 (08:56 -0800)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Change-Id: I620cf36a16740b6697c9d46b0cb7b7d013bd529b
Pyry Haulos [Mon, 14 Nov 2016 16:51:13 +0000 (08:51 -0800)]
Update to latest libpng release
Previously used release 1.6.17 has been deprecated due to security bugs.
Change-Id: Ie5b749eea96e34f88a6833fbfab40c59cd3d162c
Pyry Haulos [Mon, 14 Nov 2016 14:44:11 +0000 (06:44 -0800)]
Move MatrixLoadFlags from vktTestCase.hpp
vktTestCase.hpp is wildly inappropriate place for such data type. Both
UBO and SSBO tests use it currently and it is now duplicated to both of
them. UBO and SSBO tests do contain a quite bit of duplication already
(describing blocks, layout computation, etc.) and dedup should be done
as a part of bigger refactoring.
Change-Id: I5d4b8a947522192ba0dd4e807e04c940c1770eef
Michael Chock [Sat, 12 Nov 2016 00:11:31 +0000 (16:11 -0800)]
Use conformant main() signature for CTS suite
C++ requires compilers to accept at least two signatures (3.6.1 in the
2014 and 2017 working drafts):
- a function of () returning int and
- a function of (int, pointer to pointer to char) returning int
There is no guarantee that a compiler will accept variations of argv
that use const. Use the second required form.
See #534.
Change-Id: I212b00e82b927fe25c5b2b20134db472c08e4c17
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
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
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
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
Jason Ekstrand [Wed, 9 Nov 2016 17:38:22 +0000 (09:38 -0800)]
Add Vulkan WSI support to the Wayland platform
Change-Id: I572e30710202cd53d503036310c379f2fd5468a7
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
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
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
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
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
Pyry Haulos [Fri, 11 Nov 2016 16:42:38 +0000 (08:42 -0800)]
Add new files to Android.mk
Change-Id: I68305d2ac6cc1f79bcb49ad9ee7611038bfbf634
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
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
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
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
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
Pyry Haulos [Fri, 11 Nov 2016 15:57:37 +0000 (07:57 -0800)]
Fix license in a few files
Change-Id: Ie26dfa6e9d151b71ddba7e00d05759532632b408
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
Arkadiusz Sarwa [Fri, 4 Nov 2016 12:22:30 +0000 (13:22 +0100)]
Use all KHR and EXT extensions by default
Change-Id: If6111170be15db7a90692a730bffdfb7c5382be8
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
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
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
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
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
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
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
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
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