platform/upstream/VK-GL-CTS.git
8 years agoCP: Reduce max iter count in alloc_callback_fail.device am: ef5688dda6
Pyry Haulos [Tue, 13 Sep 2016 17:08:27 +0000 (17:08 +0000)]
CP: Reduce max iter count in alloc_callback_fail.device am: ef5688dda6
am: 69c9f158f3

Change-Id: I4286998b8d23e86efdb8b808716334c53794d3f8

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

Change-Id: Id15f3a2fff1eaee22c18bd5e5cbf9b30e54bfc6b

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

Change-Id: I6e04aa746a63e016bc4867c960df92192eea1509

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

Change-Id: Ie42409ea9f741e228b81753e1f090fc73b362467

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

Change-Id: I6dc436e630eb32577c35e192f82f065ad0226e19

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

Change-Id: Iea25996ca228f982e63cb5816b67fc91a34fe77a

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

Change-Id: I3e2fbcbaac1c76e48542dd2f53c55ead31679eae

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

Change-Id: Ic7102e3b98b25acfeb356f185ba273cc49ef583a

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

Change-Id: I7c1cae1d11b2235eaef139f3cff3c6627ed6484c

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

Change-Id: I0ca3db2495d8fadf1bc897b383a9c2ebc07a0104

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

Change-Id: Ic518d88a1f22467db42280bcc5e0fc7d413e6c61

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

Change-Id: Icb7564c2ab89b212636ad71ea39239deebcab983

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

