platform/upstream/VK-GL-CTS.git
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 "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 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: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: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 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 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

8 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

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

Change-Id: Ice096b7549e78143f62fb4491d600b4d4e1c208b

8 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours
Jarkko Pyry [Thu, 25 Aug 2016 22:04:09 +0000 (22:04 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours
am: b136cc9a59  -s ours

Change-Id: Id1a15ed9baa652984a35cade94fe3b47357314f6

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

Change-Id: Ibcb76009f261152e15569719e5f776bc48207f15

8 years agoFix GLES2 format mismatch am: 4b80682693
Stphane Marchesin [Thu, 25 Aug 2016 22:04:05 +0000 (22:04 +0000)]
Fix GLES2 format mismatch am: 4b80682693
am: 9a9c641a84

Change-Id: I9a55d673f77d5a195cee11cddaaf0d8c06cacf2b

8 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3
Haixia Shi [Thu, 25 Aug 2016 22:04:03 +0000 (22:04 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3
am: a7afa30111

Change-Id: Ic0a0405b7e0bdf637875b136f9fc51cd955a3c67

8 years agoDon't require supported binary formats in negative tests.
Haixia Shi [Thu, 25 Aug 2016 21:24:06 +0000 (14:24 -0700)]
Don't require supported binary formats in negative tests.

Bug: 26906411
Change-Id: Ic1b50096695fbcd64d6af312d56f12c4381a5b7a

8 years agoMerge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev
Daniel Xie [Thu, 25 Aug 2016 20:52:41 +0000 (20:52 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev
am: b9c3777b77  -s ours

Change-Id: I08bbe10aebbbd22e20b7fc98307be51f7629a353

8 years agoDO NOT MERGE CP vertex array test and warning fixes
Jarkko Pyry [Thu, 25 Aug 2016 20:52:40 +0000 (20:52 +0000)]
DO NOT MERGE CP vertex array test and warning fixes
am: c63640e53a  -s ours

Change-Id: If7c81a04a11470c6690daa793dedb3affaaeeb79

8 years agoMerge "Fix GLES2 format mismatch" into marshmallow-cts-dev
Daniel Xie [Thu, 25 Aug 2016 20:52:40 +0000 (20:52 +0000)]
Merge "Fix GLES2 format mismatch" into marshmallow-cts-dev
am: 98dd6ac745

Change-Id: I849a65a2f31bf0203935d3c73369c3e777a71c66

8 years agoFix GLES2 format mismatch
Stphane Marchesin [Thu, 25 Aug 2016 20:52:39 +0000 (20:52 +0000)]
Fix GLES2 format mismatch
am: 4b80682693

Change-Id: I7495cac0e459bbe38d9a38b4fb66bcbf9140c844

8 years agoIncrease no-data timeout to 5 seconds.
Haixia Shi [Thu, 25 Aug 2016 20:52:39 +0000 (20:52 +0000)]
Increase no-data timeout to 5 seconds.
am: d00b71cbc3

Change-Id: Ifeac2af6683b130a36ba69e5b8aee95092df1d14

8 years agoMerge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallo...
Jarkko Pöyry [Mon, 1 Aug 2016 19:50:44 +0000 (19:50 +0000)]
Merge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab am: 19de695b8d
am: f0e6d6563c  -s ours

Change-Id: I5bc855696a7dc32c808761aa1aacd7bbaf9534da

8 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pyry [Mon, 1 Aug 2016 19:50:42 +0000 (19:50 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67 am: da626715a4
am: 7d47fbfc18  -s ours

Change-Id: Id6c5816b213a5b22a96e991a67bd4f2949624185

8 years agoMerge \\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\" into marshmallow...
Daniel Xie [Mon, 1 Aug 2016 19:48:06 +0000 (19:48 +0000)]
Merge \\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab
am: 19de695b8d

Change-Id: I88fe42c55f28a7e2bb3daa0551e191469a4032a0

8 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pöyry [Mon, 1 Aug 2016 19:48:06 +0000 (19:48 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67
am: da626715a4

Change-Id: I1ea819ef29479058c52d9238af1b9b234e4bbb94

8 years agoMerge \\\"DO NOT MERGE CP vertex array test and warning fixes\\\" into marshmallow...
Jarkko Pöyry [Mon, 1 Aug 2016 19:45:36 +0000 (19:45 +0000)]
Merge \\\"DO NOT MERGE CP vertex array test and warning fixes\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1
am: 3acfedf2ab

Change-Id: Iad13015f9b3e5bca530712d578c59ca1312c22e7

8 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pyry [Mon, 1 Aug 2016 19:45:35 +0000 (19:45 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f
am: 0556e60e67

Change-Id: Ic7e87a4e2f257670b0d12520a05133f8abd00416

8 years agoMerge \\"DO NOT MERGE CP vertex array test and warning fixes\\" into marshmallow...
Daniel Xie [Mon, 1 Aug 2016 19:43:07 +0000 (19:43 +0000)]
Merge \\"DO NOT MERGE CP vertex array test and warning fixes\\" into marshmallow-cts-dev am: b9c3777b77  -s ours
am: 7bc41121c1

Change-Id: I4174ccb59db2b28655fd46307b9f620833f87316

8 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours
Jarkko Pöyry [Mon, 1 Aug 2016 19:43:06 +0000 (19:43 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours
am: f840c5347f

Change-Id: Iedc552312320cdd37b65d986a58f2c7e20075d8a

8 years agoMerge \"DO NOT MERGE CP vertex array test and warning fixes\" into marshmallow-cts-dev
Jarkko Pöyry [Mon, 1 Aug 2016 19:40:38 +0000 (19:40 +0000)]
Merge \"DO NOT MERGE CP vertex array test and warning fixes\" into marshmallow-cts-dev
am: b9c3777b77  -s ours

Change-Id: I61fdf061a9d18682387f51d22589794ca2bd2004

8 years agoDO NOT MERGE CP vertex array test and warning fixes
Jarkko Pyry [Mon, 1 Aug 2016 19:40:37 +0000 (19:40 +0000)]
DO NOT MERGE CP vertex array test and warning fixes
am: c63640e53a  -s ours

Change-Id: I006f5d42f1e6e09d50a816b499748431c0970e14

8 years agoMerge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev
Daniel Xie [Mon, 1 Aug 2016 19:36:29 +0000 (19:36 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev

8 years agoMerge \\\\\"Fix GLES2 format mismatch\\\\\" into marshmallow-cts-dev am: 98dd6ac745...
Stéphane Marchesin [Wed, 27 Jul 2016 23:06:33 +0000 (23:06 +0000)]
Merge \\\\\"Fix GLES2 format mismatch\\\\\" into marshmallow-cts-dev am: 98dd6ac745 am: 514fc784d3 am: d2cc27ecd9 am: fc19d21caf
am: 1fb5b8e2d7

Change-Id: I4c62d0a774b9b5ee7b1ce6dbbf3d8d255c27198e

8 years agoFix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499 am: ea8731ac09
Stphane Marchesin [Wed, 27 Jul 2016 23:06:32 +0000 (23:06 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499 am: ea8731ac09
am: 44569cffe2

Change-Id: I68a1b6c0c24c0fc394bb20b877b98de12b6040a7

8 years agoMerge \\\\"Fix GLES2 format mismatch\\\\" into marshmallow-cts-dev am: 98dd6ac745...
Daniel Xie [Wed, 27 Jul 2016 23:02:58 +0000 (23:02 +0000)]
Merge \\\\"Fix GLES2 format mismatch\\\\" into marshmallow-cts-dev am: 98dd6ac745 am: 514fc784d3 am: d2cc27ecd9
am: fc19d21caf

Change-Id: Ibdc12d7910e3e5b0d9ce08b92fc154d8e0fef40d

8 years agoFix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499
Stéphane Marchesin [Wed, 27 Jul 2016 23:02:57 +0000 (23:02 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 17f31733fd am: e3284ec499
am: ea8731ac09

Change-Id: Iea9125f946b308e830450a27684a8055f350eef2

8 years agoMerge \\\"Fix GLES2 format mismatch\\\" into marshmallow-cts-dev am: 98dd6ac745 am...
Stéphane Marchesin [Wed, 27 Jul 2016 22:57:28 +0000 (22:57 +0000)]
Merge \\\"Fix GLES2 format mismatch\\\" into marshmallow-cts-dev am: 98dd6ac745 am: 514fc784d3
am: d2cc27ecd9

Change-Id: I5456eaaa1ff4f60db054e7f97649ef144d1ec4a1

8 years agoFix GLES2 format mismatch am: 4b80682693 am: 17f31733fd
Stphane Marchesin [Wed, 27 Jul 2016 22:57:28 +0000 (22:57 +0000)]
Fix GLES2 format mismatch am: 4b80682693 am: 17f31733fd
am: e3284ec499

Change-Id: Ied7fb1bf46f929708ae6d91f8234e953c1d5980f

8 years agoMerge \\"Fix GLES2 format mismatch\\" into marshmallow-cts-dev am: 98dd6ac745
Daniel Xie [Wed, 27 Jul 2016 22:53:25 +0000 (22:53 +0000)]
Merge \\"Fix GLES2 format mismatch\\" into marshmallow-cts-dev am: 98dd6ac745
am: 514fc784d3

Change-Id: Ie29c74f6daf660ef0bbb99e01bcc62804eb9bff5

8 years agoFix GLES2 format mismatch am: 4b80682693
Stéphane Marchesin [Wed, 27 Jul 2016 22:53:24 +0000 (22:53 +0000)]
Fix GLES2 format mismatch am: 4b80682693
am: 17f31733fd

Change-Id: Ia5625e84621ed7b193d67391f278410b9bef83e0

8 years agoMerge \"Fix GLES2 format mismatch\" into marshmallow-cts-dev
Stéphane Marchesin [Wed, 27 Jul 2016 22:49:27 +0000 (22:49 +0000)]
Merge \"Fix GLES2 format mismatch\" into marshmallow-cts-dev
am: 98dd6ac745

Change-Id: I996941024609410453b5453ad249f73f1d710258

8 years agoFix GLES2 format mismatch
Stphane Marchesin [Wed, 27 Jul 2016 22:49:25 +0000 (22:49 +0000)]
Fix GLES2 format mismatch
am: 4b80682693

Change-Id: Ib0d76f35894ea035c01b77dfd6b484d6eab32ad3

8 years agoMerge "Fix GLES2 format mismatch" into marshmallow-cts-dev
Daniel Xie [Wed, 27 Jul 2016 22:43:00 +0000 (22:43 +0000)]
Merge "Fix GLES2 format mismatch" into marshmallow-cts-dev

8 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c...
Haixia Shi [Wed, 27 Jul 2016 22:14:56 +0000 (22:14 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c am: 10a0d7d015
am: 2c65c609ed

Change-Id: I8d6c3aa5769954ef723b3592429d2c7edbacc0cb

8 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c
Haixia Shi [Wed, 27 Jul 2016 22:11:21 +0000 (22:11 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977 am: 5e52d6630c
am: 10a0d7d015

Change-Id: I8c79ba0f3ab1bec4adf08b3dc806117c9f4c4c37

8 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977
Haixia Shi [Wed, 27 Jul 2016 22:06:23 +0000 (22:06 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3 am: f8083c0977
am: 5e52d6630c

Change-Id: I079ecec07a8ec169a0fa974a87fa3fb2438c71a9

8 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3
Haixia Shi [Wed, 27 Jul 2016 22:03:21 +0000 (22:03 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3
am: f8083c0977

Change-Id: I72427dde877e29aa1b902628c50bc61099f6ba41

8 years agoIncrease no-data timeout to 5 seconds.
Haixia Shi [Wed, 27 Jul 2016 21:59:58 +0000 (21:59 +0000)]
Increase no-data timeout to 5 seconds.
am: d00b71cbc3

Change-Id: I5a73e5e3cb1fd0a0c3b1552e36552c25bbf64271

8 years agoIncrease no-data timeout to 5 seconds.
Haixia Shi [Tue, 26 Jul 2016 22:08:02 +0000 (15:08 -0700)]
Increase no-data timeout to 5 seconds.

On some low-end hardware we are observing the no-data timeout being exceeded
with no genuine hangs. Some tests take up to 1.7 seconds to complete. By
generously increasing this timeout we can eliminate flakes on slow devices
without any negative side-effects.

Bug: 29870344

Change-Id: I0a3165f26aefb4cdd18acb1ca0dd0210d7fdba69

8 years agoDO NOT MERGE CP vertex array test and warning fixes
Jarkko Pöyry [Wed, 20 May 2015 02:31:53 +0000 (19:31 -0700)]
DO NOT MERGE CP vertex array test and warning fixes

Cherry-pick fix to vertex array tests and a preceding conversion warning
fix for Marshmallow CTS for the files affected by the vertex array test fix.

8ed28c1e05f2325dc4b20c8f471067b29188c82f
Snap values to 3x3 grid in vertex array tests

This avoids cases where on small resolutions tests would fail because some
geometry was not visible or hidden in both result and reference.

Bug: 23495935

c8e526bfc2141e1cb7a269483fb55dc2a8e77c11
Fix -Wconversion warnings in glshared.

Bug: 21161908
Change-Id: If346e35335863344494c2513782e0b42d9a408e2

8 years agoFix build with new Interface
Julien Desprez [Mon, 27 Jun 2016 18:22:07 +0000 (19:22 +0100)]
Fix build with new Interface

Bug: 29622918
Change-Id: I73ccd7891869d2d67a144e8787d2fff8fb9c6878

8 years agoUpdate TF interface for filters
Julien Desprez [Mon, 27 Jun 2016 09:47:19 +0000 (10:47 +0100)]
Update TF interface for filters

Bug: 29622918
Change-Id: I5832fadb1b88426677e87de86f0bc51194548ada

8 years agoCheck duplicate layers and extensions
Mika Isojärvi [Wed, 27 Apr 2016 21:19:13 +0000 (14:19 -0700)]
Check duplicate layers and extensions

Bug: 28100235
Change-Id: I1fdae715a1bbda43b6bc6ebe346ca21f3e294df6

8 years agoMerge "Reset debug message callback if exception is thrown" into nyc-dev
Mika Isojarvi [Mon, 13 Jun 2016 22:26:39 +0000 (22:26 +0000)]
Merge "Reset debug message callback if exception is thrown" into nyc-dev

8 years agoMerge "Allow specifying version when creating OpenGL context" into nyc-dev
Mika Isojarvi [Mon, 13 Jun 2016 22:26:09 +0000 (22:26 +0000)]
Merge "Allow specifying version when creating OpenGL context" into nyc-dev

8 years agoMerge "Add negative tessellation IO array size cases to mustpass" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:45:05 +0000 (21:45 +0000)]
Merge "Add negative tessellation IO array size cases to mustpass" into nyc-dev

8 years agoMerge "Add tests for varying linking by location" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:41:39 +0000 (21:41 +0000)]
Merge "Add tests for varying linking by location" into nyc-dev

8 years agoMerge "Add simple Vulkan smoke test that doesn't use OpName" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:41:26 +0000 (21:41 +0000)]
Merge "Add simple Vulkan smoke test that doesn't use OpName" into nyc-dev

8 years agoMerge "Add tests for uniform block linking by binding" into nyc-dev
Pyry Haulos [Mon, 13 Jun 2016 21:41:10 +0000 (21:41 +0000)]
Merge "Add tests for uniform block linking by binding" into nyc-dev

8 years agoReset debug message callback if exception is thrown
Mika Isojärvi [Thu, 9 Jun 2016 17:08:17 +0000 (10:08 -0700)]
Reset debug message callback if exception is thrown

Bug: 29190874
Change-Id: Ie98b2286d1e9257247bfd0ff5924670c68631056

8 years agoAllow specifying version when creating OpenGL context
Mika Isojärvi [Thu, 9 Jun 2016 16:45:35 +0000 (09:45 -0700)]
Allow specifying version when creating OpenGL context

Allow specifying version number when creating OpenGL context using
EGL_KHR_create_context.

Bug: 29191048
Change-Id: Ia827f8b1ba69c0695943d34f43255d4153780bbf

8 years agoDeqptestrunner efficient filtering
Aaron Holden [Mon, 6 Jun 2016 23:51:56 +0000 (16:51 -0700)]
Deqptestrunner efficient filtering

bug:28245788

Change-Id: I2c28fb7aed7a13c4f011b76b699cf0845c821f7c

8 years agoMerge "Add swapchain resize test" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 17:13:27 +0000 (17:13 +0000)]
Merge "Add swapchain resize test" into nyc-dev

8 years agoAdd swapchain resize test
Jesse Hall [Tue, 31 May 2016 05:43:54 +0000 (22:43 -0700)]
Add swapchain resize test

Bug: 26927424
Change-Id: I9d0124d7a2ddc25ba8953b0a1df15a0faeb620d9

8 years agoAdd negative tessellation IO array size cases to mustpass
Pyry Haulos [Wed, 1 Jun 2016 19:53:05 +0000 (12:53 -0700)]
Add negative tessellation IO array size cases to mustpass

Bug: 25389474
Change-Id: If531728a82def9594262006867b8f7bc3781ff9e

8 years agoAdd tests for varying linking by location
Pyry Haulos [Tue, 31 May 2016 23:28:26 +0000 (16:28 -0700)]
Add tests for varying linking by location

In Vulkan varyings are linked by location only, so having name
mismatches or collisions must not affect validity of a pipeline.

Bug: 29056634
Change-Id: I3579b02064c1b5cb9862b48795b16357319ce7af

8 years agoAdd tests for uniform block linking by binding
Pyry Haulos [Fri, 20 May 2016 18:52:42 +0000 (11:52 -0700)]
Add tests for uniform block linking by binding

Drivers should ignore uniform block name debug opcodes when doing
linking and instead expect matching by binding only. Test this by
declaring different uniform blocks with same name but different bindings
in vertex and fragment shaders.

Bug: 28857593
Change-Id: I4a84b4de2021802fd247cd744d01491eb8224bd4

8 years agoAdd simple Vulkan smoke test that doesn't use OpName
Pyry Haulos [Tue, 24 May 2016 20:27:56 +0000 (13:27 -0700)]
Add simple Vulkan smoke test that doesn't use OpName

Covers following places where glslang generates OpName by default:

 * Vertex and fragment shader user-defined inputs
 * Vertex and fragment shader user-defined outputs
 * Built-in vertex shader outputs
 * Struct type name
 * Struct member name
 * Local variable

Bug: 29054693
Bug: 28887585
Change-Id: I07c2f3cfc1306811100e9380bf6c68d53b8d1a14

8 years agoUse TCU_CHECK instead of DE_ASSERT
Sivert Berg [Tue, 31 May 2016 12:37:57 +0000 (14:37 +0200)]
Use TCU_CHECK instead of DE_ASSERT

DE_ASSERT is optimized away in release build. In this case it resulted
in the 'modifyXor' function not being called, causing the reference
memory to go out of sync with the actual memory.

(cherry picked from commit 8b9bed7d58e73412eeb361b612a51b89d1f30978)

Bug: 29044372
Change-Id: I1cf5a5d756cc000dfa0d5fa55535865e13717442

8 years agoFixes to random memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:21:49 +0000 (14:21 -0700)]
Fixes to random memory mapping tests

- Take nonCoherentAtomicSize into account.
- Track and handle correctly invalidating memory that has not
  been flushed.

Bug: 29006045
Bug: 28939771
Change-Id: Ib114822aff0fd4bf4df5d84a2e17b393368bdd3c

8 years agoFlush changes before invalidate in memory mapping tests
Mika Isojärvi [Fri, 27 May 2016 21:05:20 +0000 (14:05 -0700)]
Flush changes before invalidate in memory mapping tests

Bug: 29006045
Change-Id: I697c69838bc75d0dfc7ac232888d60e1a0d80ded

8 years agoTake nonCoherentAtomSize into account in memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:29:36 +0000 (15:29 -0700)]
Take nonCoherentAtomSize into account in memory mapping tests

Bug: 28939771
Change-Id: I02831f2a36b30b8f5b1c7e6710822f7b6f81a950

8 years agoMerge bug fixes from Khronos CTS release branch
Pyry Haulos [Thu, 19 May 2016 22:03:59 +0000 (15:03 -0700)]
Merge bug fixes from Khronos CTS release branch

This includes fixes available in Vulkan CTS 1.0.0.3 RC1:

8d6a75b Fix test copying zero sized regions
4d12ac5 Update sample conformance statement with latest release tag
2659c92 Remove use of non-standard strnlen()
fd6bbe6 Validation fix dEQP-VK.binding_model
8c019df Validation fix for dEQP-VK.ssbo
02bc895 Remove dEQP-VK.glsl.linkage.varying.rules.fragment_declare
0f75056 Validation fixes for dEQP-VK.renderpass
0619614 Validation fixes for dEQP-VK.glsl
2df3edd dEQP-VK.binding_model validation fixes
50664eb Removed not needed reading of image
ce3f36a Bug Fix: Corrected barriers in the tests dEQP-VK.query_pool
6d286f8 Validation fixes for dEQP-VK.api
d02ea76 dEQP-VK.api.info.device.properties struct offsets
d488796 Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.
a4f96c9 Turn on well defined signed integer overflow
ba9a6b8 Add Android NDK r11 toolchain as new default
355e4f8 Update glslang to (7b3096a) to include bitfield functions precision fix
cbba646 Fix Pipeline barrier test
6eaa4ce Update glslang to (af4592) - include proper RelaxedPrecision handling
f89b81f Remove instances of pDynamicState->dynamicStateCount = 0
989ae48 ShaderRender tests: do not use images in UNDEFINED layout
ed92247 Revert to original boilerplate in Vulkan CTS license appendix
0b834b7 Validation fixes in dEQP-VK.pipeline
92728bd Bug Fix: Corrected barriers in the tests dEQP-VK.compute
ad4a38e Bug Fix: Corrected barrier in the tests dEQP-VK.ubo
750f819 Fix unused parameter warning in vktDrawIndirectTest.cpp
7df90ed deqp-vk-draw: split indirect_draw tests into groups depending on `drawIndirectFirstInstance` optional feature
9025139 Remove initialization check for deviceName
9312e31 Fix VkPhysicalDeviceProperties init validation
4803b08 Fix a few issues in tessellation shader executors

As well as following cherry-picks:

b215306 Fix various compiler warnings
fad252e vktWsiSurfaceTests: fixed bug in surface capabilities validation where surface's height was tested with respect to width's limits.
4a57a13 vktWsiSwapchainTests: remove redundant barrier (already realised by subpass dependencies)
8a07cbb vktWsiSwapchainTests: remove incorrect barrier (COLOR_ATTACHMENT_OPT -> PRESENT_SRC), while image is already in PRESENT_SRC layout
9b48af0 vktWsiSwapchainTests: fixes for swapchain parameters
fb3fd80 WSI: depthClamp is an optional feature, disable it

Bug: 28911346
Change-Id: I124cdecdc5472e5889d40ae5b66baffa074df7ca