platform/upstream/VK-GL-CTS.git
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
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: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"
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
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"
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 "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 "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 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 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
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
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"
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"
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 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
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
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"
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."
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."
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"
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 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 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 agoSuppress new warnings from gcc-6 am: 9a58d041fe am: fd34041ed0
Chris Forbes [Sat, 20 Jan 2018 00:54:20 +0000 (00:54 +0000)]
Suppress new warnings from gcc-6 am: 9a58d041fe am: fd34041ed0
am: 7d5a16bb55

Change-Id: If9065cd6d94a08fcd6e46868fd0bd038291af83f

6 years agoSuppress new warnings from gcc-6 am: 9a58d041fe
Chris Forbes [Sat, 20 Jan 2018 00:46:18 +0000 (00:46 +0000)]
Suppress new warnings from gcc-6 am: 9a58d041fe
am: fd34041ed0

Change-Id: I0b9eca4091dc271141027d68a6a46d58937e56ac

6 years agoSuppress new warnings from gcc-6
Chris Forbes [Sat, 20 Jan 2018 00:43:46 +0000 (00:43 +0000)]
Suppress new warnings from gcc-6
am: 9a58d041fe

Change-Id: I176dd24b363db336f4f42f8d8c2c5aebb2632dcb

6 years agoSuppress new warnings from gcc-6
Chris Forbes [Fri, 19 Jan 2018 18:06:53 +0000 (10:06 -0800)]
Suppress new warnings from gcc-6

check_build_sanity currently fails with the system gcc on rodete. Let's
just suppress this warning for now. Intend to back out the suppression
and fix the warnings in next release.

Bug: b/72219443
Test: build
Change-Id: Ic842a3de3d247d53c49117562b51e8eece3752f9

6 years agoPort WebGL multisampled renderbuffer resize test
Kai Ninomiya [Tue, 9 Jan 2018 18:59:09 +0000 (10:59 -0800)]
Port WebGL multisampled renderbuffer resize test

Port a WebGL test for a driver bug affecting resizing/reallocation
of multisampled renderbuffers on Qualcomm drivers:
* conformance2/renderbuffers/multisampled-renderbuffer-initialization.html

New tests: dEQP-GLES3.functional.fbo.msaa.renderbuffer_resize.*
Components: AOSP
Change-Id: Ib4377eaf35c1d4b5f431cd433e06301003966d54

6 years agoMerge "Update owners file" into oreo-mr1-cts-dev am: 2797a75d5d
Mika Isojärvi [Wed, 17 Jan 2018 22:41:13 +0000 (22:41 +0000)]
Merge "Update owners file" into oreo-mr1-cts-dev am: 2797a75d5d
am: d478affed3

Change-Id: I0ceba22258c7665856fd17175c84ed8ac34a6bbd

6 years agoModify compute shader grid setup. am: a7c3d75202
Anders Frostad Pedersen [Wed, 17 Jan 2018 22:40:59 +0000 (22:40 +0000)]
Modify compute shader grid setup. am: a7c3d75202
am: a792af73ad

Change-Id: Ie0d8991f931ffe2f9574d3ea73806b81c543926e

6 years agoMerge "Update owners file" into oreo-mr1-cts-dev
Mika Isojärvi [Wed, 17 Jan 2018 22:35:33 +0000 (22:35 +0000)]
Merge "Update owners file" into oreo-mr1-cts-dev
am: 2797a75d5d

Change-Id: I1245c8ed48b7d9fd4f41a57bf52a66c58d4edf7c

6 years agoModify compute shader grid setup.
Anders Frostad Pedersen [Wed, 17 Jan 2018 22:30:57 +0000 (22:30 +0000)]
Modify compute shader grid setup.
am: a7c3d75202

Change-Id: Id377bb796299a4a37df027ef522494b5e7590723

6 years agoMerge "Update owners file" into oreo-mr1-cts-dev
Treehugger Robot [Wed, 17 Jan 2018 22:30:54 +0000 (22:30 +0000)]
Merge "Update owners file" into oreo-mr1-cts-dev

6 years agoMerge "Accept EGL_BAD_PARAMETER for eglCreatePixmapSurface negative test"
asagarwal [Wed, 17 Jan 2018 21:38:21 +0000 (21:38 +0000)]
Merge "Accept EGL_BAD_PARAMETER for eglCreatePixmapSurface negative test"
am: aff54309fc

Change-Id: I903b320d225df76c4d75442956003011280847a3

6 years agoMerge "Accept EGL_BAD_PARAMETER for eglCreatePixmapSurface negative test"
Treehugger Robot [Wed, 17 Jan 2018 21:31:35 +0000 (21:31 +0000)]
Merge "Accept EGL_BAD_PARAMETER for eglCreatePixmapSurface negative test"

