platform/upstream/VK-GL-CTS.git
6 years agoTemporarily exclude additional test cases until new Vulkan 1.1 drivers
Ian Elliott [Fri, 9 Feb 2018 18:48:05 +0000 (11:48 -0700)]
Temporarily exclude additional test cases until new Vulkan 1.1 drivers

This change addresses new failures resulting from the latest Khronos upstream
Vulkan 1.1 CTS bits.

Bug: b/73248373, b/73247948

Test: Run cts-tradefed of all Vulkan dEQP test cases with current drivers
Change-Id: Ic7f844b6acbcc32646c2a30fe5046b60cd58ad3a

6 years agoFebruary 6, 2018 snapshot of the Khronos vulkan-cts-1.1.0 branch
Ian Elliott [Fri, 9 Feb 2018 19:05:43 +0000 (12:05 -0700)]
February 6, 2018 snapshot of the Khronos vulkan-cts-1.1.0 branch

Merge commit 'c8b9d2e0f' into VulkanCTS-v1-1_180206_LatestUpstream

Test: Run "cts-tradefed"
Change-Id: I3623288adcae7a99b2066358a3feb5950e83b2b3

6 years agoMerge "Replace TestIdentifier by TestDescription"
TreeHugger Robot [Fri, 9 Feb 2018 03:19:43 +0000 (03:19 +0000)]
Merge "Replace TestIdentifier by TestDescription"

6 years agoMerge "Separate HDR metadata into two tests" am: a34072a77a am: db6a59137c
Courtney Goeltzenleuchter [Thu, 8 Feb 2018 04:42:20 +0000 (04:42 +0000)]
Merge "Separate HDR metadata into two tests" am: a34072a77a am: db6a59137c
am: 68cd2525b6

Change-Id: I98ab03a88008b8a50159450aa9f017b7def95837

6 years agoMerge "Separate HDR metadata into two tests" am: a34072a77a
Courtney Goeltzenleuchter [Thu, 8 Feb 2018 02:44:16 +0000 (02:44 +0000)]
Merge "Separate HDR metadata into two tests" am: a34072a77a
am: db6a59137c

Change-Id: I7ebbccafe780080e0f8a0d88a566d53894c3e099

6 years agoMerge "Separate HDR metadata into two tests"
Courtney Goeltzenleuchter [Thu, 8 Feb 2018 02:24:00 +0000 (02:24 +0000)]
Merge "Separate HDR metadata into two tests"
am: a34072a77a

Change-Id: I2015e92f4cf974f703f98139a185865dae67a2f4

6 years agoReplace TestIdentifier by TestDescription
jdesprez [Thu, 8 Feb 2018 00:45:38 +0000 (16:45 -0800)]
Replace TestIdentifier by TestDescription

Large scale update of the base test interface for future
developments.
TestIdentifier is reaching its limits and upgrading it
requires moving away from ddmlib interface.

Test: build all targets
Bug: 70543295
Change-Id: I5dbf46917dd2982662f06f79ee7d612dd5e16513

6 years agoMerge "Separate HDR metadata into two tests"
Courtney Goeltzenleuchter [Wed, 7 Feb 2018 23:54:23 +0000 (23:54 +0000)]
Merge "Separate HDR metadata into two tests"

6 years agoHandle unsupported no_config contexts am: b60ae978ad am: 307c716b4e am: d217b05e1c...
Mark Adams [Wed, 7 Feb 2018 17:55:14 +0000 (17:55 +0000)]
Handle unsupported no_config contexts am: b60ae978ad am: 307c716b4e am: d217b05e1c am: b6f119f293
am: 4f06e27575

Change-Id: I7195fac78efd5f28915dba3b16ef37dc64893573

6 years agoMerge "Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed am: f35ed9...
Mark Adams [Wed, 7 Feb 2018 17:54:47 +0000 (17:54 +0000)]
Merge "Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed am: f35ed9f82c" into oc-mr1-dev am: 7d2fcf1c86
am: d82e99d55b

Change-Id: I7e82cb7cec1519ac43a1d60955096e89796e35a2

6 years agoHandle unsupported no_config contexts am: b60ae978ad am: 307c716b4e am: 3963672fbd
Mark Adams [Wed, 7 Feb 2018 17:54:19 +0000 (17:54 +0000)]
Handle unsupported no_config contexts am: b60ae978ad am: 307c716b4e am: 3963672fbd
am: 3dccadb326

Change-Id: I589c72fde4d4c192491d3b2215ab89d91f613664

6 years agoHandle unsupported no_config contexts am: b60ae978ad am: 307c716b4e am: d217b05e1c
Mark Adams [Wed, 7 Feb 2018 17:53:44 +0000 (17:53 +0000)]
Handle unsupported no_config contexts am: b60ae978ad am: 307c716b4e am: d217b05e1c
am: b6f119f293

Change-Id: Idce771c51e63ac558615ac2f3fe4e50ab11d1dd5

6 years agoMerge "Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed am: f35ed9...
Mark Adams [Wed, 7 Feb 2018 17:49:47 +0000 (17:49 +0000)]
Merge "Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed am: f35ed9f82c" into oc-mr1-dev
am: 7d2fcf1c86

Change-Id: I801e959d90772b8d47a51c4228e65a492a370a93

