platform/upstream/VK-GL-CTS.git
7 years agoCheck for shader type support in negative precise tests am: 4a3a2d79a0
Pyry Haulos [Wed, 19 Oct 2016 16:10:31 +0000 (16:10 +0000)]
Check for shader type support in negative precise tests am: 4a3a2d79a0
am: dd142e90db

Change-Id: I0c5c34b72bd25a57a580862513b5f3645c508818

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

Change-Id: Ia547c4b669db5dc68cc8cd7e88d69fac14492ece

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

Change-Id: I3b20c7bfd20498fb30435c43c83eb48950048c79

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 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 agoCherry-pick image_format_properties changes from upstream am: 43227ff1db
Pyry Haulos [Wed, 12 Oct 2016 17:31:47 +0000 (17:31 +0000)]
Cherry-pick image_format_properties changes from upstream am: 43227ff1db
am: 2ede225b00

Change-Id: I8373112a6c00da3c0edae493981e9e033d27d47d

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 agoMerge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev am:...
Daniel Xie [Wed, 14 Sep 2016 18:41:54 +0000 (18:41 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev am: ec5c5c216e
am: c992a8ba9d

Change-Id: I56c5d4e1a0ca5fdb91b2bf6a3b72a4590ce8ed48

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

Change-Id: Ib26511830bd315177922615543f9592c2496564a

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...
Daniel Xie [Tue, 13 Sep 2016 17:04:36 +0000 (17:04 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev am: 84173082ee
am: 72e1df9930

Change-Id: I7f6e01adc8d3e534811104cd7ac8b2bc98d74a93

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

Change-Id: Ic20ef1d7d0402dedca61904a326e0a98b4918ff0

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

Change-Id: Ifd75acba3ae60a6c35e07ef42d450884e4eeb329

7 years agoCP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests am: 521bb16575
Pyry Haulos [Tue, 13 Sep 2016 17:02:53 +0000 (17:02 +0000)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests am: 521bb16575
am: fdd3db3693

Change-Id: I9b3ce8ed785bb36b4393ac39130ba36e4d3d2c6c

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

Change-Id: Iad77cd27d8a60435fe7f0ef53648635951a798f1

7 years agoRemove a few EGL tests using RGBA4 format from mustpass am: 3ffc2f243a
Pyry Haulos [Tue, 13 Sep 2016 17:02:52 +0000 (17:02 +0000)]
Remove a few EGL tests using RGBA4 format from mustpass am: 3ffc2f243a
am: 04c959ca67

Change-Id: I02de730c15308d01077cc25ecf3da01a49a3ae8e

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

Change-Id: I4077e41f0db49d3514d60f616d6370023a0ef01b

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

Change-Id: Ib2bca226b671198635c2db69cc6b57b9a4f07a36

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

Change-Id: Ib25afbf03262430b1d6f6e9a15975354f45ab4ad

7 years agoDO NOT MERGE Allow old behavior in image format property tests am: 0825a289c0 -s...
Pyry Haulos [Tue, 13 Sep 2016 17:01:11 +0000 (17:01 +0000)]
DO NOT MERGE Allow old behavior in image format property tests am: 0825a289c0  -s ours
am: 29574ad7e7

Change-Id: Ibbc02b9eed0315de346b82ef6d245cc293689e5f

7 years agoCP: Fix required sample count tests am: f6a815214a
Nanley Chery [Tue, 13 Sep 2016 17:01:09 +0000 (17:01 +0000)]
CP: Fix required sample count tests am: f6a815214a
am: dd22d24f36

Change-Id: I0e0954b624aa67877604fae568ae2574bc11b8db

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

Change-Id: I61e7c246383826df1389a94b0c762ffd1e4627e7

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

Change-Id: I674b1ba62799494efe8f1fc4af65773c4481743e

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

Change-Id: Ia798ebba97cba3ba1d1d6e8ab9cdb196ba8c275f

7 years agoCP: Fix geometry shader support check am: 0da63cfe1d
Pyry Haulos [Tue, 13 Sep 2016 17:01:07 +0000 (17:01 +0000)]
CP: Fix geometry shader support check am: 0da63cfe1d
am: 705c0dd3b0

Change-Id: I9d01b24328e40920358e4a38f0c351ea3872cb08

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

Change-Id: I1f69d5f92f8cb83f7b0bce5072789909fe769419

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

Change-Id: I75cd33c64be34d326d72c5f709b180e43044a496

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

Change-Id: I50907e813c211098054846237debca1520e5607e

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

Change-Id: If99d17e9768c2bb26a87157d26ae2723680c0989

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

Change-Id: Iae8fea4bb50ddded802ac4e3bf57b258c3979262

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 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:06:42 +0000 (21:06 +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
am: 645b74d517

Change-Id: I75c9aacb5f1c248523c27ebc6b0737da273ad54d

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

Change-Id: I1ac2f6680ab142722ddd93b8ceb0ececb73bf43e

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:41 +0000 (20:52 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338 am: 9ebe97f0a6
am: 7172745842

Change-Id: I511cf23bf6d0741fa06006ce8cbfa2b52aa4a447

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 agoDon't require supported binary formats in negative tests. am: 7cd59a4409 am: 635f454667
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: 635f454667
am: cb0a43030f

Change-Id: I42b6df861ebcd8b830504c2c10bec31b6d7dde3f

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: 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

7 years agoCP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
Pyry Haulos [Thu, 18 Aug 2016 14:22:00 +0000 (15:22 +0100)]
CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests

VkInstance and VkDevice creation OOM simulation is done already in
dEQP-VK.api.object_management.alloc_callback fail and repeating testing
in WSI tests just wastes time.

Since we want to trigger OOM even if implementation calls into instance-
or device-level callbacks, this is done by setting a mode in
DeterministicFailAllocator that stops alloc counting and failure
simulation.

Bug: 30811856

(cherry picked from commit 2dd2c2dc560092c80b636551237758b62fae78d7)

Change-Id: I93389a2c6b85f2dd8407824afb25d68770d4e6bd

7 years agoMerge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts...
Daniel Xie [Thu, 25 Aug 2016 22:29:40 +0000 (22:29 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 245bd3ffc4  -s ours
am: 26f19c81f9

Change-Id: I5cfe0317438eb71f82065ac482572e856174ab17

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: b136c...
Jarkko Pyry [Thu, 25 Aug 2016 22:29:39 +0000 (22:29 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: b136cc9a59  -s ours
am: 92c0bc5e13

Change-Id: I24aa2d0710247781cec60f9c1910ea5c49f4ff67

7 years agoMerge "Fix GLES2 format mismatch" into marshmallow-cts-dev am: 98dd6ac745 am: 5dee7d519c
Daniel Xie [Thu, 25 Aug 2016 22:29:39 +0000 (22:29 +0000)]
Merge "Fix GLES2 format mismatch" into marshmallow-cts-dev am: 98dd6ac745 am: 5dee7d519c
am: ad2ff2cee6

Change-Id: I2c5b9b21296f89892cb2238aebbd9326a55114e2

7 years agoFix GLES2 format mismatch am: 4b80682693 am: 9a9c641a84
Stphane Marchesin [Thu, 25 Aug 2016 22:29:38 +0000 (22:29 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 9a9c641a84
am: 1369e6796f

Change-Id: I29c8bc4b858cbcfc394891eb7cdc25b7f544e87d