6 years agoUpdate owners file
Mika Isojärvi [Thu, 28 Sep 2017 17:25:24 +0000 (10:25 -0700)]
Update owners file

Bug: 72113298
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I117459d91f39055aaa5f0bc6abfbda32f31cdab2
(cherry picked from commit 412471299c0fac5cb5af37fcdeadbf39a4a36744)

6 years agoMerge changes from topic "tests-dropped-from-o"
Chris Forbes [Wed, 17 Jan 2018 20:34:00 +0000 (20:34 +0000)]
Merge changes from topic "tests-dropped-from-o"
am: a4ce935b02

Change-Id: Ia85d5ba6176e6ddefdb8925e7cfc760695a8b0a2

6 years agoModify compute shader grid setup.
Anders Frostad Pedersen [Wed, 17 Jan 2018 11:05:45 +0000 (12:05 +0100)]
Modify compute shader grid setup.

Modify how the grid is set up for compute shader draw indirect test,
in order to avoid verfication failures due to difference in
floating-point computations on the CPU vs the GPU.

The existing code assumes infinite FP precision.

This change will guarantee the next value of pos(X) to be equal to
the first value of pos(X+1), avoiding gaps/discontinuities.

Affects:
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_1
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_1000x1000_drawcount_8
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_1
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_5000
dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_1000x1000_drawcount_8

Bug: 71515808
Change-Id: I21fe8ec9ea48b15f6171265df802bc47be775f56

6 years agoMerge changes from topic "tests-dropped-from-o"
Chris Forbes [Wed, 17 Jan 2018 19:35:50 +0000 (19:35 +0000)]
Merge changes from topic "tests-dropped-from-o"

* changes:
  Reinstate excluded UBO tests
  Reinstate dEQP-VK.image.mutable.*

6 years agoMerge changes from topic "multiview"
Philip Rideout [Tue, 16 Jan 2018 20:05:39 +0000 (20:05 +0000)]
Merge changes from topic "multiview"
am: cbc74ae174

Change-Id: I1a1e3f85f1d8373ec30ce0c1fbb1c5f726ba5223

6 years agoMerge changes from topic "multiview"
Treehugger Robot [Tue, 16 Jan 2018 19:08:18 +0000 (19:08 +0000)]
Merge changes from topic "multiview"

* changes:
  Add preliminary dEQP multiview test.
  Add multiview entry points to GL wrappers.

6 years agoLimit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e...
Pyry Haulos [Sat, 13 Jan 2018 00:41:19 +0000 (00:41 +0000)]
Limit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e am: fe861b61a5 am: 8d3d9ceddb
am: cf839197ca

