platform/upstream/VK-GL-CTS.git
7 years agoMerge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
Tina Zhou [Thu, 17 Nov 2016 17:32:22 +0000 (17:32 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am: d962b86909 am: 080d0d5005
am: fa420a10e2

Change-Id: I102e151c3e389804f961e64dc510fed96fc71006

7 years agoFix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db...
Kenneth Graunke [Thu, 17 Nov 2016 17:32:09 +0000 (17:32 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db am: f5414b15bb
am: 3a520ad416

Change-Id: Ie91b6f6975501665a0dc07a16c1d4645898346ee

7 years agoMerge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
Tina Zhou [Thu, 17 Nov 2016 17:24:21 +0000 (17:24 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am: d962b86909
am: 080d0d5005

Change-Id: Ia5e4f021464c820252e1835243ac034009f68151

7 years agoFix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db
Kenneth Graunke [Thu, 17 Nov 2016 17:24:08 +0000 (17:24 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am: d2f3b468db
am: f5414b15bb

Change-Id: Ib334e157845016bd0b84bb18290822eaec71b787

7 years agoMerge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
Tina Zhou [Thu, 17 Nov 2016 17:10:12 +0000 (17:10 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev
am: d962b86909

Change-Id: I6a82d71f2fed9f848a953ae21c30079bacb07052

7 years agoFix internal format/type for 3D + depth/stencil negative API tests.
Kenneth Graunke [Thu, 17 Nov 2016 17:10:05 +0000 (17:10 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests.
am: d2f3b468db

Change-Id: Id43b369d67e04cf3a6d6b5b4e3303f02c7a35b87

7 years agoMerge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
Tina Zhou [Thu, 17 Nov 2016 17:02:44 +0000 (17:02 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev

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

Change-Id: I3365b06d1471b46a547cdd174a8fc0c05bff1ddd

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

Change-Id: Ie1a46359b2c557e0a1b3b76a65d371dc85dee9f1

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

Change-Id: I47de237e05c2e5a267d2c992c1857b4c244e28c0

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

Change-Id: Ie3ed4c613334aeada8173d4f26adb19a15874666

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

Change-Id: I5677ab681b1f3e3270363d40dacc7a0907168ef1

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

Change-Id: I96c1b896422541e3894ce7a1ca4b3416667c8a84

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

Change-Id: If1cbed21195ab22f33d1a5d274e7654576e57732

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

Change-Id: If1d559a72e8308d86122d14d3e59679346df8b56

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

Change-Id: I93f80acf734877a689163a4c65500071d216c5a9

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

Change-Id: I8fd4bd5271a75664781994f7bc7a6b989508e2e5

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

Change-Id: I5dd2c5c3ab3605b78ce1bad055acde751cc4d9a3

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

Change-Id: I9a105b10225f19f9c8687b46afd43833aa4f060f

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

Change-Id: I20121f99c51e2bcd89e206a7d3690c80afffb351

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

Change-Id: I7e9dd7d66b3cebc86d6cfa9159d88c403b577945

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

Change-Id: Id04a179523649edc56246468dff3960aba64f5e2

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

Change-Id: I6c98f52ea07ecb5e3b1dfa02283597eff729f9d8

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

Change-Id: I3525d88dbc3e04b702cef54d1759f406222047b2

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

Change-Id: I16ab5038ff64448458aaafc7bda43128e0941e4e

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

7 years agoAdd runtime to CtsDeqpTestCases am: bf0076a424
Aaron Holden [Wed, 16 Nov 2016 00:28:42 +0000 (00:28 +0000)]
Add runtime to CtsDeqpTestCases am: bf0076a424
am: dc61e9cf25

Change-Id: Id7e0bdb94d4274d0854d3abb172022c5a6b08df6

7 years agoAdd runtime to CtsDeqpTestCases
Aaron Holden [Wed, 16 Nov 2016 00:20:57 +0000 (00:20 +0000)]
Add runtime to CtsDeqpTestCases
am: bf0076a424

Change-Id: Ib9f6bdc64bac535c9d95b5af1f61d798b10a90d9

7 years agoAdd runtime to CtsDeqpTestCases
Aaron Holden [Tue, 15 Nov 2016 01:47:00 +0000 (17:47 -0800)]
Add runtime to CtsDeqpTestCases

Test: cts-tradefed run cts -m CtsDeqpTestCases
Bug:32843094
Change-Id: I6ea71f0d6658b1f06354374ece54743609472345

8 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 16:12:06 +0000 (16:12 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev am: 544e0e3b1d
am: af005183c6

Change-Id: I3e3e1d659be0fc0578865a3337e0b57a06faf61e

8 years agoCheck for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e
Pyry Haulos [Wed, 19 Oct 2016 16:11:57 +0000 (16:11 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am: 37e360591e
am: b403d93667

Change-Id: If4fd03357aa68b214494c8929b9cf66b466776fe

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

Change-Id: I2cc5a7e5167269fc6d645ba4c38d293326f35a1b

8 years agoCP: Use empty region when buffer age is not supported am: 8230646213
Kalle Raita [Wed, 19 Oct 2016 16:11:38 +0000 (16:11 +0000)]
CP: Use empty region when buffer age is not supported am: 8230646213
am: 3e8d57ed32

Change-Id: I87a375b2e1bf59cd6e37e25448efabd9b95d2417

8 years agoMerge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e
Tina Zhou [Wed, 19 Oct 2016 16:11:26 +0000 (16:11 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am: a04db6628e
am: 4e28a717a1

Change-Id: I6569f8641fe6100c2fbc55f5d1acc16656a96714

8 years agoFix deStrnlen fall-back implementation am: 54ebe093a9
Pyry Haulos [Wed, 19 Oct 2016 16:11:15 +0000 (16:11 +0000)]
Fix deStrnlen fall-back implementation am: 54ebe093a9
am: 7595269a79

Change-Id: Ia25c802d2e44c303f4a806f5d1a4192d57812def

8 years agoMerge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts...
Tina Zhou [Wed, 19 Oct 2016 16:11:05 +0000 (16:11 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev am: 4275d2099c
am: 6fd85eb3eb

Change-Id: Ib02b23f1e4d5228e5f6083356e3f0a3e097b7de1

8 years agoRemove a few preprocessor cases testing undefined behavior am: e5f7483417
Pyry Haulos [Wed, 19 Oct 2016 16:10:54 +0000 (16:10 +0000)]
Remove a few preprocessor cases testing undefined behavior am: e5f7483417
am: b9a2f1b768

Change-Id: Iea559ff6b6034b32acaaa281517d4273e685a625

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

Change-Id: Id9c518c494b6819864067fbed557e49a06e9e7fd

8 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

8 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

8 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

8 years agoMerge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into...
Tina Zhou [Wed, 19 Oct 2016 16:03:30 +0000 (16:03 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev
am: 544e0e3b1d

Change-Id: I439ee038030d31d881b960e18e74c90ad5aaa715

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

Change-Id: Id51782afaadec6423de58d37244379f2c7735c33

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

Change-Id: I230028994f151af0e6217a19cd6bf8a844a04c18

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

Change-Id: I1e8ab9b30a092e01819b6407355afdbb45cf58f3

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

Change-Id: I4b9714e9f3ba652f3189eff0c3b6b03ca7ac6bb3

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

Change-Id: If90c8f969bd9cf37b9ddbe9c31a08122c1598915

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

Change-Id: I514595f06bdb6696df75ae43c48d17eaad639142

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

Change-Id: I31e3ce2fa07318eb8ea9e66477feec0a14c99be9

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

Change-Id: Ice84fe27adfd1431ccea1ce4447c6f0c35b6829f

8 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

8 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

8 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

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

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

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

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

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

8 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

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.

Change-Id: I44bf607533b59f93fa42415bd6cad8783352582d
(cherry picked from commit ae7f8e0a07730e693b24d3dc7a23d2372319145e)

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

Fixes #423

Bug: 31952754

(cherry picked from commit 038db60bcbb1cdaf0157e5176af6422bda13ff28)

Change-Id: I7f22c2f0d325ecd2a57462f324214b7009c18782

8 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

8 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

8 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

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

Bug: 27126954
Change-Id: I1ee7ca0c0102b6273b1bc165b3d1ad24cee449e2

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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