6 years agoHandle unsupported no_config contexts am: b60ae978ad am: 307c716b4e
Mark Adams [Wed, 7 Feb 2018 17:49:12 +0000 (17:49 +0000)]
Handle unsupported no_config contexts am: b60ae978ad am: 307c716b4e
am: d217b05e1c

Change-Id: I7eb2f9039984dfcf4a0d6e5370e40669eb051c85

6 years agoHandle unsupported no_config contexts am: b60ae978ad am: 307c716b4e
Mark Adams [Wed, 7 Feb 2018 17:49:12 +0000 (17:49 +0000)]
Handle unsupported no_config contexts am: b60ae978ad am: 307c716b4e
am: 3963672fbd

Change-Id: I8128538555872b92964e5ccf37c96e9e83fafcc0

6 years agoMerge "Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed am: f35ed9...
Android Build Merger (Role) [Wed, 7 Feb 2018 17:44:18 +0000 (17:44 +0000)]
Merge "Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed am: f35ed9f82c" into oc-mr1-dev

6 years agoHandle unsupported no_config contexts am: b60ae978ad am: d9829199ed
Mark Adams [Wed, 7 Feb 2018 17:44:11 +0000 (17:44 +0000)]
Handle unsupported no_config contexts am: b60ae978ad am: d9829199ed
am: f35ed9f82c

Change-Id: Ia242886ad683e52ee8216b09e45cbde18588cae2

6 years agoHandle unsupported no_config contexts am: b60ae978ad
Mark Adams [Wed, 7 Feb 2018 17:44:10 +0000 (17:44 +0000)]
Handle unsupported no_config contexts am: b60ae978ad
am: 307c716b4e

Change-Id: I6429e641f507828d1745683dcc88b83aa223f138

6 years agoHandle unsupported no_config contexts am: b60ae978ad
Mark Adams [Wed, 7 Feb 2018 17:39:10 +0000 (17:39 +0000)]
Handle unsupported no_config contexts am: b60ae978ad
am: d9829199ed

Change-Id: I32c0e0c2dd7ef97ddcd53de13cb4e4a69ab06287

6 years agoHandle unsupported no_config contexts am: b60ae978ad
Mark Adams [Wed, 7 Feb 2018 17:36:09 +0000 (17:36 +0000)]
Handle unsupported no_config contexts am: b60ae978ad
am: 307c716b4e

Change-Id: I2f90861c7c32f75a1611cc13f0e892195daee747

6 years agoHandle unsupported no_config contexts
Mark Adams [Wed, 7 Feb 2018 17:34:08 +0000 (17:34 +0000)]
Handle unsupported no_config contexts
am: b60ae978ad

Change-Id: I305b4436bfc1b0ae0455e062488020f786cabf51

6 years agoHandle unsupported no_config contexts
Mark Adams [Wed, 7 Feb 2018 17:31:36 +0000 (17:31 +0000)]
Handle unsupported no_config contexts
am: b60ae978ad

Change-Id: Idf51783fac99d14fa5ed28dbffd0db36b80e998b

6 years agoSeparate HDR metadata into two tests
Courtney Goeltzenleuchter [Wed, 7 Feb 2018 00:57:42 +0000 (16:57 -0800)]
Separate HDR metadata into two tests

Separated the HDR metadata test into two tests that
each test a single HDR metadata extension (SMPTE 2086 and CTA 861.3).
Also rename test group to be more specific to tests being added.

Change-Id: Icb98a5f47796c2c21faf0020221e9f5bb2969f9d

6 years agoMerge "Fix issues in the multiview tests" am: 887ba74d8b am: a0e1f286b3
Chris Forbes [Mon, 5 Feb 2018 20:36:40 +0000 (20:36 +0000)]
Merge "Fix issues in the multiview tests" am: 887ba74d8b am: a0e1f286b3
am: cc26e8852a

Change-Id: I4df45579084f5830c943770e757a800255c1545b

6 years agoMerge "Fix issues in the multiview tests" am: 887ba74d8b
Chris Forbes [Mon, 5 Feb 2018 20:32:24 +0000 (20:32 +0000)]
Merge "Fix issues in the multiview tests" am: 887ba74d8b
am: a0e1f286b3

Change-Id: I02bacd54e7cf81592ad65890a7b4faab98ef16fd

6 years agoMerge "Fix issues in the multiview tests"
Chris Forbes [Mon, 5 Feb 2018 20:28:41 +0000 (20:28 +0000)]
Merge "Fix issues in the multiview tests"
am: 887ba74d8b

Change-Id: I2bf3f5e8739bba60f4212e5664dedb193b8c1051

6 years agoMerge "Fix issues in the multiview tests"
Chris Forbes [Mon, 5 Feb 2018 20:21:03 +0000 (20:21 +0000)]
Merge "Fix issues in the multiview tests"

6 years agoDon't try to pass metadata attribs to eglCreate*Surface am: 9e63ede380 am: 15c8252b9a
Chris Forbes [Mon, 5 Feb 2018 18:45:25 +0000 (18:45 +0000)]
Don't try to pass metadata attribs to eglCreate*Surface am: 9e63ede380 am: 15c8252b9a
am: 00d0134fee

Change-Id: I9bfa321b66adaf01f379ae0ca8d0dfc7c77db04d