Change-Id: Icfbb32ba5e2e7e5dd2d80a0617cc0a31d9a1b8f6

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agoFix internal format/type for 3D + depth/stencil negative API tests. am: ae7f8e0a07
Kenneth Graunke [Tue, 13 Sep 2016 01:50:41 +0000 (01:50 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am: ae7f8e0a07
am: 15c4abf347

Change-Id: I05892db403d9ea130de1619a407ecf2f352bc2ea

8 years agoFix internal format/type for 3D + depth/stencil negative API tests.
Kenneth Graunke [Tue, 13 Sep 2016 01:48:10 +0000 (01:48 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests.
am: ae7f8e0a07

Change-Id: Iab6253127f05b53ac48d47f8f5372c2bff7ed187

8 years agoFix internal format/type for 3D + depth/stencil negative API tests.
Kenneth Graunke [Mon, 12 Sep 2016 19:37:08 +0000 (12:37 -0700)]
Fix internal format/type for 3D + depth/stencil negative API tests.

According to the ES 3.2 specification:

   "Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
    or STENCIL_INDEX are supported by texture image specification commands
    only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
    TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
    Using these formats in conjunction with any other target will result in
    an INVALID_OPERATION error."

This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.

We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.

8 years agoBump libdeqp to android-22. am: e0ef7118f8
Dan Albert [Fri, 9 Sep 2016 08:02:43 +0000 (08:02 +0000)]
Bump libdeqp to android-22. am: e0ef7118f8
am: ce83935903

Change-Id: I4c531b447ff814480275313ca2560a254f5ff2bd

8 years agoBump libdeqp to android-22.
Dan Albert [Fri, 9 Sep 2016 07:59:13 +0000 (07:59 +0000)]
Bump libdeqp to android-22.
am: e0ef7118f8

Change-Id: If02fbee27cd0efb1b8f9986015555d0fbeca0d53

8 years agoBump libdeqp to android-22.
Dan Albert [Thu, 8 Sep 2016 23:07:20 +0000 (16:07 -0700)]
Bump libdeqp to android-22.

The tests and APK are built with android-22.

Test: mm
Bug: None
Change-Id: I34a677c55443f8750098db1335919704b8b16010

8 years agoRemove XML mustpass lists am: af8270690a
Pyry Haulos [Thu, 8 Sep 2016 22:04:49 +0000 (22:04 +0000)]
Remove XML mustpass lists am: af8270690a
am: 0988065e4f

Change-Id: Id2fb418780a8614852a42f7e7fd0102b5e0e1ae5

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 42d91db0aa
Pyry Haulos [Thu, 8 Sep 2016 22:04:43 +0000 (22:04 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: 42d91db0aa
am: eb419455ef

Change-Id: I6b2863ebc1b2d82b2f8f45d4cecec276e78b0e03

8 years agoRemove XML mustpass lists
Pyry Haulos [Thu, 8 Sep 2016 22:02:13 +0000 (22:02 +0000)]
Remove XML mustpass lists
am: af8270690a

Change-Id: Idf68478148dab81be2f0ff9e5dd1fa66d23684b3

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 8 Sep 2016 22:02:11 +0000 (22:02 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am: 42d91db0aa

Change-Id: If6c23776f35d966d652e23dd3704067a9c15c252

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.

Change-Id: I5e0ed6f71b0ba36b9d9cefc563154a4768a40a3f

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 8 Sep 2016 20:15:50 +0000 (13:15 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I093c350e439e256a070c1bd7d199fafdb46bd2d8

8 years agoAdd new files to Android.mk
Pyry Haulos [Thu, 8 Sep 2016 20:14:06 +0000 (13:14 -0700)]
Add new files to Android.mk

Change-Id: I45a16aba19e12533de3c60eb4a3c75f117c1410e

8 years agoMerge "Add tests for dynamic indexing of push constants" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:31:12 +0000 (14:31 -0400)]
Merge "Add tests for dynamic indexing of push constants" into vulkan-cts-1.0-dev

8 years agoMerge "Add tests for simultaneous use of secondary command buffer" into vulkan-cts...
Pyry Haulos [Thu, 8 Sep 2016 18:20:57 +0000 (14:20 -0400)]
Merge "Add tests for simultaneous use of secondary command buffer" into vulkan-cts-1.0-dev

8 years agoMerge "Add scissoring tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:20:37 +0000 (14:20 -0400)]
Merge "Add scissoring tests" into vulkan-cts-1.0-dev

8 years agoMerge "Add new pipeline barrier tests to mustpass" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:48 +0000 (14:19 -0400)]
Merge "Add new pipeline barrier tests to mustpass" into vulkan-cts-1.0-dev

8 years agoMerge "Fix wrong test in copies and blitting testcases" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:32 +0000 (14:19 -0400)]
Merge "Fix wrong test in copies and blitting testcases" into vulkan-cts-1.0-dev

8 years agoMerge "dEQP-VK.pipeline.image.*: added test cases for 3D images with NPOT sizes....
Pyry Haulos [Thu, 8 Sep 2016 18:19:10 +0000 (14:19 -0400)]
Merge "dEQP-VK.pipeline.image.*: added test cases for 3D images with NPOT sizes." into vulkan-cts-1.0-dev

8 years agoMerge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:36 +0000 (14:18 -0400)]
Merge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev

8 years agoMerge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:14 +0000 (14:18 -0400)]
Merge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev

8 years agoMerge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:17:49 +0000 (14:17 -0400)]
Merge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev

8 years agoAdd multisampled storage image load/store on a rendered image
Maciej Jesionowski [Thu, 28 Jul 2016 12:20:15 +0000 (14:20 +0200)]
Add multisampled storage image load/store on a rendered image

New test:

- dEQP-VK.pipeline.multisample.storage_image.*

Fixes #439

Change-Id: If4d6d9511db5d1c6aa9e6d54ce04dcba8e1de5cd

8 years agoAdd multisampled image texel fetch test
Maciej Jesionowski [Wed, 20 Jul 2016 10:51:49 +0000 (12:51 +0200)]
Add multisampled image texel fetch test

New test:

- dEQP-VK.pipeline.multisample.sampled_image.*

Fixes #428

Change-Id: I947053c5fc48f7d479fab80a6fc31823da3e5c1a

8 years agoMerge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts...
Pyry Haulos [Thu, 8 Sep 2016 17:59:43 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts-1.0-dev

8 years agoMerge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 17:59:17 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev

8 years agoMerge "Build scripts: add support for NMake project generator" into vulkan-cts-1...
Pyry Haulos [Thu, 8 Sep 2016 17:38:24 +0000 (13:38 -0400)]
Merge "Build scripts: add support for NMake project generator" into vulkan-cts-1.0-dev

8 years agoBuild scripts: add support for NMake project generator
Slawomir Cygan [Thu, 11 Aug 2016 14:02:19 +0000 (16:02 +0200)]
Build scripts: add support for NMake project generator

Requires nmake.exe in PATH (try running from Visual Studio Command
Prompt, or use vcvars*.bat).

Change-Id: I2bfcfa46a5529066000745209673804b1863f1fc

8 years agoAdd new pipeline barrier tests to mustpass
Pyry Haulos [Mon, 29 Aug 2016 22:02:15 +0000 (15:02 -0700)]
Add new pipeline barrier tests to mustpass

Change-Id: Ibc499ad78c5a5d1268096d14033447192cc44552

8 years agoAdd tests for simultaneous use of secondary command buffer
Tobin Ehlis [Wed, 31 Aug 2016 18:49:07 +0000 (12:49 -0600)]
Add tests for simultaneous use of secondary command buffer

Fixes #335

Add simultaneousUseSecondaryBufferOnePrimaryBufferTest() test. This test
creates a single secondary command with SIMULTANEOUS_USE flag set and add
two instances of it to the same primary command buffer. Then verify that
each instance executes correctly.
Also add simultaneousUseSecondaryBufferTwoPrimaryBuffersTest(). Similar to
above test but same secondary command buffer is bound into two different
primary comman buffers that are then executed simultaneously.
In both cases the secondary command buffers are each atomically
incrementing a count from within a compute shader.

Update the mustpass lists.

Also made a few minor infrastructure additions:
Add a generic createDataBuffer() function to create a single buffer that
isn't built around a vec4 of color data.
Add a simpler createDescriptorSet() function that binds a results buffer
to binding 0 and an input uniform to binding 1.
Provide the compute result buffer initialization value in a parameter
which defaults to -1.0f. This allows flexibility for other tests that may
want a different default value, such as the new test mentioned above.

Change-Id: Icf6ebbac0e1975e1cf49f60e5aa8afb32f9885de

8 years agoAdd tests for dynamic indexing of push constants
Cody Northrop [Wed, 31 Aug 2016 01:52:59 +0000 (19:52 -0600)]
Add tests for dynamic indexing of push constants

Fixes #465

Change-Id: Ia20d7a9906db300ec79be82c2c936e40e699d452

8 years agodEQP-VK.pipeline: multisample interpolation tests
Kantoch [Thu, 28 Jul 2016 14:39:48 +0000 (16:39 +0200)]
dEQP-VK.pipeline: multisample interpolation tests

New test:
- dEQP-VK.pipeline.multisample_interpolation.*

Fixes #427

Change-Id: I235dc4781dff92e89ea645778e046d61b3909b32

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: f2ed7081f2
Pyry Haulos [Thu, 1 Sep 2016 19:35:48 +0000 (19:35 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am: f2ed7081f2
am: 0f428ec334

Change-Id: If413dd57f2c950aae1e9cf19e2194648a311700d

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 1 Sep 2016 19:32:50 +0000 (19:32 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am: f2ed7081f2

Change-Id: I749d3e5f5cbf9bdaeebaa9ba267dc58fe00c8b02

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 1 Sep 2016 17:50:53 +0000 (10:50 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: Ic526d403eb9f9134d62c43476860ef0ad9e044d1

8 years agoCMake: Use find_package to ensure getting python 2.7 instead of 3.x
Cody Northrop [Thu, 1 Sep 2016 16:49:59 +0000 (10:49 -0600)]
CMake: Use find_package to ensure getting python 2.7 instead of 3.x

Change-Id: I0be171e0579acb99428378fa847e619a0d858d55

8 years agoAdd scissoring tests
Maciej Jesionowski [Thu, 4 Aug 2016 13:07:25 +0000 (15:07 +0200)]
Add scissoring tests

Scissoring tests based on GLES 2.0.

New test:
- dEQP-VK.fragment_operations.scissor.*

Fixes #452

Change-Id: I8bd7cb1dfc0889249d1f7bfb159f51defdf55a2d

8 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

8 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

8 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 30 Aug 2016 21:07:21 +0000 (21:07 +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: I4b884a9a6a1b2355f395278f93bbf6d7b3204aba

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

Change-Id: I99f84578f541506e3777a259a974699be3da7237

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

Change-Id: I5a7cbb994a288b08f9abdd51a5c2856a3e979557

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

Change-Id: Ifbbdb622aecbf5e5b609b80fee8169dd7d6fadfb

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agoMerge "Use empty region when buffer age is not supported" am: 04ff065bb8
Kalle Raita [Tue, 30 Aug 2016 20:25:08 +0000 (20:25 +0000)]
Merge "Use empty region when buffer age is not supported" am: 04ff065bb8
am: bcf725ead2

Change-Id: I28e58c3985925ffeeaa80aa8ee2c68b0a5c62315

8 years agoMerge "Use empty region when buffer age is not supported"
Kalle Raita [Tue, 30 Aug 2016 20:22:10 +0000 (20:22 +0000)]
Merge "Use empty region when buffer age is not supported"
am: 04ff065bb8

Change-Id: I85b89c53c1fd4c3d1c0e660eff4cc6cb48c80943

8 years agoMerge "Use empty region when buffer age is not supported"
Kalle Raita [Tue, 30 Aug 2016 20:09:31 +0000 (20:09 +0000)]
Merge "Use empty region when buffer age is not supported"

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 30 Aug 2016 18:17:28 +0000 (11:17 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: Id91a7898a30bf08bf992e89b597f73e336494252

8 years agoAdd tests for initialized and uninitialized cases.
Gabor Abraham [Tue, 19 Jul 2016 14:07:10 +0000 (16:07 +0200)]
Add tests for initialized and uninitialized cases.

Change-Id: I0eaddc7d5ebafc4532536d810bf4b30b38985d19

8 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

8 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

8 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

8 years agoMerge "Fixes sparse_resources.shader_intrinsics.* tests to check for device feature...
Pyry Haulos [Tue, 30 Aug 2016 16:02:18 +0000 (12:02 -0400)]
Merge "Fixes sparse_resources.shader_intrinsics.* tests to check for device feature support." into vulkan-cts-1.0.1

8 years agoMerge "Run the memory tests ahead of all other tests" into vulkan-cts-1.0.1
Pyry Haulos [Tue, 30 Aug 2016 16:01:59 +0000 (12:01 -0400)]
Merge "Run the memory tests ahead of all other tests" into vulkan-cts-1.0.1

8 years agoMerge "Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" am: d4591cd2d7
Pyry Haulos [Tue, 30 Aug 2016 15:55:20 +0000 (15:55 +0000)]
Merge "Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" am: d4591cd2d7
am: 28bca4db95

Change-Id: I859d777899360999236d8dd4bf890e9e544194db