Change-Id: I6dca2adb743d2b01e26368c751bdd9dc52db1dfb

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf...
Mika Isojrvi [Sat, 13 Jan 2018 00:41:08 +0000 (00:41 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf  -s ours am: 346da766ee am: 40f1c9ad64
am: 6b9f336340

Change-Id: Ibd008af258542db886e60cb4b440394cc1696718

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Sat, 13 Jan 2018 00:40:58 +0000 (00:40 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17  -s ours am: 1883d6ef48 am: 225bb3c908
am: 81b4c18ba8

Change-Id: I757ae460f4317cd5eebbce9abd93d40033925180

6 years agoLimit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e...
Pyry Haulos [Sat, 13 Jan 2018 00:10:10 +0000 (00:10 +0000)]
Limit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e am: fe861b61a5
am: 8d3d9ceddb

Change-Id: Ifa3b4bdebfc75dd273119a117fc9bfe131a60c2f

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf...
Mika Isojrvi [Sat, 13 Jan 2018 00:10:00 +0000 (00:10 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf  -s ours am: 346da766ee
am: 40f1c9ad64

Change-Id: I39c3d0f7df1cb3da09e1758d9716c599ffad8cdd

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Sat, 13 Jan 2018 00:09:51 +0000 (00:09 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17  -s ours am: 1883d6ef48
am: 225bb3c908

Change-Id: I1ef89fe87aaa220a66cfa26008a06bda04295862

6 years agoLimit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e
Pyry Haulos [Sat, 13 Jan 2018 00:04:17 +0000 (00:04 +0000)]
Limit maximum allocation size in memory mapping tests am: adff582b50 am: 71ef361f3e
am: fe861b61a5

Change-Id: Id7e2ade9ceaad34bee00b2b36bfde50ca2492dd5

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf...
Mika Isojrvi [Sat, 13 Jan 2018 00:04:00 +0000 (00:04 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52 am: b1f38f97cf  -s ours
am: 346da766ee

Change-Id: Iece2a8d3c40b646e982008d82f40b16dfdbf94ca

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17...
Mika Isojrvi [Sat, 13 Jan 2018 00:03:38 +0000 (00:03 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c am: b2dcf86f17  -s ours
am: 1883d6ef48

Change-Id: I9f6246177cc3651b84370fedd7f48fd9dddf1f94

6 years agoLimit maximum allocation size in memory mapping tests am: adff582b50
Pyry Haulos [Fri, 12 Jan 2018 23:57:24 +0000 (23:57 +0000)]
Limit maximum allocation size in memory mapping tests am: adff582b50
am: 71ef361f3e

Change-Id: I138e6025b0cfb77ffd8197b796e32b06011cbc8a

6 years agoImprove memory tracking in vulkan memory mapping tests am: 3a8ec35d52
Mika Isojrvi [Fri, 12 Jan 2018 23:57:09 +0000 (23:57 +0000)]
Improve memory tracking in vulkan memory mapping tests am: 3a8ec35d52
am: b1f38f97cf  -s ours

Change-Id: I8fc045601456dd0b8d0026c4e70db43cf4998886

6 years agoOptimize random memory mapping tests reference memory am: 7e69d67a2c
Mika Isojrvi [Fri, 12 Jan 2018 23:56:55 +0000 (23:56 +0000)]
Optimize random memory mapping tests reference memory am: 7e69d67a2c
am: b2dcf86f17  -s ours

Change-Id: Iaa15b3997481353a88aef19cdde4348ae2cc3f75

6 years agoLimit maximum allocation size in memory mapping tests
Pyry Haulos [Fri, 12 Jan 2018 22:57:15 +0000 (22:57 +0000)]
Limit maximum allocation size in memory mapping tests
am: adff582b50

Change-Id: Iff465c2be4d7c27702036f8f060a458c55830732

6 years agoImprove memory tracking in vulkan memory mapping tests
Mika Isojrvi [Fri, 12 Jan 2018 22:57:12 +0000 (22:57 +0000)]
Improve memory tracking in vulkan memory mapping tests
am: 3a8ec35d52

Change-Id: I54613d0c408d80a65cc175e86495d0ffd4c650b5

6 years agoOptimize random memory mapping tests reference memory
Mika Isojrvi [Fri, 12 Jan 2018 22:57:10 +0000 (22:57 +0000)]
Optimize random memory mapping tests reference memory
am: 7e69d67a2c

Change-Id: I2c91c3720102d1c4c949bf19a2b6af51c59581f1

6 years agoAdd preliminary dEQP multiview test.
Philip Rideout [Wed, 20 Dec 2017 23:52:51 +0000 (15:52 -0800)]
Add preliminary dEQP multiview test.

This is a pretty basic test of multiview, we'll be enhancing the test
in the near future to provide coverage for additional texture formats.

Test: Passes on Pixel 2 hardware, ran dEQP with --deqp-case=dEQP-GLES3.functional.multiview.*
Change-Id: I16e855641da04e3a09e54d82808f1034e87bc4fc
Component: AOSP

6 years agoMultiple draw buffers in blend_equation_advanced am: 123de4f307 am: ddd1655bf6
Mark Adams [Fri, 12 Jan 2018 22:03:57 +0000 (22:03 +0000)]
Multiple draw buffers in blend_equation_advanced am: 123de4f307 am: ddd1655bf6
am: 99cea239f4

Change-Id: I06b91641fc9014c2ac7dbe9f953953973a1656d8

6 years agoMultiple draw buffers in blend_equation_advanced am: 123de4f307
Mark Adams [Fri, 12 Jan 2018 21:50:30 +0000 (21:50 +0000)]
Multiple draw buffers in blend_equation_advanced am: 123de4f307
am: ddd1655bf6

Change-Id: I73797808261dc6a3b0522ee103fa5e44eb97eb4c

6 years agoMultiple draw buffers in blend_equation_advanced
Mark Adams [Fri, 12 Jan 2018 21:44:17 +0000 (21:44 +0000)]
Multiple draw buffers in blend_equation_advanced
am: 123de4f307

Change-Id: I1ce06acaa4f5f725097bcc248b7dbdf048bac61e

6 years agoReinstate excluded UBO tests
Chris Forbes [Fri, 12 Jan 2018 19:34:00 +0000 (11:34 -0800)]
Reinstate excluded UBO tests

These were excluded in O CTS because of an inadvertent shader codegen
change. Reinstate the tests for the next version.

Bug: b/71902667
Test: check_build_sanity
Change-Id: I58dd09d7d7d43081f27287bfa51d7f63d6b1e51b
Affects: dEQP-VK.ubo.random.*

6 years agoMultiple draw buffers in blend_equation_advanced
Mark Adams [Fri, 20 Oct 2017 13:49:08 +0000 (09:49 -0400)]
Multiple draw buffers in blend_equation_advanced

GL_NVX_blend_equation_advanced_multi_draw_buffers adds support for
multiple draw buffers with advanced blend equations. This change
modifies the below test to check for this extension and to expect
GL_NO_ERROR if it is present.

Components: AOSP

VK-GL-CTS issue: 770
Bug: b/71901344

Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.advanced_blend.attachment_advanced_equation
(cherry picked from commit 2cb35a235c1a7bd3c63b296c37e186eec34e08e2)

Change-Id: I865fa30e527b5899197bade465602bafc92a54a1

6 years agoReinstate dEQP-VK.image.mutable.*
Chris Forbes [Fri, 12 Jan 2018 18:48:00 +0000 (10:48 -0800)]
Reinstate dEQP-VK.image.mutable.*

These were pulled from the O CTS because they were introduced in a minor
1.0.2.x release. They can now be reinstated.

Bug: b/65845002
Test: check_build_sanity
Change-Id: Icaf0e6073abda5d00f2b6e994bef3fffc31a1cda

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3...
Jeff Leger [Fri, 12 Jan 2018 02:38:44 +0000 (02:38 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d am: d9b0dd51d2
am: b77437eac1

Change-Id: Ia33c8df0576ce7eddd8d338ceee85cd9ff14a59a

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d
Jeff Leger [Fri, 12 Jan 2018 01:35:31 +0000 (01:35 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d
am: d9b0dd51d2

Change-Id: Iddae106a643abc1cae3a66877bc6f32126ea5781

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
Jeff Leger [Fri, 12 Jan 2018 01:31:43 +0000 (01:31 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
am: 4c26442e3d

Change-Id: I32a3a35837be16886acebd28e30ccdadffa73811

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
Treehugger Robot [Fri, 12 Jan 2018 01:10:31 +0000 (01:10 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb...
Chris Forbes [Thu, 11 Jan 2018 22:49:45 +0000 (22:49 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb am: 65715b7354
am: 01ef881911

Change-Id: I8aebeed9d98e4b29d4de1d761a6164c7389abb91

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb
Chris Forbes [Thu, 11 Jan 2018 22:32:16 +0000 (22:32 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb
am: 65715b7354

Change-Id: I7530fe8d79d43fb5a269347cd302709c7498b764

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware
Chris Forbes [Thu, 11 Jan 2018 22:22:49 +0000 (22:22 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware
am: 0d9250e9eb

Change-Id: If675c974a2389787e53d2d618509ca81a48990d9

6 years agoAdd multiview entry points to GL wrappers.
Philip Rideout [Wed, 20 Dec 2017 21:38:17 +0000 (13:38 -0800)]
Add multiview entry points to GL wrappers.

Prepare for upcoming multiview conformance tests.

Change-Id: Ie3d8bbb4ae747e90c4f3e4a9632ebc4e5a085d00
Test: Built dEQP along with a pending change that tests multiview.
Components: Framework

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware
Chris Forbes [Thu, 21 Dec 2017 18:22:58 +0000 (10:22 -0800)]
glshared: Add watchdog touches to avoid timeouts on slow hardware

Based on diffs posted to deqp-external-requests

Bug: b/71753331
Bug: b/67854695

Change-Id: Id25e334814caf65f72b76e66d3b07fccba5ad355
Component: AOSP

6 years agoFix using representable texture channel ranges.
Nicolas Capens [Mon, 8 Jan 2018 21:49:05 +0000 (16:49 -0500)]
Fix using representable texture channel ranges.

A value of 4294967295 (2^32 - 1) is not exactly representable in
IEEE-754 single-precision floating-point format, and so it gets rounded
to the next representable value, which is 4294967296. However, this
value can't be cast to an unsigned 32-bit integer without overflowing.

GLSL does not define what happens on overflow, and IEEE-754 defines it
as an exception but GLSL forbids exceptions. Hence some implementations
may produce unexpected results. dEQP assumed clamping to the largest
representable integer.

This change fixes that false assumption by reducing the range to values
representable in both float and integer formats.

Note that 32-bit integer formats can still hold values slightly larger
than these ranges. So while previously the floating-point ranges were
too large to represent integer values, they are now too small. This
can't be fixed without separating the integer format tests and only
using integer values to represent their ranges. This doesn't appear
necessary for the time being since the tests that use these floating-
point ranges have large 12/256 tolerances for the output color.

Google bug: 70910885
Component: Framework