6 years agoDon't try to pass metadata attribs to eglCreate*Surface am: 9e63ede380
Chris Forbes [Mon, 5 Feb 2018 18:38:48 +0000 (18:38 +0000)]
Don't try to pass metadata attribs to eglCreate*Surface am: 9e63ede380
am: 15c8252b9a

Change-Id: I043e7ae06d2f6f9514b2157302e26b2edff4963e

6 years agoDon't try to pass metadata attribs to eglCreate*Surface
Chris Forbes [Mon, 5 Feb 2018 18:34:16 +0000 (18:34 +0000)]
Don't try to pass metadata attribs to eglCreate*Surface
am: 9e63ede380

Change-Id: I3cab5f35dc1f67ed1feedd561d61803f0da2d17b

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Mon, 5 Feb 2018 12:13:44 +0000 (13:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I36a59b8e50449e1788779380d6dc1dc4668b78fc

6 years agoFix issues in the multiview tests
Alexander Galazin [Mon, 5 Feb 2018 08:36:46 +0000 (09:36 +0100)]
Fix issues in the multiview tests

 * Fix few asserts
 * Add forgotten TestLog::EndSection

Components: AOSP

Affects: dEQP-GLES3.functional.mulitiview.*

Change-Id: Ieb7d09beace12ce7f00e6d9cddacea2465101cca

6 years agoPass in proper pWaitDstStageMask in vktWsiSharedPresentableImageTests
Vamsidhar Gaddam [Wed, 31 Jan 2018 10:23:48 +0000 (11:23 +0100)]
Pass in proper pWaitDstStageMask in vktWsiSharedPresentableImageTests

One of the submitInfos for a queue submit had
a semaphore passed in without passing in any stage mask. This is a
spec violation.

Affects:

dEQP-VK.wsi.android.shared_presentable_image.*

Components: Vulkan

VK-GL-CTS issue: 974

Change-Id: Iee2ea838e971a3610f44b8c1f765869a8a21fedb

6 years agoSpec relaxation for YCbCr Implicit chroma reconstruction
Panagiotis Apostolou [Wed, 17 Jan 2018 09:01:58 +0000 (10:01 +0100)]
Spec relaxation for YCbCr Implicit chroma reconstruction

Incorporates spec relaxation in the YCbCr tests which describes that when
doing implicit reconstruction with nearest chroma filtering, an
implementation may behave as if both xChromaOffset and yChromaOffset were
VK_CHROMA_LOCATION_MIDPOINT.

Tests affected:
dEQP-VK.ycbcr.conversion.*

Components: Vulkan

VK-GL-CTS issue: 979

Change-Id: I10e83d2f5845c3e74673aa9e42fc4f0950f9e6cd

6 years agoDon't try to pass metadata attribs to eglCreate*Surface
Chris Forbes [Sat, 3 Feb 2018 01:14:59 +0000 (17:14 -0800)]
Don't try to pass metadata attribs to eglCreate*Surface

These attribs are only valid for eglSurfaceAttrib / eglQueryAttrib.

Bug: b/72870242
Change-Id: I6aad5c19e24f775e0b8be6374716cb4ceef01491

6 years agoMerge "Fixes pixelformat utils for RGB10_A2" am: 3596e98095 am: bfbb30d501
Matthew Netsch [Fri, 2 Feb 2018 21:07:51 +0000 (21:07 +0000)]
Merge "Fixes pixelformat utils for RGB10_A2" am: 3596e98095 am: bfbb30d501
am: bbeee9238d

Change-Id: I4c237ed95f24f65362e6a7dd79860720547f68a5

6 years agoMerge "Fixes pixelformat utils for RGB10_A2" am: 3596e98095
Matthew Netsch [Fri, 2 Feb 2018 20:53:37 +0000 (20:53 +0000)]
Merge "Fixes pixelformat utils for RGB10_A2" am: 3596e98095
am: bfbb30d501

Change-Id: I97217ed03484493ffa418311a6de64c719b73a66

6 years agoMerge "Fixes pixelformat utils for RGB10_A2"
Matthew Netsch [Fri, 2 Feb 2018 20:48:27 +0000 (20:48 +0000)]
Merge "Fixes pixelformat utils for RGB10_A2"
am: 3596e98095

Change-Id: Ie1a8eaac1397a9a33c93f690b80ec6eb1973456e

6 years agoMerge "Fixes pixelformat utils for RGB10_A2"
Treehugger Robot [Fri, 2 Feb 2018 20:37:08 +0000 (20:37 +0000)]
Merge "Fixes pixelformat utils for RGB10_A2"

6 years agoMerge "mustpass: Exclude one more test in dEQP-VK.binding_model"
TreeHugger Robot [Fri, 2 Feb 2018 20:23:34 +0000 (20:23 +0000)]
Merge "mustpass: Exclude one more test in dEQP-VK.binding_model"

6 years agoMerge "GLES2/3: error on declarations with unspecified precision" am: efe17a0a13...
Kai Ninomiya [Fri, 2 Feb 2018 19:12:19 +0000 (19:12 +0000)]
Merge "GLES2/3: error on declarations with unspecified precision" am: efe17a0a13 am: a9c0393428
am: 1fd2148761

Change-Id: Ia38b23eb3c4eef084b1c74d55f5c7d50f5d4bc33

6 years agoMerge "GLES2/3: error on declarations with unspecified precision" am: efe17a0a13
Kai Ninomiya [Fri, 2 Feb 2018 16:56:31 +0000 (16:56 +0000)]
Merge "GLES2/3: error on declarations with unspecified precision" am: efe17a0a13
am: a9c0393428

Change-Id: If01e20e3d30954e7a86c8ff691448c443a5c7d2e

6 years agoMerge "GLES2/3: error on declarations with unspecified precision"
Kai Ninomiya [Fri, 2 Feb 2018 14:39:33 +0000 (14:39 +0000)]
Merge "GLES2/3: error on declarations with unspecified precision"
am: efe17a0a13

Change-Id: Idbcf49616bef87c65a1117db02cac096ae8c35bc

6 years agoMerge "Relax ULP requirement for Log/Log2" am: 88d756104f am: 9792f6efb2
Jeff Leger [Fri, 2 Feb 2018 14:37:12 +0000 (14:37 +0000)]
Merge "Relax ULP requirement for Log/Log2" am: 88d756104f am: 9792f6efb2
am: 977c421f11

Change-Id: Icc29bfd7c51e8a3ff6596117a8f6713d257a1fd5

6 years agoMerge "Relax ULP requirement for Log/Log2" am: 88d756104f
Jeff Leger [Fri, 2 Feb 2018 07:00:08 +0000 (07:00 +0000)]
Merge "Relax ULP requirement for Log/Log2" am: 88d756104f
am: 9792f6efb2

Change-Id: I99912a00f5e16898ae00c99c3fa2bb3ccf2065a3

6 years agoMerge "GLES2/3: error on declarations with unspecified precision"
Treehugger Robot [Fri, 2 Feb 2018 04:19:27 +0000 (04:19 +0000)]
Merge "GLES2/3: error on declarations with unspecified precision"

6 years agoMerge "Relax ULP requirement for Log/Log2"
Jeff Leger [Fri, 2 Feb 2018 03:23:28 +0000 (03:23 +0000)]
Merge "Relax ULP requirement for Log/Log2"
am: 88d756104f

Change-Id: I4a31713a692597a74e552cf8a44d78915c353167

6 years agomustpass: Exclude one more test in dEQP-VK.binding_model
Chris Forbes [Fri, 2 Feb 2018 01:15:28 +0000 (17:15 -0800)]
mustpass: Exclude one more test in dEQP-VK.binding_model

Bug: b/72834612
Test: mustpass change only
Change-Id: I9f734cf9d992a7826ab5587d59a37bbf0771f67e

6 years agoMerge "Relax ULP requirement for Log/Log2"
Treehugger Robot [Fri, 2 Feb 2018 01:14:33 +0000 (01:14 +0000)]
Merge "Relax ULP requirement for Log/Log2"

6 years agoMerge "Exclude one more binding_model case pending new drivers"
TreeHugger Robot [Fri, 2 Feb 2018 01:10:39 +0000 (01:10 +0000)]
Merge "Exclude one more binding_model case pending new drivers"

6 years agoExclude one more binding_model case pending new drivers
Chris Forbes [Thu, 1 Feb 2018 23:12:02 +0000 (15:12 -0800)]
Exclude one more binding_model case pending new drivers

Removes the following test from P mustpass:

- dEQP-VK.binding_model.shader_access.primary_cmd_buf.with_template.storage_buffer_dynamic.no_access.multiple_arbitrary_descriptors#offset_view_zero_dynamic_nonzero

A number of similar tests are already excluded.

Bug: b/72828206
Test: mustpass change only
Change-Id: I0c07a924d86113e8d80a41339937e8675d643bc0

6 years agoGLES2/3: error on declarations with unspecified precision
Kai Ninomiya [Wed, 31 Jan 2018 23:42:43 +0000 (15:42 -0800)]
GLES2/3: error on declarations with unspecified precision

As specified:
  The fragment language has no default precision qualifier for floating
  point types. Hence for float, floating point vector and matrix
  variable declarations, either the declaration must include a precision
  qualifier or the default float precision must have been previously
  declared.
[GLSL ES 1.00 r17, section 4.5.3 (p36)]
[GLSL ES 3.00 r6, section 4.5.4 (p56)]
  Similarly, there is no default precision qualifier for the following
  sampler types in either the vertex or fragment language: (...)
[GLSL ES 3.00 r6, section 4.5.4 (p56)]

New tests:
  dEQP-GLES2.functional.shaders.declarations.unspecified_precision.*
  dEQP-GLES3.functional.shaders.declarations.unspecified_precision.*
Components: AOSP

Change-Id: Ic649556c73c83ba5f31125d25baf4c1c44fcf93f

6 years agoRelax ULP requirement for Log/Log2
Jeff Leger [Fri, 12 Jan 2018 20:26:37 +0000 (15:26 -0500)]
Relax ULP requirement for Log/Log2

Relax ULP requirement from 3 to 4 for log/log2.  Implementations
that require 4 ULPs will generate a quality warning.

Affects:
dEQP-GLES3.functional.shaders.builtin_functions.precision.log.highp_vertex.*

Components: Framework, AOSP

Khronos OpenGL/API issue: 57

Change-Id: Ibc910322058ee0d4f0a33e21ba256fffe200b3be

6 years agoAdd new EGL tests for HDR am: fcfa77ea6a am: 3b92d7b7b9
Courtney Goeltzenleuchter [Wed, 31 Jan 2018 17:13:29 +0000 (17:13 +0000)]
Add new EGL tests for HDR am: fcfa77ea6a am: 3b92d7b7b9
am: d1957b9d94

Change-Id: I927c198497f370896afe507a6502797c572b71bb

6 years agoAdd support for HDR extension and colorspaces am: d6e50e04c7 am: 520e648b04
Courtney Goeltzenleuchter [Wed, 31 Jan 2018 17:13:16 +0000 (17:13 +0000)]
Add support for HDR extension and colorspaces am: d6e50e04c7 am: 520e648b04
am: 410295d858

Change-Id: I0ec63e0bcb6d7c190d1dd3f5ffe4d25c88c9cc8c

6 years agoAdd new EGL tests for HDR am: fcfa77ea6a
Courtney Goeltzenleuchter [Wed, 31 Jan 2018 17:07:54 +0000 (17:07 +0000)]
Add new EGL tests for HDR am: fcfa77ea6a
am: 3b92d7b7b9

Change-Id: Iab6085255f38a49ace1085b016ef7b4dd71aa866

6 years agoAdd support for HDR extension and colorspaces am: d6e50e04c7
Courtney Goeltzenleuchter [Wed, 31 Jan 2018 17:07:46 +0000 (17:07 +0000)]
Add support for HDR extension and colorspaces am: d6e50e04c7
am: 520e648b04

Change-Id: I7e2069069763bd79ae384706bccc92270b784605

6 years agoAdd new EGL tests for HDR
Courtney Goeltzenleuchter [Wed, 31 Jan 2018 17:05:20 +0000 (17:05 +0000)]
Add new EGL tests for HDR
am: fcfa77ea6a

Change-Id: I998107f8870e9eaac9b3d08817a15cbf8e64146d

6 years agoAdd support for HDR extension and colorspaces
Courtney Goeltzenleuchter [Wed, 31 Jan 2018 17:05:16 +0000 (17:05 +0000)]
Add support for HDR extension and colorspaces
am: d6e50e04c7

Change-Id: I72e959dcb00dba8f2d12f144b8b88c9e379d8209

6 years agoAdd new EGL tests for HDR
Courtney Goeltzenleuchter [Sat, 27 Jan 2018 00:43:28 +0000 (16:43 -0800)]
Add new EGL tests for HDR

Add test that will create a surface with smpte & cta metadata,
verify the metadata with eglQuerySurface, modify the metadata
with eglSurfaceAttrib and verify that data via eglQuerySurface.

Unfortunately, not able to verify actual display behavior.

New Test: dEQP-EGL.functional.hdr_color.8888
Components: AOSP

Change-Id: I88bcd99e1c0ab5ab4236ddbcdd7ec3e7d658d710

6 years agoAdd support for HDR extension and colorspaces
Courtney Goeltzenleuchter [Sat, 27 Jan 2018 00:39:49 +0000 (16:39 -0800)]
Add support for HDR extension and colorspaces

Components: framework

Change-Id: I66ffcdb458fd6ccad768693d96a73c1d31785138

6 years agoGLES3: complex exprs, side effects, short circuits am: 3589064793 am: 045a476f89
Kai Ninomiya [Wed, 31 Jan 2018 00:52:09 +0000 (00:52 +0000)]
GLES3: complex exprs, side effects, short circuits am: 3589064793 am: 045a476f89
am: a438d6a1d0

Change-Id: I58b0090a9dba5525220ec4dabb23eee832ea580f

6 years agoGLES3: complex exprs, side effects, short circuits am: 3589064793
Kai Ninomiya [Wed, 31 Jan 2018 00:49:59 +0000 (00:49 +0000)]
GLES3: complex exprs, side effects, short circuits am: 3589064793
am: 045a476f89

Change-Id: Ieab4db7586cb04ca3f918b5db81d81e4a89715b2

6 years agoGLES3: complex exprs, side effects, short circuits
Kai Ninomiya [Wed, 31 Jan 2018 00:47:30 +0000 (00:47 +0000)]
GLES3: complex exprs, side effects, short circuits
am: 3589064793

Change-Id: I5096bb9096d86eef346107c2a6890d44ad6336b0

6 years agoMerge "Fixes threshold in texture size tests" am: b12117312e am: 01caaa4073
Matthew Netsch [Tue, 30 Jan 2018 22:10:17 +0000 (22:10 +0000)]
Merge "Fixes threshold in texture size tests" am: b12117312e am: 01caaa4073
am: 1d86edd7f9

Change-Id: If41ae8201828f86d76b7191d57c91b4780f91721

6 years agoMerge "Fixes threshold in texture size tests" am: b12117312e
Matthew Netsch [Tue, 30 Jan 2018 21:58:09 +0000 (21:58 +0000)]
Merge "Fixes threshold in texture size tests" am: b12117312e
am: 01caaa4073

Change-Id: I56890a451ae847acd7b7a5dcfc77ec68535614ff

6 years agoMerge "Fixes threshold in texture size tests"
Matthew Netsch [Tue, 30 Jan 2018 21:43:30 +0000 (21:43 +0000)]
Merge "Fixes threshold in texture size tests"
am: b12117312e

Change-Id: Ia62de51fb128ce4f0f562370b202965c46ca40e2

6 years agoGLES3: complex exprs, side effects, short circuits
Kai Ninomiya [Sat, 27 Jan 2018 03:25:26 +0000 (19:25 -0800)]
GLES3: complex exprs, side effects, short circuits

Some of these 8 tests (the 4 that rely on short circuiting) fail on
Nexus6P/7.0 (they were fixed in 8.0 and pass on Pixel2016/8.1):
  https://crbug.com/695685
This is a port from WebGL:
  https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance2/glsl3/array-in-complex-expression.html
  https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance2/glsl3/short-circuiting-in-loop-condition.html
All of those tests are ported just for completeness.

New tests:
  dEQP-GLES3.functional.shaders.arrays.complex_expression.and_short_circuits_vertex
  dEQP-GLES3.functional.shaders.arrays.complex_expression.and_short_circuits_fragment
  dEQP-GLES3.functional.shaders.arrays.complex_expression.or_short_circuits_vertex
  dEQP-GLES3.functional.shaders.arrays.complex_expression.or_short_circuits_fragment
  dEQP-GLES3.functional.shaders.arrays.complex_expression.ternary_only_evaluates_one_operand_vertex
  dEQP-GLES3.functional.shaders.arrays.complex_expression.ternary_only_evaluates_one_operand_fragment
  dEQP-GLES3.functional.shaders.arrays.complex_expression.sequence_side_effects_affecting_compared_array_content_vertex
  dEQP-GLES3.functional.shaders.arrays.complex_expression.sequence_side_effects_affecting_compared_array_content_fragment
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_while_vertex
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_while_fragment
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_for_vertex
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_for_fragment
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_dowhile_vertex
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_dowhile_fragment
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_while_sequence_vertex
  dEQP-GLES3.functional.shaders.loops.custom.short_circuit_in_while_sequence_fragment
Components: AOSP

Change-Id: Ifa5590f91a8b16e1e2ab5ea8531f0d783c61cda4

6 years agoMerge "Fixes threshold in texture size tests"
Treehugger Robot [Tue, 30 Jan 2018 20:22:15 +0000 (20:22 +0000)]
Merge "Fixes threshold in texture size tests"

6 years agoMerge "GLES3: shaders.indexing.moredynamic" am: ce989f2957 am: 5ec5cfd0d8
Kai Ninomiya [Tue, 30 Jan 2018 03:31:44 +0000 (03:31 +0000)]
Merge "GLES3: shaders.indexing.moredynamic" am: ce989f2957 am: 5ec5cfd0d8
am: baa167e3ee

Change-Id: I98c4ee9b8f4d9791960f5b97052d35cce7465746

6 years agoMerge "GLES3: shaders.indexing.moredynamic" am: ce989f2957
Kai Ninomiya [Tue, 30 Jan 2018 03:29:33 +0000 (03:29 +0000)]
Merge "GLES3: shaders.indexing.moredynamic" am: ce989f2957
am: 5ec5cfd0d8

Change-Id: I2869602ed1f4d68704fb77101d9a724d158e3daf

6 years agoMerge "GLES3: shaders.indexing.moredynamic"
Kai Ninomiya [Tue, 30 Jan 2018 03:27:00 +0000 (03:27 +0000)]
Merge "GLES3: shaders.indexing.moredynamic"
am: ce989f2957

Change-Id: I21d07a9ba6e0368270cde9de9e4a3ff381616977

6 years agoMerge "GLES3: shaders.indexing.moredynamic"
Treehugger Robot [Tue, 30 Jan 2018 03:04:39 +0000 (03:04 +0000)]
Merge "GLES3: shaders.indexing.moredynamic"

6 years agoMerge "mustpass: Exclude more tests until we get new 8996/8998 drivers"
TreeHugger Robot [Tue, 30 Jan 2018 02:53:53 +0000 (02:53 +0000)]
Merge "mustpass: Exclude more tests until we get new 8996/8998 drivers"

6 years agomustpass: Exclude more tests until we get new 8996/8998 drivers
Chris Forbes [Tue, 30 Jan 2018 00:49:35 +0000 (16:49 -0800)]
mustpass: Exclude more tests until we get new 8996/8998 drivers

Bug: b/72496590
Bug: b/72495913
Bug: b/72324588
Bug: b/72385186

Test: build mustpass

Change-Id: I02ef4323bff5dd01ae87505ff7aa987160b5ff47

6 years agoGLES2: fix typo in es2fShaderStructTests am: 3c6c878240 am: 5db5568185
Kai Ninomiya [Tue, 30 Jan 2018 00:02:51 +0000 (00:02 +0000)]
GLES2: fix typo in es2fShaderStructTests am: 3c6c878240 am: 5db5568185
am: 850fe17ab4

Change-Id: I36bf032dbc83a8ec89635c6bb72e25f2b2d9d0b1

6 years agoGLES2: fix typo in es2fShaderStructTests am: 3c6c878240
Kai Ninomiya [Mon, 29 Jan 2018 23:58:31 +0000 (23:58 +0000)]
GLES2: fix typo in es2fShaderStructTests am: 3c6c878240
am: 5db5568185

Change-Id: I9ce4ef4751b874c954958d574c8a0553656e98d2

6 years agoGLES2: fix typo in es2fShaderStructTests
Kai Ninomiya [Mon, 29 Jan 2018 23:54:15 +0000 (23:54 +0000)]
GLES2: fix typo in es2fShaderStructTests
am: 3c6c878240

Change-Id: I8397ae5cb2bd60f08b7b69ce1f8cf01b90d1e26c

6 years agoGLES2: fix typo in es2fShaderStructTests
Kai Ninomiya [Mon, 29 Jan 2018 18:55:22 +0000 (10:55 -0800)]
GLES2: fix typo in es2fShaderStructTests

I happened to notice this typo while editing the file. It could cause
some tests to be skipped when they should not be: it skips a case if
(1) the device has no vertex texture image units and
(2) the case uses any flags at all and
(3) the case is a vertex case.

There could be conformance impact from this change.

Affects:
  dEQP-GLES2.functional.shaders.struct.uniform.array_member_dynamic_index_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.struct_array_dynamic_index_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.nested_struct_array_dynamic_index_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.dynamic_loop_struct_array_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.dynamic_loop_nested_struct_array_vertex
Components: AOSP

Change-Id: I5110d6c240938bc58664e7dd5ee2b43e26ceea6e

6 years agoFixes threshold in texture size tests
Matthew Netsch [Tue, 19 Dec 2017 20:45:33 +0000 (12:45 -0800)]
Fixes threshold in texture size tests

Threshold was computed directly from backbuffer format.
This makes the threshold too strict if the texture
sampled from has a lower bit-depth than the backbuffer.

This change takes the minimium bit depth between the
backbuffer and texture to compute the threshold.

Components: OpenGL ES
VK-GL-CTS issue: 163

Affects:
dEQP-GLES2.functional.texture.size.*
dEQP-GLES3.functional.texture.size.*

Change-Id: Id491ff4ef1b958459156fe83d9d5099cf81de81e

6 years agoGLES2: uniform struct{sampler} as a function arg am: ad69c848f7 am: cbc2c06d6b
Kai Ninomiya [Mon, 29 Jan 2018 20:48:38 +0000 (20:48 +0000)]
GLES2: uniform struct{sampler} as a function arg am: ad69c848f7 am: cbc2c06d6b
am: de6872c279

Change-Id: I74ece893d1b668dfdf6e89cfa885754ef6ee3e49

6 years agoGLES2: uniform struct{sampler} as a function arg am: ad69c848f7
Kai Ninomiya [Mon, 29 Jan 2018 20:46:32 +0000 (20:46 +0000)]
GLES2: uniform struct{sampler} as a function arg am: ad69c848f7
am: cbc2c06d6b

Change-Id: I6c6dc559fd0444869764d88bf340c7e7f421dd71

6 years agoGLES2: uniform struct{sampler} as a function arg
Kai Ninomiya [Mon, 29 Jan 2018 20:43:59 +0000 (20:43 +0000)]
GLES2: uniform struct{sampler} as a function arg
am: ad69c848f7

Change-Id: I0e3a13ffb51707733912a12b93314ec5a00a49e8

6 years agoGLES2: uniform struct{sampler} as a function arg
Kai Ninomiya [Sat, 27 Jan 2018 02:38:36 +0000 (18:38 -0800)]
GLES2: uniform struct{sampler} as a function arg

(Some of?) these tests failed on Pixel2016/7.0 (they were
fixed in 8.0 and pass on Pixel2016/8.1):
  https://crbug.com/695680
This is a port from WebGL:
  https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance/glsl/bugs/sampler-struct-function-arg.html

New tests:
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_function_arg_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_function_arg_fragment
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_array_function_arg_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_array_function_arg_fragment
Components: AOSP

Change-Id: Ic71a7969c9bcf481c12b95a99e6379cfec659a8e

6 years agoGLES3: shaders.indexing.moredynamic
Kai Ninomiya [Sat, 27 Jan 2018 21:06:00 +0000 (13:06 -0800)]
GLES3: shaders.indexing.moredynamic

Many of these tests failed on Pixel2016/7.0 and Nexus6P/7.0. (They were
fixed in Pixel2016/8.0.):
  https://crbug.com/695689
This is a port from WebGL:
  https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance2/glsl3/vector-dynamic-indexing.html

New tests: dEQP-GLES3.functional.shaders.indexing.moredynamic.*
Components: AOSP
Change-Id: I0b3d738e374c68eebb5cfca1cf9ce5d1c265237b

6 years agoGLES2: sequence operator (,) eval order and side effects am: 073a0ffc99 am: 4755546e86
Kai Ninomiya [Sat, 27 Jan 2018 03:57:18 +0000 (03:57 +0000)]
GLES2: sequence operator (,) eval order and side effects am: 073a0ffc99 am: 4755546e86
am: f0a4b07362

Change-Id: Ia68495c4716ec887b9ceebe222c404a02b1fac6a

6 years agoGLES2: sequence operator (,) eval order and side effects am: 073a0ffc99
Kai Ninomiya [Sat, 27 Jan 2018 03:54:04 +0000 (03:54 +0000)]
GLES2: sequence operator (,) eval order and side effects am: 073a0ffc99
am: 4755546e86

Change-Id: I48e787d327612df3d894d9f39ca17b46d63b0183

6 years agoGLES2: sequence operator (,) eval order and side effects
Kai Ninomiya [Sat, 27 Jan 2018 03:52:08 +0000 (03:52 +0000)]
GLES2: sequence operator (,) eval order and side effects
am: 073a0ffc99

Change-Id: Idfa309085b6573838072790386573084b5a50a57

6 years agoGLES2: sequence operator (,) eval order and side effects
Kai Ninomiya [Sat, 27 Jan 2018 00:02:25 +0000 (16:02 -0800)]
GLES2: sequence operator (,) eval order and side effects

Ported from:
https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance/glsl/bugs/sequence-operator-evaluation-order.html
Which was added in:
https://github.com/KhronosGroup/WebGL/pull/981
https://github.com/KhronosGroup/WebGL/pull/1932

These tests were known to fail in on Pixel 2016 / Android 7.1.1.

New tests:
  dEQP-GLES2.functional.shaders.operator.sequence.side_effects.affect_ternary
  dEQP-GLES2.functional.shaders.operator.sequence.side_effects.affect_and
  dEQP-GLES2.functional.shaders.operator.sequence.side_effects.affect_or
Components: AOSP

Change-Id: I7bbcaecc08279df6f30b6855cc99b19b402892c7

6 years agoMerge "GLES3 tests for equality of structs with array members" am: fc76a6f2b1 am...
Chris Forbes [Fri, 26 Jan 2018 19:58:54 +0000 (19:58 +0000)]
Merge "GLES3 tests for equality of structs with array members" am: fc76a6f2b1 am: 2fe7b09918
am: 6d6ce7d1c3

Change-Id: Ie489b5f413b75816c1de4f542d292966ea0b1796

6 years agoMerge "GLES3 tests for equality of structs with array members" am: fc76a6f2b1
Chris Forbes [Fri, 26 Jan 2018 19:44:01 +0000 (19:44 +0000)]
Merge "GLES3 tests for equality of structs with array members" am: fc76a6f2b1
am: 2fe7b09918

Change-Id: I31060af09bdace6b904d15ed3a64d66aa5377d8c

6 years agoMerge "GLES3 tests for equality of structs with array members"
Chris Forbes [Fri, 26 Jan 2018 19:30:54 +0000 (19:30 +0000)]
Merge "GLES3 tests for equality of structs with array members"
am: fc76a6f2b1

Change-Id: I34c82aef8ce9e77a07441e898fb2db0d4a000f37

6 years agoMerge "GLES3 tests for equality of structs with array members"
Chris Forbes [Fri, 26 Jan 2018 19:00:13 +0000 (19:00 +0000)]
Merge "GLES3 tests for equality of structs with array members"

6 years agoMerge "Fix using representable texture channel ranges." am: b845c09634 am: cfbb21d06c
Nicolas Capens [Fri, 26 Jan 2018 04:03:04 +0000 (04:03 +0000)]
Merge "Fix using representable texture channel ranges." am: b845c09634 am: cfbb21d06c
am: 071732be40

Change-Id: I0abf6e83a2d002eefe62918a43521a7a750b98c3

6 years agoMerge "Fix using representable texture channel ranges." am: b845c09634
Nicolas Capens [Fri, 26 Jan 2018 03:53:41 +0000 (03:53 +0000)]
Merge "Fix using representable texture channel ranges." am: b845c09634
am: cfbb21d06c

Change-Id: I5542fbffe67b328f24b32aa8f9c990395bb51b03

6 years agoMerge "Fix using representable texture channel ranges."
Nicolas Capens [Fri, 26 Jan 2018 03:44:20 +0000 (03:44 +0000)]
Merge "Fix using representable texture channel ranges."
am: b845c09634

Change-Id: I2124ea6f2a1f3c889f25d1f5f76191d183afe036

6 years agoMerge "Fix using representable texture channel ranges."
Treehugger Robot [Fri, 26 Jan 2018 03:36:57 +0000 (03:36 +0000)]
Merge "Fix using representable texture channel ranges."

6 years agoMerge "Tolerate flush/finish test assumption failures." am: b821430a47 am: 686f9a59dc
Nicolas Capens [Fri, 26 Jan 2018 02:01:43 +0000 (02:01 +0000)]
Merge "Tolerate flush/finish test assumption failures." am: b821430a47 am: 686f9a59dc
am: 22fa1270d3

Change-Id: Id10dda77bcdc68801979ec69594035ae43dbd24e

6 years agoMerge "Tolerate flush/finish test assumption failures." am: b821430a47
Nicolas Capens [Thu, 25 Jan 2018 23:49:10 +0000 (23:49 +0000)]
Merge "Tolerate flush/finish test assumption failures." am: b821430a47
am: 686f9a59dc

Change-Id: I3e5cd0b3c719d0c18cc58b81ae82eb5b24aaa633

6 years agoMerge "Tolerate flush/finish test assumption failures."
Nicolas Capens [Thu, 25 Jan 2018 23:46:13 +0000 (23:46 +0000)]
Merge "Tolerate flush/finish test assumption failures."
am: b821430a47

Change-Id: I319da491080e82250693a32a72ab0d3c5c318aa6