platform/upstream/VK-GL-CTS.git
7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Thu, 17 Nov 2016 01:20:27 +0000 (01:20 +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

Change-Id: I47de237e05c2e5a267d2c992c1857b4c244e28c0

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569 am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:20:13 +0000 (01:20 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569 am: cceb936715 am: c627567fb6
am: 41db2c5a2a

Change-Id: Ie3ed4c613334aeada8173d4f26adb19a15874666

7 years agoMerge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev...
Tina Zhou [Thu, 17 Nov 2016 01:12:24 +0000 (01:12 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am: 6cea9dbc62 am: fa02db7127 am: c099989faf
am: 6570dc4744

Change-Id: I5677ab681b1f3e3270363d40dacc7a0907168ef1

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569 am...
Chun-Ta Lin [Thu, 17 Nov 2016 01:12:11 +0000 (01:12 +0000)]
Add the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569 am: cceb936715
am: c627567fb6

Change-Id: I96c1b896422541e3894ce7a1ca4b3416667c8a84

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

Change-Id: If1cbed21195ab22f33d1a5d274e7654576e57732

7 years agoAdd the support to device connection via TCP/IP am: 4ccc9fd56c am: 548e356569
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: 548e356569
am: cceb936715

Change-Id: If1d559a72e8308d86122d14d3e59679346df8b56

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

Change-Id: I8fd4bd5271a75664781994f7bc7a6b989508e2e5

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

Change-Id: I9a105b10225f19f9c8687b46afd43833aa4f060f

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

Change-Id: I20121f99c51e2bcd89e206a7d3690c80afffb351

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

Change-Id: I7e9dd7d66b3cebc86d6cfa9159d88c403b577945

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

Change-Id: Id04a179523649edc56246468dff3960aba64f5e2

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
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 [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 "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 16:03:30 +0000 (16:03 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev
am: 544e0e3b1d

Change-Id: I439ee038030d31d881b960e18e74c90ad5aaa715

7 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
Pyry Haulos [Wed, 19 Oct 2016 16:03:28 +0000 (16:03 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
am: 37e360591e

Change-Id: Id51782afaadec6423de58d37244379f2c7735c33

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

Change-Id: I230028994f151af0e6217a19cd6bf8a844a04c18

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

Change-Id: I1e8ab9b30a092e01819b6407355afdbb45cf58f3

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

Change-Id: I4b9714e9f3ba652f3189eff0c3b6b03ca7ac6bb3

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

Change-Id: If90c8f969bd9cf37b9ddbe9c31a08122c1598915

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

Change-Id: I514595f06bdb6696df75ae43c48d17eaad639142

7 years agoRemove a few preprocessor cases testing undefined behavior
Pyry Haulos [Wed, 19 Oct 2016 16:02:33 +0000 (16:02 +0000)]
Remove a few preprocessor cases testing undefined behavior
am: e5f7483417

Change-Id: I31e3ce2fa07318eb8ea9e66477feec0a14c99be9

7 years agoMerge "Check for shader type support in negative precise tests" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 16:02:16 +0000 (16:02 +0000)]
Merge "Check for shader type support in negative precise tests" into nougat-cts-dev
am: c30d04b8e7

Change-Id: Ice84fe27adfd1431ccea1ce4447c6f0c35b6829f

7 years agoCheck for shader type support in negative precise tests
Pyry Haulos [Wed, 19 Oct 2016 16:02:15 +0000 (16:02 +0000)]
Check for shader type support in negative precise tests
am: 4a3a2d79a0

Change-Id: I692aa0dee742a63681c63a9d456abf23524a48d7

7 years agoMerge "Check for shader type support in negative shader directive tests" into nougat...
Tina Zhou [Wed, 19 Oct 2016 16:01:56 +0000 (16:01 +0000)]
Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev
am: a3513e86ff

Change-Id: I0fbd1021df1228603f6f1a796ca0a33228fd709b

7 years agoCheck for shader type support in negative shader directive tests
Pyry Haulos [Wed, 19 Oct 2016 16:01:56 +0000 (16:01 +0000)]
Check for shader type support in negative shader directive tests
am: cf6e6ab134

Change-Id: I6f0f66275bc56d78f5afd0410cc3a51dae7afad2

7 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 15:59:19 +0000 (15:59 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev

7 years agoMerge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:58:07 +0000 (15:58 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev

7 years agoMerge "Fix deStrnlen fall-back implementation" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:56:53 +0000 (15:56 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev

7 years agoMerge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:56:21 +0000 (15:56 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev

7 years agoMerge "Check for shader type support in negative precise tests" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:52:15 +0000 (15:52 +0000)]
Merge "Check for shader type support in negative precise tests" into nougat-cts-dev

7 years agoMerge "Check for shader type support in negative shader directive tests" into nougat...
Tina Zhou [Wed, 19 Oct 2016 15:50:37 +0000 (15:50 +0000)]
Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev

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

Fixes #423

Bug: 31952754

(cherry picked from commit 038db60bcbb1cdaf0157e5176af6422bda13ff28)

Change-Id: I7f22c2f0d325ecd2a57462f324214b7009c18782

7 years agoCherry-pick image_format_properties changes from upstream
Pyry Haulos [Wed, 12 Oct 2016 17:25:16 +0000 (17:25 +0000)]
Cherry-pick image_format_properties changes from upstream
am: 43227ff1db

Change-Id: Iba326543c4e2217759996d5ec5ff5184174f1d67

7 years agoCherry-pick image_format_properties changes from upstream
Pyry Haulos [Tue, 11 Oct 2016 17:24:27 +0000 (10:24 -0700)]
Cherry-pick image_format_properties changes from upstream

Bug: 31732496

Contains 4 commits:

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

(cherry picked from commit 83f90be9118a121b47f5e16f04029e205c68f994)

2: Fix VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT handling in query tests

83f90be9 added a check that was intended to make tests treat combination
of TRANSIENT_ATTACHMENT_BIT with non-RT usages invalid. However, that
change was buggy and lead the tests to treat _all_ usages of
TRANSIENT_ATTACHMENT_BIT invalid and thus skip testing them.

(cherry picked from commit 570326e5c8d85fe16fa6ce36de73c8f9bcba4d3e)

3: Do not require TRANSIENT usage support without other RT usages

Affects dEQP-VK.api.info.image_format_properties.*

See CTS issue #507 and spec issue #540

(cherry picked from commit 377ad0ad5962351d14badb1857b55dc8e8e49218)

4: Fix required sample counts per spec issue 478

Affects dEQP-VK.api.info.image_format_properties.*

See CTS issue #507 and spec issue #478

(cherry picked from commit 02c61e30f50cb04505f421b1ebe07c4a42864acf)

Change-Id: I4c714f887c1554994f90ec361ed44876465cd5a3

7 years agoRemove a few preprocessor cases testing undefined behavior
Pyry Haulos [Thu, 29 Sep 2016 17:11:52 +0000 (10:11 -0700)]
Remove a few preprocessor cases testing undefined behavior

Bug: 27126954
Change-Id: I1ee7ca0c0102b6273b1bc165b3d1ad24cee449e2

7 years agoMerge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
Daniel Xie [Wed, 14 Sep 2016 18:38:57 +0000 (18:38 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
am: ec5c5c216e

Change-Id: Ie5a92b067caf223b0df3b07f451579454bd1debc

7 years agoCP: Split load/store image tests into sub-groups
Kalle Raita [Wed, 14 Sep 2016 18:38:57 +0000 (18:38 +0000)]
CP: Split load/store image tests into sub-groups
am: b172f9eb57

Change-Id: I073d39676cbe70007fa730e6279cea49c1f3758a

7 years agoMerge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
Daniel Xie [Wed, 14 Sep 2016 18:15:10 +0000 (18:15 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev

7 years agoMerge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:59:16 +0000 (16:59 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
am: 84173082ee

Change-Id: I987cefc4e0a489154694c1d807c9160ea3174672

7 years agoCP: Require 'master' config to be supported in Android CTS
Pyry Haulos [Tue, 13 Sep 2016 16:59:16 +0000 (16:59 +0000)]
CP: Require 'master' config to be supported in Android CTS
am: 03d217bb53

Change-Id: I6ee82fc14e103e66fef989567c91e8af4b4d1300

7 years agoMerge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:58:58 +0000 (16:58 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
am: 1ad2703e25

Change-Id: I6bb7df75cf4897482105fa4601b500345f6c3d49

7 years agoCP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
Pyry Haulos [Tue, 13 Sep 2016 16:58:57 +0000 (16:58 +0000)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
am: 521bb16575

Change-Id: Ia2691e970ce7794cd7ea5f6bc90f576a0c9bea25

7 years agoMerge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:58:56 +0000 (16:58 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
am: 451fa7c581

Change-Id: I4a236260012a36ff7c56e98b99f63dc124f9f500

7 years agoRemove a few EGL tests using RGBA4 format from mustpass
Pyry Haulos [Tue, 13 Sep 2016 16:58:55 +0000 (16:58 +0000)]
Remove a few EGL tests using RGBA4 format from mustpass
am: 3ffc2f243a

Change-Id: I2e9b98a3a18b97b1d77ed8408d468ffa7c6b310c

7 years agoMerge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:58:31 +0000 (16:58 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
am: a268fcbaff

Change-Id: I18cc3ec3b8aaad7d2a81908045b78bb99cad34c0

7 years agoCP: Reduce max iter count in alloc_callback_fail.device
Pyry Haulos [Tue, 13 Sep 2016 16:58:30 +0000 (16:58 +0000)]
CP: Reduce max iter count in alloc_callback_fail.device
am: ef5688dda6

Change-Id: Iad514fcf15e4346d7609b72bbf7a68310f1f740a

7 years agoMerge changes I212a8bc2,I476b6586 into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:57:19 +0000 (16:57 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev
am: 83683a367f

Change-Id: I29dee0d68369668c015578941b19c1a04ad12026

7 years agoDO NOT MERGE Allow old behavior in image format property tests
Pyry Haulos [Tue, 13 Sep 2016 16:57:19 +0000 (16:57 +0000)]
DO NOT MERGE Allow old behavior in image format property tests
am: 0825a289c0  -s ours

Change-Id: Ieca132cc84b227a00007ac86c69197890a48bdfa

7 years agoCP: Fix required sample count tests
Nanley Chery [Tue, 13 Sep 2016 16:57:18 +0000 (16:57 +0000)]
CP: Fix required sample count tests
am: f6a815214a

Change-Id: I5fa4a1342e6b8ccefb4d1e3782a456d3bf64328a

7 years agoMerge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat...
Daniel Xie [Tue, 13 Sep 2016 16:57:17 +0000 (16:57 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev
am: f594c550af

Change-Id: I3625f5712b3608d707772bbd8619098ad2bb7afa

7 years agoCP: Fix ext check in EXT_draw_buffers_indexed negative tests
Pyry Haulos [Tue, 13 Sep 2016 16:57:17 +0000 (16:57 +0000)]
CP: Fix ext check in EXT_draw_buffers_indexed negative tests
am: 3962010752

Change-Id: I03fbe13d5dd307497a33d89c4d4acb2abf758087

7 years agoMerge "CP: Fix geometry shader support check" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:57:17 +0000 (16:57 +0000)]
Merge "CP: Fix geometry shader support check" into nougat-cts-dev
am: 54d4c9f476

Change-Id: I74b0651ad282c00e5ac515acd566252855ad475a

7 years agoCP: Fix geometry shader support check
Pyry Haulos [Tue, 13 Sep 2016 16:57:16 +0000 (16:57 +0000)]
CP: Fix geometry shader support check
am: 0da63cfe1d

Change-Id: I450620a3ba64a02a7e4241a7b5f8f3fb2ec22aa0

7 years agoMerge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:57:16 +0000 (16:57 +0000)]
Merge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
am: b03302d214

Change-Id: If061883679a5e21e9364a0ebe7eaad34ba2faf4c

7 years agoCP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
Pyry Haulos [Tue, 13 Sep 2016 16:57:15 +0000 (16:57 +0000)]
CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
am: 66ee615c37

Change-Id: I91d202db27ad1cf7cfb1c0efcea166daa4257f81

7 years agoMerge changes I85492417,I93389a2c into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:57:15 +0000 (16:57 +0000)]
Merge changes I85492417,I93389a2c into nougat-cts-dev
am: 37eaa88ac2

Change-Id: Ifd718e72afa57309ea88cfb09f9073cd87c1c116

7 years agoCP: Limit VkInstance count in object_management.multithreaded*
Pyry Haulos [Tue, 13 Sep 2016 16:57:15 +0000 (16:57 +0000)]
CP: Limit VkInstance count in object_management.multithreaded*
am: 1735b7bcaa

Change-Id: I39a1830375fcf215ef30cfc4fbb8571c482f7a7b

7 years agoCP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
Pyry Haulos [Tue, 13 Sep 2016 16:57:13 +0000 (16:57 +0000)]
CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
am: 80ddee1f9b

Change-Id: I425d8b909cf1323888bf06293822fcb958050806

7 years agoMerge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:43 +0000 (16:43 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev

7 years agoMerge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:39 +0000 (16:43 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev

7 years agoMerge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:35 +0000 (16:43 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev

7 years agoMerge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:30 +0000 (16:43 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev

7 years agoMerge changes I212a8bc2,I476b6586 into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:20 +0000 (16:43 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev

* changes:
  DO NOT MERGE Allow old behavior in image format property tests
  CP: Fix required sample count tests

7 years agoMerge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat...
Daniel Xie [Tue, 13 Sep 2016 16:43:15 +0000 (16:43 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev

7 years agoMerge "CP: Fix geometry shader support check" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:11 +0000 (16:43 +0000)]
Merge "CP: Fix geometry shader support check" into nougat-cts-dev

7 years agoMerge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:06 +0000 (16:43 +0000)]
Merge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev

7 years agoMerge changes I85492417,I93389a2c into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:42:54 +0000 (16:42 +0000)]
Merge changes I85492417,I93389a2c into nougat-cts-dev

* changes:
  CP: Limit VkInstance count in object_management.multithreaded*
  CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests

7 years agoCheck for shader type support in negative shader directive tests
Pyry Haulos [Thu, 8 Sep 2016 22:27:06 +0000 (15:27 -0700)]
Check for shader type support in negative shader directive tests

Bug: 31312897
Change-Id: I40c2b47b0a6e6d0478cb6b63051ff474aae02f1f

7 years agoCheck for shader type support in negative precise tests
Pyry Haulos [Thu, 8 Sep 2016 22:18:16 +0000 (15:18 -0700)]
Check for shader type support in negative precise tests

Bug: 31312494
Change-Id: I8bc1536e238efcef23fea0164731b9851ddf35b9

7 years agoCP: Split load/store image tests into sub-groups
Kalle Raita [Sat, 13 Aug 2016 00:09:41 +0000 (17:09 -0700)]
CP: Split load/store image tests into sub-groups

Split load/store negative tests into sub-groups per texture type to
reduce the time required per single test case.

Bug: 30785598
Bug: 31343756

(cherry picked from commit 90763f1f7dfed4880fee7305b8f5789137951afc)

Change-Id: I4bd10004ee90f42ae616e654e425aa11df0cdd8d

7 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
Pyry Haulos [Thu, 1 Sep 2016 20:40:14 +0000 (13:40 -0700)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch

Bug: 31244127
Change-Id: I0e25c5042aa832679f2da06b8401456058762750

7 years agoDO NOT MERGE Allow old behavior in image format property tests
Pyry Haulos [Wed, 31 Aug 2016 16:45:39 +0000 (09:45 -0700)]
DO NOT MERGE Allow old behavior in image format property tests

Vulkan API specification has changed in respect to what sample counts
vkGetPhysicalDeviceImageFormatProperties() should report. The change has
been made after initial Android Nougat drivers were frozen. For NYC CTS
we need to tolerate the old behavior and issue compatibility warning
instead.

Bug: 30739954
Change-Id: I212a8bc2b948760d3bf457e1c0e1199e0a8cc31e

7 years agoCP: Fix required sample count tests
Nanley Chery [Tue, 19 Apr 2016 19:13:58 +0000 (12:13 -0700)]
CP: Fix required sample count tests

According to,

   Table 11.1. Image and image view parameter compatibility requirements

Only non-cube images with type VK_IMAGE_TYPE_2D can have sample counts
greater than one.

In addition, the following properties should hold for multisampled
images: the formats must support being used in a color or depth/stencil
attachment, or in a storage image when shaderStorageImageMultisample is
supported. Images not fitting the above descriptions may have a sample
count of one or zero (in error conditions). Align tests for sample
counts to this behavior.

Bug: 30739954

(cherry picked from commit dc4227d5ec87080f5dad810b5e33ae3b3fa014a4)

Change-Id: I476b6586c351bddfb9f0b92cd7ec45fb9cc297c8

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 21:04:16 +0000 (21:04 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338 am: 26449babc6 am: 3b524eaf98 am: b5668f25eb
am: 33a50549c0

Change-Id: I53640d8db345a91f4d5b71e4ee7b689915da033e

7 years agoDon't require supported binary formats in negative tests. am: 7cd59a4409 am: d7b53b80...
Haixia Shi [Tue, 30 Aug 2016 21:04:14 +0000 (21:04 +0000)]
Don't require supported binary formats in negative tests. am: 7cd59a4409 am: d7b53b803a am: da87d1a895 am: fbd60126d8
am: 9f9397285c

Change-Id: Ia93cba686bb0d6cda7ab48762c1a5ea49cb745e8

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 21:01:10 +0000 (21:01 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338 am: 26449babc6 am: 3b524eaf98
am: b5668f25eb

Change-Id: Ib611d0835e5820100d4a7b72ec27822d65dd3a30

7 years agoDon't require supported binary formats in negative tests. am: 7cd59a4409 am: d7b53b80...
Haixia Shi [Tue, 30 Aug 2016 21:01:10 +0000 (21:01 +0000)]
Don't require supported binary formats in negative tests. am: 7cd59a4409 am: d7b53b803a am: da87d1a895
am: fbd60126d8

Change-Id: Ic9a257d5f7111e05747599ac94492a6677bbf613

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 20:58:10 +0000 (20:58 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338 am: 26449babc6
am: 3b524eaf98

Change-Id: I7408b44cef1b4b55b22e422cfbd21ff490cee99b

7 years agoDon't require supported binary formats in negative tests. am: 7cd59a4409 am: d7b53b803a
Haixia Shi [Tue, 30 Aug 2016 20:58:10 +0000 (20:58 +0000)]
Don't require supported binary formats in negative tests. am: 7cd59a4409 am: d7b53b803a
am: da87d1a895

Change-Id: Iff769a80a773618376215027cf9979fd9c1689c5

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 20:52:40 +0000 (20:52 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338
am: 26449babc6

Change-Id: Iba176fd150b1ef2a99899889a0883839f6c1c5fe

7 years agoDon't require supported binary formats in negative tests. am: 7cd59a4409
Haixia Shi [Tue, 30 Aug 2016 20:52:40 +0000 (20:52 +0000)]
Don't require supported binary formats in negative tests. am: 7cd59a4409
am: d7b53b803a

Change-Id: I8425b099bdc9ccad4411a2697bb862dbb4e9b4fd

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 20:47:13 +0000 (20:47 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338
am: 9ebe97f0a6

Change-Id: Ie18b88cd488f3a3ac39808551641ed271706c9d7

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 20:47:12 +0000 (20:47 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev
am: 3aa5258338

Change-Id: I623faec4a5e3a54b19318e0e3f8b8c5c577e05c7

7 years agoDon't require supported binary formats in negative tests. am: 7cd59a4409
Haixia Shi [Tue, 30 Aug 2016 20:47:12 +0000 (20:47 +0000)]
Don't require supported binary formats in negative tests. am: 7cd59a4409
am: 635f454667

Change-Id: I08b511553f4770b9dca819f5d66a80f5f7bad189

7 years agoDon't require supported binary formats in negative tests.
Haixia Shi [Tue, 30 Aug 2016 20:47:11 +0000 (20:47 +0000)]
Don't require supported binary formats in negative tests.
am: 7cd59a4409

Change-Id: I29319033c246fdeb96aef437d9074bcaf2a80ab6

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 20:44:03 +0000 (20:44 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev
am: 3aa5258338

Change-Id: I8cb9cdf8f87cacaa2cb4c586953f884a3cfee098

7 years agoDon't require supported binary formats in negative tests.
Haixia Shi [Tue, 30 Aug 2016 20:44:02 +0000 (20:44 +0000)]
Don't require supported binary formats in negative tests.
am: 7cd59a4409

Change-Id: If08ea28912fe10ddc570841c8862d0918b1c224d

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 20:39:55 +0000 (20:39 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev

7 years agoCP: Use empty region when buffer age is not supported
Kalle Raita [Thu, 25 Aug 2016 21:52:52 +0000 (14:52 -0700)]
CP: Use empty region when buffer age is not supported

In the dEQP-EGL.functional.partial_update.* tests the damage region
needs to set to empty instead of implicit full screen for frame that do
not draw when the EGL_KHR_buffer_age is not supported. Otherwise the
contents become invalid and cannot be verified.

Bug: 30735352
Test: Local run of dEQP-EGL.functional.partial_update.* on various Nexus devices

(cherry picked from commit bc29554d7eed0bd996506fc1e074f264305c8143)

Change-Id: I17fc4fdca1da176e13e78b1ec2bebc8cb6d266b0

7 years agoCP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
Pyry Haulos [Mon, 8 Aug 2016 18:08:47 +0000 (11:08 -0700)]
CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge

Several tests in dEQP-VK.pipeline group assume that
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE mode is supported. Spec
actually requires that VK_KHR_sampler_mirror_clamp_to_edge is enabled if
that mode is used.

This change enables VK_KHR_sampler_mirror_clamp_to_edge in default
device, if supported, and adds relevant checks in the test code.

In the future we'll want to clean this up by giving test cases more
control about the device configuration they need.

Fixes #339
Bug: 29996742

(cherry picked from commit ed8561a07cdb1bb7730eccf9025b738838392464)

Change-Id: I12312f0e48d20724c082f31c4ab03792dbb44826

7 years agoCP: Fix geometry shader support check
Pyry Haulos [Mon, 8 Aug 2016 19:34:35 +0000 (12:34 -0700)]
CP: Fix geometry shader support check

Bug: 30738286

(cherry picked from commit 83470b2dcbff396773f94d7a1448c12362ad3380)

Change-Id: Ife07ebd21f115114441ac8dc794a8d9e12c8acae

7 years agoCP: Fix ext check in EXT_draw_buffers_indexed negative tests
Pyry Haulos [Thu, 11 Aug 2016 20:32:47 +0000 (13:32 -0700)]
CP: Fix ext check in EXT_draw_buffers_indexed negative tests

Bug: 30738817

(cherry picked from commit cdfbadd0238044279cbc928bac9d895b002bcca6)

Change-Id: Iab592f4f97896995b6fb5a0f3a7ce0d885f9b834

7 years agoCP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
Pyry Haulos [Mon, 22 Aug 2016 22:56:52 +0000 (15:56 -0700)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests

Includes various small code fixes to related utilities.

Bug: 30909517

(cherry picked from commit baea2158190b91fcf5d1aa78628dbad01d52a3ce)

Change-Id: I6f8c992daf81fafe796308a3e02c792096f2ae9f

7 years agoCP: Require 'master' config to be supported in Android CTS
Pyry Haulos [Tue, 23 Aug 2016 22:37:44 +0000 (15:37 -0700)]
CP: Require 'master' config to be supported in Android CTS

All Android devices should support rgba8888d24s8 for compatiblity and
test coverage.

Bug: 30938718

(cherry picked from commit e232a6e83c482b219ee1e7678c8ccf91c64b3086)

Change-Id: Ia924a13e5e62b3b8e51981b200314b911aa57bc4

7 years agoCP: Reduce max iter count in alloc_callback_fail.device
Pyry Haulos [Thu, 18 Aug 2016 14:29:04 +0000 (15:29 +0100)]
CP: Reduce max iter count in alloc_callback_fail.device

Creating VkDevice can be costly operation so we need to limit number of
tries to a pretty low value. Other tests already use per-thread limit of
20.

Additionally, this patch adds a way to override the limit by specifying
--deqp-test-iteration-count=N command line parameter. This is useful for
full OOM testing.

Bug: 30811856

(cherry picked from commit 3b17fd4c4e2d450f34f68989ff786939032cdcb9)

Change-Id: Ib3aaeff24d7753d52a6a444abfbecf863803c9ec

7 years agoCP: Limit VkInstance count in object_management.multithreaded*
Pyry Haulos [Thu, 11 Aug 2016 21:14:23 +0000 (14:14 -0700)]
CP: Limit VkInstance count in object_management.multithreaded*

Bug: 30811856

(cherry picked from commit fe2c3850aa70fd4ad253856de08e49f241e0fc90)

Change-Id: I854924178a7732eae44fd140340490c453fe3a03