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

6 years agoMerge "Tolerate flush/finish test assumption failures."
Treehugger Robot [Thu, 25 Jan 2018 23:26:38 +0000 (23:26 +0000)]
Merge "Tolerate flush/finish test assumption failures."

6 years agoGLES3 tests for equality of structs with array members
Kai Ninomiya [Thu, 25 Jan 2018 02:41:55 +0000 (18:41 -0800)]
GLES3 tests for equality of structs with array members

The new test case adds regression coverage for the Qualcomm driver
shader compiler crash seen in Android N:
https://crbug.com/695687
It is a port of this WebGL test case:
https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance2/glsl3/compare-structs-containing-arrays.html

New tests: dEQP-GLES3.functional.shaders.struct.local.array_member_equality_vertex, dEQP-GLES3.functional.shaders.struct.local.array_member_equality_fragment
Components: AOSP
Change-Id: Ie130439f80fddb081fb36db02c24a9e18f5c4bca

6 years agoTolerate flush/finish test assumption failures.
Nicolas Capens [Thu, 25 Jan 2018 16:58:26 +0000 (16:58 +0000)]
Tolerate flush/finish test assumption failures.

These tests assume that draw calls are queued up until they're forced
to be executed by a ReadPixels, Flush, or Finish call. The spec does
not require this, and implementations are free to eagerly start
execution of draw calls.

Thus this change reports a CompatibilityWarning if the assumption isn't
met, instead of a Failure.

Google bug: b/71858368
Components: AOSP
Tests: dEQP-GLES2.functional.flush_finish,
dEQP-GLES3.functional.flush_finish

6 years agoMerge "Test glRenderbufferStorage with unsized depth format" am: eff5df467e am: 76e4c...
Nicolas Capens [Wed, 24 Jan 2018 13:49:00 +0000 (13:49 +0000)]
Merge "Test glRenderbufferStorage with unsized depth format" am: eff5df467e am: 76e4c6c75d
am: 7a9740c3ac

Change-Id: Ia720958ce336f62cee959bfe2e5fb96b164dcc1a

6 years agoMerge "Test glRenderbufferStorage with unsized depth format" am: eff5df467e
Nicolas Capens [Wed, 24 Jan 2018 13:46:36 +0000 (13:46 +0000)]
Merge "Test glRenderbufferStorage with unsized depth format" am: eff5df467e
am: 76e4c6c75d

Change-Id: I120b2c7ee7c0c9020e3dde75bb4ce9aa62d8e554

6 years agoMerge "Test glRenderbufferStorage with unsized depth format"
Nicolas Capens [Wed, 24 Jan 2018 13:40:05 +0000 (13:40 +0000)]
Merge "Test glRenderbufferStorage with unsized depth format"
am: eff5df467e

Change-Id: I51ed332c33fcfeb80300da859553ddce1218bac0

6 years agoMerge "Test glRenderbufferStorage with unsized depth format"
Treehugger Robot [Wed, 24 Jan 2018 13:29:22 +0000 (13:29 +0000)]
Merge "Test glRenderbufferStorage with unsized depth format"

6 years agoMerge changes from topic "VulkanCTS-v1-1-0-2"
Ian Elliott [Wed, 24 Jan 2018 06:52:14 +0000 (06:52 +0000)]
Merge changes from topic "VulkanCTS-v1-1-0-2"

* changes:
  Temporarily exclude test cases until new Vulkan 1.1 drivers
  Build prebuilts for HLSL shaders
  Merge tag 'vulkan-cts-1.1.0.2' into VulkanCTS-v1-1-0-2

6 years agoTest that points are clamped to ALIASED_POINT_SIZE_RANGE am: b2931a8957 am: 5293573893
Kai Ninomiya [Wed, 24 Jan 2018 05:27:02 +0000 (05:27 +0000)]
Test that points are clamped to ALIASED_POINT_SIZE_RANGE am: b2931a8957 am: 5293573893
am: 18370e9bf9

Change-Id: Ie2926d2347f76a077a8c10b38bc50b1d469c6e60

6 years agoTest that points are clamped to ALIASED_POINT_SIZE_RANGE am: b2931a8957
Kai Ninomiya [Wed, 24 Jan 2018 05:24:29 +0000 (05:24 +0000)]
Test that points are clamped to ALIASED_POINT_SIZE_RANGE am: b2931a8957
am: 5293573893

Change-Id: Ia4b123ce46ab8e1187217c62ea66134fa43c4e87

6 years agoTest that points are clamped to ALIASED_POINT_SIZE_RANGE
Kai Ninomiya [Wed, 24 Jan 2018 05:22:58 +0000 (05:22 +0000)]
Test that points are clamped to ALIASED_POINT_SIZE_RANGE
am: b2931a8957

Change-Id: I8a6f2916eb20800d000f08a632351f80de1527a8

6 years agoTest that points are clamped to ALIASED_POINT_SIZE_RANGE
Kai Ninomiya [Tue, 23 Jan 2018 23:28:27 +0000 (15:28 -0800)]
Test that points are clamped to ALIASED_POINT_SIZE_RANGE

This test verifies that the point size written to gl_PointSize is
clipped to the range ALIASED_POINT_SIZE_RANGE before rasterization.

See also: http://crbug.com/740560
In particular this comment: http://crbug.com/740560#c27

