Kenneth Graunke [Wed, 28 Mar 2018 00:35:29 +0000 (00:35 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev
am:
c6b5415220
Change-Id: I36d5a70037b66e27342c76a050fadc7607906531
Treehugger Robot [Wed, 28 Mar 2018 00:32:19 +0000 (00:32 +0000)]
Merge "Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable" into oreo-mr1-cts-dev
Tapani Pälli [Mon, 26 Mar 2018 12:10:16 +0000 (15:10 +0300)]
Fixes to EGL.functional.hdr_metadata.* tests
- Adjust given values to fit uint16_t (range used in smpte2086
and cta861.3 specs).
- Allow EGL_BAD_PARAMETER error happen when setting parameters,
per spec this means values passed are not supported by the
implementation. Output attribute and given values in this
case for debugging purposes.
v2: skip unsupported but check supported attributes (Courtney)
Change-Id: I1f386b414c95e65d3532bf10719dc7671e826489
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:16:06 +0000 (00:16 +0000)]
Handle gcc 7 warnings am:
3677383919
am:
2d4c86a43b
Change-Id: I661bc617fbc55db9c013a63dc337c431b263bd10
Caio Marcelo de Oliveira Filho [Fri, 23 Mar 2018 00:10:32 +0000 (00:10 +0000)]
Handle gcc 7 warnings
am:
3677383919
Change-Id: I058154400ec6755a9eaf873a6421942fcad4cd11
Caio Marcelo de Oliveira Filho [Thu, 22 Feb 2018 01:54:57 +0000 (17:54 -0800)]
Handle gcc 7 warnings
- "-Wimplicit-fallthrough" warns on case conditions that
fallthrough. GCC does have a way to accept conditions that have a
comment about falling through inside the cases, but the codebase has
other cases where a single comment explains the fallthrough for the
whole switch. This warning is being ignored. It was not possible to
use "-Wno-error=WARNING" because older GCCs fail -- but they do
accept "-Wno-WARNING" where WARNING is unknown (since at least gcc
4.6.4).
- "-Wint-in-bool-context" warns (among other things) about result of
multiplication being used in boolean context. Code was changed to
use de::max() instead.
- "-Wmaybe-uninitialized" warned about some attributes of a struct not
being initialized depending on the case. Code was changed to
initialize the struct in question.
Components: Framework, Vulkan
Bug: b/
74405145
Change-Id: Iabb26f01e047353c6e2a704ab27b673e85b185be
(cherry picked from commit
f1ee9253e64f7434cdba7c8ac048c0e9baccc133)
Kenneth Graunke [Sat, 9 Sep 2017 06:26:15 +0000 (23:26 -0700)]
Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable
This test required GL_EXT_sRGB_write_control or ES 3.2. But glEnable
and glDisable of GL_FRAMEBUFFER_SRGB requires the extension - ES 3.2
doesn't provide that functionality. ES 3.2 implementations without the
extension would fail. Now they report NotSupported.
Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled
Components: AOSP
Bug: b/
75898891
Change-Id: I9d6b3fba892288354620ecbbc51ef7a351507e43
(cherry picked from commit
f5bc215a968512ba967ce68cc3640c45bc776f2c)
Raymond Chiu [Tue, 13 Mar 2018 00:49:05 +0000 (00:49 +0000)]
Merge "Fix ShaderUniformIntegerFunctionTest to not have bool precision"
Raymond Chiu [Mon, 12 Mar 2018 17:49:10 +0000 (10:49 -0700)]
Fix ShaderUniformIntegerFunctionTest to not have bool precision
Bug:
71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c
Brian Anderson [Mon, 12 Mar 2018 17:59:09 +0000 (17:59 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic. am:
e8634c9254
am:
24f69aed49
Change-Id: I793d5340447fc5fea2e7e6dfcdc11a4b174812bb
Brian Anderson [Mon, 12 Mar 2018 17:54:36 +0000 (17:54 +0000)]
eglGetFrameTimestamps: Don't require reads done to be monotonic.
am:
e8634c9254
Change-Id: I68606ee22f516db51b60db205cd7ebb28cc563f6
Brian Anderson [Fri, 9 Mar 2018 18:25:08 +0000 (10:25 -0800)]
eglGetFrameTimestamps: Don't require reads done to be monotonic.
Reads done is usually monotonic, but only under the assumption
that every buffer of the surface is being consumed by the same
unit. It is possible for a surface to switch between being an
overlay and being composited by the GPU. It's also possible a
driver will maintain a shadow copy of a frame that will further
affect when reads from a buffer might finish.
Remove the overly strict check.
Bug:
70334851,
74184639
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I8e242a9fd649720b4d8059797c71163329b7b92c
Raymond Chiu [Tue, 13 Feb 2018 23:13:47 +0000 (15:13 -0800)]
Add tests for findLSB/findMSB applied to a uniform value.
Ensure that findLSB/findMSB work correctly when:
Argument is a uniform value, of various precisions
Result is written out directly
Result is compared to a fixed value
Components: AOSP
Bug:
71875560
New Tests: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Merged-In: I0dc83b291d1ecaed5e451b76e4b41827116218c6
Change-Id: Iafd784deaf22dd86b6bfc955af967e4482d9e95c
Rosen Zhelev [Thu, 22 Feb 2018 15:14:05 +0000 (15:14 +0000)]
Fix egl config filtering of config_id
The reference config filter function is changed to correctly implement
the EGL spec for eglChooseConfig() by ignoring all other attributes
when EGL_CONFIG_ID is specified.
Affects:
dEQP-EGL.functional.choose_config.simple.selection_only.config_id
dEQP-EGL.functional.choose_config.simple.selection_and_sort.config_id
Change-Id: Id29758954ce476e6d187fba228d5156295165b02
Components: AOSP
Chris Forbes [Tue, 27 Feb 2018 15:54:49 +0000 (07:54 -0800)]
Rename Interval::warning's parameters to avoid shadowing
GCC 4.9 warns about this, causing build failures with -Werror
Change-Id: Ic3579de84f4b3f1f231240910dbd15dafe90c6bc
Components: Framework
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:15:37 +0000 (22:15 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am:
f03effb5a0 -s ours am:
7c8b312fbe -s ours
am:
5be6880be9 -s ours
Change-Id: I89fdca56007f43c479e6129183fb2f8c76b5193b
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:09:07 +0000 (22:09 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range. am:
f03effb5a0 -s ours
am:
7c8b312fbe -s ours
Change-Id: I7302bfbf8d9c38c8a01e604253a9cca1bba8b76c
Bas Nieuwenhuizen [Fri, 23 Feb 2018 22:03:07 +0000 (22:03 +0000)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range.
am:
f03effb5a0 -s ours
Change-Id: I26792ef93ead582aabb8bd5beb386588846c7489
Treehugger Robot [Fri, 16 Feb 2018 19:18:40 +0000 (19:18 +0000)]
Merge "Fix missing precision qualifiers in multiview tests"
Chris Forbes [Thu, 15 Feb 2018 18:14:12 +0000 (10:14 -0800)]
Temporarily exclude unspecified-precision tests
Change-Id: I3849dcef5718c73e0aac4a92b355ed4012a81240
Components: AOSP
Bug: b/
73070970
james.glanville [Thu, 15 Feb 2018 15:50:04 +0000 (15:50 +0000)]
Fix missing precision qualifiers in multiview tests
Multiview final fragment shader was missing some precision qualifiers,
causing compilation failures.
Affects:
dEQP-GLES3.functional.fbo.multiview.*
Change-Id: I25c268260b6676eb666666ca8e675e5fa7ec7303
Bas Nieuwenhuizen [Thu, 15 Feb 2018 10:33:22 +0000 (11:33 +0100)]
DO NOT MERGE: Fix dEQP-VK.api.copy_and_blit.image_to_image_depth value range.
Per spec:
"Because depth or stencil aspect buffer to image copies may require format conversions on some
implementations, they are not supported on queues that do not support graphics. When copying to
a depth aspect, the data in buffer memory must be in the the range [0,1] or undefined results occur."
Initializing it to integer values falls afoul of this rule
quickly. As the image is 256 by 256, x/255.0 should always fall in the range [0,1].
Not entirely sure this would initialize combined depth stencil correctly,
but this version of CTS does not have a test using those formats with
this code.
This has been fixed upstream for a while with
"
9909b9f3 Fix combined depth/stencil clear colors."
but this is not a straight backport as these tests saw some significant rework between
this CTS version and the fix.
Bug: b/
73449389
Change-Id: Iaf0ce14ed4338d437f1b20033be5d0f8c0cbd699
Chris Forbes [Tue, 13 Feb 2018 21:27:05 +0000 (21:27 +0000)]
Merge "Merge remote-tracking branch 'origin/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev am:
6d6ebc1b4b
am:
cc01ada806
Change-Id: I6827e2294199817a66666ed5db941491f5462f2a
Chris Forbes [Tue, 13 Feb 2018 21:20:03 +0000 (21:20 +0000)]
Merge "Merge remote-tracking branch 'origin/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev
am:
6d6ebc1b4b
Change-Id: I71f98787bf29843efbe66343187c3a67c7ca39f9
Treehugger Robot [Tue, 13 Feb 2018 21:08:38 +0000 (21:08 +0000)]
Merge "Merge remote-tracking branch 'origin/vulkan-cts-1.0.2' into HEAD" into oreo-cts-dev
Kantoch [Fri, 9 Feb 2018 19:05:40 +0000 (19:05 +0000)]
DO NOT MERGE: Sparse resources fixes am:
ae793c389b -s ours am:
ce25f76fbb -s ours
am:
fe93d4f83c -s ours
Change-Id: I14929e52bc985f4d152628b48b4a6a76577738a7
Kantoch [Fri, 9 Feb 2018 19:00:10 +0000 (19:00 +0000)]
DO NOT MERGE: Sparse resources fixes am:
ae793c389b -s ours
am:
ce25f76fbb -s ours
Change-Id: I8fa668d939b6c45df4590f823b029536895b4574
Kantoch [Fri, 9 Feb 2018 18:54:40 +0000 (18:54 +0000)]
DO NOT MERGE: Sparse resources fixes
am:
ae793c389b -s ours
Change-Id: Ib87ed9843313e5ba76ccae32161ed5719615fa55
Courtney Goeltzenleuchter [Wed, 7 Feb 2018 23:54:23 +0000 (23:54 +0000)]
Merge "Separate HDR metadata into two tests"
Kantoch [Tue, 19 Jul 2016 11:37:33 +0000 (13:37 +0200)]
DO NOT MERGE: Sparse resources fixes
1. Do not allow to request more queues than available
2. Allow to reuse queue if it supports more than one type of operations
(cherry picked from VK-GL-CTS commit
5f2cf2f7139c2f603a02fe3c284921dd9152dee3)
Bug: b/
72734354
Change-Id: Ia063df59c2220a082ea5a73a0fc968cfb97fda2c
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
Mark Adams [Wed, 7 Feb 2018 17:31:36 +0000 (17:31 +0000)]
Handle unsupported no_config contexts
am:
b60ae978ad
Change-Id: Idf51783fac99d14fa5ed28dbffd0db36b80e998b
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
Chris Forbes [Tue, 6 Feb 2018 01:12:53 +0000 (17:12 -0800)]
Merge remote-tracking branch 'origin/vulkan-cts-1.0.2' into HEAD
Bug: b/
72972234
Change-Id: I537a4f3207c1f88d68a51a23f21a5fed0975b037
Chris Forbes [Mon, 5 Feb 2018 20:21:03 +0000 (20:21 +0000)]
Merge "Fix 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
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
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
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
Treehugger Robot [Fri, 2 Feb 2018 20:37:08 +0000 (20:37 +0000)]
Merge "Fixes pixelformat utils for RGB10_A2"
Treehugger Robot [Fri, 2 Feb 2018 04:19:27 +0000 (04:19 +0000)]
Merge "GLES2/3: error on declarations with unspecified precision"
Treehugger Robot [Fri, 2 Feb 2018 01:14:33 +0000 (01:14 +0000)]
Merge "Relax ULP requirement for Log/Log2"
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
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
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
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
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
Treehugger Robot [Tue, 30 Jan 2018 20:22:15 +0000 (20:22 +0000)]
Merge "Fixes threshold in texture size tests"
Treehugger Robot [Tue, 30 Jan 2018 03:04:39 +0000 (03:04 +0000)]
Merge "GLES3: shaders.indexing.moredynamic"
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
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
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
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
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
Chris Forbes [Fri, 26 Jan 2018 19:00:13 +0000 (19:00 +0000)]
Merge "GLES3 tests for equality of structs with array members"
Treehugger Robot [Fri, 26 Jan 2018 03:36:57 +0000 (03:36 +0000)]
Merge "Fix using representable texture channel ranges."
Treehugger Robot [Thu, 25 Jan 2018 23:26:38 +0000 (23:26 +0000)]
Merge "Tolerate flush/finish test assumption failures."
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
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
Treehugger Robot [Wed, 24 Jan 2018 13:29:22 +0000 (13:29 +0000)]
Merge "Test glRenderbufferStorage with unsized depth format"
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
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.
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
Treehugger Robot [Sat, 20 Jan 2018 03:01:01 +0000 (03:01 +0000)]
Merge "Port WebGL multisampled renderbuffer resize test"
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
Chris Forbes [Sat, 20 Jan 2018 00:43:46 +0000 (00:43 +0000)]
Suppress new warnings from gcc-6
am:
9a58d041fe
Change-Id: I176dd24b363db336f4f42f8d8c2c5aebb2632dcb
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
Yanjun Zhang [Wed, 10 Jan 2018 00:12:47 +0000 (16:12 -0800)]
Check GS support before testing adjacent primitives
Affects: dEQP-VK.draw.basic_draw.draw.*
Components: Vulkan
VK-GL-CTS issue: 926
Change-Id: I02569b1944eed52f641966f9206d44983d1ff165
Chris Forbes [Wed, 10 Jan 2018 02:13:15 +0000 (18:13 -0800)]
Fix buffer usage flags for index and indirect buffers
Previously, createAndUploadBuffer would provide
VK_BUFFER_USAGE_VERTEX_BUFFER_BIT for all buffers. This is no good for
index buffers and indirect buffers.
VK-GL-CTS: 930
Change-Id: I774beef7c7226f4fbd5670591eb66475300ee208
Components: Vulkan
Affects: dEQP-VK.draw.instanced.*
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
Yanjun Zhang [Thu, 11 Jan 2018 19:44:54 +0000 (11:44 -0800)]
Set maxDescriptorSet* limit table based on shader stages
Re-submit the patch based on WG review and feedback.
Affects: dEQP-VK.api.info.device.properties
Components: Vulkan
VK-GL-CTS issue: 923
Change-Id: Ie627b52cfae099d87f5b6183118d42bcccd313ca
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
Anders Frostad Pedersen [Wed, 17 Jan 2018 22:30:57 +0000 (22:30 +0000)]
Modify compute shader grid setup.
am:
a7c3d75202
Change-Id: Id377bb796299a4a37df027ef522494b5e7590723
Treehugger Robot [Wed, 17 Jan 2018 22:30:54 +0000 (22:30 +0000)]
Merge "Update owners file" into oreo-mr1-cts-dev
Treehugger Robot [Wed, 17 Jan 2018 21:31:35 +0000 (21:31 +0000)]
Merge "Accept EGL_BAD_PARAMETER for eglCreatePixmapSurface negative test"
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)
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
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.*
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.*
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
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
Yanjun Zhang [Wed, 10 Jan 2018 00:26:50 +0000 (16:26 -0800)]
Check sampleRateShading for sample_qualifier_distinct_values.* tests
Affects: dEQP-VK.pipeline.*.sample_qualifier_distinct_values.*
Components: Vulkan
VK-GL-CTS issue: 925
Change-Id: Ife1166e8ed88699c67ee6acde79857f34c013398
Chris Forbes [Tue, 9 Jan 2018 23:26:34 +0000 (15:26 -0800)]
Use unique indices for each binding in out_of_pool_memory test
Previously, all the layout bindings would use binding=0, which is
invalid. Give them their own binding indices.
VK-GL-CTS: 929
Change-Id: I28e62db6c257ed0843dd9b77b2d8cb01d02e3eba
Components: Vulkan
Affects: dEQP-VK.api.descriptor_pool.out_of_pool_memory
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