platform/upstream/VK-GL-CTS.git
7 years agoGetDevices: Also allow `\.` to be part of the host name
Nicolas Boichat [Tue, 20 Dec 2016 18:55:24 +0000 (18:55 +0000)]
GetDevices: Also allow `\.` to be part of the host name
am: dbf9715509

Change-Id: I659ce579867c7ca0c9b47e3b53a734265e0fbb26

7 years agoGetDevices: Also allow `\.` to be part of the host name
Nicolas Boichat [Wed, 30 Nov 2016 04:14:52 +0000 (12:14 +0800)]
GetDevices: Also allow `\.` to be part of the host name

Useful when connecting over TCP to a device with a given IP.

Change-Id: Ibe3b75e5ba3ab0ff90219bb31d45e21d8f5fd61b

7 years agoMerge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmal...
Tina Zhou [Thu, 17 Nov 2016 17:10:28 +0000 (17:10 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev
am: a5af1b076f

Change-Id: I01c65d693d7ad5befe9244cb0d24814750a80bd2

7 years agoFix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
Kenneth Graunke [Thu, 17 Nov 2016 17:10:28 +0000 (17:10 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
am: ea5589c748

Change-Id: I7358276f100608371da5b44ebc8e102a54706197

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 sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmal...
Tina Zhou [Thu, 17 Nov 2016 17:03:36 +0000 (17:03 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev

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 00:43:40 +0000 (00:43 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev
am: 6cea9dbc62

Change-Id: I3525d88dbc3e04b702cef54d1759f406222047b2

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

Change-Id: I16ab5038ff64448458aaafc7bda43128e0941e4e

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

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

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

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

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

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

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

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

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

7 years agoFix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
Kenneth Graunke [Sun, 4 Sep 2016 07:34:47 +0000 (00:34 -0700)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.

The dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.
bit_count_per_two_samples.multisample_{texture,renderbuffer}_{1,2}
tests report:

    Verifying gl_SampleMaskIn.
    Fragment shader may be invoked [ceil(numSamples/2), numSamples] times.
    => gl_SampleMaskIn should have the number of bits set in range
       [1, numSamples - ceil(numSamples/2) + 1]:

which suggests that maxBitCount should be ceil(2/2) + 1 = 1 + 1 = 2.

However, it then says:

    Setting minBitCount = 1, maxBitCount = 1.

Having two bits should be acceptable for 2x MSAA.

This patch drops the special case for 1x/2x MSAA, making them work
like all the other MSAA levels.

Change-Id: Ie615c82150588dab53226dc46670182a29d85ef5
(cherry picked from commit 724519b8fda9c2a92d646c3dfd1478e0daa282e9)

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

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

Fixes #423

Bug: 31952754

(cherry picked from commit 038db60bcbb1cdaf0157e5176af6422bda13ff28)

Change-Id: I7f22c2f0d325ecd2a57462f324214b7009c18782

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

Bug: 31732496

Contains 4 commits:

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

(cherry picked from commit 83f90be9118a121b47f5e16f04029e205c68f994)

2: Fix VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT handling in query tests

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

(cherry picked from commit 570326e5c8d85fe16fa6ce36de73c8f9bcba4d3e)

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

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

See CTS issue #507 and spec issue #540

(cherry picked from commit 377ad0ad5962351d14badb1857b55dc8e8e49218)

4: Fix required sample counts per spec issue 478

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

See CTS issue #507 and spec issue #478

(cherry picked from commit 02c61e30f50cb04505f421b1ebe07c4a42864acf)

Change-Id: I4c714f887c1554994f90ec361ed44876465cd5a3

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

Bug: 27126954
Change-Id: I1ee7ca0c0102b6273b1bc165b3d1ad24cee449e2

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

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

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

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

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

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

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

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

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

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

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

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

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

Bug: 31312897
Change-Id: I40c2b47b0a6e6d0478cb6b63051ff474aae02f1f

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

Bug: 31312494
Change-Id: I8bc1536e238efcef23fea0164731b9851ddf35b9

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

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

Bug: 30785598
Bug: 31343756

(cherry picked from commit 90763f1f7dfed4880fee7305b8f5789137951afc)

Change-Id: I4bd10004ee90f42ae616e654e425aa11df0cdd8d

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

Bug: 31244127
Change-Id: I0e25c5042aa832679f2da06b8401456058762750

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

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

Bug: 30739954
Change-Id: I212a8bc2b948760d3bf457e1c0e1199e0a8cc31e

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

According to,

   Table 11.1. Image and image view parameter compatibility requirements

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

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

Bug: 30739954

(cherry picked from commit dc4227d5ec87080f5dad810b5e33ae3b3fa014a4)

Change-Id: I476b6586c351bddfb9f0b92cd7ec45fb9cc297c8

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

Change-Id: I8cb9cdf8f87cacaa2cb4c586953f884a3cfee098

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

Change-Id: If08ea28912fe10ddc570841c8862d0918b1c224d

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

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

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

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

(cherry picked from commit bc29554d7eed0bd996506fc1e074f264305c8143)

Change-Id: I17fc4fdca1da176e13e78b1ec2bebc8cb6d266b0

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

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

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

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

Fixes #339
Bug: 29996742

(cherry picked from commit ed8561a07cdb1bb7730eccf9025b738838392464)

Change-Id: I12312f0e48d20724c082f31c4ab03792dbb44826

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

Bug: 30738286

(cherry picked from commit 83470b2dcbff396773f94d7a1448c12362ad3380)

Change-Id: Ife07ebd21f115114441ac8dc794a8d9e12c8acae

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

Bug: 30738817

(cherry picked from commit cdfbadd0238044279cbc928bac9d895b002bcca6)

Change-Id: Iab592f4f97896995b6fb5a0f3a7ce0d885f9b834

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

Includes various small code fixes to related utilities.

Bug: 30909517

(cherry picked from commit baea2158190b91fcf5d1aa78628dbad01d52a3ce)

Change-Id: I6f8c992daf81fafe796308a3e02c792096f2ae9f

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

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

Bug: 30938718

(cherry picked from commit e232a6e83c482b219ee1e7678c8ccf91c64b3086)

Change-Id: Ia924a13e5e62b3b8e51981b200314b911aa57bc4

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

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

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

Bug: 30811856

(cherry picked from commit 3b17fd4c4e2d450f34f68989ff786939032cdcb9)

Change-Id: Ib3aaeff24d7753d52a6a444abfbecf863803c9ec

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

Bug: 30811856

(cherry picked from commit fe2c3850aa70fd4ad253856de08e49f241e0fc90)

Change-Id: I854924178a7732eae44fd140340490c453fe3a03

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

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

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

Bug: 30811856

(cherry picked from commit 2dd2c2dc560092c80b636551237758b62fae78d7)

Change-Id: I93389a2c6b85f2dd8407824afb25d68770d4e6bd

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

7 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

7 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

7 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

7 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

7 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

7 years agoRemove a few EGL tests using RGBA4 format from mustpass
Pyry Haulos [Thu, 25 Aug 2016 20:43:23 +0000 (13:43 -0700)]
Remove a few EGL tests using RGBA4 format from mustpass

These suffer from threshold issues that are not trival to address with
current code.

Bug: 30909609
Change-Id: Ic6525f9749402009d495073c64e1f58869a93261

7 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

7 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

7 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

7 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

7 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

7 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 agoAdd the support to device connection via TCP/IP
Chun-Ta Lin [Sun, 29 May 2016 02:42:07 +0000 (10:42 +0800)]
Add the support to device connection via TCP/IP

Some of the device is connect over TCP/IP. Fix the regular expression
to include the colon character.

Change-Id: I5e84bf48c58ee9ca01119294f78f1784a19b900a

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

8 years agoRemove dot and reflect precision tests from mustpass
Mika Isojärvi [Wed, 25 May 2016 20:35:49 +0000 (13:35 -0700)]
Remove dot and reflect precision tests from mustpass

Remove dot and reflect precision test that don't take all of the
alternative evaluation orders into account from the mustpass.

Bug: 28767510
Change-Id: I8089dee4fc123b733d27f3bf2b0846dcd5f5ad6c

8 years agoRemove double allocate from memory mapping tests
Mika Isojärvi [Tue, 24 May 2016 22:20:00 +0000 (15:20 -0700)]
Remove double allocate from memory mapping tests

Bug: 28936898
Change-Id: I7ef8da41929288c10a9d978bbe84d086eba008e4

8 years agoMerge "Increase deqp CTS runner timeout to 10min" into nyc-dev
Mika Isojarvi [Fri, 20 May 2016 17:02:09 +0000 (17:02 +0000)]
Merge "Increase deqp CTS runner timeout to 10min" into nyc-dev

8 years agoIncrease deqp CTS runner timeout to 10min
Mika Isojärvi [Thu, 19 May 2016 22:47:34 +0000 (15:47 -0700)]
Increase deqp CTS runner timeout to 10min

Bug: 28052105
Bug: 23287994
Change-Id: Ifc7ed2d5e00e94cfe5c16f43f40b7f6b0cfc396a

8 years agoRemove EGL color clear tests with threshold issues
Mika Isojärvi [Tue, 17 May 2016 21:30:43 +0000 (14:30 -0700)]
Remove EGL color clear tests with threshold issues

Bug: 28676683
Change-Id: Id127cb04cc004aa0ff1ab392bc1262afd665f21c

8 years agoMerge "Fix test copying zero sized regions" into nyc-dev
Mika Isojarvi [Tue, 17 May 2016 18:22:12 +0000 (18:22 +0000)]
Merge "Fix test copying zero sized regions" into nyc-dev

8 years agoFix test copying zero sized regions
Mika Isojärvi [Tue, 17 May 2016 17:08:40 +0000 (10:08 -0700)]
Fix test copying zero sized regions

Bug: 28677103
Change-Id: I4c23277f51ab4ea3e28a76ab757d0c2c8fe007d6

8 years agoRemove long running test from mustpass
Mika Isojärvi [Tue, 17 May 2016 16:48:28 +0000 (09:48 -0700)]
Remove long running test from mustpass

Bug: 28813504
Change-Id: Ie79a1cf804413d0be3d3549cb7e56c2aba6ed3f5

8 years agoMerge "PipelineCache: track buffer allocation" into nyc-dev
Pyry Haulos [Tue, 17 May 2016 16:08:45 +0000 (16:08 +0000)]
Merge "PipelineCache: track buffer allocation" into nyc-dev

8 years agoMerge "Apply alternatives to vector refract tests" into nyc-dev
Mika Isojarvi [Tue, 17 May 2016 16:06:38 +0000 (16:06 +0000)]
Merge "Apply alternatives to vector refract tests" into nyc-dev

8 years agoMerge "Free EGLImages at the end of the testcase" into nyc-dev
Mika Isojarvi [Tue, 17 May 2016 16:06:29 +0000 (16:06 +0000)]
Merge "Free EGLImages at the end of the testcase" into nyc-dev

8 years agoMerge "Revert "Touch watchdog during object cleanup in max_concurrent tests"" into...
TreeHugger Robot [Mon, 16 May 2016 23:02:27 +0000 (23:02 +0000)]
Merge "Revert "Touch watchdog during object cleanup in max_concurrent tests"" into nyc-dev

8 years agoPipelineCache: track buffer allocation
iostrows [Fri, 29 Apr 2016 11:38:52 +0000 (13:38 +0200)]
PipelineCache: track buffer allocation

Bug: 28676376

(cherry picked from commit 653704c5bc0f03512b0b43a84615b6a9138fa057)

Change-Id: Idf9c4a00928aa88c0f67cfc7db4c96c695689809

8 years agoRevert "Touch watchdog during object cleanup in max_concurrent tests"
Pyry Haulos [Mon, 16 May 2016 21:26:02 +0000 (14:26 -0700)]
Revert "Touch watchdog during object cleanup in max_concurrent tests"

This reverts commit 9bd29e9ddec5c2404fd26ec0676422bf8b9eddcd.

Bug: 28436275
Change-Id: Ia3396445f0d1174559ab7d79aa1ccea3c27fe4b4