New tests: dEQP-GLES2.functional.rasterization.limits.points
Components: AOSP
Change-Id: I98708ebece4be9c2bce3c7ba3b57454aec657cce

6 years agoTest glRenderbufferStorage with unsized depth format
Nicolas Capens [Tue, 23 Jan 2018 23:16:39 +0000 (23:16 +0000)]
Test glRenderbufferStorage with unsized depth format

The OpenGL ES 2.0 specification only supports formats from Table 4.5,
which are all sized internal formats, while ES 3.0 explicitly states
that "<internalformat> must be a sized internal format".

A color format (GL_RGBA) was already being negatively tested for, but
not a depth format.

6 years agoHandle unsupported no_config contexts
Mark Adams [Fri, 12 Jan 2018 21:21:00 +0000 (16:21 -0500)]
Handle unsupported no_config contexts

EGL_KHR_no_config_context doesn't mandate support for ES 1.1 or
for GL versions prior to 3.0. Update the test to handle
optional support, and also update the GL version to 3.0 in order
to test a case which is expected to work.

Bug: b/72041864
Components: AOSP

Test: dEQP-EGL.functional.create_context.no_config

Change-Id: Ibe7856000c67326fe23cd024435290fba536d127

6 years agoTemporarily exclude test cases until new Vulkan 1.1 drivers
Ian Elliott [Thu, 18 Jan 2018 22:06:38 +0000 (15:06 -0700)]
Temporarily exclude test cases until new Vulkan 1.1 drivers

Test: Run cts-tradefed with current drivers
Change-Id: Id35b87e00b0b364dd72c871acb03fe28878ac86d

6 years agoMerge "Port WebGL multisampled renderbuffer resize test" am: a73c1d9300 am: 9dac780829
Kai Ninomiya [Sat, 20 Jan 2018 03:10:12 +0000 (03:10 +0000)]
Merge "Port WebGL multisampled renderbuffer resize test" am: a73c1d9300 am: 9dac780829
am: 6bc6d69510

Change-Id: I6b030c4ca24ddea070812e5e917bced122eb942f

6 years agoMerge "Port WebGL multisampled renderbuffer resize test" am: a73c1d9300
Kai Ninomiya [Sat, 20 Jan 2018 03:07:39 +0000 (03:07 +0000)]
Merge "Port WebGL multisampled renderbuffer resize test" am: a73c1d9300
am: 9dac780829

Change-Id: I6a16b709c0fccdb87a8c13cc33d9583819cc826a

6 years agoMerge "Port WebGL multisampled renderbuffer resize test"
Kai Ninomiya [Sat, 20 Jan 2018 03:05:38 +0000 (03:05 +0000)]
Merge "Port WebGL multisampled renderbuffer resize test"
am: a73c1d9300

Change-Id: Ic8e82d353fce2a664eab902649d72159974e3895

6 years agoMerge "Port WebGL multisampled renderbuffer resize test"
Treehugger Robot [Sat, 20 Jan 2018 03:01:01 +0000 (03:01 +0000)]
Merge "Port WebGL multisampled renderbuffer resize test"

6 years agoBuild prebuilts for HLSL shaders
Chris Forbes [Wed, 10 Jan 2018 19:42:41 +0000 (11:42 -0800)]
Build prebuilts for HLSL shaders

Previously these prebuilts would be missing, causing all the HLSL tests
to fail when run via the Android CTS integration which relies on them.

VK-GL-CTS Issue: 939

Test: Prebuild shaders and run dEQP via cts-tradefed
Change-Id: Ib69f884818ea24692222cc74d8b69b0e0bcb465d
Components: Vulkan
Affects: dEQP-VK.*hlsl*

6 years agoMerge tag 'vulkan-cts-1.1.0.2' into VulkanCTS-v1-1-0-2
Chris Forbes [Fri, 19 Jan 2018 20:19:21 +0000 (12:19 -0800)]
Merge tag 'vulkan-cts-1.1.0.2' into VulkanCTS-v1-1-0-2

Vulkan CTS 1.1.0.2

Improvements:
 * Print extra information for get_physical_device_properties2
 * Add contextSupports functions

Fixes:
 * Round up vertex buffer size to stride multiple to fix OOB attribute reads
 * Do not use depthClampEnable unconditionally.
 * Fixed double type declarations and invalid OpUConvert usage.
 * Fix image layout transitions for peer Image
 * Fix subgroup tests error message
 * Trigger the fence off vkQueueSubmit
 * Add missing barrier to texel_view_compatible tests
 * YCbCr image views need a VkSamplerYcbcrConversionInfo
 * gl_PrimitiveIDIn tests have sketchy loop bounds.
 * Avoid watchdog timeout in Vulkan builtin precision tests

Test: Run Vulkan 1.1 dEQP with cts-tradefed
Change-Id: Ib19880dcd661387583bd9daa17d972bcdca02ca4

6 years agoSuppress new warnings from gcc-6 am: 9a58d041fe am: fd34041ed0 am: 7d5a16bb55 am...
Chris Forbes [Sat, 20 Jan 2018 00:59:58 +0000 (00:59 +0000)]
Suppress new warnings from gcc-6 am: 9a58d041fe am: fd34041ed0 am: 7d5a16bb55 am: 6f0a21389d
am: c5e2367a36

Change-Id: I67d5e90f17304541cf4416eb586f8531ac27b114