• Home
  • History
  • Annotate
  • only in /external/deqp/modules/gles31/
History log of /external/deqp/modules/gles31/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a9cd02e6fa00470b6df41999490edbbe3b233ff7 12-Mar-2018 Raymond Chiu <chiur@google.com> Fix ShaderUniformIntegerFunctionTest to not have bool precision

Bug: 71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c
(cherry picked from commit 8ab1016d3d4fa98d2c8d74ef5580873d61161a43)
unctional/es31fShaderUniformIntegerFunctionTests.cpp
6e70b998a6b678d165410ca86f3b33de565dcaef 14-Feb-2018 Raymond Chiu <chiur@google.com> 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.*

Change-Id: I0dc83b291d1ecaed5e451b76e4b41827116218c6
(cherry picked from commit db61ef6d9e35710b30c6494b6e1a9110dbda6ea7)
unctional/CMakeLists.txt
unctional/es31fFunctionalTests.cpp
unctional/es31fShaderUniformIntegerFunctionTests.cpp
unctional/es31fShaderUniformIntegerFunctionTests.hpp
d128c5a25ad85bc9f846e73daca12a9d5ee8258f 19-Jan-2018 Chris Forbes <chrisforbes@google.com> 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
7eed2860264b50314ac4e1a710ec2a4d71e32862 17-Jan-2018 Anders Frostad Pedersen <anders.pedersen@arm.com> Modify compute shader grid setup. am: a7c3d75202
am: 2f6bf1e826

Change-Id: I7fa22d8d924e580f1835ecc372f7efae1c5a7e92
a7c3d7520284ac140233d3fb16644e71fa65b359 17-Jan-2018 Anders Frostad Pedersen <anders.pedersen@arm.com> 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
unctional/es31fDrawTests.cpp
ddd1655bf68b6658cacd67b2f9c31db4bc57905a 12-Jan-2018 Mark Adams <marka@nvidia.com> Multiple draw buffers in blend_equation_advanced
am: 123de4f307

Change-Id: I1ce06acaa4f5f725097bcc248b7dbdf048bac61e
123de4f307909a3b79895155653a9ffacedbc0cd 20-Oct-2017 Mark Adams <marka@nvidia.com> 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
unctional/es31fNegativeAdvancedBlendEquationTests.cpp
3685bc758d7a1e91a6c2e627c5758d2a3b3ab0d9 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP
Bug: 70716357
Test: run on google devices

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286
(cherry picked from commit 079ca561114713d31e05c4124b8daeef764cf9b8)
Merged-In: 079ca561114713d31e05c4124b8daeef764cf9b8
unctional/es31fDrawElementsBaseVertexTests.cpp
62704ccf722d7babc78064aa7b7f710742de81ab 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Report tests using Draw*BaseVertex as NotSupported

Draw*BaseVertex methods were added in GLES 3.2.
Report tests using these methods as NotSupported if
GLES 3.1 context is returned.

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Bug: 70716326
Test: run on google devices

Change-Id: I87c918d5f66a0a5b547f8e625c662203a7f85048
(cherry picked from commit 1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e)
Merged-In: 1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e
unctional/es31fDrawElementsBaseVertexTests.cpp
b13b882839ed4e6d3d6d8c1a33498cca9e05d8da 18-May-2017 David Sodman <dsodman@google.com> Remove dEQP-GLES31.*vertex_array.*_invalid_map tests

Tests made assumptions about GL error returned from glDrawElements*
functions when passed a mapped buffer object, but, that error is not
supported by the specification.

Affects: dEQP-GLES31.*vertex_array.*
Components: AOSP
Bug: 37942569
Bug: 70716290
Test: run on google devices

Change-Id: Ic066dfbe717ff1e7741bec8ee870b09b99362dc7
(cherry picked from commit 428a2256159883c651a409c4e0cbe031953f4c4e)
Merged-In: 428a2256159883c651a409c4e0cbe031953f4c4e
unctional/es31fNegativeVertexArrayApiTests.cpp
fc8fcfb67a288dab84dee6ad1a154de5eac1f987 25-Oct-2017 Mark Adams <marka@nvidia.com> Merge "Multiple draw buffers in blend_equation_advanced" am: 3e98e4c911
am: 3890f84766

Change-Id: I08c5347f0aaa14d1943cb314f45cd93d2d8e123d
2cb35a235c1a7bd3c63b296c37e186eec34e08e2 20-Oct-2017 Mark Adams <marka@nvidia.com> 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

Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.advanced_blend.attachment_advanced_equation
unctional/es31fNegativeAdvancedBlendEquationTests.cpp
34eb1839c9bd3a6f87032c4f3cae2f95bb773d60 28-Sep-2017 Marcin Rogucki <marcin.rogucki@mobica.com> Added script for checking & fixing BOMs in files.

Affects:
doc/testspecs/GLES2/functional.rasterization.txt
framework/platform/win32/tcuWin32VulkanPlatform.cpp
modules/gles31/functional/es31fNegativeVertexArrayApiTests.cpp
scripts/src_util/check_all.py

Adds:
scripts/src_util/check_boms.py

Change-Id: I17dc821e44a30a119e22ff42afbdca775ecec046
Components: Vulkan
(cherry picked from commit 69731671eed80fd6915375f22d88c0404a6accb6)
unctional/es31fNegativeVertexArrayApiTests.cpp
7315580588632eaf69908ad8eec23e4807f8705b 11-Sep-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Merge changes Id437e220,I9d6b3fba am: 94b6d11640 am: 8a7aa6197d
am: ffb306c748

Change-Id: Ifb89181d89ede9381a23e3a3a4a4ce8763ad1a0c
df5897ce6334e24f4bfece9a083e980f8d77fd78 11-Sep-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Merge "Use 64-bit math in work group size assertion." am: bc6743fe27 am: 6c4a5cde18
am: b7d0eae501

Change-Id: Id2ce8783b91da42161b40acc26bd751f8333432b
9b52ea6be38defc554afdc56fd149e9c9ff6091d 11-Sep-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Merge "Delete incorrect invalid map tests." am: 6352f3c7c0 am: 5b357ce430
am: 223859f5a9

Change-Id: I4e6c265c3b17769b9ba3dcda83323d63fab8217b
94b6d1164001af38af15d73ef21af4f73975ca42 11-Sep-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge changes Id437e220,I9d6b3fba

* changes:
Allow ES 3.2 contexts to run sRGB write control unsupported test.
Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable
bc6743fe2716e5227514713e348c32ce74d66aef 11-Sep-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Use 64-bit math in work group size assertion."
bda54aaefe2ce0c6bf05b1fc58b98721b9a9f1a2 07-Sep-2017 Piotr Byszewski <piotr.byszewski@mobica.com> Remove ES3PlusWrapperContext

ES3PlusWrapperContext is not maintained anymore.

Components: Framework

Change-Id: I4327c219d6fd0362da89449884be48c1109a9b62
es31Context.cpp
22b06ee14aab70d32912ee3f2ba2949a5eaf5c57 09-Sep-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Allow ES 3.2 contexts to run sRGB write control unsupported test.

GL_EXT_sRGB_write_control functionality is not part of ES 3.2.
So there's no need to restrict this to older contexts.

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Components: AOSP

Change-Id: Id437e220958c66acf65fd5c40004e1fde13fdf64
unctional/es31fFboSRGBWriteControlTests.cpp
f5bc215a968512ba967ce68cc3640c45bc776f2c 09-Sep-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> 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

Change-Id: I9d6b3fba892288354620ecbbc51ef7a351507e43
unctional/es31fFboSRGBWriteControlTests.cpp
fea6f6be7a6a70f3bf7dd56f622f89a649c35eff 09-Sep-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Delete incorrect invalid map tests.

The citation given in these tests comes from the OpenGL man pages, which
are not authoritative. The ES 3.2 specification says:

"6.3.2 Effects of Mapping Buffers on Other GL Commands

Any GL command which attempts to read from, write to, or change the
state of a buffer object may generate an INVALID_OPERATION error if
all or part of the buffer object is mapped. However, only commands
which explicitly describe this error are required to do so. If an
error is not generated, using such commands to perform invalid
reads, writes, or state changes will have undefined results and may
result in GL interruption or termination."

Importantly, it says "_may_ generate an INVALID_OPERATION error". Some
drivers choose not to implement this to avoid the CPU overhead required
to enforce this optional restriction.

Affects:
- dEQP-GLES31.functional.debug.negative_coverage.*.vertex_array.*_invalid_map

Components: AOSP

Change-Id: I26eb6ac0dfffbfc50612bed44d1beb6eb3d366c9
unctional/es31fNegativeVertexArrayApiTests.cpp
fa9244bce9608c01e4dfe49d1e1c108b9d3bdd65 13-Jul-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Use 64-bit math in work group size assertion.

If the maximum workgroup size in each dimension is large enough, this
can overflow, causing the comparison to fail. For example, on Intel
Haswell, we get:

assert(2048 * 2048 * 2048 > 2048) -> assert(0 > 2048) -> fail

Casting one value to deInt64 causes the multiplications to occur as
64-bit values, so we don't overflow.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.*.compute.invalid_maximum_work_group_sizes

Components: AOSP

Change-Id: Ie03627a378f4fdc46ce241bbdd3693ae829c217d
unctional/es31fNegativeComputeTests.cpp
2da26eb1990956aa17893cc0552f5de0e1eab360 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286
unctional/es31fDrawElementsBaseVertexTests.cpp
a97b15688b127d7156a6709b9ee1883be68ed763 16-Aug-2017 james.glanville <james.glanville@imgtec.com> Use safe glFramebufferTexture* function

glFramebufferTexture() is only supported when GL_EXT_geometry_shader is
present. Use glFramebufferTextureLayer() instead so that testing is
possible on unextended ES3.1 contexts.

Components: AOSP
Bug: 65317295
Test: Ran tests on couple of Google devices
Affects:
dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.framebuffer_texture_level

Change-Id: Iaf75d17e5d1077c1a6f591c3ebfca62c465d4378
unctional/es31fShaderFramebufferFetchTests.cpp
29f89eed9b93befd1b11b00817c839e60ad57c9a 11-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Check for tessellation/geometry extensions being exposed

Some sample_variables tests use tessellation/geometry shaders.
Need to check that the relevant extensions are exposed.

Components: AOSP

Affects:
dEQP-GLES31.functional.debug.negative_coverage.*.oes_sample_variables.access_built_in_types_inside_other_shaders

Bug: 65317039
Test: Run tests on couple of Google devices
Change-Id: Iff74939d474082938955e5b7ebfc41ea3b4a6ec5
unctional/es31fNegativeSampleVariablesTests.cpp
b88e73b07eb996436e8a76a8e2e919c75a69cc68 16-Aug-2017 Mika Isojärvi <misojarvi@google.com> Fix texture mip level size in framebuffer fetch tests

Bug: 64280744
Test: Ran tests with multiple Google devices
Change-Id: I369a3c9b16270655332d5a608207f0da2633e0fe
unctional/es31fShaderFramebufferFetchTests.cpp
3ecca89a47f69cb51cb2ecdc639171a16ac08401 22-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present" am: 4929480c47 am: df3f2b14f6 am: a7b9f7a5d9
am: 3664e44402

Change-Id: I06969414b3a1d4d1a396e5432bac58fd3fefffe0
079ca561114713d31e05c4124b8daeef764cf9b8 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286
unctional/es31fDrawElementsBaseVertexTests.cpp
25d49f68bd2b2034618ea0b9db15d3dafef2a045 17-Aug-2017 Mika Isojrvi <misojarvi@google.com> Fix texture mip level size in framebuffer fetch tests am: be0d165a5d am: 0f01836518 am: cc06f40d06
am: b59646223a

Change-Id: Ia2981aee3c7c1240f1404ca4cf98a4e9d728da2d
15ec5f901d2088ddfd8df8dc619e8d42fa9c5ceb 17-Aug-2017 Mika Isojrvi <misojarvi@google.com> Fix texture mip level size in framebuffer fetch tests
am: be0d165a5d

Change-Id: I3fcbe493a87c270e64b6c3e3ed3fa8329d877d1b
be0d165a5d941f87320f8eb27558e037d92dcae6 16-Aug-2017 Mika Isojärvi <misojarvi@google.com> Fix texture mip level size in framebuffer fetch tests

Bug: 64280744
Test: Ran tests with multiple Google devices
Change-Id: I369a3c9b16270655332d5a608207f0da2633e0fe
unctional/es31fShaderFramebufferFetchTests.cpp
a49f7c92829a8f5966b6e2bf728de39e3c4f777a 16-Aug-2017 james.glanville <james.glanville@imgtec.com> Merge "Use safe glFramebufferTexture* function" am: ec5ccbe144 am: d4c3e6e71b am: 1f2e434e86
am: 978b206a7a

Change-Id: I8f7439231e43ef002bd2759fef887e17e154bca2
30a59c09d7c37215122e13c2dedc4d7edb037423 16-Aug-2017 james.glanville <james.glanville@imgtec.com> Merge "Use safe glFramebufferTexture* function"
am: ec5ccbe144

Change-Id: Ic1a4ef9c96f1d2ea1500f175d5c7d601240cb17d
ec5ccbe1448cd915eafcf9f5279a7cc870d95051 16-Aug-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Use safe glFramebufferTexture* function"
5f39e82537211ada724ee0a5558574064a1907d9 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Report tests using Draw*BaseVertex as NotSupported" am: f96636fdfa am: eaf6e29e46 am: 3946a20ebc
am: cfe4446a05

Change-Id: I9bd37b581e0cff226dc0afe4771ff51ceb2b93e2
da80bf59ea89172713ae52f621999532b8e85977 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Report tests using Draw*BaseVertex as NotSupported"
am: f96636fdfa

Change-Id: I1f262d8f3a4c772b3903653fb5e5080cd65bd868
f2cb65300c43dbd333e587544f560e15ab980c62 16-Aug-2017 james.glanville <james.glanville@imgtec.com> Use safe glFramebufferTexture* function

glFramebufferTexture() is only supported when GL_EXT_geometry_shader is
present. Use glFramebufferTextureLayer() instead so that testing is
possible on unextended ES3.1 contexts.

Components: AOSP

Affects:
dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.framebuffer_texture_level
unctional/es31fShaderFramebufferFetchTests.cpp
1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Report tests using Draw*BaseVertex as NotSupported

Draw*BaseVertex methods were added in GLES 3.2.
Report tests using these methods as NotSupported if
GLES 3.1 context is returned.

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: I87c918d5f66a0a5b547f8e625c662203a7f85048
unctional/es31fDrawElementsBaseVertexTests.cpp
49e6ffbecb2058d15e68260c8c8fc8369d0e27ca 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Check for tessellation/geometry extensions being exposed am: 573154bb7b am: f79e5f07b3 am: b50ad0b932
am: 4d8117a4c2

Change-Id: I835660dbb6f60be47d6f8e80aea2cb88558f4f90
a70bf9807c91a70fbea9e494ac9c3fc9f431c887 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Check for tessellation/geometry extensions being exposed
am: 573154bb7b

Change-Id: Ib37ad273d16588101b8b4f6ade7f6f9e227faf5c
573154bb7bb4c40fbdce77b6633ebc8919e6a641 11-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Check for tessellation/geometry extensions being exposed

Some sample_variables tests use tessellation/geometry shaders.
Need to check that the relevant extensions are exposed.

Components: AOSP

Affects:
dEQP-GLES31.functional.debug.negative_coverage.*.oes_sample_variables.access_built_in_types_inside_other_shaders

Change-Id: Iff74939d474082938955e5b7ebfc41ea3b4a6ec5
unctional/es31fNegativeSampleVariablesTests.cpp
7c30309cbe4d93cc2bce54562bb28fdcf8778f14 30-Mar-2017 James Helferty <jhelferty@nvidia.com> Check correct error for exceeding texture limit

This test should check for GL_INVALID_OPERATION instead of GL_INVALID_VALUE.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.get_error.compute.exceed_texture_image_units_limit

Component: AOSP
VK-GL-CTS Issue: 340

Change-Id: I609f6fcb876978e715c52fd5b5c4144891dbaacf
unctional/es31fNegativeComputeTests.cpp
8353126534e7d28dcefab1df26ce3ba72659eee6 19-Jul-2017 Mika Isojrvi <misojarvi@google.com> Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817 am: c06d76b076
am: 5e5d57c9d9

Change-Id: I2abac035e7e8a3597223e4771a5400d6413e55bd
5e5d57c9d9d5800cc7b18cb71ee5d31ed319b053 19-Jul-2017 Mika Isojrvi <misojarvi@google.com> Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817
am: c06d76b076

Change-Id: I8c4a4123d2258dd3bd577ce309204141a3a20d7e
8218d59b72607f3aacdeeb5041def1622604834f 19-Jul-2017 Mika Isojrvi <misojarvi@google.com> Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3
am: 674ba44413

Change-Id: I8f151d23530201b98fc8db38a3ec547d3f03d1df
674ba44413424ae56604f921cd17ba80042f0dbe 19-Jul-2017 Mika Isojrvi <misojarvi@google.com> Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
am: d4c01761d3

Change-Id: I32a66d488ccd7f1544f23b299eaf4d0642cebc4a
14cd2645010dd9694ddfbd719c8c34a6a92b7300 19-Jul-2017 Mika Isojrvi <misojarvi@google.com> Fix atomic ssbo xor test
am: f0fa05e898

Change-Id: Ibc16a0ff1a6b1dbe764d4beafa5d9b63d9c090e9
f0fa05e898487d557ce692cc03aa8b6abbd89677 14-Apr-2016 Mika Isojärvi <misojarvi@google.com> Fix atomic ssbo xor test

Allow any values in high order bits in xor tests when using uint types.

Bug: 28144118
Change-Id: I0670aa12642882a329cb923487198fdf045b912b
unctional/es31fShaderAtomicOpTests.cpp
3d4d9aabea57718bbcb8fd788b99ecf6d464cb86 15-Jul-2017 Mika Isojarvi <misojarvi@google.com> Merge "Report Android extension pack tests as not supported"
am: 03c395c60f

Change-Id: I605ac0bf0a499ad175e7d667843734eea16141c2
71b18bb8898a12d095e19f8b1d5b98d343282240 12-Jul-2017 Alexander Galazin <alexander.galazin@arm.com> Report Android extension pack tests as not supported

Android extension pack tests can't run on GLES31-only GPUs.
Report such tests as NotSupported.

Components: AOSP

Change-Id: I88ab61e5d0b263428c41a644c6417e24e2f7f234
unctional/es31fNegativeComputeTests.cpp
unctional/es31fNegativeVertexArrayApiTests.cpp
14f0575d74e51090c3ebeec79f52703072973a28 13-Jul-2017 Mika Isojrvi <misojarvi@google.com> Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687 am: 0ddc9faea1 am: d2d7d49296 am: 301312d147 am: 4dd9680c5d am: bf288e2971
am: 1678011b33

Change-Id: Id78ad38d16f7a1d5aaa5f0fef9030e66b185a78a
a1a9c77f89d67bc8f04cf63638308855506e1a64 13-Jul-2017 Mika Isojrvi <misojarvi@google.com> Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9b0e57
am: 6e213b6fdc

Change-Id: I84abe9d601d4067b3bc6d3cf3480c11b86471f86
6e213b6fdc87dd5f5decf85f240fadd392fa64c6 13-Jul-2017 Mika Isojrvi <misojarvi@google.com> Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da
am: b78f9b0e57

Change-Id: I8c3f63b90541d59965f4af1e60cb8654ce734faa
d2d7d49296316faba5a92f171f711b3deff02743 13-Jul-2017 Mika Isojrvi <misojarvi@google.com> Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687
am: 0ddc9faea1

Change-Id: I4fbba2ef9ac41c6130da0f0c3b9fba2212bc4f78
4d1d6446da98c41cbd6f836b3ca81d0c4618ac9c 13-Jul-2017 Mika Isojrvi <misojarvi@google.com> Mask compared bits in atomic operation tests.
am: b2ed9fbe1a

Change-Id: I2f7b4cfbf2d926966af7c9956db670080771c164
c76765be1fe96c67ff20b73779e4dc5eea101c87 18-May-2017 james.glanville <james.glanville@imgtec.com> Apply sRGB conversion to reference in sRGB framebuffer fetch test

Framebuffer fetch returns linear values when the framebuffer format
is sRGB and GL_FRAMEBUFFER_SRGB is enabled (default). This conversion
was not applied when generating reference textures for framebuffer
fetch tests. glReadPixels() does not apply any conversion, so the
final reference value must also be converted back to sRGB.

Affects: dEQP-GLES31.functional.shaders.framebuffer_fetch.
framebuffer_format.srgb8_alpha8

Components: AOSP
unctional/es31fShaderFramebufferFetchTests.cpp
3bb47b5c5782556bd8fafd6bf4964eb25bd916e9 30-Mar-2017 John Richardson <john.richardson@mobica.com> Fix for integer formats in framebuffer extension tests

Use UVec4 and IVec4 types when calculating composite color for
unsigned and signed integer formats respectively.

Affected tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*

Change-Id: I01cea4a6d99df51939740712b952b5e9191ed1f2
unctional/es31fShaderFramebufferFetchTests.cpp
2a609fb223ff773c6da74ce9b1e1891d55b5252e 20-Mar-2017 John Richardson <john.richardson@mobica.com> Add new framebuffer fetch extension tests

New tests for EXT_shader_framebuffer_buffer_fetch extension. Test cases
for accessing existing framebuffer data as input in the fragment shader.
Includes negative tests cases for invalid shader usage.

New tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.*
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
- dEQP-GLES31.functional.debug.negative_coverage.*.framebuffer_fetch.*

Change-Id: I8f8aa2312e26c2c709d3e2e2733c497e24669da8
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fFunctionalTests.cpp
unctional/es31fNegativeShaderFramebufferFetchTests.cpp
unctional/es31fNegativeShaderFramebufferFetchTests.hpp
unctional/es31fShaderFramebufferFetchTests.cpp
unctional/es31fShaderFramebufferFetchTests.hpp
5b837a5b216a58da925774a70e7299d20113c879 03-Apr-2017 Pyry Haulos <phaulos@google.com> Fix compute.exceed_atomic_counters_limit

Tests were using large offset instead of large binding value when
attempting to exceed atomic counter limit.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.*.compute.exceed_atomic_counters_limit

Change-Id: I9c89b64de4983ec383a9c76cc44f3ac9f2e782f4
unctional/es31fNegativeComputeTests.cpp
5dd0c1077c8dcf697be082e4209c9f365508d117 08-May-2017 Alexander Galazin <alexander.galazin@arm.com> Ensure vertex shader presence if a geometry shader exists

Certain tests verify that INVALID_OPERATION is generated
if a geometry shader is active and mode is incompatible with
the input primitive type of the geometry shader in the currently
installed program object. However these tests have no vertex shader and
this is the real reason why INVALID_OPERATION is generated.
This change ensures that the vertex shader is present.

Components: AOSP

Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_instanced_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_range_elements_base_vertex_primitive_mode_mismatch

Change-Id: I36bcee8892e4f641feadb0b444a53ed35273b727
unctional/es31fNegativeVertexArrayApiTests.cpp
d30cb292941b7ab98bf84048c72a11bed1029795 14-Mar-2017 Michael Hadley <michael.hadley@mobica.com> Add negative OES_sample_variables tests

New Tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.log.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.get_error.oes_sample_variables.*

Change-Id: I83bf9b48ca0ac7133419099b1a54ebc4d1cacf20
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeSampleVariablesTests.cpp
unctional/es31fNegativeSampleVariablesTests.hpp
db4a886f3ff5cb1f2743761c4486520c47d1d291 06-Feb-2017 John Richardson <john.richardson@mobica.com> Add new compute negative coverage tests

Test groups added to:
- dEQP-GLES31.functional.debug.negative_coverage.*.compute (new)

New tests:
- program_not_active

- invalid_program_query
- invalid_dispatch_compute_indirect
- invalid_maximum_work_group_counts
- invalid_maximum_work_group_sizes
- invalid_layout_qualifiers
- invalid_write_built_in_constants

- exceed_uniform_block_limit
- exceed_shader_storage_block_limit
- exceed_texture_image_units_limit
- exceed_image_uniforms_limit
- exceed_shared_memory_size_limit
- exceed_uniform_components_limit
- exceed_atomic_counter_buffer_limit
- exceed_atomic_counters_limit

Change-Id: Ifd798652df3b138e174c1d9408b6ecdb003ce7f9
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeComputeTests.cpp
unctional/es31fNegativeComputeTests.hpp
a237c0c9ac1edfc306e2201943995c99339d0d91 07-Dec-2016 Michael Hadley <michael.hadley@mobica.com> Add negative sRGB texture/sampler API tests

Added sRGB tests to the following:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.texture.*
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader.*

Change-Id: I1ebd5a95c8605a39e4bbb5b4516d0f7b8c11898e
unctional/es31fNegativeShaderApiTests.cpp
unctional/es31fNegativeTextureApiTests.cpp
bf0b29365e9aa156370549e8af99e272e129296e 09-May-2017 Alexander Galazin <alexander.galazin@arm.com> Fix DrawRangeElementsBaseVertex tests with negative basevertex

DrawRangeElementsBaseVertex tests with negative basevertex call
glDrawRangeElementsBaseVertex with start = 0 and basevertex = -1.
According to the spec: If no element array buffer is bound, the vertex ID of
the ith element transferred is indices[i] + basevertex...
If the vertex ID is larger than the maximum value representable by type,
it should behave as if the calculation were upconverted to 32-bit unsigned
integers (with wrapping on overflow conditions).
Behavior of DrawElementsOneInstance is undefined if the vertex ID is negative
for any element, and should be handled as described in section 6.4.

This change ensures that indexMin + baseVertex will be zero or positive value.

Components: AOSP

Affects:
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_byte
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_short
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_int

Change-Id: I07a9e6bc60d4340784d400b5087bb8fff01f0e57
unctional/es31fDrawElementsBaseVertexTests.cpp
3c865084eb27036bf9fd43a41a7eae277a6ee170 14-Feb-2017 John Richardson <john.richardson@mobica.com> Add new draw elements base vertex tests

New tests for EXT_draw_elements_base_vertex extension
exercising the following draw calls

- DrawElementsBaseVertex()
- DrawRangeElementsBaseVertex()
- DrawElementsInstancedBaserVertex()

New test groups:
- dEQP-GLES31.functional.draw_elements_base_vertex.*

New tests:
- indices.*
- base_vertex.*
- builtin_variable.*
- points.*
- triangles.*
- triangle_fan.*
- triangle_strip.*
- lines.*
- line_strip.*
- line_loop.*

Extend dEQP-GLES31.functional.debug.negative_coverage.callbacks.vertex_array.*
tests to include additional mapping and mismatched primitive mode
errors for base vertex draw calls.

New tests:
- *.primitive_mode_mismatch
- *.invalid_map

Change-Id: Iefc9bcddd3fe8831d2bb20f2e46d06f92daa6d6b
unctional/CMakeLists.txt
unctional/es31fDrawElementsBaseVertexTests.cpp
unctional/es31fDrawElementsBaseVertexTests.hpp
unctional/es31fFunctionalTests.cpp
unctional/es31fNegativeVertexArrayApiTests.cpp
b46d559e07a900fbef9268847fe0ddc0cfafab13 03-Apr-2017 Pyry Haulos <phaulos@google.com> Fix typo in framebuffer_srgb_unsupported_enum

Test case was not assigning gl.getError() return value into a variable
causing tests to always fail on implementations that don't support ES3.2
or GL_EXT_sRGB_write_control.

Affects:

dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: Iafc38b8152f3371ce8c016c4f70feb2bb4604c69
unctional/es31fFboSRGBWriteControlTests.cpp
6644e7bfef87118c35481f8f28868680fdab6e1e 30-Mar-2017 John Richardson <john.richardson@mobica.com> Add sRGB write decode negative case

Test to check drivers that don't expose EXT_sRGB_write control return
GL_INVALID_ENUM for related gl calls.

New Tests:
- dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: I605f70894ead6e5dd317a340d061dcec9a6180c8
unctional/es31fFboSRGBWriteControlTests.cpp
50d8f31f524a5f315ba97f366975ccec0b47ef03 08-Mar-2017 Michael Hadley <michael.hadley@mobica.com> Add sRGB write decode tests

New Tests:
- dEQP-GLES31.functional.fbo.srgb_write_control.*

Change-Id: Ieaaee4c7dc49cc530d8fc42a060e40c706d86e5c
unctional/CMakeLists.txt
unctional/es31fFboSRGBWriteControlTests.cpp
unctional/es31fFboSRGBWriteControlTests.hpp
unctional/es31fFunctionalTests.cpp
b2ed9fbe1ad972eda26b31146712ed83e5c07d0f 05-Apr-2016 Mika Isojärvi <misojarvi@google.com> Mask compared bits in atomic operation tests.

Bug: 27975797
Change-Id: Id24a784b5b8a665f509218358d58d7eca9a7bb93
unctional/es31fShaderAtomicOpTests.cpp
497d640930282f26c865d151d6f6f59b773d7577 18-May-2017 james.glanville <james.glanville@imgtec.com> Apply sRGB conversion to reference in sRGB framebuffer fetch test

Framebuffer fetch returns linear values when the framebuffer format
is sRGB and GL_FRAMEBUFFER_SRGB is enabled (default). This conversion
was not applied when generating reference textures for framebuffer
fetch tests. glReadPixels() does not apply any conversion, so the
final reference value must also be converted back to sRGB.

Affects: dEQP-GLES31.functional.shaders.framebuffer_fetch.
framebuffer_format.srgb8_alpha8

Components: AOSP
unctional/es31fShaderFramebufferFetchTests.cpp
428a2256159883c651a409c4e0cbe031953f4c4e 18-May-2017 David Sodman <dsodman@google.com> Remove dEQP-GLES31.*vertex_array.*_invalid_map tests

Tests made assumptions about GL error returned from glDrawElements*
functions when passed a mapped buffer object, but, that error is not
supported by the specification.

Affects: dEQP-GLES31.*vertex_array.*
Components: AOSP
Bug: 37942569

Change-Id: Ic066dfbe717ff1e7741bec8ee870b09b99362dc7
unctional/es31fNegativeVertexArrayApiTests.cpp
ab92cdbb586cb447900c47c6f538d4c5ffb82c4a 16-May-2017 Pyry Haulos <phaulos@google.com> Remove unused function from es31fSRGBDecodeTests.cpp
am: 1ee59ff986

Change-Id: I0bf132f2d1a09e66768bddc5818906aa0e066967
1ee59ff98641dc0be7511e03e37b5843ff7eed82 16-May-2017 Pyry Haulos <phaulos@google.com> Remove unused function from es31fSRGBDecodeTests.cpp

Unused function causes compiler warnings to appear with recent GCC
versions.

Change-Id: I941c579994acbc9146df86acf5b9da9ee85341f5
unctional/es31fSRGBDecodeTests.cpp
b849c5ffa2ffbca5f3fc7cb56157b1c6adb31d2e 15-May-2017 Alexander Galazin <alexander.galazin@arm.com> Fix texture/sampler mapping in sRGB tests
am: c8efb45ead

Change-Id: I23849cbcae67248ac5ca55f443f226d6b1e4389e
102cfe8b1147c7bada5ed5bcb0430743fc1a1a63 11-May-2017 Alexander Galazin <alexander.galazin@arm.com> Fix texture/sampler mapping in sRGB tests

sRGB decode tests assume that an API side texture with index i
is connected with a shader sampler variable uTexture with index i.

This relation was however incorrectly established, e.g.
the tests were mapping texture0 to a sampler with location 0, while
such sampler was not necessarily uTexture0.

This change fixes the mapping and makes the relation more obvious.

Components: AOSP
Affects:
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*.toggled
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*.conversion_gpu

Google bug: 38257749

Change-Id: I16508f6033b31583b1c5973b70a610dd59e78e8f
(cherry picked from commit c8efb45eadba4a910ab5770b2207582cf1bb7ca0)
unctional/es31fSRGBDecodeTests.cpp
c8efb45eadba4a910ab5770b2207582cf1bb7ca0 11-May-2017 Alexander Galazin <alexander.galazin@arm.com> Fix texture/sampler mapping in sRGB tests

sRGB decode tests assume that an API side texture with index i
is connected with a shader sampler variable uTexture with index i.

This relation was however incorrectly established, e.g.
the tests were mapping texture0 to a sampler with location 0, while
such sampler was not necessarily uTexture0.

This change fixes the mapping and makes the relation more obvious.

Components: AOSP
Affects:
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*.toggled
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*.conversion_gpu

Google bug: 38257749

Change-Id: I16508f6033b31583b1c5973b70a610dd59e78e8f
unctional/es31fSRGBDecodeTests.cpp
2d987e3b1e3c564ddc197124b1c7689aed060b8e 09-May-2017 Graeme Leese <graeme.leese@broadcom.com> Correct the test conditions for sRGB_write_control

The extension is not part of ES3.2, so the not-supported version of the
tests should be run on ES3.2 implementations without the
GL_EXT_sRGB_write_control extension.

VK-GL-CTS Issue: 389
Components: AOSP

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: I42a531aa7d1ad38f7a85cde1a5da659f780ec5d5
unctional/es31fFboSRGBWriteControlTests.cpp
f5f087e9bd571b5aee3b810957af7051cd82d2c0 08-May-2017 Alexander Galazin <alexander.galazin@arm.com> Ensure vertex shader presence if a geometry shader exists

Certain tests verify that INVALID_OPERATION is generated
if a geometry shader is active and mode is incompatible with
the input primitive type of the geometry shader in the currently
installed program object. However these tests have no vertex shader and
this is the real reason why INVALID_OPERATION is generated.
This change ensures that the vertex shader is present.

Components: AOSP

Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_instanced_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_range_elements_base_vertex_primitive_mode_mismatch

Change-Id: I36bcee8892e4f641feadb0b444a53ed35273b727
unctional/es31fNegativeVertexArrayApiTests.cpp
e490e2f2158aa9d3aec7d8e385ca3995fefc9ffd 09-May-2017 Alexander Galazin <alexander.galazin@arm.com> Fix DrawRangeElementsBaseVertex tests with negative basevertex

DrawRangeElementsBaseVertex tests with negative basevertex call
glDrawRangeElementsBaseVertex with start = 0 and basevertex = -1.
According to the spec: If no element array buffer is bound, the vertex ID of
the ith element transferred is indices[i] + basevertex...
If the vertex ID is larger than the maximum value representable by type,
it should behave as if the calculation were upconverted to 32-bit unsigned
integers (with wrapping on overflow conditions).
Behavior of DrawElementsOneInstance is undefined if the vertex ID is negative
for any element, and should be handled as described in section 6.4.

This change ensures that indexMin + baseVertex will be zero or positive value.

Components: AOSP

Affects:
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_byte
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_short
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_int

Change-Id: I07a9e6bc60d4340784d400b5087bb8fff01f0e57
unctional/es31fDrawElementsBaseVertexTests.cpp
e6f4dee13a279dc897b4186a8033bd4217922b72 31-Mar-2017 Pyry Haulos <phaulos@google.com> Fix GCC 6.3 warnings in aosp/master

Change-Id: I0a90ba7ed2e52fdadf554236850533298b2e1a9e
unctional/es31fNegativeSSBOBlockTests.cpp
unctional/es31fSRGBDecodeTests.cpp
8b5b1427f40476a2802ada23b142eca930857789 03-May-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev am: eebcec1b52 am: 2585331908" into nyc-mr1-dev am: cbd57d8ea2 am: e63231fb5e
am: 282f941efc

Change-Id: I29e45817dd40064cb7e14e1556c0ca7f579d543d
517bd386a5eed60a9bde20516e25caa2a57b5100 03-May-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev am: eebcec1b52 am: 2585331908
am: 0543f8e619

Change-Id: I113f5eb8a7cdb975e9e9928a3cbdbf55637492ff
0543f8e6194482d65c97f353c7e1681ddd27813d 03-May-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev am: eebcec1b52
am: 2585331908

Change-Id: Ibc91272a8ad15f813f273cf05bb6b6f846ae600f
726a67530353a7b2e7c2de6b5212a9a919adc9c7 20-Apr-2017 Pyry Haulos <phaulos@google.com> Fix GCC 6.3 warnings in SRGB write control tests

Change-Id: I6f0f2054a50288a1c65bbd9693e9382d8f69bbcd
unctional/es31fFboSRGBWriteControlTests.cpp
c29f0d0ec4b848568e5f602cd67f89a0d25fd50c 20-Apr-2017 Alexander Galazin <alexander.galazin@arm.com> Fix error mask generation in checkLineContinuity

Even if some pixels are missing the function could return
all-zero errorMask if the messageLimitcounter was exhausted.

Components: AOSP
Affects: dEQP-GLES31.functional.primitive_bounding_box.lines.*

Google bug: 35987764
unctional/es31fPrimitiveBoundingBoxTests.cpp
0dc7a59526c024cb82ad925ddf008b89e1a4b0b5 11-Apr-2017 Ian Romanick <ian.d.romanick@intel.com> Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am: aeef6dd8f5 am: fdc198ba11 am: c7970bbd83 am: 8bb630d3e5 am: d76c57f2b6
am: 995657a4be

Change-Id: Iffc14ae705cfd48ac90a2f7e1c805362d98c0826
8ca5b73a0259721d3ce901b273b6bf2521f43947 11-Apr-2017 Ian Romanick <ian.d.romanick@intel.com> Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am: aeef6dd8f5
am: a4ddab16dd

Change-Id: I18fe6a8ba3ba328513afdf1f5e5d32db6de32373
aeef6dd8f52a1ea27fa13b5a451b5863070633be 11-Apr-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev
337d8f30c861d07fcc50b575b332efac35a5f094 10-Nov-2016 Ian Romanick <ian.d.romanick@intel.com> Try harder to defeat GLSL compiler dead-code optimizations

A number of CTS tests generate shaders like like:

#version 310 es

buffer TargetInterface
{
highp float target;
};

highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(float(target));
return retValue;
}

void writeOutputs(in highp vec4 dummyValue)
{
target = float(dummyValue.y);
}

void main()
{
writeOutputs(readInputs());
}

After various common optimizations this becomes:

buffer TargetInterface
{
highp float target;
};

void main()
{
target = target;
}

In the absence of memoryBarrier() or qualifiers on the buffer, there is
no guarantee about the order of writes to the buffer. Since this write
is not guaranteed to be visible either on the GPU or the CPU, we
eliminate it. Since there is no access to target in the shader, we
report GL_REFERENCED_BY_FRAGMENT_SHADER = GL_FALSE. The tests expect
GL_TRUE.

The vectored versions of this test swizzle the value read from the
buffer before writing it back. These writes are not eliminated.

Adding a uniform instead of a literal constant also prevents the reads
and writes of the SSBO from being eliminated.

v2: Ignore the uniform named "zero" in
ResourceListTestCase::verifyResourceList. The alternative was to add
zero to the resource list, but that required making small changes
(mostly removing const) from over a dozen places in the code. This
slightly hacky, but localized, change seemed better.

v3: Various coding standards fixes suggested by Alexander Galazin and
Pyry. Add getDummyZeroUniformName to query name of the zero uniform and
a lot more documentation. Both suggested by Pyry.

The following tests are affected:

- dEQP-GLES31.functional.program_interface_query.buffer_variable.random.6
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.compute.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.separable_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_geo_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_geo_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_geo_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_geo_fragment.unnamed_block.float

Change-Id: I867ad32476269ac1272c09672be0a6d6fe37e31e
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16114
Google bug: 37228062
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
unctional/es31fProgramInterfaceQueryTests.cpp
605556c673eb98d59a1abf427eb8c60f146cb32b 07-Apr-2017 Pyry Haulos <phaulos@google.com> Merge vulkan-cts-1.0.2 into goog/oc-dev

Contains following fixes that have been made after vulkan-cts-1.0.2.2:

* Fix - uniform buffer incorrectly dereferenced
* Use vkGetInstanceProcAddr(NULL) to load platform funcs
* Imgtec Waiver for texture_gather*cube*depth32f*
* Add VK_KHR_incremental_present to the list of allowed device
extensions
* Use -std=c++03 with GCC and clang
* Fix GCC 6.3 warnings in vulkan-cts-1.0.2
* Improve check_build_sanity.py
* Relax image verification in anisotropic filtering tests
* Respect maxColorAttachments in image tests
* Fix SPIR-V generation in dEQP-VK.spirv_assembly
* Fix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D
* Add missing barrier in ssbo layout tests

This merge doesn't match any Vulkan CTS release tag.

Bug: 36899783
Bug: 36817508
Change-Id: Id94c70d824ca503666adf16c56ccd3de48edac05
27c798b30278db76ee1e34154e54054bebeb6a3e 07-Apr-2017 Pyry Haulos <phaulos@google.com> Merge vk-gl-cts/master into aosp/deqp-dev
55da06144c4b89c5779a74dda7b3267d34ebfc3c 07-Apr-2017 Pyry Haulos <phaulos@google.com> Merge vulkan-cts-1.0.2 into aosp/master

Contains following fixes that have been made after vulkan-cts-1.0.2.2:

* Fix - uniform buffer incorrectly dereferenced
* Use vkGetInstanceProcAddr(NULL) to load platform funcs
* Imgtec Waiver for texture_gather*cube*depth32f*
* Add VK_KHR_incremental_present to the list of allowed device
extensions
* Use -std=c++03 with GCC and clang
* Fix GCC 6.3 warnings in vulkan-cts-1.0.2
* Improve check_build_sanity.py
* Relax image verification in anisotropic filtering tests
* Respect maxColorAttachments in image tests
* Fix SPIR-V generation in dEQP-VK.spirv_assembly
* Fix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D
* Add missing barrier in ssbo layout tests

This merge doesn't match any Vulkan CTS release tag.

Bug: 36899783
Bug: 36817508
Change-Id: I5dff02835e5296e1c25ba67675c06e2261e5c476
cc5411b87aba85cdf73b5787fa2db943b841f060 31-Mar-2017 Pyry Haulos <phaulos@google.com> Fix GCC 6.3 warnings in master

Change-Id: I8cf513413c078f1abdb53c93129456039be1e2a9
unctional/es31fNegativeSSBOBlockTests.cpp
unctional/es31fSRGBDecodeTests.cpp
4ea94d25b38edfabbdac905f4c885261e8f9d73f 03-Apr-2017 Pyry Haulos <phaulos@google.com> Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: I862763ebe1531b6f701657c34083fa715a287678
674ddbb09a7bb6b16f839e129d5f0f2ac6dc9e74 31-Mar-2017 Pyry Haulos <phaulos@google.com> Fix GCC 6.3 warnings in vulkan-cts-1.0.2

Change-Id: Iede7ed79a031ab38c0665d1a115e34d034d2b662
unctional/es31fFboTestUtil.cpp
unctional/es31fMultisampleTests.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fProgramUniformTests.cpp
83bcaf04f76c8a2798a58493a5398eab2e3f1e8b 30-Mar-2017 James Helferty <jhelferty@nvidia.com> Check correct error for exceeding texture limit

This test should check for GL_INVALID_OPERATION instead of GL_INVALID_VALUE.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.get_error.compute.exceed_texture_image_units_limit

Component: AOSP
VK-GL-CTS Issue: 340

Change-Id: I609f6fcb876978e715c52fd5b5c4144891dbaacf
unctional/es31fNegativeComputeTests.cpp
ed775c8e0e65eb957bc3d7631395e86d7f5cf679 03-Apr-2017 Pyry Haulos <phaulos@google.com> Fix compute.exceed_atomic_counters_limit

Tests were using large offset instead of large binding value when
attempting to exceed atomic counter limit.

Affects:

dEQP-GLES31.functional.debug.negative_coverage.*.compute.exceed_atomic_counters_limit

Change-Id: I9c89b64de4983ec383a9c76cc44f3ac9f2e782f4
unctional/es31fNegativeComputeTests.cpp
2e78febdaee1265f1b911724b0a87fb5af2a3144 03-Apr-2017 Pyry Haulos <phaulos@google.com> Fix typo in framebuffer_srgb_unsupported_enum

Test case was not assigning gl.getError() return value into a variable
causing tests to always fail on implementations that don't support ES3.2
or GL_EXT_sRGB_write_control.

Affects:

dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: Iafc38b8152f3371ce8c016c4f70feb2bb4604c69
unctional/es31fFboSRGBWriteControlTests.cpp
3a9eab9c1fe44752fe6813a6eaa17a5ef163b62c 03-Apr-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge changes I605f7089,Ieaaee4c7 into deqp-dev

* changes:
Add sRGB write decode negative case
Add sRGB write decode tests
f42249d7d1da704de50a77c5edec212f03e7d1f3 30-Mar-2017 John Richardson <john.richardson@mobica.com> Add sRGB write decode negative case

Test to check drivers that don't expose EXT_sRGB_write control return
GL_INVALID_ENUM for related gl calls.

New Tests:
- dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: I605f70894ead6e5dd317a340d061dcec9a6180c8
unctional/es31fFboSRGBWriteControlTests.cpp
d958b13e2720c172e23218cb222e9736801679eb 08-Mar-2017 Michael Hadley <michael.hadley@mobica.com> Add sRGB write decode tests

New Tests:
- dEQP-GLES31.functional.fbo.srgb_write_control.*

Change-Id: Ieaaee4c7dc49cc530d8fc42a060e40c706d86e5c
unctional/CMakeLists.txt
unctional/es31fFboSRGBWriteControlTests.cpp
unctional/es31fFboSRGBWriteControlTests.hpp
unctional/es31fFunctionalTests.cpp
c422c403e2d6ddaa5b875ff4afc5e4ef691cea33 03-Apr-2017 Pyry Haulos <phaulos@google.com> Use new LOD approximation rules for OpenGL ES
am: 0b6dbeb93e

Change-Id: Ifa2276c7d81db893349661d675389a8f11ee11df
433645782506cbdf8fa8b113ea0b5aa8ae761f0c 28-Mar-2017 Pyry Haulos <phaulos@google.com> Use new LOD approximation rules for OpenGL ES

This change updates OpenGL ES texture LOD approximation bounds to match
Vulkan. Since rules are now same for both APIs the LodPrecision
parameter introduced in 9f0ff9f49ae3359d9b2e50f5d720fc77460d0f4f is
removed.

Affects:

dEQP-GLES2.texture.*
dEQP-GLES3.texture.*
dEQP-GLES31.texture.*

Khronos spec bug: 16179
Google bug: 28200359
Components: AOSP, Vulkan, Framework

Change-Id: I55ff2e6296c7947af7ee5b7cf915d24c260ae374
(cherry picked from commit 0b6dbeb93e83dcf3b55d2eccce7cb1517c2caee5)
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFilteringTests.cpp
354cd4bb06817ac34d60c1eecf4752ef4ef2a1cc 28-Mar-2017 Pyry Haulos <phaulos@google.com> Relax LOD computation bounds

This change updates LOD approximation rules to match proposed spec
language in Vulkan texture filtering and mipmap tests.

This is partial cherry-pick of 9f0ff9f49ae3359d9b2e50f5d720fc77460d0f4f.
Mustpass changes are not included.

Affects: dEQP-VK.texture.*

Change-Id: Ic786bc733913a76d27f0cba31f3a61a10f8144fc
(cherry picked from commit a9a793142c75c8537b3a2229f1e3289278d19fd6)
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFilteringTests.cpp
0b6dbeb93e83dcf3b55d2eccce7cb1517c2caee5 28-Mar-2017 Pyry Haulos <phaulos@google.com> Use new LOD approximation rules for OpenGL ES

This change updates OpenGL ES texture LOD approximation bounds to match
Vulkan. Since rules are now same for both APIs the LodPrecision
parameter introduced in 9f0ff9f49ae3359d9b2e50f5d720fc77460d0f4f is
removed.

Affects:

dEQP-GLES2.texture.*
dEQP-GLES3.texture.*
dEQP-GLES31.texture.*

Khronos spec bug: 16179
Google bug: 28200359
Components: AOSP, Vulkan, Framework

Change-Id: I55ff2e6296c7947af7ee5b7cf915d24c260ae374
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFilteringTests.cpp
a9a793142c75c8537b3a2229f1e3289278d19fd6 28-Mar-2017 Pyry Haulos <phaulos@google.com> Relax LOD computation bounds

This change updates LOD approximation rules to match proposed spec
language in Vulkan texture filtering and mipmap tests.

This is partial cherry-pick of 9f0ff9f49ae3359d9b2e50f5d720fc77460d0f4f.
Mustpass changes are not included.

Affects: dEQP-VK.texture.*

Change-Id: Ic786bc733913a76d27f0cba31f3a61a10f8144fc
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFilteringTests.cpp
e35a5e7b799d16ddd461aa222eeb2c3a66b28b0a 30-Mar-2017 John Richardson <john.richardson@mobica.com> Fix for integer formats in framebuffer extension tests

Use UVec4 and IVec4 types when calculating composite color for
unsigned and signed integer formats respectively.

Affected tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*

Change-Id: I01cea4a6d99df51939740712b952b5e9191ed1f2
unctional/es31fShaderFramebufferFetchTests.cpp
7a65ce874a831786dcbfba7e6043fed096905bce 20-Mar-2017 John Richardson <john.richardson@mobica.com> Add new framebuffer fetch extension tests

New tests for EXT_shader_framebuffer_buffer_fetch extension. Test cases
for accessing existing framebuffer data as input in the fragment shader.
Includes negative tests cases for invalid shader usage.

New tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.*
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
- dEQP-GLES31.functional.debug.negative_coverage.*.framebuffer_fetch.*

Change-Id: I8f8aa2312e26c2c709d3e2e2733c497e24669da8
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fFunctionalTests.cpp
unctional/es31fNegativeShaderFramebufferFetchTests.cpp
unctional/es31fNegativeShaderFramebufferFetchTests.hpp
unctional/es31fShaderFramebufferFetchTests.cpp
unctional/es31fShaderFramebufferFetchTests.hpp
d7b15b83b9f7f7c0cf576481e3e9c0a70922e88c 13-Feb-2017 Michael Hadley <michael.hadley@mobica.com> Add srgb_r8 internal format tests

Added srgb_r8 tests to the following:
- dEQP-GLES31.functional.texture.format.sized.cube_array
- dEQP-GLES31.functional.texture.filtering.cube_array.formats

Change-Id: Ib3f46ea66b1cef284a13205ee009470aa6e7337d
unctional/es31fTextureFilteringTests.cpp
unctional/es31fTextureFormatTests.cpp
d4cfb494b342b6a0eeb3c2812989c57f9126119c 14-Mar-2017 Michael Hadley <michael.hadley@mobica.com> Add negative OES_sample_variables tests

New Tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.log.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.get_error.oes_sample_variables.*

Change-Id: I83bf9b48ca0ac7133419099b1a54ebc4d1cacf20
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeSampleVariablesTests.cpp
unctional/es31fNegativeSampleVariablesTests.hpp
c9fc3de3705f34f62d02dfd97bdbb1d6b5cf4b1b 17-Mar-2017 Pyry Haulos <phaulos@google.com> Merge deqp-dev into vk-gl-cts/master

Change-Id: I8b14ed1eff819165824b6737c11128ae7f12cd5c
85e76dc36e8683351db8ec59f42fb252c6ece8de 06-Feb-2017 John Richardson <john.richardson@mobica.com> Add new compute negative coverage tests

Test groups added to:
- dEQP-GLES31.functional.debug.negative_coverage.*.compute (new)

New tests:
- program_not_active

- invalid_program_query
- invalid_dispatch_compute_indirect
- invalid_maximum_work_group_counts
- invalid_maximum_work_group_sizes
- invalid_layout_qualifiers
- invalid_write_built_in_constants

- exceed_uniform_block_limit
- exceed_shader_storage_block_limit
- exceed_texture_image_units_limit
- exceed_image_uniforms_limit
- exceed_shared_memory_size_limit
- exceed_uniform_components_limit
- exceed_atomic_counter_buffer_limit
- exceed_atomic_counters_limit

Change-Id: Ifd798652df3b138e174c1d9408b6ecdb003ce7f9
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeComputeTests.cpp
unctional/es31fNegativeComputeTests.hpp
46f68ed4afdf678e67542953af9c2450db630aa2 14-Feb-2017 John Richardson <john.richardson@mobica.com> Add new draw elements base vertex tests

New tests for EXT_draw_elements_base_vertex extension
exercising the following draw calls

- DrawElementsBaseVertex()
- DrawRangeElementsBaseVertex()
- DrawElementsInstancedBaserVertex()

New test groups:
- dEQP-GLES31.functional.draw_elements_base_vertex.*

New tests:
- indices.*
- base_vertex.*
- builtin_variable.*
- points.*
- triangles.*
- triangle_fan.*
- triangle_strip.*
- lines.*
- line_strip.*
- line_loop.*

Extend dEQP-GLES31.functional.debug.negative_coverage.callbacks.vertex_array.*
tests to include additional mapping and mismatched primitive mode
errors for base vertex draw calls.

New tests:
- *.primitive_mode_mismatch
- *.invalid_map

Change-Id: Iefc9bcddd3fe8831d2bb20f2e46d06f92daa6d6b
unctional/CMakeLists.txt
unctional/es31fDrawElementsBaseVertexTests.cpp
unctional/es31fDrawElementsBaseVertexTests.hpp
unctional/es31fFunctionalTests.cpp
unctional/es31fNegativeVertexArrayApiTests.cpp
80ae66864cf5a5e50389717f7c838364d761d40d 07-Dec-2016 Michael Hadley <michael.hadley@mobica.com> Add negative sRGB texture/sampler API tests

Added sRGB tests to the following:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.texture.*
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader.*

Change-Id: I1ebd5a95c8605a39e4bbb5b4516d0f7b8c11898e
unctional/es31fNegativeShaderApiTests.cpp
unctional/es31fNegativeTextureApiTests.cpp
521361d83d2d48116ecdbd235934ed7c42ec74d4 15-Mar-2017 Pyry Haulos <phaulos@google.com> Fix warning introduced in 2c9e3ec9

Change-Id: I42bef21b2cc7274f107e5455dea1e382d8a419f4
(cherry picked from commit d8b452a7533c195b1328918bb696a819542ff044)
unctional/es31fPrimitiveBoundingBoxTests.cpp
d8b452a7533c195b1328918bb696a819542ff044 15-Mar-2017 Pyry Haulos <phaulos@google.com> Fix warning introduced in 2c9e3ec9

Change-Id: I42bef21b2cc7274f107e5455dea1e382d8a419f4
unctional/es31fPrimitiveBoundingBoxTests.cpp
085f13d8da609fb25001069efa5e8368dd3a3e96 15-Mar-2017 Alexander Galazin <alexander.galazin@arm.com> Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev am: 0532365740
am: 468843cf08

Change-Id: I9122ba56c736bdbb628dff8b5b8cc28c9979801f
05323657403f3f27a1ad253740237f02606dd577 15-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Further relax line verification in primitive bbox tests" into nougat-cts-dev
19b4a4e7aca9803728c45177086b9ee20ae13fa8 15-Mar-2017 Alexander Galazin <alexander.galazin@arm.com> Use glReadnPixels only if KHR_robustness is supported am: d99ba132d9
am: d01980d03d

Change-Id: If10695499f41c716416cb4277170529a1f325596
2c9e3ec924255e414dc5e183b91348a1507d4d53 06-Mar-2017 Alexander Galazin <alexander.galazin@arm.com> Further relax line verification in primitive bbox tests

The original relaxation patch
ba45591407d0207e8ba0634ea5636fd721ed781f
allowed lines to be 1 pixel thinner or thicker compared
to the expected width. Unfortunately it missed the case
of a line with the width of 1 pixel that has extra verification
in the framework. This change covers this gap.

Google bug: 35987764

Change-Id: I193d76ae13738702c9d7361d1957f15ea7600c4f
unctional/es31fPrimitiveBoundingBoxTests.cpp
d99ba132d92fb015a4008910a98a257fad1199a6 23-Feb-2017 Alexander Galazin <alexander.galazin@arm.com> Use glReadnPixels only if KHR_robustness is supported

glReadnPixels is introduced in KHR_robustness/GLES 3.2.
Use of this function in GLES 3.1 tests will result in segfault
on implementations that don't support KHR_robustness.

Components: AOSP, Framework

Affects: dEQP-GLES31.functional.debug.negative_coverage.callbacks.buffer.read_pixels_format_mismatch

VK-GL-CTS issue: 166
Google bug: 36122027

Change-Id: Idbe8734f7d82882ea99c75a8b74d693ac6dd831f
(cherry picked from commit 219019495770c221e92f43df3e76a954c613210d)
unctional/es31fNegativeBufferApiTests.cpp
e05b3a9c94805e90d54fab7d43fd7080a757f034 10-Mar-2017 Sunny Sun <sunny.sun@arm.com> Fix typo in dEQP-GLES31.functional.srgb_texture_decode.skip_decode.*

Change-Id: I1432dbff1db24b0f1dd2c9a297822b4fbdb1aa76
unctional/es31fSRGBDecodeTests.cpp
2b5c5f1ddc8038b0e7150d87ed7894f64af8da3d 09-Mar-2017 Pyry Haulos <phaulos@google.com> Merge vk-gl-cts/aosp-master into vk-gl-cts/master

Components: AOSP, Framework

Change-Id: I0de6207abfc1c990a85fcf977d78ed1103c52a1b
219019495770c221e92f43df3e76a954c613210d 23-Feb-2017 Alexander Galazin <alexander.galazin@arm.com> Use glReadnPixels only if KHR_robustness is supported

glReadnPixels is introduced in KHR_robustness/GLES 3.2.
Use of this function in GLES 3.1 tests will result in segfault
on implementations that don't support KHR_robustness.

Components: AOSP, Framework

Affects: dEQP-GLES31.functional.debug.negative_coverage.callbacks.buffer.read_pixels_format_mismatch

VK-GL-CTS issue: 166

Change-Id: Idbe8734f7d82882ea99c75a8b74d693ac6dd831f
unctional/es31fNegativeBufferApiTests.cpp
ab0a5da69ee6c41ff7b752c14761cd991cee87cf 03-Mar-2017 Pyry Haulos <phaulos@google.com> Fix "null" ID in sRGB decode tests

Use 0 as "null" GL object ID as -1 is potentially valid ID.

Change-Id: I95f9f0c300d5b6e95c0c7c81e29fd28ac9ca3b82
unctional/es31fSRGBDecodeTests.cpp
2c74c73891c545cfe4d8462a2d865087efd879db 02-Mar-2017 Mark Adams <marka@nvidia.com> Modify single_tessellation_stage to check for GL_NV_gpu_shader5

That extension permits the use of a tessellation control shader
without a tessellation evaluation shader. Affected tests:

dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage
unctional/es31fNegativeTessellationTests.cpp
698b72833550b2a6a5bbf3751eb2a7da153efd83 22-Feb-2017 Mika Isojärvi <misojarvi@google.com> Fix tessellation support checks in negative binding tests

Bug: 35618877
Test: Run the tests on couple of devices supporting tessellation
Change-Id: Ieca6a28a57a278a07ff688f760eb7da807e66d49
unctional/es31fLayoutBindingTests.cpp
02975695151c5dab312ece3a8bb492c07ed1244a 23-Feb-2017 Graeme Leese <gleese@broadcom.com> Fix extension support checks in negative api tests

Add checks for tessellation and geometry shader support for negative
shader storage and primitive bounding box tests.

Move all uses of cubemap array textures inside the extension checks in
the texture tests.

Bug: 29835218
Change-Id: I6051fff231285ed7d9c71015c2bb11a9fc7b909b
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
unctional/es31fNegativeShaderDirectiveTests.cpp
unctional/es31fNegativeShaderStorageTests.cpp
unctional/es31fNegativeTextureApiTests.cpp
eae50b9cdb2709ad8e0fa2742661ef48e633928f 24-Feb-2017 Pyry Haulos <phaulos@google.com> Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"
cb161dfb534fd48b98c18ae12508057e19813edd 23-Feb-2017 Pyry Haulos <phaulos@google.com> Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048

GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax has been changed to
2048 (from 4096) in OpenGL ES 3.2 spec in response to bug 12823.

Bug: 35619900
Change-Id: I59d75d23df02d339bf7094a8e73d3a24d2e785be
unctional/es31fIntegerStateQueryTests.cpp
0e7a9e61aed02cd14b597c89cd0c47a3b61aa497 22-Feb-2017 Mark Adams <marka@nvidia.com> Modify tessellation_not_active to check for GL_NV_gpu_shader5

That extension permits use of GL_PATCHES for stages other than
tessellation stages. Affected test:

dEQP-GLES31.functional.debug.negative_coverage.get_error.tessellation.tessellation_not_active

Bug 35670519
unctional/es31fNegativeTessellationTests.cpp
09b0225a8a77b3d385b7dc779d2ae06f5980bba7 22-Feb-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix whitespace issues"
59999de58c98533dafb70d04928101bff647536c 20-Feb-2017 John Richardson <john.richardson@mobica.com> Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase

- Add a non-separable TCS-but-no-TES (new subcase).

Section 7.3 of the OpenGL ES 3.2 specification says:

"Linking can fail for [...] any of the following reasons:

* program contains an object to form a tessellation evaluation
shader [...] and [...] the program is not separable and
contains no object to form a tessellation control shader"

Add a test to ensure the implementation does raise a link error.

- Make program separable in TES-but-no-TCS draw time check test (fix)

Since the test is trying to check for a draw time error, it should use
a separable program - otherwise we may hit a link error.

Changes made to test case:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage

Bug: 35354738
Change-Id: I902106864059cfbe7d718da0d0527284de04a915
unctional/es31fNegativeTessellationTests.cpp
e0d262e1f4bba5f557ae045e9f5cd5c635bc96cb 22-Feb-2017 Pyry Haulos <phaulos@google.com> Fix whitespace issues

Change-Id: I31cd4e4d3e113192fce0bccd20fd8fa14d182620
unctional/es31fCopyImageTests.cpp
d4a9effab0d278131b0add9ad3ded2a662c9d9e1 21-Feb-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix multiple resource leaks in new srgb_texture_decode tests"
dbec7154ee36bdc363b17df74ce1029e1ddcdf93 21-Feb-2017 Kalle Raita <kraita@google.com> Merge "Reduce read pixel calls in copy image tests"
7ac38a6fa1ff4f46a5bb7b22b3df2e9a2eb5a2c9 21-Feb-2017 Kalle Raita <kraita@google.com> Merge "Restructure copy image test iterations"
ac1e4ff92f8293af704ac32076eb1f4fc1d71810 17-Feb-2017 Mark Adams <marka@nvidia.com> Fix multiple resource leaks in new srgb_texture_decode tests

There were multiple issues here, ranging from never freeing resources,
to overwriting resources, to only freeing them at class destruction
instead of deinit time. This was resulting in hitting OOM on platforms
without tons of memory.

Bug: 35457323
Change-Id: I492177bb9e71bdbc7efc9d3a7c8a34bef35c709e
unctional/es31fSRGBDecodeTests.cpp
fc868645e28ce37954bd5d5baeb8b0da80248d5e 17-Feb-2017 Pyry Haulos <phaulos@google.com> Merge changes Icb29d2da,Ida906e21

* changes:
Add a non-separable TCS-but-no-TES subcase.
Make program separable in TCS-but-no-TES draw time check test.
b4d41f1ef041179f927a6a04a8fd5913cdf590bb 01-Feb-2017 Michael Hadley <michael.hadley@mobica.com> Add sRGB skip decode test

New Tests:
- deqp-case=dEQP-GLES31.functional.srgb_texture_decode.*

Change-Id: I0257e63b15ee0334efad985411d8070ddecdd51a
unctional/CMakeLists.txt
unctional/es31fFunctionalTests.cpp
unctional/es31fSRGBDecodeTests.cpp
unctional/es31fSRGBDecodeTests.hpp
37e71495672c6c93f9afc79b4e619a54d2eaa96a 19-Jan-2017 Kalle Raita <kraita@google.com> Reduce read pixel calls in copy image tests

Reduce glReadPixels calls in the copy image tests by rendering multiple
texture sub-images for each read back. Significant improvement for
certain platforms, no impact on others.

Bug: 33965234
Test: Run tests on Pixel C and Pixel XL, Check that old N9 results still
have same failures. Spot checks with 240x200 target surface.
Change-Id: I133c56b7855a664f164f1eb0b1307259462e098f
unctional/es31fCopyImageTests.cpp
7a794b41a7c29ee91abf3c5ec444c7bdb6625da3 24-Jan-2017 Kalle Raita <kraita@google.com> Restructure copy image test iterations

Packing test iterations so that work per buffer swap is maximized
without running the risk of hitting per-iteration timeout. Yields
execution time drops of roughly 50% on at least 2 GPU architectures.

Bug: 33965234
Test: Copy image tests on multiple devices and L MR1 N9 for detection capability.
Change-Id: I7de5231da0d8a1d2bd22ec3741f1481e2ebd5475
unctional/es31fCopyImageTests.cpp
0a9f969930a90484eae0ebcecd475f77236ce691 11-Feb-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Add a non-separable TCS-but-no-TES subcase.

"Linking can fail for [...] any of the following reasons:

* program contains an object to form a tessellation control
shader [...] and [...] the program is not separable and
contains no object to form a tessellation evaluation shader"

Add a test to ensure the implementation does raise a link error.

The new subcase is part of:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage

Change-Id: Icb29d2da50b2c327bfd2196af9be56bb7d8644f9
unctional/es31fNegativeTessellationTests.cpp
1b9d89f86ae4045fad08b2775cdab9dd459c86d3 11-Feb-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Make program separable in TCS-but-no-TES draw time check test.

Section 7.3 of the OpenGL ES 3.2 specification says:

"Linking can fail for [...] any of the following reasons:

* program contains an object to form a tessellation control
shader [...] and [...] the program is not separable and
contains no object to form a tessellation evaluation shader"

Since the test is trying to check for a draw time error, it should use
a separable program - otherwise we may hit a link error.

Fixes a bug in:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage

Change-Id: Ida906e21c3e3534fd2a8c7bac0334083881bdb19
unctional/es31fNegativeTessellationTests.cpp
06811e1c449e303d86f5eba28699ef238dfd78f5 09-Feb-2017 Mika Isojrvi <misojarvi@google.com> Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
am: eef2e716e7

Change-Id: Icadf536794c067056e66f6a2041fbb937952f35a
524a3ef1813335f4759b3b56004c30e8c669b295 06-Feb-2017 Pyry Haulos <phaulos@google.com> Merge vk-gl-cts/aosp-master into vk-gl-cts/master

Components: Framework, AOSP

Change-Id: I792d9647eca05c0c6801b90dc0dfb7e0d0742daf
ed63f60eb481750422f612c34ae6a35a8307d3e2 14-Dec-2016 Michael Hadley <michael.hadley@mobica.com> Added gl_BoundingBox built-in type access tests

New tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_directive.accessing_bounding_box_type

Change-Id: I8f47dfdfde631f36f6a515459867b59e3c210701
unctional/es31fNegativeShaderDirectiveTests.cpp
04ba289d6eebc1d74b389d92a66a9f14091fe830 01-Dec-2016 Michael Hadley <michael.hadley@mobica.com> Add SSBO block tests

New Tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.ssbo_block.ssbo_block.*

Change-Id: I60d52bc34d9211e93332dcc719535f1f5e4a0596
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeSSBOBlockTests.cpp
unctional/es31fNegativeSSBOBlockTests.hpp
b7272b0934f634b106e44c1d74b8ffd0db2efea9 23-Nov-2016 John Richardson <john.richardson@mobica.com> Add tessellation shader stages to negative layout_binding tests

Tests groups added to:
- dEQP-GLES31.functional.layout_binding.negative.sampler.sampler2d.*.
- dEQP-GLES31.functional.layout_binding.negative.sampler.sampler3d.*.
- dEQP-GLES31.functional.layout_binding.negative.ubo.*.
- dEQP-GLES31.functional.layout_binding.negative.ssbo.*.
- dEQP-GLES31.functional.layout_binding.negative.image.image2d.*.
- dEQP-GLES31.functional.layout_binding.negative.image.image3d.*.

New tests (tess_control, tess_evalution):
- binding_neg
- binding_over_max
- binding_neg_array
- binding_over_max_array

Extended tests:
- binding_contradictory
- binding_contradictory_array

Change-Id: Ia6b66f1d5316e3bba376a8aea189074b60fbedb5
unctional/es31fLayoutBindingTests.cpp
1889817926aa62a5f8d308c118f38acd882565ee 09-Nov-2016 John Richardson <john.richardson@mobica.com> Add new tessellation negative coverage tests

Test groups added to:
- dEQP-GLES31.functional.shaders.linkage.tessellation.varying.rules
- dEQP-GLES31.functional.shaders.linkage.tessellation.layout_declarations.rules (new)
- dEQP-GLES31.functional.shaders.linkage.tessellation.barriers.rules (new)
- dEQP-GLES31.functional.debug.negative_coverage.*.tessellation (new)

New tests:
- output_non_array
- invalid_patch_in_usage
- invalid_patch_out_usage
- invalid_per_patch_qualifier_usage
- output_block_non_array

- invalid_barrier_usage_within_control_flow
- invalid_barrier_usage_after_return

- primitive_mode_mismatch
- spacing_mode_mismatch
- vertex_order_mismatch
- vertex_count_mismatch

- single_tessellation_stage
- invalid_primitive_mode
- tessellation_not_active
- invalid_program_state
- get_programiv
- invalid_program_queries
- tessellation_control_invalid_vertex_count

Change-Id: I0c4f4b407bfe80e09546af51fdb2d184cf310757
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeTessellationTests.cpp
unctional/es31fNegativeTessellationTests.hpp
6bc3c7a63456fdf267b65a5b80a003741a3aee4c 17-Nov-2016 Mika Isojärvi <misojarvi@google.com> Limit changes by xor to upper 8 bits in mixed atomic tests

Bug: 31270281
Test: Ran tests on multiple devices
Change-Id: I64393591171b304cd071f7a37b91efd2c7a853a6
unctional/es31fSynchronizationTests.cpp
263e135474a289ef8e309b97428ab6768cd2410d 01-Sep-2016 Kalle Raita <kraita@google.com> CP: Remove two read-backs from copy image tests

Cherry pick commit b2fb8ad5ceefe26964101bd403e7786ae83274a9
from master.

Bug: 33965234

Remove two read-backs from copy image tests

Test: Ran copy_image on N6 & N9 with L MR1 image to check for
false-negatives. PixelC and Pixel XL for passing with current OS image.

Change-Id: I9f7028eb550012f8d9abe2f7afee2d1402f5abf3
unctional/es31fCopyImageTests.cpp
7aff1a044fbef2de7998fe4369375a6ba8d3ea02 07-Dec-2016 Kalle Raita <kraita@google.com> CP: Non-compressed copy image target size (64,64,8

Cherry-pick commit 8076c97ac0fc706288ef266b0cbe748012c4e0c4 from master:

Non-compressed copy image tests target size reduced to (64,64,8). The
compressed cases retain old size of (128,128,16) to ensure coverage of
all block size combinations.

Bug: 33965234
Test: Run tests on N6 and N9 on L MR 1 with known failures
Change-Id: If22e8722c1de58aa239cf6fe29e79d3bdd13c589
unctional/es31fCopyImageTests.cpp
07a7e24da3d3f04ea6df365a5cc1e5335f6a27a9 20-Jan-2017 Pyry Haulos <phaulos@google.com> resolve merge conflicts of ba455914 to master

Change-Id: Iad350278ba3cf6adcc0fa5e4914e8d98db71a567
312a550657a4c46817e68712301705295114c5a6 20-Jan-2017 Tina Zhou <tinazh@google.com> Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev
bfa45fb85f91528ad1e952b1cc4e46f150da8c6b 20-Jan-2017 Alexander Galazin <alexander.galazin@arm.com> Merge vulkancts/opengl-cts-es-3.2.2 into vulkancts/opengl-cts-dev

Change-Id: Ia246cacb67f8e9f01f84533337efff66e40be757
fa6c55f1e7083c5b5474424af7ed9d7845885915 19-Jan-2017 Alexander Galazin <alexander.galazin@arm.com> Make RGB16F/RGB32F not color-renderable in ES 3.2

GL_RGB16F is color-renderable only if
GL_EXT_color_buffer_half_float is supported.

GL_RGB32F is color-renderable only if
GL_EXT_color_buffer_float is supported.

Affects: dEQP-GLES31.functional.fbo.color.texcubearray.rgb16f

VK-GL-CTS issue: 40

Components: AOSP

Change-Id: I2cf3eb7e8d5c361ac23a64128b0d27958dc48438
unctional/es31fFboTestCase.cpp
e65883ae178bbe97ab47bc70daac82e61cef9546 19-Jan-2017 Pyry Haulos <phaulos@google.com> Merge vulkancts/vulkan-cts-1.0-dev into vulkancts/opengl-cts-dev

Change-Id: I54cbd7d0021d911bad32411f54437fb270a60b64
9f0ff9f49ae3359d9b2e50f5d720fc77460d0f4f 23-Nov-2016 Pyry Haulos <phaulos@google.com> Relax LOD computation bounds; add mipmap.2d.projected to mustpass

This change updates LOD approximation rules to match proposed spec
language in Vulkan texture filtering and mipmap tests.

dEQP-VK.texture.mipmap.2d.projected.* is added back to the mustpass.

Affects: dEQP-VK.texture.*

Change-Id: Ic786bc733913a76d27f0cba31f3a61a10f8144fc
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFilteringTests.cpp
625d6858749c1b55e6761f1112390c71add918a6 06-Jan-2017 Kenneth Graunke <kenneth.w.graunke@intel.com> Drop incorrect framebuffer texture subtests.

This patch removes two broken subcases of:
dEQP-GLES31.functional.debug.negative_coverage.log.buffer.framebuffer_texture_layer

These were fixed in dEQP master by commit f28187809176f5eeb1ee25ccfa70d3,
but we cannot backport that to release branches because it changes the
existing expectations, which would break previously passing
implementations. See buganizer 30287182 and 28090252.

The first subtest incorrectly checked layer (array slice) when it should
have checked miplevel. The subtest description says:

"GL_INVALID_VALUE is generated if texture is a 2D multisample array
texture and layer not 0."

which is wrong - array textures can certainly have multiple slices.
The ES 3.1 specification says that:

"An INVALID_VALUE error is generated if texture is not zero and level is
not a supported texture level for texture, as described above."

and miplevel 0 is the only valid miplevel for a multisample texture.

The second subtest is no longer valid according to the resolution of
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15968.

Bug: 34281627
Merged-In: I500074c1777d88291c0b395498bb0f7d5613d27d
unctional/es31fNegativeBufferApiTests.cpp
ba45591407d0207e8ba0634ea5636fd721ed781f 15-Nov-2016 Pyry Haulos <phaulos@google.com> Relax line width verification in primitive bbox tests

Originally contributed by ARM to Khronos OpenGL ES CTS. Cherry-picked
with permission.

Google bug: 22713865
Khronos OpenGL issue: #19

Change-Id: I95359847611144e179819aaab6ac5dfe4bf4e4da
unctional/es31fPrimitiveBoundingBoxTests.cpp
7c1eed0087805f09a1c6b2d883285afe8c6cc19f 09-Jan-2017 Kalle Raita <kraita@google.com> Merge "Remove two read-backs from copy image tests"
891aec1534946cab450d1f5bf2ab581b4be1e923 05-Jan-2017 Pyry Haulos <phaulos@google.com> Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev

Change-Id: I0e30246d8afce9f4b3704c941c57e9fe88098268
c1e020bec507f11fc27a744ed63432c44910146b 22-Dec-2016 Pyry Haulos <phaulos@google.com> Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048
am: a42836566d

Change-Id: I6cf9f214b1a66360823af5fb219860454bc5a275
b2fb8ad5ceefe26964101bd403e7786ae83274a9 01-Sep-2016 Kalle Raita <kraita@google.com> Remove two read-backs from copy image tests

Test: Ran copy_image on N6 & N9 with L MR1 image to check for
false-negatives. PixelC and Pixel XL for passing with current OS image.
Change-Id: I7a342b7a51b127d76dc161fc58edfc2bea0fa4a3
unctional/es31fCopyImageTests.cpp
beba5d481acc3f223ca6c3db7a8f58fed4b652bc 16-Dec-2016 Kalle Raita <kraita@google.com> Merge "Non-compressed copy image target size (64,64,8)"
1975e3bd28ebbd59330c3c5c1e00fac686cad057 14-Dec-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Extend primitive_bounding_box negative tests"
33a70380153a08527edf2123131d8f01723ad2bd 01-Nov-2016 John Richardson <john.richardson@mobica.com> Extend primitive_bounding_box negative tests

Tests groups added to
- dEQP-GLES31.functional.debug.negative_coverage.*.

Extended tests:
- shader_directive.primitive_bounding_box

Change-Id: I38b698e3bd594f71b15d3bce4dc9a809298eb95e
unctional/es31fNegativeShaderDirectiveTests.cpp
51e20f1e2525f27b6e0ab81ffe7469fd4b33e5e7 26-Oct-2016 John Richardson <john.richardson@mobica.com> Add shader storage negative coverage tests

Tests groups added to:
- dEQP-GLES31.functional.debug.negative_coverage.*.

New tests:
- shader_storage.block_number_limits
- shader_storage.max_combined_block_number_limit

Extended tests:
- state.get_integeri_v
- state.get_integer64i_v
- shader.compile_compute_shader

Fixed tests:
- buffer.bind_buffer_base
- buffer.bind_buffer_range

Change-Id: Id71fb997e14ad026f0d6634298993f1638c67dde
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeBufferApiTests.cpp
unctional/es31fNegativeShaderApiTests.cpp
unctional/es31fNegativeShaderStorageTests.cpp
unctional/es31fNegativeShaderStorageTests.hpp
unctional/es31fNegativeStateApiTests.cpp
8076c97ac0fc706288ef266b0cbe748012c4e0c4 07-Dec-2016 Kalle Raita <kraita@google.com> Non-compressed copy image target size (64,64,8)

Non-compressed copy image tests target size reduced to (64,64,8). The
compressed cases retain old size of (128,128,16) to ensure coverage of
all block size combinations.

Test: Run tests on N6 and N9 on L MR 1 with known failures.
Change-Id: I7ddc7c55d73731d0a8cc2fcc04f2391f78d2d7de
unctional/es31fCopyImageTests.cpp
a42836566d3bbd3bc93d438c3dd6885532920ddf 15-Nov-2016 Pyry Haulos <phaulos@google.com> Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048

Google bug: 33105204
Khronos bug: 12823

(cherry picked from commit fe6bb67987a4d7fc59739c878e658f2a6d071cde)

Change-Id: I56fcc4ce527c31e48004c43e43e2ec994675e1b4
unctional/es31fTessellationTests.cpp
80a17f09c97db7a7bac59092655651304122d803 10-Nov-2016 Ian Romanick <ian.d.romanick@intel.com> Try harder to defeat GLSL compiler dead-code optimizations

A number of CTS tests generate shaders like like:

#version 310 es

buffer TargetInterface
{
highp float target;
};

highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(float(target));
return retValue;
}

void writeOutputs(in highp vec4 dummyValue)
{
target = float(dummyValue.y);
}

void main()
{
writeOutputs(readInputs());
}

After various common optimizations this becomes:

buffer TargetInterface
{
highp float target;
};

void main()
{
target = target;
}

In the absence of memoryBarrier() or qualifiers on the buffer, there is
no guarantee about the order of writes to the buffer. Since this write
is not guaranteed to be visible either on the GPU or the CPU, we
eliminate it. Since there is no access to target in the shader, we
report GL_REFERENCED_BY_FRAGMENT_SHADER = GL_FALSE. The tests expect
GL_TRUE.

The vectored versions of this test swizzle the value read from the
buffer before writing it back. These writes are not eliminated.

Adding a uniform instead of a literal constant also prevents the reads
and writes of the SSBO from being eliminated.

v2: Ignore the uniform named "zero" in
ResourceListTestCase::verifyResourceList. The alternative was to add
zero to the resource list, but that required making small changes
(mostly removing const) from over a dozen places in the code. This
slightly hacky, but localized, change seemed better.

v3: Various coding standards fixes suggested by Alexander Galazin and
Pyry. Add getDummyZeroUniformName to query name of the zero uniform and
a lot more documentation. Both suggested by Pyry.

Change-Id: I0ea745b6c630ec92d3c6e6acfe8c48e6de156d4c
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16114
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
unctional/es31fProgramInterfaceQueryTests.cpp
4f267c8a0579beefa53ff625ad0e3c237e057b10 21-Nov-2016 Pyry Haulos <phaulos@google.com> Import new GLSL ES 3.2 .test files from Khronos OpenGL CTS

These files are modified copies of existing files under
data/gles31/shaders.

Existing .test file based tests under dEQP-GLES31 are moved to
<groupname>.es31 groups and new tests are added under <groupname>.es32.

gls::ShaderLibraryCase is changed to check and report if GLSL version
used by the test is not supported by the rendering context.

Android CTS mustpass lists are updated to reflect this.

Change-Id: I44339fa1be1bd9c4215e828c6ba63e0eef449694
unctional/es31fAndroidExtensionPackES31ATests.cpp
unctional/es31fFunctionalTests.cpp
unctional/es31fSeparateShaderTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fUniformLocationTests.cpp
ab691d3f7e0b81cfa6dd82880ac08ad390c534b5 17-Nov-2016 Kenneth Graunke <kenneth.w.graunke@intel.com> Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
am: ea5589c748

Change-Id: I7358276f100608371da5b44ebc8e102a54706197
f5414b15bbababa0c9d24bb4abb75d624fcde5e6 17-Nov-2016 Kenneth Graunke <kenneth.w.graunke@intel.com> Fix internal format/type for 3D + depth/stencil negative API tests.
am: d2f3b468db

Change-Id: Id43b369d67e04cf3a6d6b5b4e3303f02c7a35b87
cb24d85a6dae33dd3a658b831cd5f0c34918126a 15-Nov-2016 Pyry Haulos <phaulos@google.com> Update several test groups in dEQP-GLES31 to use ES3.2 shaders

This change updates several test groups to use GLSL ES 3.2 shaders when
ran against OpenGL ES 3.2 implementation.

Additionally, AEP extensions are no longer checked in several groups
when the context version is ES3.2 or newer.

Affected tests:

dEQP-GLES31.functional.compute.basic.*
dEQP-GLES31.functional.copy_image.*
dEQP-GLES31.functional.debug.*
dEQP-GLES31.functional.fbo.color.*
dEQP-GLES31.functional.primitive_bounding_box.*
dEQP-GLES31.functional.program_interface_query.*
dEQP-GLES31.functional.state_query.program.*
dEQP-GLES31.functional.ssbo.atomic.*
dEQP-GLES31.functional.compute.shared_var.atomic.*
dEQP-GLES31.functional.shaders.builtin_functions.common.fma.*
dEQP-GLES31.functional.shaders.builtin_functions.integer.*
dEQP-GLES31.functional.shaders.builtin_functions.pack_unpack.*
dEQP-GLES31.functional.shaders.builtin_functions.texture_size.*
dEQP-GLES31.functional.stencil_texturing.*
dEQP-GLES31.functional.synchronization.*
dEQP-GLES31.functional.tessellation.*
dEQP-GLES31.functional.texture.texture_buffer.*
dEQP-GLES31.functional.texture.format.buffer.*
dEQP-GLES31.functional.texture.format.*.cube_array.*
dEQP-GLES31.functional.texture.filtering.cube_array.*
dEQP-GLES31.functional.texture.gather.*
dEQP-GLES31.functional.texture.multisample.*
dEQP-GLES31.functional.texture.specification.*_cube_array

Change-Id: I7188e448e7bbdb56c5162f7ed795333bec23e844
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fBasicComputeShaderTests.cpp
unctional/es31fCopyImageTests.cpp
unctional/es31fCopyImageTests.hpp
unctional/es31fDebugTests.cpp
unctional/es31fDrawBuffersIndexedTests.cpp
unctional/es31fFboColorbufferTests.cpp
unctional/es31fFboTestCase.cpp
unctional/es31fFboTestUtil.cpp
unctional/es31fFboTestUtil.hpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fInternalFormatQueryTests.cpp
unctional/es31fMultisampleShaderRenderCase.cpp
unctional/es31fMultisampleTests.cpp
unctional/es31fNegativeAdvancedBlendEquationTests.cpp
unctional/es31fNegativePreciseTests.cpp
unctional/es31fNegativeShaderFunctionTests.cpp
unctional/es31fNegativeStateApiTests.cpp
unctional/es31fNegativeTextureApiTests.cpp
unctional/es31fNegativeVertexArrayApiTests.cpp
unctional/es31fOpaqueTypeIndexingTests.cpp
unctional/es31fPrimitiveBoundingBoxTests.cpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fProgramStateQueryTests.cpp
unctional/es31fSampleVariableTests.cpp
unctional/es31fShaderAtomicOpTests.cpp
unctional/es31fShaderBuiltinConstantTests.cpp
unctional/es31fShaderCommonFunctionTests.cpp
unctional/es31fShaderIntegerFunctionTests.cpp
unctional/es31fShaderMultisampleInterpolationStateQueryTests.cpp
unctional/es31fShaderMultisampleInterpolationTests.cpp
unctional/es31fShaderPackingFunctionTests.cpp
unctional/es31fShaderTextureSizeTests.cpp
unctional/es31fStencilTexturingTests.cpp
unctional/es31fSynchronizationTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureBufferTests.cpp
unctional/es31fTextureFilteringTests.cpp
unctional/es31fTextureFormatTests.cpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fTextureMultisampleTests.cpp
unctional/es31fTextureSpecificationTests.cpp
7b31c3d30f5356eaac50b4c9709ef267a8fac457 15-Nov-2016 Pyry Haulos <phaulos@google.com> Advertise known context version when not executing tests

Several changes from Khronos OpenGL CTS assume that rendering context
version is available when constructing test case hierarchy. This change is
a workaround for that. Long-term plan is to fix tests to not touch context
properties during test hierarchy construction.

Change-Id: I3754aae3b47f557939949d0add2bf6ade3d6aadb
es31Context.cpp
fe6bb67987a4d7fc59739c878e658f2a6d071cde 15-Nov-2016 Pyry Haulos <phaulos@google.com> Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048

Khronos bug: 12823

Change-Id: If900a901d2ad4f3b4af8a7a353e8c6d635ca7603
unctional/es31fTessellationTests.cpp
88591709a4f087d1ff8df373b9dfcf4b1913e91a 15-Nov-2016 Pyry Haulos <phaulos@google.com> Relax line width verification in primitive bbox tests

Google bug: 22713865
Khronos OpenGL issue: #19

Change-Id: Id6fa6ef5ac2a93ab7841feffd9dc060efbce044f
unctional/es31fPrimitiveBoundingBoxTests.cpp
933ef4d47f5db6ae884e872eb3ed1165fde9607c 14-Nov-2016 Pyry Haulos <phaulos@google.com> Upstream OpenGL framework changes from OpenGL CTS

* Update wrapper to r33216

* Add support for various extensions needed by CTS

* Add support for direct loading of ES3.1 and ES3.2

* Change DEQP_<API>_RUNTIME_LINK to DEQP_<API>_DIRECT_LOAD and flip
logic.

Change-Id: I8930f62628336de969843da4c3dbba7699af3b47
unctional/es31fDebugTests.cpp
101d60fc568eef04ee7b3c38515b3b8619f3d1ff 19-Oct-2016 Pyry Haulos <phaulos@google.com> Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
am: 37e360591e

Change-Id: Iebccb4130e83bc05880ed19700b627920bd2c195
544e0e3b1d6dafdd74a9a1fc986486089cdfcafc 19-Oct-2016 Tina Zhou <tinazh@google.com> Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev
09137b73d2f4863c82d924f310199d4d5fe67056 19-Oct-2016 Pyry Haulos <phaulos@google.com> Check for shader type support in negative precise tests
am: 4a3a2d79a0

Change-Id: If11ec3c8cffdf5c152da4ebe8ea434aa67a61671
3dd07d23f65e1698db5e4228ead3151c44e5082a 19-Oct-2016 Pyry Haulos <phaulos@google.com> Check for shader type support in negative shader directive tests
am: cf6e6ab134

Change-Id: I575d8bebe3e3fdda7cb97b87325715bf940aeef3
c30d04b8e79fb078e8316b6f28244e54f1805a74 19-Oct-2016 Tina Zhou <tinazh@google.com> Merge "Check for shader type support in negative precise tests" into nougat-cts-dev
a3513e86ff43f0f32a8a681de556faeeef32e4ad 19-Oct-2016 Tina Zhou <tinazh@google.com> Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev
ea5589c748c0f399e478a570f9cc3c063fe55bf1 04-Sep-2016 Kenneth Graunke <kenneth.w.graunke@intel.com> Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.

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

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

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

However, it then says:

Setting minBitCount = 1, maxBitCount = 1.

Having two bits should be acceptable for 2x MSAA.

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

Change-Id: Ie615c82150588dab53226dc46670182a29d85ef5
(cherry picked from commit 724519b8fda9c2a92d646c3dfd1478e0daa282e9)
unctional/es31fSampleVariableTests.cpp
d2f3b468db45e8deb130de84bf194eebe37d5fff 12-Sep-2016 Kenneth Graunke <kenneth.w.graunke@intel.com> Fix internal format/type for 3D + depth/stencil negative API tests.

According to the ES 3.2 specification:

"Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
or STENCIL_INDEX are supported by texture image specification commands
only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
Using these formats in conjunction with any other target will result in
an INVALID_OPERATION error."

This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.

We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.

Change-Id: I44bf607533b59f93fa42415bd6cad8783352582d
(cherry picked from commit ae7f8e0a07730e693b24d3dc7a23d2372319145e)
unctional/es31fNegativeTextureApiTests.cpp
f85b5c9705c73ccad70f17202b95c412e3dff208 26-Sep-2016 Pyry Haulos <phaulos@google.com> Add license to a few utility scripts

Change-Id: I2233a68e2480fe07a6800c16d4a83e387b4c328a
cripts/genutil.py
4322256f0dca6121ec558aeb86a97bdac8e4d3a1 27-Sep-2016 Pyry Haulos <phaulos@google.com> Get rid of indirection when adding module directories in build

The machinery was needed in the past when some of the test module
directories could have been missing when building the source.

Change-Id: Ibf96483f70b1ae19a672c91603243dd06d286f08
les31.cmake
4db2fa91a1ec2f7ab8e5b154c97172961520ce26 21-Sep-2016 Mika Isojärvi <misojarvi@google.com> Use LDR decompression in reference for SRGB ASTC formats.

Bug: 31587228
Test: Ran tests on Nexus devices.
Change-Id: Ia5a3c37e45e13acf9078741188821b7be87da6fd
unctional/es31fCopyImageTests.cpp
ec5c5c216eca3edef9d07c710478b6f8921f22c1 14-Sep-2016 Daniel Xie <dxie@google.com> Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
a520e3ba8dde17351840648d334946e7fe1cd8f8 13-Sep-2016 Haixia Shi <hshi@google.com> Don't require supported binary formats in negative tests. am: 7cd59a4409
am: 635f454667

Change-Id: Id987cef0666752e9237ef4433892c5accd3f8379
ba98ecd5d0ee65033ae4e060181e50969c247c1b 13-Sep-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA."
f594c550af3b178b57bae463028c4b117c9b9491 13-Sep-2016 Daniel Xie <dxie@google.com> Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev
54d4c9f4761e91857c0884ecd09e7a11bfd42c21 13-Sep-2016 Daniel Xie <dxie@google.com> Merge "CP: Fix geometry shader support check" into nougat-cts-dev
ae7f8e0a07730e693b24d3dc7a23d2372319145e 12-Sep-2016 Kenneth Graunke <kenneth.w.graunke@intel.com> Fix internal format/type for 3D + depth/stencil negative API tests.

According to the ES 3.2 specification:

"Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
or STENCIL_INDEX are supported by texture image specification commands
only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
Using these formats in conjunction with any other target will result in
an INVALID_OPERATION error."

This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.

We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.
unctional/es31fNegativeTextureApiTests.cpp
724519b8fda9c2a92d646c3dfd1478e0daa282e9 04-Sep-2016 Kenneth Graunke <kenneth.w.graunke@intel.com> Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.

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

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

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

However, it then says:

Setting minBitCount = 1, maxBitCount = 1.

Having two bits should be acceptable for 2x MSAA.

This patch drops the special case for 1x/2x MSAA, making them work
like all the other MSAA levels.
unctional/es31fSampleVariableTests.cpp
cf6e6ab13485f09838da8ca8fbd51b26b5b19eda 09-Sep-2016 Pyry Haulos <phaulos@google.com> Check for shader type support in negative shader directive tests

Bug: 31312897
Change-Id: I40c2b47b0a6e6d0478cb6b63051ff474aae02f1f
unctional/es31fNegativeShaderDirectiveTests.cpp
4a3a2d79a0fdfaef7666b71f7ac8c64076570ac4 09-Sep-2016 Pyry Haulos <phaulos@google.com> Check for shader type support in negative precise tests

Bug: 31312494
Change-Id: I8bc1536e238efcef23fea0164731b9851ddf35b9
unctional/es31fNegativePreciseTests.cpp
b172f9eb57b106c22efad2287fc18ac05689be52 13-Aug-2016 Kalle Raita <kraita@google.com> CP: Split load/store image tests into sub-groups

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

Bug: 30785598
Bug: 31343756

(cherry picked from commit 90763f1f7dfed4880fee7305b8f5789137951afc)

Change-Id: I4bd10004ee90f42ae616e654e425aa11df0cdd8d
unctional/es31fDebugTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.hpp
37e360591e357a7c087b817735860a9f0e922a88 01-Sep-2016 Pyry Haulos <phaulos@google.com> Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch

Bug: 31244127
Change-Id: I0e25c5042aa832679f2da06b8401456058762750
unctional/es31fNegativeBufferApiTests.cpp
635f454667ddde3226d38a9e5f8a6c981dd297bd 30-Aug-2016 Haixia Shi <hshi@google.com> Don't require supported binary formats in negative tests.
am: 7cd59a4409

Change-Id: If08ea28912fe10ddc570841c8862d0918b1c224d
0da63cfe1d27e59b729d23afb55c25ac2aa12670 08-Aug-2016 Pyry Haulos <phaulos@google.com> CP: Fix geometry shader support check

Bug: 30738286

(cherry picked from commit 83470b2dcbff396773f94d7a1448c12362ad3380)

Change-Id: Ife07ebd21f115114441ac8dc794a8d9e12c8acae
unctional/es31fGeometryShaderTests.cpp
396201075256314de083e920bf95a30f48f7927b 11-Aug-2016 Pyry Haulos <phaulos@google.com> CP: Fix ext check in EXT_draw_buffers_indexed negative tests

Bug: 30738817

(cherry picked from commit cdfbadd0238044279cbc928bac9d895b002bcca6)

Change-Id: Iab592f4f97896995b6fb5a0f3a7ce0d885f9b834
unctional/es31fNegativeFragmentApiTests.cpp
7cd59a44094628d06b97a4219c7f4855c915b073 25-Aug-2016 Haixia Shi <hshi@google.com> Don't require supported binary formats in negative tests.

Bug: 26906411
Change-Id: Ic1b50096695fbcd64d6af312d56f12c4381a5b7a
unctional/es31fNegativeShaderApiTests.cpp
a18cb02cb85a47cccf5d432d9207aab6581e2f75 25-Aug-2016 Pyry Haulos <phaulos@google.com> Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I8c82777d467d18369f7e461fd2da1dc2045fc52b
c4eb6f3271a0bcd54835e666e836e3e72beebbd2 15-Jul-2016 Peter Siket <ps.szeged@partner.samsung.com> Move texture test utilities from the modules/glshared/glsTextureTestUtil to the framework/opengl/gluTextureTestUtil.

By moving these utilities to a common place, they can be used from other (not GLES) tests too.

Change-Id: I9ff3b431f868d99bff6cbe69a4de2c259cc09703
unctional/es31fCopyImageTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.cpp
unctional/es31fShaderImageLoadStoreTests.cpp
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFilteringTests.cpp
unctional/es31fTextureFormatTests.cpp
unctional/es31fTextureGatherTests.cpp
90763f1f7dfed4880fee7305b8f5789137951afc 13-Aug-2016 Kalle Raita <kraita@google.com> Split load/store image tests into sub-groups

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

Bug: 30785598
Change-Id: I8f43ad8d1c166e3a4adb946f9df1ed87b8e84106
unctional/es31fDebugTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.hpp
01af60e03f051fb44046f80fdf45f1ebe1ffd5a4 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix merged <space><tab> whitespace issues

Change-Id: I9476801571f3a945e8d0b19bc2a466b31a41c52e
unctional/es31fNegativeBufferApiTests.cpp
af137dda318784e7e05ce24c209407b89c9de065 16-Aug-2016 Pyry Haulos <phaulos@google.com> Merge vulkan-cts-1.0.1 into vulkan-cts-1.0-dev

Change-Id: I8330d7ef441114704a0d722182f456ed7ccb76f9
f189365bd621a14ac442faf93d81d031aad3a6f8 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix whitespace issues in other text files

Change-Id: Idab51b62589b9702d307022b0952a887bae263af
cripts/gen-implicit-conversions.py
653ad0e8a4209754304cbd5b5ceb4fdc7b29c01a 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix merged <space><tab> in C/C++ files

Change-Id: Ice7c1ae46a88c941c5834f9d34fcd4822c30debc
unctional/es31fCopyImageTests.cpp
unctional/es31fDebugTests.cpp
unctional/es31fDrawTests.cpp
unctional/es31fFboTestCase.cpp
unctional/es31fFramebufferDefaultStateQueryTests.cpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fIndexedStateQueryTests.cpp
unctional/es31fIntegerStateQueryTests.cpp
unctional/es31fInternalFormatQueryTests.cpp
unctional/es31fLayoutBindingTests.cpp
unctional/es31fNegativeAdvancedBlendEquationTests.cpp
unctional/es31fNegativeBufferApiTests.cpp
unctional/es31fNegativeFragmentApiTests.cpp
unctional/es31fNegativePreciseTests.cpp
unctional/es31fNegativeShaderApiTests.cpp
unctional/es31fNegativeShaderDirectiveTests.cpp
unctional/es31fNegativeShaderFunctionTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.cpp
unctional/es31fNegativeStateApiTests.cpp
unctional/es31fNegativeVertexArrayApiTests.cpp
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fProgramPipelineStateQueryTests.cpp
unctional/es31fProgramStateQueryTests.cpp
unctional/es31fShaderImageLoadStoreTests.cpp
unctional/es31fShaderMultisampleInterpolationStateQueryTests.cpp
unctional/es31fTessellationGeometryInteractionTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureBufferTests.cpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fUniformLocationTests.cpp
tress/es31sDrawTests.cpp
a15e7d7f566d93c76ca90171eb728e3d1cd82378 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix trailing whitespace and include guards

Change-Id: If9cf0f5b43ad668243033f7e7c04319c4fcd804d
unctional/es31fNegativeTestShared.hpp
unctional/es31fProgramInterfaceDefinition.hpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
cdfbadd0238044279cbc928bac9d895b002bcca6 11-Aug-2016 Pyry Haulos <phaulos@google.com> Fix ext check in EXT_draw_buffers_indexed negative tests

Bug: 30738817
Change-Id: I6da9531ff44273d9d6606a12abcd3268dea314e4
unctional/es31fNegativeFragmentApiTests.cpp
13e9c5295c76d199e223c4a1cb28c2d95c4bd5d5 11-Aug-2016 Kalle Raita <kraita@google.com> Merge "Tex array negative test fixes for FBTextureLayer"
83470b2dcbff396773f94d7a1448c12362ad3380 08-Aug-2016 Pyry Haulos <phaulos@google.com> Fix geometry shader support check

Bug: 30738286
Change-Id: I976d76cd417e1c0b456d252f50a8979f30d5be3f
unctional/es31fGeometryShaderTests.cpp
f28187809176f5eeb1ee25ccfa70d3702d74156a 06-Aug-2016 Kalle Raita <kraita@google.com> Tex array negative test fixes for FBTextureLayer

1) 2D multisample array textures can only have level 0 as the level in
the FramebufferTextureLayer. Now testing that level -1 and 1 trigger
INVALID_VALUE. Previously test was directed at layer.

2) Cube map arrays with layer above MAX_ARRAY_TEXTURE_LAYERS should
generate INVALID_VALUE.

Bug: 30287182
Bug: 28090252
Change-Id: I500074c1777d88291c0b395498bb0f7d5613d27d
unctional/es31fNegativeBufferApiTests.cpp
dc795cd4f3d064cbbe2bf9899bf2088d206b7434 09-Jun-2016 Chih-Hung Hsieh <chh@google.com> Fix misc-macro-parentheses warnings in deqp.

* Add parentheses around macro parameters beside binary operators.
* Add NOLINT to suppress wrong clang-tidy warnings.

Bug: 28705665
Change-Id: I8cab8cf2df6edb50806d9fd2324dfea31b127916
unctional/es31fBooleanStateQueryTests.cpp
unctional/es31fSamplerStateQueryTests.cpp
unctional/es31fTextureStateQueryTests.cpp
8265166ae6929804943be2a125e65363b2cdb5ab 14-Jun-2016 Mika Isojärvi <misojarvi@google.com> Merge \\\"Reset debug message callback if exception is thrown\\\" into nyc-dev am: b96fd36e8c am: 333bb37f14
am: 65ecc861cb

Change-Id: If87f3b1c4b3de9f4025da0839df781305a5e54c7
3de9f41adf0c5b44a1154ceae68c1d72fca338aa 09-Jun-2016 Mika Isojärvi <misojarvi@google.com> Reset debug message callback if exception is thrown

Bug: 29190874
Change-Id: Ie98b2286d1e9257247bfd0ff5924670c68631056
unctional/es31fDebugTests.cpp
352b30b87cc117983b632aa780c0f2fbf26d2617 19-May-2016 Pyry Haulos <phaulos@google.com> Do not add shared var cases for double types

Change-Id: Ic0ecaef03f9305d16214b29ed1c3bfca103f2f49
unctional/es31fShaderSharedVarTests.cpp
5f04f70275d07063bdabd36cfa807541d1f611bd 18-May-2016 Peter Siket <ps.szeged@partner.samsung.com> OpenGL rasterization tests are ported.
unctional/es31fTextureMultisampleTests.cpp
a9301cb50fd1e2c4db6f238275fc6917192a6cf2 21-Apr-2016 Mika Isojärvi <misojarvi@google.com> Fix negative test incorrectly testing levels instead of layers

Bug: 28090252
Change-Id: Icfe19cca34777e97f2ad49f09be7314467a307bc
unctional/es31fNegativeBufferApiTests.cpp
1a055c47c25b2deb996244de4d32b4a61d05b60f 19-Apr-2016 Mika Isojärvi <misojarvi@google.com> Use square cubemap textures in negative tests

Bug: 28249081
Bug: 28052105
Bug: 28052212
Change-Id: I15e9ca97c1300c4771a4797a8d29c68d779d3a9a
unctional/es31fNegativeTextureApiTests.cpp
58fb710bb8fb35b956564dad2c322b93c16ff2a1 14-Apr-2016 Mika Isojärvi <misojarvi@google.com> Fix atomic ssbo xor test

Allow any values in high order bits in xor tests when using uint types.

Bug: 28144118
Change-Id: I0670aa12642882a329cb923487198fdf045b912b
unctional/es31fShaderAtomicOpTests.cpp
3968146ba8b8e569e20b5ea35ac157a63ec2c476 13-Apr-2016 Mika Isojärvi <misojarvi@google.com> Update user defined io tessellation tests

Allow only explicit array size that is same as the "vertices"
layout qualifier

Bug: 25389474
Change-Id: If735df219fc6b576ae9656db1053004e566d2297
unctional/es31fTessellationTests.cpp
1552064677d053102339529167f27e75e6e1bc5c 05-Apr-2016 Mika Isojärvi <misojarvi@google.com> Mask compared bits in atomic operation tests.

Bug: 27975797
Change-Id: Id24a784b5b8a665f509218358d58d7eca9a7bb93
unctional/es31fShaderAtomicOpTests.cpp
2477a9cbaa309b075a51e10cdb8e5281fd753d8c 01-Apr-2016 Mika Isojärvi <misojarvi@google.com> Remove negative compressed cube map array test.

There are no compressed texture formats that wouldn't support cube map arrays.

Bug: 27124142
Change-Id: I018da78820b961da6f9914b37efd69e1f2c2e334
unctional/es31fNegativeTextureApiTests.cpp
7bf1b814b0216c9793c353fdee3bf295ef9603f2 31-Mar-2016 Mika Isojärvi <misojarvi@google.com> Use ETC2 format instead of ASTC format in negative texture tests

Bug: 27946727
Change-Id: I1269c354cbec4bb1574b484aaecc42571bb41832
unctional/es31fNegativeTextureApiTests.cpp
58d92cf5a258d460edca19d2b9381b26b421abb5 25-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge "Use supported number of atomic counters in opaque indexing tests" into nyc-dev
351f82f2be0cd8818879c6c140eaa027aed0b848 24-Mar-2016 Mika Isojärvi <misojarvi@google.com> Use supported number of atomic counters in opaque indexing tests

Bug: 27464399
Change-Id: I0c79037903211d9012ff2489317ef16ab5dbf5a2
unctional/es31fOpaqueTypeIndexingTests.cpp
378f80d61a8ead4044df1f5f13d20ef326c3bc3b 23-Mar-2016 Mika Isojärvi <misojarvi@google.com> Set bit in blit mask to settle ambiguity

Bug: 27658048
Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3
unctional/es31fNegativeBufferApiTests.cpp
1bea36cb81025c36cc9df30b5da5a5770cf93804 21-Mar-2016 Mika Isojärvi <misojarvi@google.com> Enable blending for floating point formats

Bug: 27745776
Change-Id: I87bf11473eb45048d6c79d61b2248ac1c07072de
unctional/es31fDrawBuffersIndexedTests.cpp
7fb62e4f4de231b9c9b2c5649436372428eef530 21-Mar-2016 Mika Isojärvi <misojarvi@google.com> Always disable blending for 32bit float formats

GLES32 doesn't support blending 32bit float formats.

Change-Id: I1bfc5656f741bcb80c01d0f8620dbf0441891c0a
unctional/es31fDrawBuffersIndexedTests.cpp
be98953c010b76aea207de5db0dde5f218782997 21-Mar-2016 Mika Isojärvi <misojarvi@google.com> Fix GLES31 format counts in draw buffers indexed tests

Change-Id: I4d90e82e15aa594d1fcf9de811f41bc2343a9341
unctional/es31fDrawBuffersIndexedTests.cpp
f310772c9ad46c656a04b348ca23012b015385d9 19-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge "Remove non-color renderable formats from draw buffer indexed tests" into nyc-dev
c0c2693366e9c8ab257b9fe9ee4ede530d9d2597 18-Mar-2016 Mika Isojärvi <misojarvi@google.com> Remove non-color renderable formats from draw buffer indexed tests

Bug: 27701780
Change-Id: I6e66292d6bd8397d0ae2c1d222b8901659784edf
unctional/es31fDrawBuffersIndexedTests.cpp
b15ba11e484691c847c7de59af5b86a57b7e4e5d 18-Mar-2016 Mika Isojärvi <misojarvi@google.com> Fix typo in negative buffer API tests

Bug: 27745437
Change-Id: I32ad04035df3600adf2eb63ce7aff039d2f26084
unctional/es31fNegativeBufferApiTests.cpp
5bb124b143d8f18502df38ff263baa97521db86c 18-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge "Remove invalid precision macro negative tests" into nyc-dev
fa6528e80d4f5b07f37002bd8f11ba3485c183ec 17-Mar-2016 Mika Isojärvi <misojarvi@google.com> Remove invalid precision macro negative tests

Remove tests that required that using precision as macro name should
make compilation fail.

Bug: 27702614
Change-Id: I3fe4b11c5e0d80e11ca91ceac6d95ee72646e8a4
unctional/es31fNegativePreciseTests.cpp
6ea81a124f9b81999dddefae70703fd36bdbb98b 17-Mar-2016 Mika Isojärvi <misojarvi@google.com> Make sure invalid programs and shaders are invalid

Change-Id: If840c7bb15c0c531e71cc55a8dfbacccda6bfac9
unctional/es31fNegativeShaderApiTests.cpp
5bc22284834bd3ab45e8af8d17d5bbe14b184a2c 17-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge "Fix geometry point size extension check" into nyc-dev
06b0c420a49ca9095ee72a4912e4c0658120939f 17-Mar-2016 Pyry Haulos <phaulos@google.com> Merge "Do not require signed zero support in frexp() tests" into nyc-dev
e015688076065fce255e59fe653293444b34f42b 16-Mar-2016 Mika Isojärvi <misojarvi@google.com> Fix geometry point size extension check

Bug: 27701866
Change-Id: I6870bb32da7d1f1b7fed9e56873eb4eafcdc7057
unctional/es31fGeometryShaderTests.cpp
9af2a7364f8f35d008d63c5df45fce6f33cc5a82 16-Mar-2016 Pyry Haulos <phaulos@google.com> Do not require signed zero support in frexp() tests

Bug: 25933766
Change-Id: Ided7abef00010b97133f79930f6edcd73333c5ed
unctional/es31fShaderCommonFunctionTests.cpp
1d463a0af03170dc5306552bb9128fc782e9866d 16-Mar-2016 Mika Isojärvi <misojarvi@google.com> Fix cube map array extension checks in opaque indexing tests

Bug: 27570992
Change-Id: I7be5792ac51331e171cd6194f2c50e47307210ae
unctional/es31fOpaqueTypeIndexingTests.cpp
5eac1229aa242f6ab19bd8c2ca054d167b2fa96b 14-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge "Properly reset GL error state" into nyc-dev
344563b5b701bc65c4184ce9d1b13867a5cef81e 10-Mar-2016 Mika Isojärvi <misojarvi@google.com> Properly reset GL error state

- Pass in ContextInfo to state reset
- Call glGetError() until all errors have been cleared

Bug: 27534832
Change-Id: I9390b94bec1f45d4fb3b44d774a800610770916f
es31TestPackage.cpp
913c562932b8d3601ea4bd3eb4183e600ac7254d 11-Mar-2016 Mika Isojärvi <misojarvi@google.com> Remove invalid duplicate checks for negative texture level

Bug: 27126464
Change-Id: I2565e87011aef1576f5ab9727b11160a4f86c73f
unctional/es31fNegativeTextureApiTests.cpp
97fbad3f20ef38fd35c6858f72eb5d5071682d61 14-Mar-2016 Mika Isojärvi <misojarvi@google.com> Fix out of bounds access in draw buffers indexed tests

Change-Id: I42449896c58a5b7276b5876c26333b09cd863cae
unctional/es31fDrawBuffersIndexedTests.cpp
5d925cba3a8826472110e287e0b160e539e017c0 11-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge changes Id7b52bba,I13b7d016 into nyc-dev

* changes:
Check that glReadnPixels() is supported in negative tests
Add robustness extensions to GL wrappers
f0b7ad78881013f761a2a86a264bd7932eeef40f 11-Mar-2016 Mika Isojarvi <misojarvi@google.com> Merge "Fix out of bounds access in internal format query tests" into nyc-dev
b6f1116e0be4af1657a382fcce1fcea0d21cf416 10-Mar-2016 Mika Isojärvi <misojarvi@google.com> Check cube map array support in opaque indexing tests

Bug: 27570992
Change-Id: I5d6e2a5e3e0da8e4e7ca248bc9f8710bb836626f
unctional/es31fOpaqueTypeIndexingTests.cpp
96cb7f12003c49de4b9462e237eade317371fcce 10-Mar-2016 Mika Isojärvi <misojarvi@google.com> Fix out of bounds access in internal format query tests

Bug: 27570736
Change-Id: Id95f80765b3ed020515edb544cf871282672d802
unctional/es31fInternalFormatQueryTests.cpp
33b9b63106a43ad6bba497c8f31fc35b0051da78 10-Mar-2016 Mika Isojärvi <misojarvi@google.com> Check that glReadnPixels() is supported in negative tests

Bug: 27536300
Change-Id: Id7b52bbaa0c635b9b4f0a8060a17fc304fdc453f
unctional/es31fNegativeBufferApiTests.cpp
e2e79b7a1fbe315075439498ed778fcceaaf8e9a 09-Mar-2016 Pyry Haulos <phaulos@google.com> Merge in ES3.2 tests

Change-Id: I66d529eb13aa90382a553e4781123b716cb4cb0e
f4c5277a25ae9ab7ded4cd946f82d1ebe7fc9acd 26-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Select appropriate shader version for running context." into gles32-dev
f3c109625e006509e6cb613d37a9e2538da3c36f 26-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Add negative tests for precise qualifier and advanced blending." into gles32-dev
2739e26e674d6331aa944ccfd7f1a9aa3583b747 25-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add negative tests for precise qualifier and advanced blending.

Change-Id: Ib0560b5e97aa7b6a272d9525d18d6e8cd82c9f8d
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeAdvancedBlendEquationTests.cpp
unctional/es31fNegativeAdvancedBlendEquationTests.hpp
unctional/es31fNegativePreciseTests.cpp
unctional/es31fNegativePreciseTests.hpp
955402302d0dd9fd17f97fc7f24d8777c95f5880 25-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Add support for ES 3.2." into gles32-dev
1b81defe72fbf88470bbf1aa91080d39ca0cc904 25-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Select appropriate shader version for running context." into gles32-dev
b7b632c6439a36c4078dac276836f825edfdbe68 25-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select shader version appropriate for context version.

- Check if required extensions are supported in 3.1 contexts.

Change-Id: Idf4f16f75073a977596b40988177ab924d86d4a7
unctional/es31fGeometryShaderTests.cpp
316f67b89667d82e2cad2ca8d0817163afb11e88 25-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add support for ES 3.2.

Change-Id: Ib0490b74a20f0bd59b2f6c03e07ce8ea2688f85b
unctional/es31fTextureLevelStateQueryTests.cpp
f24d503d1acdb3b4461f74154d14b80d89a4397c 24-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select appropriate shader version for running context.

Change-Id: I27ffc4d532dd21d042f8e2a1fd436e413e5864b3
unctional/es31fTextureBorderClampTests.cpp
dec5bc5116040efecd92babd70f2d4699ac66b66 24-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select appropriate shader version for running context.

Change-Id: I3e2253d7ada53d52a9ee3f2f0ccf287f23a323b7
unctional/es31fShaderStateQueryTests.cpp
5f2f5cf4d0dfcbb399049af8d13f96fa8d9c08ff 24-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Select appropriate version for running context." into gles32-dev
762336390022cc46c656d84ecad2098baf721263 24-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "New formats added to Draw Buffers Indexed Tests" into gles32-dev
fd702eb67ebda90a333afdc665d483bed56f1419 24-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Select appropriate shader version for running context." into gles32-dev
d58c97e1d57ef4225b691f0e808ca3e32f21517a 24-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select appropriate shader version for running context.

Change-Id: Iac7aa30a3e6d699e04126da3c2bda2070d79014b
unctional/es31fTessellationGeometryInteractionTests.cpp
a679f0bab1149897da5f33f614f4f205810c92eb 24-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select appropriate shader version for running context.

Change-Id: I277ff0fcd0c76ec9bd2c68c3761be83f40863014
unctional/es31fShaderImageLoadStoreTests.cpp
f070d4fa17fe0e0b2832df97fdcb252e3deed97a 14-Jan-2016 Daniel Perez Otero <daniel.perez.otero@mobica.com> New formats added to Draw Buffers Indexed Tests

- Add function getFloatULPThreshold to compute the threshold
for float formats.
- Context argument added in the function getRandomFormat
to pick a format acording to the context version.
- The formats GL_RGB16F, GL_RGBA16F, GL_R32F, GL_RG32F,
GL_RGBA32F, and GL_R11F_G11F_B10F have been added to
the array glFormat wich will be chosen randomly.
- The suffix "_KHR" was removed from the name of the
advanced blend equations.
- Validate to exclude and throw a NotSupportedError if
the contex isn't version 3.2 or the extensions
GL_EXT_draw_buffers_indexed and GL_KHR_blend_equation_advanced
are not supported.

Change-Id: I0d7f0a295049e5e715b3854a9df15662a6005861
unctional/es31fDrawBuffersIndexedTests.cpp
a21ed44b052d4d736041e5f411fd53f311e9352f 24-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select appropriate version for running context.

Change-Id: Ie411370256a913939e84cbcc3d2207aacd5e83e5
unctional/es31fShaderMultisampleInterpolationTests.cpp
fb059fdb43c8b6073ada028a68124263c59a000a 22-Feb-2016 Pyry Haulos <phaulos@google.com> Merge in new OpenGL ES 3.2 test code

Change-Id: I8667c03f0d1eb4b212bc33b54296336633fb39da
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fMultisampleShaderRenderCase.cpp
unctional/es31fNegativeBufferApiTests.cpp
unctional/es31fNegativeShaderDirectiveTests.cpp
unctional/es31fNegativeShaderDirectiveTests.hpp
unctional/es31fNegativeShaderFunctionTests.cpp
unctional/es31fNegativeShaderFunctionTests.hpp
unctional/es31fNegativeTextureApiTests.cpp
unctional/es31fNegativeVertexArrayApiTests.cpp
unctional/es31fOpaqueTypeIndexingTests.cpp
unctional/es31fSampleVariableTests.cpp
unctional/es31fShaderBuiltinConstantTests.cpp
unctional/es31fShaderMultisampleInterpolationStateQueryTests.cpp
c29c0fa1215dad96a1fe96c2c9dc01f80fb0784a 22-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Update test to dynamically select shader version based on context." into gles32-dev
8577047a9ab1c204fd9eeebb819e2ca16f8ccd9b 22-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Add support for ES32 features." into gles32-dev
356e3d1792c3b605e28ef4ab79f92cb5049d25ab 22-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Check that AEP features behave correctly in 310/320 shaders." into gles32-dev
73111418d54b7f591200fb44a77eb9b990d2fdb5 22-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Check for context version or extension support." into gles32-dev
f6aad25d63f87211da359cb4df13c98ef9f6fc8a 17-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Update test to dynamically select shader version based on context.

Bug: 27168539
Change-Id: I4a9ede0a1e751c1b5435aa74fecbbf2e9663e310
unctional/es31fMultisampleShaderRenderCase.cpp
6f50bb704da3cdb944651caa4322721239f32de4 19-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Check for context version or extension support.

Change-Id: I185196511ac639753e5ccd7350224e3ce14d8b70
unctional/es31fShaderMultisampleInterpolationStateQueryTests.cpp
8cf10acdc1dc0d72df870b5e7dac8949242d10e2 17-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add support for ES32 features.

Add support for sampler types:
- {i u}samplerCubeArray
- samplerCubeArrayShadow

Add support for tesselation and geometry shaders.

Change-Id: Id495686eeaf01d6b127f44ff50aaea6d0285ab19
unctional/es31fOpaqueTypeIndexingTests.cpp
6ffb7fc8c3a2380e92f7f9cb231f1f02d654588a 19-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Bug fixes for es31fNegativeTextureApiTests." into gles32-dev
c6db4b213b8b39cfe54de301cd1550de95a5c8e9 18-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Check that AEP features behave correctly in 310/320 shaders.

Require an extension in 310 es shaders.
Do not require suffixes in 320 es shaders.
Update es31fDebugTests to load the NegativeDirectiveTests functions.
Update CMakeLists.txt to include new test.
Add test for primitive_bounding_box in 320 shaders.
Add test for the following extensions:
- GL_KHR_blend_equation_advanced
- GL_OES_sample_variables
- GL_OES_shader_image_atomic
- GL_OES_shader_multisample_interpolation
- GL_OES_texture_storage_multisample_2d_array
- GL_EXT_geometry_shader
- GL_EXT_gpu_shader5
- GL_EXT_shader_io_blocks
- GL_EXT_tessellation_shader
- GL_EXT_texture_buffer
- GL_EXT_texture_cube_map_array

Change-Id: I4aacca892faf110371d55e5172e1b9afed3a0871
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeShaderDirectiveTests.cpp
unctional/es31fNegativeShaderDirectiveTests.hpp
b736b40793f8afbc6bef1a8efef0f747a63a733a 18-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Fix out-of-bounds array assignment.

Change-Id: I0858830b0faf627365c326321e57324cb9175cc7
unctional/es31fNegativeBufferApiTests.cpp
bdd736889f85b323622fe7c543d86c1638791701 17-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Bug fixes for es31fNegativeTextureApiTests.

- Remove test for glTexParameterIiv when target is
GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY and
pname is GL_TEXTURE_BASE_LEVEL and param is negative. This
condition results in an GL_INVALID_VALUE error.
- Fix arguments for glTexStorage3D when target is
GL_CUBE_MAP_ARRAY.
- Remove test for glCompressedTexImage3d when target is
GL_TEXTURE_3D.
- Fix arguments for glCompressedTexImage3D when target is
GL_CUBE_MAP_ARRAY.

Bug: 27168641
Bug: 27124142
Bug: 27126464

Change-Id: I9089cefa704272fa16da7c584ec52707e2862427
unctional/es31fNegativeTextureApiTests.cpp
59fb2a1568f24409743b1e41b8323e82ec1b57f7 17-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Change count parameter of glDrawElementsBaseVertex() to 1.

Bug: 27124140
Change-Id: I02ed8f4e206e57efc255e3fcc80220809999d0b1
unctional/es31fNegativeVertexArrayApiTests.cpp
e22f2e029c7c24e706663974ab67e5a2439b00d3 05-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Negative Shader Function Test

Test that invalid call variants fail to compile.

Add tests for the following GLSL functions:
- atomicAdd
- atomicAnd
- atomicCompSwap
- atomicExchange
- atomicMax
- atomicMin
- atomicOr
- atomicXor
- bitCount
- bitfieldExtract
- bitfieldInsert
- bitfieldReverse
- EmitVertex
- EndPrimitive
- findLSB
- findMSB
- frexp
- imulExtended
- interpolateAtCentroid
- interpolateAtOffset
- interpolateAtSample
- ldexp
- packSnorm4x8
- packUnorm4x8
- texelFetch
- texture
- textureGather
- textureGatherOffset
- textureGatherOffsets
- textureGrad
- textureLod
- textureSize
- uaddCarry
- umulExtended
- unpackSnorm4x8
- unpackUnorm4x8
- usubBorrow
- fma

Change-Id: I46676924845d10d3d56c9d51ad1303d48eefe1ed
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeShaderFunctionTests.cpp
unctional/es31fNegativeShaderFunctionTests.hpp
cc25e6d2d67c212147e11754ec44e4ddb217fd2a 11-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "NegativeBufferApiTests - Add support for 3.2 features." into gles32-dev
39e28e9f7229b83405482058adde56e059ace419 04-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add support for OpenGL ES 3.2 features and shader constants

- Shaders are generated with the version string
appropriate for the running context version.
- Add tests for tessellation shader constants:
- gl_MaxTessControlImageUniforms
- gl_MaxTessEvaluationImageUniforms
- gl_MaxTessControlAtomicCounters
- gl_MaxTessEvaluationAtomicCounters
- gl_MaxTessControlAtomicCounterBuffers
- gl_MaxTessEvaluationAtomicCounterBuffers
- Validate corresponding extension support
for the running context.

Change-Id: Ie11f610a2f7de35b31b9f0b4df31d8af5ca986fe
unctional/es31fSampleVariableTests.cpp
unctional/es31fShaderBuiltinConstantTests.cpp
e2138e4caaf0abce2fb204f4f69eeb4bb4369415 02-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> NegativeBufferApiTests - Add support for 3.2 features.

New tests:

framebuffer_texture
copy_image_sub_data

Updated tests:

read_pixels
read_pixels_format_mismatch
read_pixels_fbo_format_mismatch
bind_buffer_range
bind_buffer_base
clear_bufferiv
clear_bufferuiv
clear_bufferfv
clear_bufferfi
draw_buffers
flush_mapped_buffer_range
map_buffer_range
bind_framebuffer
check_framebuffer_status
framebuffer_texture2d
blit_framebuffer
framebuffer_texture_layer
invalidate_framebuffer
invalidate_sub_framebuffer

Change-Id: If4f33e85201c981f0eddf463670f494fca69ba08
unctional/es31fNegativeBufferApiTests.cpp
c5e77317590b46ca50aca15b59225a68d9dd96c6 09-Feb-2016 Pyry Haulos <phaulos@google.com> Merge in code from gles32-dev

Change-Id: Id3b56b345c8062ca0a79e01f7e2d943dd53672bb
c877d0c25b8d84134d4d829c922085cf421a138c 09-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Select shader version appropriate for context." into gles32-dev
c7dc8067b55f15b156b0add2e22be468ddf5ad20 05-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Select shader version appropriate for context.

Change-Id: I42552ac8487eab0d0c2ea9c744a972c97cc4c3a5
unctional/es31fShaderCommonFunctionTests.cpp
0cecce46f9ce6fd86ca3cf22ece9328ce53712f8 05-Feb-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add support for OpenGL ES 3.2 features.

- Specialize shaders for context version.
- Check context version along with extension support.

Change-Id: I16c57def58fe92cae9d4b8a20dafd73c3d63aace
unctional/es31fMultisampleTests.cpp
unctional/es31fSampleShadingTests.cpp
24e7f19b97a01736fae0dd9d941193a651341c6a 04-Feb-2016 Mika Isojärvi <misojarvi@google.com> Don't require gpu_shader5 in const expression indexing tests.

GL_EXT_gpu_shader5 should not be required to be able to index opaque
types with constant expressions.

Bug: 22949820
Change-Id: Ifa60eb95e23a55b615a31c1cffb941aea0d8a1b7
unctional/es31fOpaqueTypeIndexingTests.cpp
65fba592d74be734c5e352f94fb2a4282a21c7c6 03-Feb-2016 Pyry Haulos <phaulos@google.com> Merge in first OpenGL ES 3.2 tests

Change-Id: I5c6f8bc63da6203e36504cc868a746d7a90cf5e6
9af41b5740996ad9f7a512e06a40e50ecddd67cf 01-Feb-2016 Mika Isojärvi <misojarvi@google.com> Update geometry and tessellation shader limits.

Bug: 22542263
Change-Id: I88b91f5d53598431c9b6ba31e77cbb7914353699
unctional/es31fGeometryShaderTests.cpp
unctional/es31fTessellationTests.cpp
575313bd9b06b3be3c1eb1593d9f5b4adac80269 03-Feb-2016 Mika Isojärvi <misojarvi@google.com> Allow helper invocations inside primitive.

Test required that helper invocations would only happen on primitive
edges, which produced false negatives if wide lines are rendered as
two triangles. This change allows helper invocations anywhere inside
the primitive.

Bug: 22180525
Change-Id: Iee7b50e7a46e4b172c3a61298a7f737d00b29750
unctional/es31fShaderHelperInvocationTests.cpp
26a744d584f1275414dd430c34086ca934993bc4 02-Feb-2016 Mika Isojärvi <misojarvi@google.com> Check extension support before queries in texture size tests.

Bug: 25928364
Change-Id: I987931f7bf1ee96f782b536af2529aa1a3282f5a
unctional/es31fShaderTextureSizeTests.cpp
ef87fbcd5a1603e556f71fc1f58efb122213a9f6 01-Feb-2016 Pyry Haulos <phaulos@google.com> Merge "Add support for OpenGL ES 3.2 features." into gles32-dev
44f2d704d05fd9825b807af8d3e981f90e45be9d 29-Jan-2016 Pyry Haulos <phaulos@google.com> Merge "Add test cases for features introduced in OpenGL ES 3.2" into gles32-dev
ae5c13a76818c0f7d7c759dfdf68bc8efd1b3c0f 29-Jan-2016 Pyry Haulos <phaulos@google.com> Merge "Add support for OpenGL ES 3.2 features." into gles32-dev
f01831b97418c797bc85faba4ac87e36cc91b7d4 29-Jan-2016 Pyry Haulos <phaulos@google.com> Merge "Adding test cases for OpenGL ES 3.2. Depends on CL 187666." into gles32-dev
0d877346be7c29f22fe884e663298a2be1ce81b6 28-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Check texture buffer support in texture format tests."
668b19867fd5f571bde3ae66e9703b3c4fb5c9c7 28-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Fix false positives when results are nan in ssbo tests."
968c27e04b8cfa2de27a48169a60dac6e916b688 28-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Add missing tessellation shader extension check to bounding box tests."
db66290126e13d733ffa288d8fffbff8f1c45c4b 28-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Fix layout binding tests resolution issue."
8b2323646d18ff651b524442ae795f58d2d99c91 28-Jan-2016 Mika Isojärvi <misojarvi@google.com> Check texture buffer support in texture format tests.

Bug: 25928366
Change-Id: Ica63b164a9f8d599c60e0d602710367e555633a8
unctional/es31fTextureFormatTests.cpp
293b1f2c6e50d8f9894c6cae572fca37a371e457 28-Jan-2016 Mika Isojärvi <misojarvi@google.com> Fix false positives when results are nan in ssbo tests.

Bug: 26508540
Change-Id: I212db6a2eefc37ffdd64154a5ddbd3f8f401c754
unctional/es31fSSBOLayoutCase.cpp
6c13829807ecf8d7a92c5b69afac655decc465d5 28-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Check ssbo limits properly in opaque indexing tests."
7088b5c44a651321534067c1e824879f4efbea2c 28-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Fix uniform block precision matching bug"
ad0fe868d1cfd1401907abb98201593c7544eac5 27-Jan-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add support for OpenGL ES 3.2 features.

Add function to generate version-appropriate shaders.
Add test cases for:
- Enablei
- Disablei
- GetBooleani_v
- GetTexParameterIiv
- GetTexParameterIuiv
- GetnUniformfv
- GetnUniformiv
- GetnUniformuiv
- GetActiveUniformBlockiv
- GetActiveUniformBlockName
- GetRenderbufferParameteriv
- GetSynciv
- IsEnabledi

Change-Id: I86e724758bfee490d6f53dccaa0f7ea0d860c913
Signed-off-by: Daniel Andrade Groppe <daniel.andrade@mobica.com>
unctional/es31fNegativeStateApiTests.cpp
5ed2b23bea6e56762a7aef8c8a086ec724517f26 24-Dec-2015 Daniel Andrade Groppe <daniel.andrade@mobica.com> Adding test cases for OpenGL ES 3.2. Depends on CL 187666.

Change-Id: Ifb35841bf6e3d121ce054733e82bc1fb905564d7
unctional/es31fBooleanStateQueryTests.cpp
unctional/es31fCopyImageTests.cpp
unctional/es31fFboColorbufferTests.cpp
unctional/es31fFboTestCase.cpp
unctional/es31fIndexedStateQueryTests.cpp
unctional/es31fInternalFormatQueryTests.cpp
unctional/es31fNegativeFragmentApiTests.cpp
unctional/es31fNegativeShaderApiTests.cpp
b5ff237d30680061acd541d3f7c495caa78949bd 27-Jan-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add support for OpenGL ES 3.2 features.

Generate version-appropriate shaders.
Add tests for functions introduced in 3.2:
- VertexAttribFormat
- VertexAttribIFormat
- DrawElementsBaseVertex
- DrawElementsInstancedBaseVertex
- DrawRangeElementsBaseVertex

Change-Id: Ibe32d0d7a5bd0e7692bb14271eb5af9599f21bad
Signed-off-by: Daniel Andrade Groppe <daniel.andrade@mobica.com>
unctional/es31fNegativeVertexArrayApiTests.cpp
bf50777204ebb09f96c26fc718c8d2422ee03048 14-Jan-2016 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add test cases for features introduced in OpenGL ES 3.2

es31fAdvancedBlendTests:
- Add a condition to check if the OpenGL ES context version is 3.2.
If the context is at least 3.2 or if the extension
GL_KHR_blend_equation_advanced is supported, the test is not skipped.

es31fIntegerStateQueryTests:
- Add support for GL_TEXTURE_BUFFER when using the extension
GL_EXT_texture_buffer in 3.1 contexts.
- Add a check to TexBindingCase to skip checking for supported extensions
when running in a 3.2 context.
- Modify CombinedComputeUniformComponentsCase to make it usable for other
shader stages.
- Modify AlignmentCase, MinimumValueCase, CombinedUniformComponentsCase
to store a minimum context version. In addition, a constructor was
added to take an ApiType object to check minimum required version
of a test.
- The test sets the minimum value based on the context version for:
GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
GL_MAX_FRAGMENT_ATOMIC_COUNTERS,
GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
- Add a special case for 3.2 contexts:
MaxUniformBufferBindingsCase
MaxCombinedUniformBlocksCase
MaxCombinedTexImageUnitsCase
- Add tests for states introduced in 3.2

es31fNegativeTextureApiTests:
- bindtexture():
GL_TEXTURE_3D
GL_TEXTURE_2D_ARRAY
GL_TEXTURE_CUBE_MAP
GL_TEXTURE_CUBE_MAP_ARRAY
- compressedteximage2d_invalid_size()
- texparameteri()
- texparameterf()
- texparameteriv()
- texparameterfv()
- teximage3d()
- teximage3d_neg_level()
- teximage3d_neg_width_height_depth()
- teximage3d_invalid_border()
- texsubimage3d_neg_level()
- texsubimage3d_neg_offset()
- texsubimage3d_neg_width_height()
- copytexsubimage3d_neg_level()
- copytexsubimage3d_max_level()
- texstorage2d()
- texstorage2d_invalid_binding()
- texstorage2d_invalid_levels()
- texstorage3d()
- texstorage3d_invalid_binding()
- texstorage3d_invalid_levels()
- copytexsubimage2d_read_buffer_is_none()
copytexsubimage2d_texture_internalformat()
- texparameterIiv()
- texparameterIuiv()
- compressedteximage3d_invalid_width_height()
- compressedteximage3d_invalid_format()

es31fProgramStateQueryTests:
Add the tests to query the state of Geometry and Tessellation shaders:
- GeometryShaderCase
- TessellationShaderCase

Change-Id: Ide2885b4649bafd8fc92fdaee202e3fb528d6900
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fIntegerStateQueryTests.cpp
unctional/es31fNegativeTextureApiTests.cpp
unctional/es31fProgramStateQueryTests.cpp
b92ec3264434d3092e471306a40dade0264685cd 26-Jan-2016 Mika Isojarvi <misojarvi@google.com> Merge "Clear renderbuffers to fixed bit pattern in copy image tests."
cd2b79270f855a8ed8cce24c51d51f0b005e3854 26-Jan-2016 Mika Isojärvi <misojarvi@google.com> Check ssbo limits properly in opaque indexing tests.

Bug: 22949223
Change-Id: Ib6010bd685434538ba8295b8b687052e785407d2
unctional/es31fOpaqueTypeIndexingTests.cpp
13fa7290b19863e6a300428ed26e65d74bbb03fe 22-Jan-2016 Mika Isojärvi <misojarvi@google.com> Clear message log at the beginning of async debug tests.

Bug: 22921269
Change-Id: Ia16bc7a0be625f907c1fd7b9aa6de8222e1e5e2c
unctional/es31fDebugTests.cpp
b8d0d0a842280c2594703ecce985563aebe1cde8 22-Jan-2016 Mika Isojärvi <misojarvi@google.com> Fix uniform block precision matching bug

- Remove
dEQP-GLES3.functional.shaders.linkage.uniform.block.differing_precision
since this is not well defined in GLES3.
- Add shader uniform linkage tests to GLES31 module.

Bug: 21326228
Change-Id: I8940779e6b74e8fc98a0c646133247d3fcd78cbb
unctional/es31fFunctionalTests.cpp
396a3b4d698ebc050a2c5a923e9027d32b21e8c7 22-Jan-2016 Mika Isojärvi <misojarvi@google.com> Fix layout binding tests resolution issue.

Limit the rendering size to size of the default framebuffer.

Bug: 22921281
Change-Id: If2b25579f67439e4127bdb4761b6e487adb20515
unctional/es31fLayoutBindingTests.cpp
c22e16e65c11afffe24ad5c07f255a9f38b11231 22-Jan-2016 Mika Isojärvi <misojarvi@google.com> Add missing tessellation shader extension check to bounding box tests.

Bug: 24101261
Change-Id: Id57a3ca04c20a7c683bc2c24ac85e6cc43e386dd
unctional/es31fPrimitiveBoundingBoxTests.cpp
3abb0c3b9a3fd2e5489fe825122919b3e3494ce6 21-Jan-2016 Mika Isojärvi <misojarvi@google.com> Clear renderbuffers to fixed bit pattern in copy image tests.

Fill fixed point renderbuffers always with all 0 or 1 bits to avoid
rounding errors and to make sure that data is also valid in target
format.

Bug: 20698928
Change-Id: Id9b47473a0b0c8077358a3d896fa9081d4a15d20
unctional/es31fCopyImageTests.cpp
c0ef0b01a0958cd309cf0c23268fdedbaa6e21cc 23-Dec-2015 Daniel Andrade Groppe <daniel.andrade@mobica.com> Add helper functions and negative tests.

- Add isShaderSupported and isExtensionSupported
to NegativeTestContext
- Add negative test AtomicCounters
- Add negative test ShaderImageLoadStore

Change-Id: Iac864b134b54a687cf69c3037fd0ac7a0da6760e
unctional/CMakeLists.txt
unctional/es31fDebugTests.cpp
unctional/es31fNegativeAtomicCounterTests.cpp
unctional/es31fNegativeAtomicCounterTests.hpp
unctional/es31fNegativeShaderImageLoadStoreTests.cpp
unctional/es31fNegativeShaderImageLoadStoreTests.hpp
unctional/es31fNegativeTestShared.cpp
unctional/es31fNegativeTestShared.hpp
71e3b36d48711652adcf29a0690e110c95cb910f 21-Dec-2015 Daniel Andrade Groppe <daniel.andrade@mobica.com> Changes to framework to create and initialize an OpenGL ES 3.2 Context.

- An OpenGL ES 3.2 context is created first and falls back to a 3.1 context.

Change-Id: I17fb110715e96faf6a96bf6c3371f125f0c7fed6
es31Context.cpp
485a2d1c89e689e6b8523fc3b9c146c63e92bfd7 02-Dec-2015 Daniel Andrade Groppe <daniel.andrade@mobica.com> Updating framework/opengl to support OpenGL ES 3.2

- Updated src_util.py to download appropriate gl.xml from Khronos.
- Dropped EXT/KHR suffix in certain function names
- Context wrapper is no longer created if native context fails to be created
Change-Id: I3b93c70ec779b7b0664925b6c57dcf16f1e8610d
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fDrawBuffersIndexedTests.cpp
unctional/es31fPrimitiveBoundingBoxTests.cpp
c215aaa83047ebbaabafef7acd71275a256da6ab 06-Nov-2015 Dejan Mircevski <deki@google.com> Make RGBA constants methods.

Without this, other global variables that are initialized with values
like RGBA::white will have a race condition with the RGBA::white
initialization. We have seen a bug where a global array of RGBA
constants was being initialized before the constants themselves, so all
elements were (0, 0, 0, 0).

Change-Id: Idd6a88efda8375e52f15ed285afe38631b9c464a
unctional/es31fGeometryShaderTests.cpp
unctional/es31fPrimitiveBoundingBoxTests.cpp
unctional/es31fProgramUniformTests.cpp
unctional/es31fSampleVariableTests.cpp
unctional/es31fTessellationGeometryInteractionTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fTextureMultisampleTests.cpp
tress/es31sTessellationGeometryInteractionTests.cpp
b5d323b0daefbf7f7f4cb5e9cc631e2ab837b6ed 19-Oct-2015 Pyry Haulos <phaulos@google.com> Fix invalid uses of PixelBufferAccess

Change-Id: Ibde25054f5128e617ad423e65855150ea38df9f1
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fShaderImageLoadStoreTests.cpp
18c393c846c48638f20da70b4c97dffb9e9f8992 21-Aug-2015 Pyry Haulos <phaulos@google.com> Fix bug introduced by tcu::ResultCollector change

Bug: 23383462
Change-Id: Id0bd1692232c30fee2859ecf30dd3d02a0a199f1
unctional/es31fTextureLevelStateQueryTests.cpp
b55a172c47932197abc5e18950a70c938ef302c0 17-Aug-2015 Pyry Haulos <phaulos@google.com> Fix bug in input data preparation in sign() tests

Change-Id: I34db1e7d30b75f7a4146c2da18e4eeb096d87253
unctional/es31fShaderCommonFunctionTests.cpp
b2e583dfcd8aa0d4ef254f841213fcf724b2b193 19-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Improve texture format pretty-printing.

- Rename PixelFormat to TextureFormat and include compressed formats.
- Add compressed3D pretty printing.
- Add compressed formats to texStorageXD.

Change-Id: Ifb24338119dae0e97e166d39c0edbc03d49e7150
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fCopyImageTests.cpp
unctional/es31fStencilTexturingTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureFormatTests.cpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fTextureLevelStateQueryTests.cpp
unctional/es31fTextureMultisampleTests.cpp
ca33fc6fd955721e2c3bd8188f049838d5d995d4 30-Jul-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Use de::ArrayBuffer in glu::TextureBuffer."
2f031d0d4de312d2aba9c139e50c732de1126941 25-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am f2b0ed6d: am 74712136: Merge "Fix helper_invocation.* rendering mostly black." into mnc-dev

* commit 'f2b0ed6d7b6a0a4c633a22bc5f23340759c8827e':
Fix helper_invocation.* rendering mostly black.
45cae744d8c203ec57a8f6d8c8f8616aff16866f 25-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am ad803038: am 6c9ec4d0: Use only representable floats in frexp() case inputs.

* commit 'ad803038b545bc51c3eda1d05858c6b319caf94a':
Use only representable floats in frexp() case inputs.
74712136a385431ed0f714363657c02c8fd78fe9 25-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix helper_invocation.* rendering mostly black." into mnc-dev
566182cb8143aef5be8210adb5819f3c6b5b5ea0 24-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Fix helper_invocation.* rendering mostly black.

- Fix rendering viewport to match fbo dimensions to avoid rendering outside the
viewport.
- Try to not generate invisible (fully clipped) triangles.
- Do not try to output negative dFdx and dFdy values to framebuffer.
- Detect and reject empty results.

Bug: 22066458
Change-Id: If3ec424ce10ee52c47b6fd28af125dc9e71c3a22
unctional/es31fShaderHelperInvocationTests.cpp
6c9ec4d03a5a9eb4e7cc7e665181c216fefe49f9 23-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Use only representable floats in frexp() case inputs.

Bug: 22034603
Change-Id: I0518eb1d074910cb35a44c568029fbd2d223c2fa
unctional/es31fShaderCommonFunctionTests.cpp
685e5a18d1af5e338606c785f3b022cee742af70 22-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Don't mangle safe bit patterns in copy_image sRGB RB cases."
7e62c4dc9cebd17f3eca7673b71944a0c467346b 20-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Don't mangle safe bit patterns in copy_image sRGB RB cases.

Clearing a sRGB framebuffer takes in the clear color in linear space and
then transforms it to sRGB space. This process destroys the carefully
selected clear color bit pattern. Avoid bit mangling by doing first an
inverse tranformation to the supplied clear color which restores the bit
pattern when the color is coverted to sRGB internal format.

Bug: 20698928
Bug: 21951463
Change-Id: I2155e8a977cc524401b5f98c7dde4502f62e35a7
unctional/es31fCopyImageTests.cpp
d561b875ee4fdd23d61687e34313e77f4bd22940 20-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Log dst format copy area size in copy_image test for clarity.

Bug: 21951605
Change-Id: Ie2f3e3f8ba01921e2842dd9342686213317ae0a4
unctional/es31fCopyImageTests.cpp
6d0784059995b8fa554d74013c06e937889ff449 20-Jun-2015 Jamie Madill <jmadill@google.com> Add licenses to several scripts and misc files.

This fixes integration with Chromium, since it has a bot that checks that
all sources files have an appropriate license.

Bug: 21903358
Change-Id: I27ffd7a9feee81a1d29cca64cda88b2d1e67708d
cripts/gen-implicit-conversions.py
cripts/gen-uniform-blocks.py
11ba11b02440ad21d916bfca0a3f135b5791b27e 18-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am ab888c4e: am c65c11dd: Merge "Fix expected results in implicit conversion tests" into mnc-dev

* commit 'ab888c4e417a91032a3a6a5453aa5c099fd67372':
Fix expected results in implicit conversion tests
7c5ca458333348f5732bbec946d6edd9393824d0 18-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am afc89f0f: am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.

* commit 'afc89f0f625f1bf7d033a7ccbf9624ea38e32a56':
Allow interchangeable signed zeros in fragment stage frexp.
c65c11dd1d3227cb9a3b93fdda9ed1debd3cd8ed 18-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix expected results in implicit conversion tests" into mnc-dev
7b3d2d144661c38a8e609d4633f1585b7c5d3c43 18-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Allow interchangeable signed zeros in fragment stage frexp.

Bug: 21923324
Change-Id: I2a556e6fcefe43a2bae62b3446fa2cccb4fa7356
unctional/es31fShaderCommonFunctionTests.cpp
053bacbedcb87f89c80887557c34e8afa83a68fe 12-Jun-2015 Mika Isojärvi <misojarvi@google.com> Fix expected results in implicit conversion tests

Bug: 21791351
Change-Id: I7a134dee9d23422de618be51cff9c0b46b414e58
cripts/genutil.py
4663bec50fccc2f2239d8fce53cd00128e8ab4c1 13-Jun-2015 Mika Isojärvi <misojarvi@google.com> Merge "Use transfer format for uploaded data in texture tests"
aea12fb1744160bc4d6b7c80748d0e7f63095df7 11-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am 5a74ac83: am 3b7bf927: Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev

* commit '5a74ac837d8157ab07c8bb77c661c5fb642b33e0':
Add missing TCS/TES image limit checks to PIQ tests.
94493f589671164f7091315509b110ff4516cb51 11-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am 5b99b804: am 2627adc0: Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into mnc-dev

* commit '5b99b804ef87efec7746e5d2bed6feca409e7d78':
Fix explicit TCS output array size not matching gl_MaxPatchVertices.
3b7bf927113405c56ea1790ef8dc8cc667768cfa 11-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev
2627adc0f42793dfb9b73e84937162b9c85bd1e8 11-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into mnc-dev
e457d520efc4e20a50c3f1b7490c7da1966de5b4 11-Jun-2015 Mika Isojärvi <misojarvi@google.com> am b72263a1: am 3ec40c89: Merge "Force sampling to single texture level in copy image tests" into mnc-dev

* commit 'b72263a1e501c2e21c47c7c49055abf74cf898ee':
Force sampling to single texture level in copy image tests
d20f180117acc6793c4991c424b3186d13a75ee9 11-Jun-2015 Mika Isojärvi <misojarvi@google.com> Use transfer format for uploaded data in texture tests

Use transfer format instead of internal format for uploaded data in
texture tests.

Change-Id: I1b72a704aac659c0b276ad922f5fac944ee5286b
unctional/es31fTextureSpecificationTests.cpp
51a7080ace5088117b87529337613f3ecf353333 10-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Add missing TCS/TES image limit checks to PIQ tests.

Bug: 21731306
Change-Id: If08d216ba0d67a772312caeeac65ebe7cd762cfe
unctional/es31fProgramInterfaceQueryTestCase.cpp
2783be6b88cec7514319a35f7643e60a6550fc24 10-Jun-2015 Mika Isojärvi <misojarvi@google.com> Force sampling to single texture level in copy image tests

Use GL_TEXTURE_MAX_LEVEL and GL_TEXTURE_BASE_LEVEL to make sure verification
always samples from single texture level.

Bug: 21731224
Change-Id: I0e7ccaeda4de693e1828980c2b1f2529050bc406
unctional/es31fCopyImageTests.cpp
aabcb3260e4d63ae9fff43a9d693d9273fd5993b 09-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Fix explicit TCS output array size not matching gl_MaxPatchVertices.

Fix GLES3 tessellation.user_defined_io.per_vertex_* cases declaring explicitly
sized output (block) array with invalid size. Size, if declared, must match
both gl_MaxPatchVertices and the size declared in the layout declaration. Fix
cases by always using implicit array sizes in per-vertex TCS output arrays.

See Khronos bug #12908 (issues 2 and 3) for details.

Bug: 21730725
Change-Id: I9c5e674893590e0f004708139b507fc5446424ae
unctional/es31fTessellationTests.cpp
d34eae8f733a5545a29bfbb5a09b0f243db2bb42 10-Jun-2015 Jarkko Pöyry <jpoyry@google.com> am 2ff0cb3d: am a69003b7: Merge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into mnc-dev

* commit '2ff0cb3d8c1f7c57671de21a29c57ab3260ae5ff':
Allow XXX_framebuffer_no_attachments limits to exceed texture limits.
d2246f12e33c86e2db0eb09cdda77737243c674a 09-Jun-2015 Jarkko Pöyry <jpoyry@google.com> Allow XXX_framebuffer_no_attachments limits to exceed texture limits.

Bug: 21732003
Change-Id: Ic242ce22c19751629fe90225328e3317968dd076
unctional/es31fIntegerStateQueryTests.cpp
84ab3f0b8a41182b04b8abb56124881f0b9a9fd2 09-Jun-2015 Mika Isojärvi <misojarvi@google.com> Fix uninitialized values in geometry shader tests

Change-Id: I827034801cabe78ad7a43d85f453686a8e20ab47
unctional/es31fGeometryShaderTests.cpp
e309d2dcd3c8918c589dc56ffbe14728b3accbca 08-Jun-2015 Mika Isojärvi <misojarvi@google.com> Initialize uninitialized values in debug tests

Change-Id: I357c2ec20e28ca3bf874f56dc629e4f3b7ec07f1
unctional/es31fDebugTests.cpp
1cc61b7d03cad727bbddd00cea8d78f4f6cc9047 30-May-2015 Jarkko Pöyry <jpoyry@google.com> Fix clang string literal conversion warnings.

- Add DE_FATAL(MSG) macro to replace DE_ASSERT(!"MSG") pattern used in
code.

Bug: 21161908
Change-Id: I96414b9ecfbb953b1c5236753c21c5c2d08d3f59
unctional/es31fDebugTests.cpp
unctional/es31fFboTestCase.cpp
unctional/es31fFboTestUtil.cpp
unctional/es31fSeparateShaderTests.cpp
unctional/es31fUniformLocationTests.cpp
57d314640d93897394f7c9616773498d4bc94e82 01-Jun-2015 Kalle Raita <kraita@google.com> resolved conflicts for merge of 2045bb05 to master

Change-Id: I1747d10b783e1db1f4fb512b06105b258ac4a9bb
9cb5b076f78c1f85fd9c4d10eca3f0532f0d24e6 28-May-2015 Kalle Raita <kraita@google.com> Make TEXTURE_3D the only target requiring ASTC HDR

TEXTURE_2D, TEXTURE_CUBE_MAP, and TEXTURE_2D_ARRAY are all valid
ASTC LDR texture targets.

Bug: 20763531
Bug: 20763295
Change-Id: Ib89795b9700c0f2d5816a4cd667879940d6646fa
unctional/es31fCopyImageTests.cpp
ae54bd835e0c8f4c4c348e252f5969b49f35a649 28-May-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix various type and sign conversion warnings."
0abc57b34f972e73c86d113a216a68920fb4afec 23-May-2015 Pyry Haulos <phaulos@google.com> am 40c2eb9d: am 8a14bbb7: Fix bug in (u)intBitsToFloat() test result verification code

* commit '40c2eb9df94d33dd9ac454d450c4320dc7dcd52c':
Fix bug in (u)intBitsToFloat() test result verification code
24ceed3e1acf66512ee25ee75002198b6672879d 23-May-2015 Jarkko Pöyry <jpoyry@google.com> Fix various type and sign conversion warnings.

Bug: 21161908
Change-Id: I849473f51ed7fa5028b7fbc8f265d080c553c8d5
unctional/es31fSampleShadingTests.cpp
8a14bbb74876a4a318d6277a3afeb8d35d682aaf 22-May-2015 Pyry Haulos <phaulos@google.com> Fix bug in (u)intBitsToFloat() test result verification code

Bug: 21396528
Change-Id: Ib83e9677b6c3cf367b294cfec2ec0caa239ffd2d
unctional/es31fShaderCommonFunctionTests.cpp
7a161d243743d8d12e12669d7464c360de1b5e97 20-May-2015 Jarkko Pöyry <jpoyry@google.com> Fix -Wconversion warnings in GLES31 module.

Bug: 21161908
Change-Id: I43f95dc010f9977aeb1f658b9d67a9aa946c6fff
unctional/es31fCopyImageTests.cpp
unctional/es31fDrawTests.cpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fMultisampleTests.cpp
unctional/es31fPrimitiveBoundingBoxTests.cpp
unctional/es31fSSBOLayoutCase.cpp
unctional/es31fSampleShadingTests.cpp
unctional/es31fSampleVariableTests.cpp
unctional/es31fSeparateShaderTests.cpp
unctional/es31fShaderMultisampleInterpolationTests.cpp
unctional/es31fShaderPackingFunctionTests.cpp
unctional/es31fStencilTexturingTests.cpp
unctional/es31fSynchronizationTests.cpp
unctional/es31fTessellationGeometryInteractionTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fTextureMultisampleTests.cpp
unctional/es31fUniformLocationTests.cpp
unctional/es31fVertexAttributeBindingTests.cpp
tress/es31sDrawTests.cpp
tress/es31sVertexAttributeBindingTests.cpp
0ab338e5721a3f31a0272572851beb4ce6442661 06-May-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix some warnings in border clamp tests." into mnc-dev
ccab5bf5fd11219cd858aebe769052083b0ddf55 06-May-2015 Jarkko Pöyry <jpoyry@google.com> Fix some warnings in border clamp tests.

Change-Id: I66d0bb08f9fc7d6a3b0a49e8866523d0d36bc61c
unctional/es31fTextureBorderClampTests.cpp
08e7d68279b623caa787a8ee003cfcffe013854d 06-May-2015 Mika Isojärvi <misojarvi@google.com> Remove uniform block tests using double underscore.

Any double underscore sequence might be macro and macros using double
underscore trigger undefined behavior.

Bug: 20421327
Change-Id: I4c1ed5385c564cffc8ec0d115d271dc69d1d2916
cripts/gen-uniform-blocks.py
f307a4a08375f02c56fb6ea0215018a798971862 06-May-2015 Kalle Raita <kraita@google.com> Merge "Check that HDR version of ASTC is present for non-2D texture targets." into mnc-dev
68f1f6b90aa202797d208d69c79d310eb1fb9225 06-May-2015 Kalle Raita <kraita@google.com> Check that HDR version of ASTC is present for non-2D texture targets.

Bug: 20763531
Change-Id: I45451e9aec4bd51370ce784a34e312d455bbf6a7
unctional/es31fCopyImageTests.cpp
25ed53b938fad9545a74fbebc3b7eaf7136852fa 05-May-2015 Jarkko Pöyry <jpoyry@google.com> Fix primitive bbox line verification regression.

Bug: 20852057
Bug: 20453464
Change-Id: Ie59636ad50cc26bd52d45554113e869dc2c6ade7
unctional/es31fPrimitiveBoundingBoxTests.cpp
b5c8f10b44f5306e816ca9f7d5efa0a4150f0f48 02-May-2015 Jarkko Pöyry <jpoyry@google.com> Fix unused variable warning in release builds.

Change-Id: I00c6ee09f2821a7713bbc2cb8b71b0e589163e97
unctional/es31fTextureBorderClampTests.cpp
12fea2ef01511716e0387c3e3dd8c4ba6ade0cc2 13-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Use de::ArrayBuffer in glu::TextureBuffer.

- Use de::ArrayBuffer to make valgrind runs report incorrect use.
- Fix incorrect index when printing expected value in mapped memory
content verification.
- Remove bufferData for consistency with other glu::Texture-types.
- Add de::ArrayBuffer(ptr, len) std::vector-like ctor.
- Throw NotSupported if MAX_TEXTURE_BUFFER_SIZE is 0.

Bug: 20667734
Change-Id: I574f0952b1bd97803cd52564b2ee9967ecde105a
unctional/es31fTextureFormatTests.cpp
d5be8ad612a000b4ad2caf14c8d93501f3558eb8 01-May-2015 Jarkko Pöyry <jpoyry@google.com> Assume border color is always in linear space.

Bug: 20755158
Change-Id: I18e048e1537ef5b02020d139eb58a498ab917722
unctional/es31fTextureBorderClampTests.cpp
bad262a164c417f8dbe2403fd7a71beadad9f1ce 01-May-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add EXT_texture_border_clamp tests." into mnc-dev
06fe4fe2a28c6c5a7cab7431d313648cf8054943 10-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Add EXT_texture_border_clamp tests.

Change-Id: I37b2d473e2b1ccdd40a55daa3e6c12e2a28a6e0d
unctional/CMakeLists.txt
unctional/es31fFunctionalTests.cpp
unctional/es31fTextureBorderClampTests.cpp
unctional/es31fTextureBorderClampTests.hpp
f0ca13a370eeeff83ecf3c4d76a13d51dabf4297 28-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Do not assume support for multisampled wide lines.

- Allow rasterization, interpolation, and clipping multisampled wide
line cases to fail and report Compatibility Warning instad of
failure.
- Allow line width verification failures in primitive bounding box
tests (and generate compatibility warning).
- Not modiyfing helper_invocation cases since the test tolerate
uncertain line rendering widths.

Bug: 20453464
Change-Id: Ib1ef997c5476e04a02a103f0636201ed94c9354e
unctional/es31fPrimitiveBoundingBoxTests.cpp
b459c99555bc640418e0d5d2bbacec624903f33d 28-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Update default VAO attrib divisor tests.

- Expect vertexAttribDivisor on ES31 with default VAO to not generate
a error, i.e. expect vertexAttribDivisor in ES31 to be compatible with
ES30.

Bug: 20154392
Change-Id: I2c009518f5f0686b269f3d2a33ea8a19c3d02470
unctional/es31fDefaultVertexArrayObjectTests.cpp
5a0a3bbda9383ed89e44198619b9564282905865 23-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Avoid handling combined depth-stencil textures as color data.

Change-Id: I151b443e25329b7903870a08a558f1a38e58abe7
unctional/es31fStencilTexturingTests.cpp
09037a4653649d707449463dfe9817a78ccf7d2f 01-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Handle stencil textures as one-channel int textures.

- Make sampling from stencil texture return stencil value in R channel.
This makes stencil textures behave as in GL.
- Fix tests assuming component w is always stencil.

Change-Id: Ibc12949435330e0ac52a469b2fe8f3eab57d9e67
unctional/es31fStencilTexturingTests.cpp
a4a7880d032d3acbdd3f454886ccbce9e967eca5 21-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Remove getDataSize and setPixels from PixelBufferAccess.

- Remove functions that were not safe to use with non-tightly packed
pixel buffer accesses.

Change-Id: I32b83b089da40ccd052f9d7250498a9c4aa4036f
unctional/es31fShaderImageLoadStoreTests.cpp
f38ef819208f45b43dc0723142a9585dddf5d813 17-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Add default VAO vertexAttrbDivisor GLES3/GLES31 behavior change tests.

- Add positive test for default VAO divisor in GLES3.
- Add negative test for default VAO divisor in GLES31.
- Use VAO in vertex_attrib_binding divisor state query tests.

Bug: 20154392
Change-Id: Iac43c4484bf7c5eff2409c964778e3dc304649f9
unctional/CMakeLists.txt
unctional/es31fDefaultVertexArrayObjectTests.cpp
unctional/es31fDefaultVertexArrayObjectTests.hpp
unctional/es31fFunctionalTests.cpp
unctional/es31fVertexAttributeBindingStateQueryTests.cpp
cacbbf83a31d6ae30f08ee58117cc6b037354806 15-Apr-2015 Mika Isojärvi <misojarvi@google.com> Add GLES3.1 uniform block syntax tests.

Bug: 18928701
Change-Id: I3a505ea3b1321ec2b3810853e930f918c5492f71
unctional/es31fFunctionalTests.cpp
cripts/gen-uniform-blocks.py
a5387bed615e83cb1770067dbdd7cde0e50ae006 06-Apr-2015 Mika Isojärvi <misojarvi@google.com> Check EXT_sparse_texture in get_internalformativ tests.

Check extension GL_EXT_sparse_texture before assuming that
GL_TEXTURE_2D is invalid target.

Bug: 20005726
Change-Id: I200ddea79c42e1734cae6b4bea4f358bda863112
unctional/es31fNegativeStateApiTests.cpp
971d41d7125e65b9020d562ec2aeec57ce6b3924 07-Apr-2015 Mika Isojärvi <misojarvi@google.com> Fix negative glCompressedTexSubImage3D tests.

Change tests to not trigger unrelevant error condition.

Bug: 20013546
Change-Id: Ie82367d58fc804bef6f449d8e0ebd8b41b667818
unctional/es31fNegativeTextureApiTests.cpp
74a4e3ea85714c95b67c301cd06df7a78b59d832 07-Apr-2015 Pyry Haulos <phaulos@google.com> Fix unintialized memory issues reported by valgrind

Change-Id: I2cdd303e0035d8e599fe5f4d9520f58c3058ccf4
unctional/es31fNegativeStateApiTests.cpp
52975f0fd1810d288436f584b7c8036044b69e6f 06-Apr-2015 Mika Isojärvi <misojarvi@google.com> Check for extensions in negative getinternalformat tests.

Check if GL_EXT_render_snorm exists before asssuming that GL_RG8_SNORM
is not renderable.

Bug: 20005726
Change-Id: I5cb65de9e2e90dd7653a1edc5f20c41dd0559b6d
unctional/es31fNegativeStateApiTests.cpp
d55a0267adbac8c78e06ed563aac3003cbc51ad2 03-Apr-2015 Jarkko Pöyry <jpoyry@google.com> Increase threshold in layout_binding tests.

Bug: 19990291
Change-Id: I3292bdd7077546adbdd88240362166d53905f804
unctional/es31fLayoutBindingTests.cpp
5a72c084dc1d7ec27a2dd1a619cd0a363cb7f449 03-Apr-2015 Mika Isojärvi <misojarvi@google.com> Merge "Fix clearing SRGB renderbuffers in copy image tests."
065cde5304da4f2d89e0c8d422870917453a383e 03-Apr-2015 Mika Isojärvi <misojarvi@google.com> Fix clearing SRGB renderbuffers in copy image tests.

Bug: 19897810
Change-Id: I7a57bfcbebf7137aac8ebebbde1905310c0e741b
unctional/es31fCopyImageTests.cpp
eeec8accefdba51359d238575ade720d02a90276 03-Apr-2015 Pyry Haulos <phaulos@google.com> Fix warnings caused by using unnamed enums as template parameters

Change-Id: I30d54d7cdd987488d5362e6d5af1169f734e6d4e
unctional/es31fTessellationTests.cpp
e641b2dde1339ceeabb54ece7f063e255992a198 03-Apr-2015 Mika Isojärvi <misojarvi@google.com> Merge "Fix / Clean up de::SharedPtr."
6801c0680107ff001b065db07b125d622926f311 31-Mar-2015 Mika Isojärvi <misojarvi@google.com> Fix / Clean up de::SharedPtr.

- Fix SharedPtr removing input ptr if memory allocation fails.
- Remove almost unused threadSafe template argument.
- Remove deleter template parameter. Use templated constructor instead.
- Use virtual base class for SharedPtrState to fix issue with invalid
reinterpret_casts and some nasty issues with deleters.
- If assigning WeakPtr to last referencing SharedPtr succeed instead of
releasing last reference and failing to acquire WeakPtr.
- If SharedPtr fails to acquire WeakPtr do not release existing reference.

Change-Id: I4a0d522485e085397ff059dc4db4e3bc7986d629
unctional/es31fProgramInterfaceQueryTests.cpp
dcae22981c6188fe2fa9f4f69599ce50dd5c76c9 27-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add negative tests for per-patch output aggregate types."
e57b3f6f5d4846d95ce6fde976e2d032edf28e27 27-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix valgrind warnings in negative tests when running on null context."
011ce17335ca4d080a4179639a4962bf078d4927 26-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Fix valgrind warnings in negative tests when running on null context.

Change-Id: Ic58c2a34199be4436e59779c1cd78b8c49f8b037
unctional/es31fNegativeShaderApiTests.cpp
unctional/es31fNegativeStateApiTests.cpp
18c15f928a710db86e7e374b478faea3b198afc3 24-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Add negative tests for per-patch output aggregate types.

Bug: 19894936
Change-Id: I2d5b78c98a380a10831145c937d88a154eb131f1
unctional/es31fTessellationTests.cpp
01c3ffd9c9b6067086cdd2c0f9b384bfbc72728a 26-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add multisample_interpolation negative tests."
8cd63a217cae5f39d8d88b87e2cfdfb1a8325638 24-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Add user_defined_io.per_patch_block and _block_array tessellation tests.

Bug: 19896162
Change-Id: I583151538ad3f8712348a96154f39e8a16e428e6
unctional/es31fTessellationTests.cpp
5967800d631c16e6cdadcb1ba213a3a5ddb3d8c4 25-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Add multisample_interpolation negative tests.

Bug: 19096151
Change-Id: Ia5441af277152e641b410d2755d744d022ba91c8
unctional/es31fShaderMultisampleInterpolationTests.cpp
48f031e1deb930ee8484562aadef32a955bd22be 26-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add negative tests for array initialization."
b802d8a74b19daa161a07eca2a90bc4620b94021 26-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Reapply changes lost in a merge gone bad.

- Merge of mirror-m-wireless-internal-release branch reverted changes
that were applied to both master and backported to lmp branches. This
change reapplies the reverted changes. Changes are:
* bug 19543772 -- Remove io_blocks.match_different_member_interpolation
test from mustpass.
* bug 19543594 -- Apply fix for tessellation fractional even test
verification.

Bug: 19936763
Change-Id: Ibc357e0e13d7993c91a4f4d60500dccb924eadec
unctional/es31fTessellationTests.cpp
90981c47517e987737aaa3ba2284f873e87e94e2 25-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge "Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge"
cafd5f117a5193d45d75ee3ccdf52caded3d76ce 24-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Add negative tests for array initialization.

- Rename constructor_c-styleN to constructor_c_styleN to avoid '-'
character in test name.
- Add some additional initialization tests.
- Port initialization tests to GLES31.

Bug: 19639781
Change-Id: Id9488837cc24c82c3ff1ad31c49da3a238c6fee8
unctional/es31fFunctionalTests.cpp
49c530bfe041172dc859fa327f0c8386b8946ff2 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
4e3ea87b79b12195e79d28ef6ab2be0a847b5d9a 20-Mar-2015 Pyry Haulos <phaulos@google.com> Refactor tcu::TestExecutor

tcu::TestExecutor used to provide all functionality required for
traversing hierarchy, executing tests, and even generating test case
lists. This change splits TestExecutor into three separate utilities:

1) TestHierarchyIterator provides test hierarchy traversal.
2) TestSessionExecutor provides test session execution.
3) Utility functions for generating test case list files.

In addition TestCaseWrapper has been replaced by package-specific
TestCaseExecutor with TestSessionExecutor-managed lifetime.

Change-Id: Idb8090964a80cd64892231798710547e84e2989b
MakeLists.txt
es31TestCase.cpp
es31TestCaseWrapper.cpp
es31TestCaseWrapper.hpp
es31TestPackage.cpp
es31TestPackage.hpp
02238eb8729ed058f65776b86a8b08fba11ab9cd 23-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Remove illegal outputs from tessellation user_defined_io cases.

- Remove array within a structure declared as an output variable.
- Remove output variables declared as arrays of structures.

Bug: 19892988
Change-Id: I9265b406e65da32b4782998748127681623faf3d
unctional/es31fTessellationTests.cpp
3b1d3ba99b19c98567a86ff92b8f8bba13402e70 23-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add beginsWith/endsWith to deStringUtil.hpp."
6a1979c5e502d1403cbccf122b6dab8dd05b3c63 19-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Add beginsWith/endsWith to deStringUtil.hpp.

Change-Id: Id538b11e6cd8b717f814166a6497c500e12a675b
unctional/es31fProgramInterfaceDefinition.cpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
012f21ddfb2c86a2960edd65a3f0ea8f1fcd7832 21-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Fix failing assertion if glGetIntegerv query fails.

Bug: 19869836
Change-Id: I95e316b06a46c2e07f3a5dd2241f601bf9e635af
unctional/es31fIndexedStateQueryTests.cpp
11672325c262fac8483ed37a35ae9ac649f85e33 19-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Move array utils out of deDefs."
0718a362c4bac04a3b9bf9e8b19db4c311296293 18-Mar-2015 Mika Isojärvi <misojarvi@google.com> Merge "Remove incomplete integer texture gather tests."
20e61971e5db3fe9f0c7b7d38841fa43f68fddd0 17-Mar-2015 Mika Isojärvi <misojarvi@google.com> Remove incomplete integer texture gather tests.

Sampling floating point values from incomplete texture always produces
(0, 0, 0, 1), but sampling integer or unsigned integer values return
undefined values.

Bug: 19733810
Change-Id: I32e8c6dcdc9ed7fd0a875857174d91fc605d958a
unctional/es31fTextureGatherTests.cpp
ab2112857be486f19caf4b50e6211150bd7613b4 18-Mar-2015 Pyry Haulos <phaulos@google.com> Fix couple of warnings reported by MSVC

Change-Id: Icd4e5a545197d052d5705266e24de2bad881bafd
unctional/es31fDrawBuffersIndexedTests.cpp
f9bf2189fb13480c490995e3bce1e7ed66c06d66 17-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Treat gl_TessLevelInner/Outer as a name of an array in PIQ tests."
d6148171f88da1301f053e2e0236afc69416137c 16-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Move array utils out of deDefs.

Change-Id: I77748493f96d9a25288f903eff1eebcafaa9b2c8
unctional/es31fCopyImageTests.cpp
unctional/es31fDrawBuffersIndexedTests.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fShaderCommonFunctionTests.cpp
unctional/es31fShaderSharedVarTests.cpp
6888d94d4be6789137d5b0c57decf9806a02071c 16-Mar-2015 Mika Isojärvi <misojarvi@google.com> Merge "Add state query tests for GL_EXT_draw_buffers_indexed."
591173f18359cabb0d9d88adf3eeb381a21ffc04 27-Feb-2015 Mika Isojärvi <misojarvi@google.com> Add state query tests for GL_EXT_draw_buffers_indexed.

Bug: 18925583
Change-Id: I7edf58afd794d7717eedc63115b36462ea0d6567
unctional/es31fIndexedStateQueryTests.cpp
230fe975f7a175aeeff9cdc4bd3cc7dd431c2576 16-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Remove struct-capturing XFB PIQ cases."
e0948892fd67ef1c38a86e412683bc6d96840f72 16-Mar-2015 Mika Isojärvi <misojarvi@google.com> Fix broken build in indexed draw buffers tests.

Change-Id: I2635f5b43296a8e5fe1928dbec8c00dae0fcbaa7
unctional/es31fDrawBuffersIndexedTests.cpp
e48a911a83eb79028d476c0a3ab6f9177ef2b9c1 16-Mar-2015 Mika Isojärvi <misojarvi@google.com> Merge "Add tests for GL_EXT_draw_buffers_indexed."
46b763d53ec05813eb64188acff4191932d791ae 16-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Remove struct-capturing XFB PIQ cases.

- Remove transform feedback program interface query cases that tried to
capture whole struct. This was disallowed in the resolution of
Khronos bug #12787.

Bug: 18524718
Change-Id: Ibca5f334ffddb2647472c65dc34d5fa44953e730
unctional/es31fProgramInterfaceDefinition.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
a858dd2b9d9cd0c96895284ba8784b29cf7cebbd 14-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Treat gl_TessLevelInner/Outer as a name of an array in PIQ tests.

Bug: 19731647
Change-Id: Ib204ffeb39c91990b9df9c10f99858ec0febca75
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
0a0dd88d111d0bfcecd63d3cb19c3f428c04ca82 12-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Remove backslash characters in comments in tess-geo-test shaders.

Bug: 19699823
Change-Id: I393a3aef8ee98cba5f7c2c8b35e3d5783fbc05a0
unctional/es31fTessellationGeometryInteractionTests.cpp
tress/es31sTessellationGeometryInteractionTests.cpp
c15ff80ac6c2db9ba6d1b57cd0fe01ddb867cbaf 09-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix illegal array initialization in primitive_bbox tests."
a5cf8749449961428acaefaa31a05fa906df47cd 07-Mar-2015 Mika Isojärvi <misojarvi@google.com> Remove unused variables.

Change-Id: I8d7b221580128ea1d258bb5e7010880cd608aedc
unctional/es31fCopyImageTests.cpp
3647de380ad33791b35b2b3b65b7dea63447f81a 06-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Prevent incorrect usage of de::getSizedArrayElement."
cdde9ab50faadb94feeb12eeaf26195af1d0bc67 06-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Fix illegal array initialization in primitive_bbox tests.

Bug: 19639593
Change-Id: I400e5dc53b17c73ec80483a486e734ab7f9dd8ce
unctional/es31fPrimitiveBoundingBoxTests.cpp
d88b08edbb030c4911e89eb4b7e7d4843a3fdd4a 06-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Apply fix for tessellation fractional even test verification."
fb35856368da21ffe62b0690722a12bf593f9986 06-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add precise to tessellation fill_cover_* tests"
1d08c2c4afb3aa723690905cd9372a2740a31160 27-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Apply fix for tessellation fractional even test verification.

- Fix to tessellation fractional even tessellation mode verification
calculating additional segments' length wrong if tessellation generated
4 segments, and the additional segments were generated as first and last
segments.

Bug: 19543594
Change-Id: I1b1f682d99100db87d1cd3348547c47263e483a5
unctional/es31fTessellationTests.cpp
68a7147b19e8aa28f66ef6aec399ed0c836f81c0 17-Feb-2015 Mika Isojärvi <misojarvi@google.com> Add tests for GL_EXT_draw_buffers_indexed.

Add tests for GL_EXT_draw_buffers_indexed extension.

Bug: 18925580
Change-Id: Ia9e3a7a867c5f11a961df4aeaeccc2c5865b58a9
unctional/CMakeLists.txt
unctional/es31fDrawBuffersIndexedTests.cpp
unctional/es31fDrawBuffersIndexedTests.hpp
unctional/es31fFunctionalTests.cpp
a43f5b2bbe423890ad95b7ec8af8c197d4c891b0 03-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Reintroduce error suppression in DebugTest expectMessage().

- Add error suppression back to expectMessage to prevent potentially
dirty error state from affecting subsequent checks within a same
test case. Error suppression was removed in b/18915042 when it was
errorneously assumed that it was no longer needed after fixing
b/18915339.
- Tolerate resource leakage in shader_source test.

Bug: 19589360
Bug: 18915042
Change-Id: I4e269f757c99173d4d7f0d5cc273699c0cb69628
unctional/es31fDebugTests.cpp
unctional/es31fNegativeShaderApiTests.cpp
e1b5f30fef69474bfc91a7d68ced7abf5199737a 03-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Vary fragment shader in separate shader random tests."
85a4b3b6c18c25162f3b11b2b08a6afeec6ec3f9 03-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Do not query non-existent texture level in TEXTURE_FIXED_SAMPLE_LOCATIONS test."
c3a87754b0bf68e1c04e6f027b93dd1c0dea6c6a 03-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Expect width and height = 1, not default, for textures with no such dimension."
5b6b88e78c917d9367258c0905cd7e85b8538471 26-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Vary fragment shader in separate shader random tests.

- Use supplied random seed in genFrgShaderSrc to vary generated fragment
shaders slightly. This prevents random test cases from always using
identical fragment shader pipeline programs. Prior to this CL, the
supplied random seed was unused.

Change-Id: Ib74b16cc92f41181a415966a4f2e4feab83781af
unctional/es31fSeparateShaderTests.cpp
3e4878e925a4ce7bc2052494f904f0ca49d4f2c4 03-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Expect width and height = 1, not default, for textures with no such dimension.

- Expect DEPTH = 1 for 2D texures. This is consistent with the spec's
definition of a 2D texel array. (Texture level represents a texel
array.)
- Expect HEIGHT = 1 for 1D (buffer) textures for consistency.
- Fix texture buffer buffer leak.

Bug: 19578475
Change-Id: Ieea2ebc0f21746fe64c5b8c6668cf92921e7ea88
unctional/es31fTextureLevelStateQueryTests.cpp
a3ca3ec3be857645c3811984738ffe92941bf7d8 03-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Do not query non-existent texture level in TEXTURE_FIXED_SAMPLE_LOCATIONS test.

Bug: 19578475
Change-Id: I657dd59e667d8948151dbf1c08bf7f4f535ca992
unctional/es31fTextureLevelStateQueryTests.cpp
9ea37879e8c0ecc8a8973b3d5194d4dc12f21360 27-Feb-2015 Mika Isojärvi <misojarvi@google.com> Make non-texture filterable textures complete.

Make sure that even non-texture filterable format textures are complete
before calling glCopyImage.

Bug: 19543570
Change-Id: I84a7b303a510afc2535ac5960ddd41e0c056a981
unctional/es31fCopyImageTests.cpp
5730719a54e92e0816ef2b4217a2277907d67bcc 13-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Prevent incorrect usage of de::getSizedArrayElement.

- Prevent usage without <..._LAST> template argument.
- Preserve old usage as de::getArrayElement.

Change-Id: I1ab7cf128ebe8b1805f2fc4ac062dc8f6cc7e859
unctional/es31fCopyImageTests.cpp
94146b344b12683cea9df2788a306e5b16944b40 26-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Remove unused variables.

- Remove unused, irrelevant buffer from buffer upload perf baseline
measurement test.
- Remove unused VAOs in VA binding query tests.
- Remove other misc variables.

Change-Id: Ie4ef3bf27905f7ef5c3e99c719be68f4d420c846
unctional/es31fShaderImageLoadStoreTests.cpp
unctional/es31fUniformLocationTests.cpp
unctional/es31fVertexAttributeBindingStateQueryTests.cpp
47eea4a110870ccbd18b3192a0e7ab0765910b4b 25-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Remove unused variables."
9548cd053c5f3ec63e9fae7a05917a4fa8c3067c 25-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Move isCompressedFormat from CopyImageTests to gluTextureUtil."
469002caa1ccd58f59f53a1bf3dbac4cf6a5d817 24-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Use TestLog, not TestContext, in gls::TextureTestUtil::TextureRenderer.

Change-Id: I7307b039777a2fe041e41379712e4f66d4a5e440
unctional/es31fCopyImageTests.cpp
unctional/es31fTextureFilteringTests.cpp
unctional/es31fTextureFormatTests.cpp
193f59811b2c0fe57808a06923b82ed00c41bd0f 24-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Remove unused variables.

Change-Id: I234eb6375d7332bc82fc2d0a8b4e754b169f9290
unctional/es31fDrawTests.cpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fShaderImageLoadStoreTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fVertexAttributeBindingTests.cpp
tress/es31sVertexAttributeBindingTests.cpp
238d2aee289b3bc19b059ddbfc9e83892be1d8a6 24-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Move isCompressedFormat from CopyImageTests to gluTextureUtil.

Change-Id: Ieeaf23f844f47e538f422fe180403ad9a6e473a6
unctional/es31fCopyImageTests.cpp
c9425e2711b68b0015ab20a05a3e2cff4d2216ec 25-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Remove debug.state_query.context_flags_* tests."
9bba09c30961a6912689b1841d0214db14422f01 24-Feb-2015 Mika Isojärvi <misojarvi@google.com> Merge "Check if RGBA32F is color renderable and texture filterable."
0a3b01c9060322986341f27c8bf0e6261a7d4049 23-Feb-2015 Mika Isojärvi <misojarvi@google.com> Merge "Check GL_NV_framebuffer_multisample support in negative api tests."
1a91a42f28e75954b5277d6596c2cc4509e37d00 23-Feb-2015 Mika Isojärvi <misojarvi@google.com> Merge "Check existence of GL_EXT_render_snorm in negative tests."
9ffcdca48772cb951540a7ce02b11a42a2b35c3b 23-Feb-2015 Mika Isojärvi <misojarvi@google.com> Check if RGBA32F is color renderable and texture filterable.

Check extensions GL_EXT_color_buffer_float and GL_OES_texture_float_linear
before assuming GL_RGBA32F is not texture filterable and color renderable.

Bug: 19462486
Change-Id: I31dfcf96f61ae277a434a307d54b5fbf0031a35b
unctional/es31fNegativeTextureApiTests.cpp
7d52267716fe66d49085fa33a7bd44837d337a46 23-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Fix code style."
c16dedced05e6299ad5fc0d2f3ac42e23952465c 23-Feb-2015 Mika Isojärvi <misojarvi@google.com> Check GL_NV_framebuffer_multisample support in negative api tests.

Check if GL_NV_framebuffer_multisample is supported before assuming, that blit
operations with sample count bigger than 0 fail.

Bug: 19462860
Change-Id: Ice201a3674767a502856500092e11166f6483375
unctional/es31fNegativeBufferApiTests.cpp
531a9f5311e314348ebc7678984c852be8dd2a2b 23-Feb-2015 Mika Isojärvi <misojarvi@google.com> Check existence of GL_EXT_render_snorm in negative tests.

Check if extension GL_EXT_render_snorm exists before assuming that setting
renderbuffer storage to signed normalized format fails.

Bug: 19462857
Change-Id: I0d0b14ecd0cc7952dbf163c67ed8c1bdb83f2d08
unctional/es31fNegativeBufferApiTests.cpp
f7087b8cb0d47d2d98484f4d2aebf4e6dc1039c0 21-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Remove debug.state_query.context_flags_* tests.

- Remove tests using CONTEXT_FLAGS pname which does not exist in
ES 3.1.

Bug: 19432333
Change-Id: I3909f09a130b4c85cb889b8022b90afc20b41287
unctional/es31fDebugTests.cpp
7f553a46ae44aeab4277e572bf61fb59b29f1208 21-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Add precise to tessellation fill_cover_* tests

- Add precise to misc_draw.fill_cover_* to avoid gaps in tessellated edges.
- Remove misleading comments.
- Add comments to describe why precise is not required to some tess eval
shaders.

Bug: 19462784
Change-Id: Ia5e49c1b0cc0edd0e3c5d902e7b1f19dd841a9ac
unctional/es31fTessellationGeometryInteractionTests.cpp
unctional/es31fTessellationTests.cpp
tress/es31sTessellationGeometryInteractionTests.cpp
a683c9e61c7d250956ca94722e333914868323fe 21-Feb-2015 Pyry Haulos <phaulos@google.com> am cf930726: am cb9402de: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma

* commit 'cf9307265c93cfb89774b0e0b661aa59487bb3d9':
Relax fma() verification in builtin_functions.common.fma
cb9402debce3ab0fc6ee8481dd2ef553986257c3 21-Feb-2015 Pyry Haulos <phaulos@google.com> am e5fc2a80: Relax fma() verification in builtin_functions.common.fma

* commit 'e5fc2a804322422a6d50270e9e00fb1c193b6f90':
Relax fma() verification in builtin_functions.common.fma
e5fc2a804322422a6d50270e9e00fb1c193b6f90 19-Feb-2015 Pyry Haulos <phaulos@google.com> Relax fma() verification in builtin_functions.common.fma

GL_EXT_gpu_shader5 allows fma() to be implemented either as a single, or
two correctly-rounded operations. Current tests assumed fma() for lowp
and mediump to be implemented as a single operation as no rounding was
allowed mid-operation.

This change relaxes fma() tests to allow for a*b+c expansion.

Bug: 19431850
Change-Id: I46eea74bf3b95bfdbc510e13ef7315854be623ee
unctional/es31fShaderCommonFunctionTests.cpp
3fdee359c9eee4d6c1d823b23f7f64631b5945f8 14-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Fix code style.

- Remove trailing whitespace.
- Fix some alignments.

Change-Id: I3b74a2cdc964859193adbe0aed030a7ee3d62085
unctional/es31fFramebufferDefaultStateQueryTests.cpp
80f9d093fa90e0f7f271774d60c11e1feb8d28d7 14-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Add query tests for AEP states."
c423ce6164cdd88c8c3e47bec4ec34476743042a 13-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Add query tests for AEP states.

* Add khr_debug limit tests and extend label queries.
* Add blend_equation_advanced queries.
* Add ext_texture_buffer queries.
* Extend ext_geometry_shader queries.
* Add ext_tessellation_shader queries.
* Add ext_texture_srgb_decode queries.
* Extend texture_level tests for all texture targets.
* Extend texture tests for all texture targets.
* Split shader.sampler_type to separate tests for each sampler type.
* Improve logging in vertex_attribute_binding tests.
* Add ext_texture_border_clamp queries.
* Add EXT_tessellation_shader, EXT_geometry_shader and
EXT_shader_io_blocks PIQ tests.
* Change filtering min/max lod state query test values to reasonable range.
* Extend info log queries.

Bug: 18925583
Change-Id: Id6194fff4c03786445f99168ec5fb4120f8c50b7
unctional/CMakeLists.txt
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fDebugTests.cpp
unctional/es31fFunctionalTests.cpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fInfoLogQueryShared.cpp
unctional/es31fInfoLogQueryShared.hpp
unctional/es31fIntegerStateQueryTests.cpp
unctional/es31fProgramInterfaceDefinition.cpp
unctional/es31fProgramInterfaceDefinition.hpp
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTestCase.hpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fProgramPipelineStateQueryTests.cpp
unctional/es31fProgramStateQueryTests.cpp
unctional/es31fSamplerStateQueryTests.cpp
unctional/es31fSamplerStateQueryTests.hpp
unctional/es31fShaderStateQueryTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureBufferTests.cpp
unctional/es31fTextureLevelStateQueryTests.cpp
unctional/es31fTextureStateQueryTests.cpp
unctional/es31fVertexAttributeBindingStateQueryTests.cpp
654d8c53a77c4fac3c57c6e7abf1fa940e715899 13-Feb-2015 Pyry Haulos <phaulos@google.com> Mute several safe size_t to int conversions

Change-Id: I42d27ce97f2da51e481b7f205c3d7dc3b487e726
unctional/es31fCopyImageTests.cpp
22bdf29e89799390266ab526e524c71a8c69d42c 13-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Add missing include.

Change-Id: I4c2f32e63650fbaf00cf7248d0d7fe5dce73095d
unctional/es31fCopyImageTests.cpp
2fed6fb653077fbf7ad22260f0457bf6d2cd45d3 13-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge changes I688d84e5,Icce01201

* changes:
Move tcu::ResultCollector to a separate file.
Add query tests for ES31 states.
ab44fc6da25bb126919615ad2ded101695251161 13-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Move tcu::ResultCollector to a separate file.

- Move tcu::ResultCollector to a separate file.
- Fix includes in tests.

Change-Id: I688d84e5de7bfa4c80b0034cdac4ea0e4fd2faa7
unctional/es31fDebugTests.cpp
unctional/es31fFboNoAttachmentTests.cpp
unctional/es31fNegativeTestShared.cpp
unctional/es31fNegativeTestShared.hpp
unctional/es31fSeparateShaderTests.cpp
cb82ed72dcbbfd8a6d07736c3259605227bc984f 27-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Add query tests for ES31 states.

* Queries and pretty-printing for GLES31 core states.
* Move sample_mask_value from integer.* to indexed.*.
* Add image state reset.
* Move tcu::Array to a separate file

Bug: 18925583
Change-Id: Icce01201ca3c2c7daeb2daeb0fed04d373a15eb6
unctional/CMakeLists.txt
unctional/es31fBooleanStateQueryTests.cpp
unctional/es31fBooleanStateQueryTests.hpp
unctional/es31fFramebufferDefaultStateQueryTests.cpp
unctional/es31fFramebufferDefaultStateQueryTests.hpp
unctional/es31fFunctionalTests.cpp
unctional/es31fIndexedStateQueryTests.cpp
unctional/es31fIndexedStateQueryTests.hpp
unctional/es31fIntegerStateQueryTests.cpp
unctional/es31fProgramPipelineStateQueryTests.cpp
unctional/es31fProgramPipelineStateQueryTests.hpp
unctional/es31fProgramStateQueryTests.cpp
unctional/es31fProgramStateQueryTests.hpp
unctional/es31fSampleShadingTests.cpp
unctional/es31fShaderMultisampleInterpolationStateQueryTests.cpp
unctional/es31fTextureLevelStateQueryTests.cpp
unctional/es31fTextureStateQueryTests.cpp
unctional/es31fTextureStateQueryTests.hpp
unctional/es31fVertexAttributeBindingStateQueryTests.cpp
d29f038804c0a905171dbc1fc01f85b1092c6b40 13-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Clarify primitive_bbox test case logs."
023de09ae4d6942a0aad9dc6c37d92067d23cdc5 13-Feb-2015 Mika Isojärvi <misojarvi@google.com> Merge "Add tests for GL_EXT_copy_image."
30fde0c3faee7af43a958bd572d8b6c584333a15 12-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Clarify primitive_bbox test case logs.

- Add scoping around query test value iterations.
- Print result image even when test passes.

Change-Id: I0d703e8bd21579a8de1b8f0e0f7926927e204950
unctional/es31fPrimitiveBoundingBoxTests.cpp
433e5704171098c7cd062c7339b259ad76a55678 16-Jan-2015 Mika Isojärvi <misojarvi@google.com> Add tests for GL_EXT_copy_image.

New tests that test GL_EXT_copy_image extension. Tests copy between all
possible format combinations except two float formats. For each format
combination all image target combinations are tested. These tests
always use npot image sizes and npot copy sizes. Offset to source and
destination image is also always npot. When testing texture images,
mipmap complete textures are used and source and destination mipmap
level is always 1. Each test case first tests copying between images
after rendering them to screen and then tests copying between images
immediately after creating them.

Change-Id: If961728d0257109a8cbd97ef8380dd9d89320ecd
unctional/CMakeLists.txt
unctional/es31fCopyImageTests.cpp
unctional/es31fCopyImageTests.hpp
unctional/es31fFunctionalTests.cpp
a93e9c3047490399186b77e0ee5ecc359aeee1c5 10-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Disable coherent blending in non-coherent blend tests."
57c60b3189ce3ac3e738d715313313cd140ef87c 05-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Disable coherent blending in non-coherent blend tests.

Bug: 19283100
Change-Id: Idd464d9e107d4390bb009cab5325f998816b4927
unctional/es31fAdvancedBlendTests.cpp
26e8fabf4c969e2dc11d638225e7bc81c27c46f7 10-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Fix various issues in primitive_bbox tests.

- Fix broken assert.
- Don't expect half to propagate accurately through all shader stages.

Change-Id: I85364c5820f8047dc3315bb56b3243e87342830b
unctional/es31fPrimitiveBoundingBoxTests.cpp
60c65ceb5278bada175d2ea10df137652de1c9f3 06-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Enforce test tree hierarchy in TestNode."
ee2e92c10d529b2be9ef1279655f9b65a3f1a407 06-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Enforce test tree hierarchy in TestNode.

- Disallow group to have both groups and tests as children. This makes
internal test tree and test tree generated for CTS to have identical
structure.
- Update tests to never generate illegal test tree structure.

Change-Id: I8da5cc75e398eb2a35f09cba03b0a5be170a184a
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fProgramUniformTests.cpp
dd0d326ece0f677ea889f8d92e17d20cbcbadb28 06-Feb-2015 Pyry Haulos <phaulos@google.com> am b7c663f1: am 9dffe171: Merge "Do not require signed zero support in ldexp tests()" into lmp-mr1-dev

* commit 'b7c663f18f03590572ee614b2258201f2a7715d9':
Do not require signed zero support in ldexp tests()
9dffe171837245135e71dff20cf34bc4fcac687d 06-Feb-2015 Pyry Haulos <phaulos@google.com> Merge "Do not require signed zero support in ldexp tests()" into lmp-mr1-dev
570dea21bc334a9ba2f75695b04516dda519e6e0 06-Feb-2015 Jarkko Pöyry <jpoyry@google.com> am a15ffb90: am 0b99ef65: am 744fda92: Add missing extension-require statement to geometry query tests.

* commit 'a15ffb9085a40ed13592b631bac87d7cb61001a6':
Add missing extension-require statement to geometry query tests.
0b99ef65f6d2f3c020a4c4c0d78dc65cd442ded4 06-Feb-2015 Jarkko Pöyry <jpoyry@google.com> am 744fda92: Add missing extension-require statement to geometry query tests.

* commit '744fda923ab2ca512aeefca793f1a6c8aa3b19ad':
Add missing extension-require statement to geometry query tests.
744fda923ab2ca512aeefca793f1a6c8aa3b19ad 04-Feb-2015 Jarkko Pöyry <jpoyry@google.com> Add missing extension-require statement to geometry query tests.

Bug: 19261758
Change-Id: Id788103f6aada884cd47e0707deaabeed0b36b8c
unctional/es31fGeometryShaderTests.cpp
2c0395d690eb3806d8c20968564a5c1be97b5cd1 03-Feb-2015 Pyry Haulos <phaulos@google.com> Merge "Fix couple of implicit conversion warnings reported by MSVC"
7d6ad9e003b52cfc23626b216b7580babf423c8f 03-Feb-2015 Pyry Haulos <phaulos@google.com> Fix couple of implicit conversion warnings reported by MSVC

Change-Id: If6dd153b8927e4f8e0cc5629d4dd051a9a96dcdf
unctional/es31fPrimitiveBoundingBoxTests.cpp
5f78b1323b6ef28d8b9cdce6fefcbbb61a0477a9 03-Feb-2015 Pyry Haulos <phaulos@google.com> Fix couple of trivial warnings reported by MSVC

Change-Id: I971ead9d6280aa16b7dc4c8970c7ba48e3d1ba30
unctional/es31fTextureGatherTests.cpp
08890a0edab5bb10f1ef37706a2af365ba595689 30-Jan-2015 Jarkko Pöyry <jpoyry@google.com> am 2dfca38e: am 8d83d91e: Terminate test process after first OOM in compute_interop tests.

* commit '2dfca38eceaf93d7b7e48ab00fb15d8e17b5b54a':
Terminate test process after first OOM in compute_interop tests.
02d11a473ebb1173f5a577b34f3fb270b6cadd2c 30-Jan-2015 Jarkko Pöyry <jpoyry@google.com> am 2a8065fa: am 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev

* commit '2a8065fa3b04357c35d05492595a5f30cf2bb34c':
Add support for fatal errors to framework.
8d83d91e1b85fa69359aed7ea15358f770f9eb82 30-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Terminate test process after first OOM in compute_interop tests.

Bug: 19197749
Change-Id: I30eff574ba699b1ee3d28c8fa4c85a5ceea146c1
unctional/es31fDrawTests.cpp
1e44f197ded674677381f65c840820728cf36efb 30-Jan-2015 Pyry Haulos <phaulos@google.com> Do not require signed zero support in ldexp tests()

This relaxes ldexp() tests to allow -0/+0 to be interchanged.

Bug: 19145770
Change-Id: I46c6a8f224606a15be0f974af36c281612f2398b
unctional/es31fShaderCommonFunctionTests.cpp
a1ec5ed4b523ff38f9c43bdc4eaf2aa6a69b6189 30-Jan-2015 Jarkko Pöyry <jpoyry@google.com> am c9843818: am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

* commit 'c9843818f4eeab0c62d484bd56a1c6c48b2a8605':
Avoid leaking VAO in compute_interop tests.
9296957fdb746e7558a00fec7f9a519f092168d8 30-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Add support for fatal errors to framework.

- Allow any test type to be fatal, not just resource error.

Bug: 19197749
Change-Id: I6834889c147fb6d93264738308c0293dec9b53b4
es31TestCaseWrapper.cpp
90563f0686a0925e19cc52251dd28d6ef81e9aba 29-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Avoid leaking VAO in compute_interop tests.

Bug: 19197749
Change-Id: I5ba9bafcc13e2b92df47e52d30e5e51a8ebb8b4c
unctional/es31fDrawTests.cpp
1fdbddf3d06656eea41db16182e4ba6f056b476a 19-Nov-2014 Pyry Haulos <phaulos@google.com> DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.

GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass list as being too strict to enforce in the L
timeframe.

Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.

Bug: 18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7
unctional/es31fTextureGatherTests.cpp
4fe981b1c12c17ca77dc9852ffb6e07895c00d33 14-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Merge "Remove error suppression from DebugTest expectMessage()."
e4f5e0c8d113561d40edb72cb5cf3c8b0495518f 13-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Remove error suppression from DebugTest expectMessage().

- Remove error suppression from various expectMessage() functions,
state reset will do that automatically.
- Remove access to expectMessage() from Core negative test and allow
access only from Debug tests. This will ensure that only debug tests
can use debug functionality.

Bug: 18915042
Change-Id: I1d8f03feca0c61046d099b57912b2f0ea3e8d2e8
unctional/es31fDebugTests.cpp
unctional/es31fNegativeTestShared.cpp
unctional/es31fNegativeTestShared.hpp
a3c1058eb8af4c3440cf1223e5e60e5876174f0c 12-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Fix undefined behavior in record_variable_selection test.

Tessellation shader expects patch size >= 3. Increase shader input
patch size to 3 from 1.

Bug: 18917835
Change-Id: I0eeadfca3690a1a1697aff538699d617b4bee93e
unctional/es31fTessellationGeometryInteractionTests.cpp
9e574351a4724975bf91b1e74ccae8786d711386 16-Dec-2014 Jarkko Pöyry <jpoyry@google.com> Add ANDROID_extension_pack_es31a tests.

- Check extension dependencies.
- Add implementation limit checks.
- Basic shader tests with AEP extension directive.
- Add 'expect build_successful' mode to ShaderLibrary. This mode checks
only that the shaders compile and the programs link but does not
attempt to execute the shader program. This is useful for example if
test only wants to check that a certain sampler type is available.

Bug: 18337603
Change-Id: Ib9715074c6aaccb40c0070df211236d95c7ef66a
unctional/CMakeLists.txt
unctional/es31fAndroidExtensionPackES31ATests.cpp
unctional/es31fAndroidExtensionPackES31ATests.hpp
unctional/es31fFunctionalTests.cpp
1f99d6991ce9a27d32ec0543d95646fe4e7bf001 17-Nov-2014 Jarkko Pöyry <jpoyry@google.com> Add EXT_primitive_bounding_box tests.

- Add primitive bounding box state query tests.
- Add primitive bounding box render tests.
- Add primitive bounding box test spec.
- Add primitive_bounding_box to str_util and regen wrappers.
- Add primitive_bounding_box state reset.
- Add pritimive_bounding_box wrapper context no-op implementation.
- Add tcu::Vector::operator-= ()
- Pretty-printing return values of array returning queries.
- Add tessellation patch vertices state reset.

Bug: 18336498
Change-Id: I56f3301fc32bf016e2091163d35dced2afb80c0d
unctional/CMakeLists.txt
unctional/es31fFunctionalTests.cpp
unctional/es31fPrimitiveBoundingBoxTests.cpp
unctional/es31fPrimitiveBoundingBoxTests.hpp
664e0500b4d1458fae75baf99cc4368442a0f370 10-Dec-2014 Jarkko Pöyry <jpoyry@google.com> Fix atomic min and max signed value verification.

- Do not expect shared variable to always be 32 bits long.
- Log all failures, not just first.
- Log hexadecimal values on error.

Bug: 18607593
Change-Id: I59c896300734856f33cfead86652157951d6ccb3
unctional/es31fShaderAtomicOpTests.cpp
1bfa102df7c2678fa4ac421fa29780848c2c12f3 02-Dec-2014 Jarkko Pöyry <jpoyry@google.com> Fix incompatible interpolation interfaces in random SSO tests.

- Fix random cases generating incompatible interfaces.
- Allow random generator to generate varyings with no interpolation
qualifiers.
- Group interface varyings to the beginning of shader source for
readability.
- Remove dependecy to glu::INTERPOLATION_LAST in case generation to
prevent unintended case list changes if glu::Interpolation enum is
expanded.

Bug: 18542476
Change-Id: I7431d5c41b7222f8fa1484f0352aec918598afd1
unctional/es31fSeparateShaderTests.cpp
2acb6d4631d6d7084ebe4fb762003bcde1aae336 27-Nov-2014 Jarkko Pöyry <jpoyry@google.com> Fix negative layout_binding cases failing on low implementation limits.

- Fix contradictory case not producing contradictory bindings.
- Fix crash in negative binding case.
- Fix invalid array indexing in ubo array cases.

Bug: 18540352
Change-Id: Id1d273508159eee3604260217ee7ba855b420d50
unctional/es31fLayoutBindingTests.cpp
75be7fae1949a801c080530de53bdf123abb517a 20-Nov-2014 Pyry Haulos <phaulos@google.com> Fix ambiguous mediump int write in shared_var.atomic tests

Shaders in atomic memory functions were assigning mediump integers to
SSBOs and expecting that those wouldn't get sign-extended in the
process.

Bug: 18446009
Change-Id: I10407cdb6558ba18a553df36285edf9d23239331
unctional/es31fShaderAtomicOpTests.cpp
8c6516bd099f84750fc605807b833f36ab459343 19-Nov-2014 Jarkko Pöyry <jpoyry@google.com> Merge "Remove implied '[0]' check in XFB array element resource name tests." into lmp-mr1-dev
54edf5431a35b399c5f6d3141be07a33d73c3b8b 19-Nov-2014 Pyry Haulos <phaulos@google.com> Add cube gather tests that avoid corners; remove D32F from mustpass

This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.

GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass by request.

Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.

Bug: 18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7
unctional/es31fTextureGatherTests.cpp
161b8ac50b4b4fc2d471d162026ef603ad3370d8 19-Nov-2014 Jarkko Pöyry <jpoyry@google.com> Remove implied '[0]' check in XFB array element resource name tests.

- Remove check that "name" matches "name[0]" for XFB array element
resources.
- Clarify log messages.

Bug: 18448008
Change-Id: Ia8d98161d6d42b13ec4b1c1869494729fff3142d
unctional/es31fProgramInterfaceQueryTests.cpp
6548214158a4646849b06b5a3768a6d0a04e7246 10-Nov-2014 Jarkko Pöyry <jpoyry@google.com> Relax GLES3 internal format queries for GLES31 compatibility.

- Allow multisample configurations for integer formats in GLES3.
- Add GLES31 test set for rbo internal formats.

Bug: 18315640
Change-Id: I9db53a5896511e29b0cc969812d2bf4f306e4612
unctional/es31fInternalFormatQueryTests.cpp
70309ee703729c83e3f90aa976d2eb54923d0915 25-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Merge "Use invalid sample count in renderbuffer_storage_multisample negative case." into lmp-dev
becf9ffdd185d4459765a52666ff8540b2bae385 25-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Merge "Fix early fragment test tests on default fb without depth." into lmp-dev
36ebe43247b45ca9933ccc511c73c373a4fafe59 25-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Use invalid sample count in renderbuffer_storage_multisample negative case.

Bug; 18100655
Change-Id: I9bd0417c44f3531755ec2ba1cc06f8164df50661
unctional/es31fNegativeBufferApiTests.cpp
a237fcd566c01e1c84401b68d6d3687d8040dfb2 25-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Fix early fragment test tests on default fb without depth.

- Check default fb has relevant depth/stencil buffer
- Add cases with non-default framebuffer
- Add cases with non-default framebuffer without the
relevant stencil/depth test buffer attachment.

Bug: 18100454
Change-Id: Ie66ba9aacc9d0abc94c7664ed3f268970e185030
unctional/es31fShaderImageLoadStoreTests.cpp
9fa944ae1829441ef58596701ddc9c3d07b50f04 24-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Reduce and verify fragment output PIQ test draw buffer usage.

- Check GL_MAX_DRAW_BUFFERS implementation limit and usage if shader
build fails.
- Reduce required GL_MAX_DRAW_BUFFERS from 5 to 4 in explicit location
fragment output array tests.
- Fix various max binding resource usage checks.

Bug: 18094242
Change-Id: I17e091eb1939fd7ec94789be70be5a069970b697
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
f8540a99d85b322eb826249746f08111f0137fa8 23-Oct-2014 Pyry Haulos <phaulos@google.com> Add blend barrier after first opaque quad

Advanced blending tests were missing barrier between first opaque quad
and subsequent blended quads. This change adds BlendBarrier() call if
coherent blending is not enabled.

This change also adds fullscreen clear before rendering as framework
doesn't perform that in GLES31 module.

Bug: 18100652
Change-Id: Idd16f2fde543af885e97adf5b5c2123d7e803152
unctional/es31fAdvancedBlendTests.cpp
f66298afea59aaebe3b4ac601caf0dbfcefb4f7c 17-Oct-2014 Pyry Haulos <phaulos@google.com> Add missing barrier() to shared var test shader

Bug: 18033432
Change-Id: Id64798a196c8567828385b24ccde845b1b5efafb
unctional/es31fShaderSharedVarTests.cpp
700c8fcf7b207b35ba2bdd211f5865bcb1c0961f 16-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Add internal format query with too large/small buffer tests.

Change-Id: Iccc403b7a7d63b21a6e0ac4f505c2db656e3772c
unctional/es31fInternalFormatQueryTests.cpp
4c440d5c2b3bb7ea46ac8599bf80895b918f3fe8 16-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Check GL_OES_texture_stencil8 in dEQP stencil texture query tests.

Change-Id: If90a4d5a9f43cfc363265c78351b302be3a7ebef
unctional/es31fInternalFormatQueryTests.cpp
d0d0f16169bee87d791e637af2221c3c4071ab70 16-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Merge "Import dEQP fixes from an internal repo." into lmp-dev
79ec52223daa917719d5d0555e7d8020d6514951 15-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Import dEQP fixes from an internal repo.

* Update XFB program interface tests to match spec update in Khronos
bug 12787.
* Add tests for whole array and built-in XFB PIQ.
* Convert incorrect linkage.varying.rules.interpolation_mismatch_
negative cases to positive cases.

Change-Id: Ic5eab213f6ee7a5151220664107c6f912fd12130
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
f9825aec0f63f29d4029b71206b9cdd66d1dd737 15-Oct-2014 Pyry Haulos <phaulos@google.com> Bugfixes and mustpass update

* Fix glReadBuffer() negative test to match latest spec language.

* Remove said test from ES3.1 mustpass as it has been changed just
before release.

* Remove SSO case from mustpass that has been removed earlier from the
test code.

Change-Id: Id77f7957f503121bde6b41c12cdc0141324f28bb
unctional/es31fNegativeBufferApiTests.cpp
89a5d29adb4f831e3d22126a21e3b4f8ea74db22 13-Oct-2014 Pyry Haulos <phaulos@google.com> Fix error state leak in KHR_debug tests

Reset error state in KHR_debug callback and log test case variants
after expectError() call to avoid breaking code later in the test due
to lingering error state.

Change-Id: Iec4c67dc10d171a72a9faeb4af800fa8d6e20d79
unctional/es31fDebugTests.cpp
f6981ac458964bbfe296b497bff57c8fee8eb589 07-Oct-2014 Pyry Haulos <phaulos@google.com> Update SSO tests to follow new spec language

Upcoming ES3.1 spec revision will change the interface matching rules
slightly by disallowing flat/smooth mismatch. This change removes cases
that assumed that mismatch should work, and adds additional validation
cases to check that driver indeed gives validation and draw time errors
on such mismatch.

See Khronos bug 12630.

Change-Id: I0c77c80aa7779443df4c1dac71048f0d2a380600
unctional/es31fSeparateShaderTests.cpp
e0fd98e8b8b9ada79446555ead31f847289ffd84 02-Oct-2014 Pyry Haulos <phaulos@google.com> Fix two test bugs

* Removed invalid ES 3.0 linkage test that assumed that struct arrays
are valid varyings.

* Changed glProgramParameteri() negative API test to expect correct
error code when call was supplied non-existent program object.

Change-Id: Ib7f2f9693bdef364bc44425b5299993e702dc214
unctional/es31fNegativeShaderApiTests.cpp
e7c507d201b403965b5ab96b92ef8b333fdd7a14 01-Oct-2014 Jarkko Pöyry <jpoyry@google.com> Merge "Import changes from an internal repo." into lmp-dev
919f1341e41b3a1e31f5746b30db0f648c47b757 30-Sep-2014 Jarkko Pöyry <jpoyry@google.com> Import changes from an internal repo.

* Fix broken clipping result
* Fix invalid format-type pair in readPixels()

Change-Id: I996a9c5b340ae4d455219e57ff16d2b1456b015c
unctional/es31fTextureGatherTests.cpp
95b0f7bcca126483f7a336a16763b00e6ab8a7d1 30-Sep-2014 Pyry Haulos <phaulos@google.com> Fix sync object leak in ES3.1 debug tests.

Change-Id: Ie38485b1f7415b2aade30d02d0006a128f9ac9c9
unctional/es31fNegativeStateApiTests.cpp
7b14887ff2086b1eda33904abd7b969f2c28dd4b 29-Sep-2014 Jarkko Pöyry <jpoyry@google.com> Merge "Import fixes from an internal repo." into lmp-dev
271c2654cc44f23492888c7ef40c36c2fd810c77 27-Sep-2014 Jarkko Pöyry <jpoyry@google.com> Import fixes from an internal repo.

* Fix buffer size requirement calculation
* Fix negative tests not checking relevant extensions

Change-Id: Ibc6759b6b4f0ef811a25eef88c4b5fe5964e9349
unctional/es31fDebugTests.cpp
unctional/es31fDrawTests.cpp
unctional/es31fNegativeBufferApiTests.cpp
unctional/es31fNegativeTestShared.cpp
unctional/es31fNegativeTestShared.hpp
unctional/es31fNegativeVertexArrayApiTests.cpp
24f9049882d302a83a4788f829863f123f2aeae1 27-Sep-2014 Pyry Haulos <phaulos@google.com> Import fixes from main repo:

* Ensure input colors are valid premultiplied values in advanced
blending tests
* Limit input values in mediump fma() tests to avoid overflow
* Add necessary barrier() calls to ssbo_local_barrier tests

Change-Id: I111c58027dbdbba31047d4333dc82c10855ec75e
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fBasicComputeShaderTests.cpp
unctional/es31fShaderCommonFunctionTests.cpp
ade588f3b2b1b6d007b9681e95434dc4a4bd46ca 24-Sep-2014 Jarkko Pöyry <jpoyry@google.com> Update dEQP.

Migrate drawElements Quality Program changes from an internal repository.

Bug: 17388917

Change-Id: I754f2b4b5b077fadff210dbd8d008eeca1d5a794
unctional/es31fShaderCommonFunctionTests.cpp
unctional/es31fShaderIntegerFunctionTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureGatherTests.cpp
8852c82a1ffa4760985c17cc6875d5d521daf343 11-Sep-2014 Jarkko Poyry <jpoyry@google.com> Update dEQP.

Migrate drawElements Quality Program changes from an internal repository.

Bug: 17388917

Change-Id: I21e3f7bc75813f0510025d697d91a2554dc995d4
unctional/CMakeLists.txt
unctional/es31fBasicComputeShaderTests.cpp
unctional/es31fComputeShaderBuiltinVarTests.cpp
unctional/es31fDrawTests.cpp
unctional/es31fFboColorbufferTests.cpp
unctional/es31fFboColorbufferTests.hpp
unctional/es31fFboTestCase.cpp
unctional/es31fFboTestCase.hpp
unctional/es31fFboTestUtil.cpp
unctional/es31fFboTestUtil.hpp
unctional/es31fFunctionalTests.cpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fLayoutBindingTests.cpp
unctional/es31fOpaqueTypeIndexingTests.cpp
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fSSBOLayoutCase.cpp
unctional/es31fSampleVariableTests.cpp
unctional/es31fSeparateShaderTests.cpp
unctional/es31fShaderAtomicOpTests.cpp
unctional/es31fShaderCommonFunctionTests.cpp
unctional/es31fShaderHelperInvocationTests.cpp
unctional/es31fShaderImageLoadStoreTests.cpp
unctional/es31fShaderIntegerFunctionTests.cpp
unctional/es31fShaderMultisampleInterpolationTests.cpp
unctional/es31fShaderSharedVarTests.cpp
unctional/es31fShaderStateQueryTests.cpp
unctional/es31fShaderTextureSizeTests.cpp
unctional/es31fSynchronizationTests.cpp
unctional/es31fTessellationTests.cpp
unctional/es31fTextureFilteringTests.cpp
unctional/es31fTextureFilteringTests.hpp
unctional/es31fTextureFormatTests.cpp
3c827367444ee418f129b2c238299f49d3264554 02-Sep-2014 Jarkko Poyry <jpoyry@google.com> Import dEQP.

Import drawElements Quality Program from an internal repository.

Bug: 17388917
Change-Id: Ic109fe4a57e31b2a816113d90fbdf51a43e7abeb
MakeLists.txt
unctional/CMakeLists.txt
unctional/es31fAdvancedBlendTests.cpp
unctional/es31fAdvancedBlendTests.hpp
unctional/es31fAtomicCounterTests.cpp
unctional/es31fAtomicCounterTests.hpp
unctional/es31fBasicComputeShaderTests.cpp
unctional/es31fBasicComputeShaderTests.hpp
unctional/es31fBuiltinPrecisionTests.cpp
unctional/es31fBuiltinPrecisionTests.hpp
unctional/es31fComputeShaderBuiltinVarTests.cpp
unctional/es31fComputeShaderBuiltinVarTests.hpp
unctional/es31fDebugTests.cpp
unctional/es31fDebugTests.hpp
unctional/es31fDrawTests.cpp
unctional/es31fDrawTests.hpp
unctional/es31fFboNoAttachmentTests.cpp
unctional/es31fFboNoAttachmentTests.hpp
unctional/es31fFboTestUtil.cpp
unctional/es31fFboTestUtil.hpp
unctional/es31fFunctionalTests.cpp
unctional/es31fFunctionalTests.hpp
unctional/es31fGeometryShaderTests.cpp
unctional/es31fGeometryShaderTests.hpp
unctional/es31fIndirectComputeDispatchTests.cpp
unctional/es31fIndirectComputeDispatchTests.hpp
unctional/es31fIntegerStateQueryTests.cpp
unctional/es31fIntegerStateQueryTests.hpp
unctional/es31fInternalFormatQueryTests.cpp
unctional/es31fInternalFormatQueryTests.hpp
unctional/es31fLayoutBindingTests.cpp
unctional/es31fLayoutBindingTests.hpp
unctional/es31fMultisampleShaderRenderCase.cpp
unctional/es31fMultisampleShaderRenderCase.hpp
unctional/es31fMultisampleTests.cpp
unctional/es31fMultisampleTests.hpp
unctional/es31fNegativeBufferApiTests.cpp
unctional/es31fNegativeBufferApiTests.hpp
unctional/es31fNegativeFragmentApiTests.cpp
unctional/es31fNegativeFragmentApiTests.hpp
unctional/es31fNegativeShaderApiTests.cpp
unctional/es31fNegativeShaderApiTests.hpp
unctional/es31fNegativeStateApiTests.cpp
unctional/es31fNegativeStateApiTests.hpp
unctional/es31fNegativeTestShared.cpp
unctional/es31fNegativeTestShared.hpp
unctional/es31fNegativeTextureApiTests.cpp
unctional/es31fNegativeTextureApiTests.hpp
unctional/es31fNegativeVertexArrayApiTests.cpp
unctional/es31fNegativeVertexArrayApiTests.hpp
unctional/es31fOpaqueTypeIndexingTests.cpp
unctional/es31fOpaqueTypeIndexingTests.hpp
unctional/es31fProgramInterfaceDefinition.cpp
unctional/es31fProgramInterfaceDefinition.hpp
unctional/es31fProgramInterfaceDefinitionUtil.cpp
unctional/es31fProgramInterfaceDefinitionUtil.hpp
unctional/es31fProgramInterfaceQueryTestCase.cpp
unctional/es31fProgramInterfaceQueryTestCase.hpp
unctional/es31fProgramInterfaceQueryTests.cpp
unctional/es31fProgramInterfaceQueryTests.hpp
unctional/es31fProgramUniformTests.cpp
unctional/es31fProgramUniformTests.hpp
unctional/es31fSSBOArrayLengthTests.cpp
unctional/es31fSSBOArrayLengthTests.hpp
unctional/es31fSSBOLayoutCase.cpp
unctional/es31fSSBOLayoutCase.hpp
unctional/es31fSSBOLayoutTests.cpp
unctional/es31fSSBOLayoutTests.hpp
unctional/es31fSampleShadingTests.cpp
unctional/es31fSampleShadingTests.hpp
unctional/es31fSampleVariableTests.cpp
unctional/es31fSampleVariableTests.hpp
unctional/es31fSeparateShaderTests.cpp
unctional/es31fSeparateShaderTests.hpp
unctional/es31fShaderAtomicOpTests.cpp
unctional/es31fShaderAtomicOpTests.hpp
unctional/es31fShaderBuiltinConstantTests.cpp
unctional/es31fShaderBuiltinConstantTests.hpp
unctional/es31fShaderCommonFunctionTests.cpp
unctional/es31fShaderCommonFunctionTests.hpp
unctional/es31fShaderHelperInvocationTests.cpp
unctional/es31fShaderHelperInvocationTests.hpp
unctional/es31fShaderImageLoadStoreTests.cpp
unctional/es31fShaderImageLoadStoreTests.hpp
unctional/es31fShaderIntegerFunctionTests.cpp
unctional/es31fShaderIntegerFunctionTests.hpp
unctional/es31fShaderMultisampleInterpolationStateQueryTests.cpp
unctional/es31fShaderMultisampleInterpolationStateQueryTests.hpp
unctional/es31fShaderMultisampleInterpolationTests.cpp
unctional/es31fShaderMultisampleInterpolationTests.hpp
unctional/es31fShaderPackingFunctionTests.cpp
unctional/es31fShaderPackingFunctionTests.hpp
unctional/es31fShaderSharedVarTests.cpp
unctional/es31fShaderSharedVarTests.hpp
unctional/es31fShaderStateQueryTests.cpp
unctional/es31fShaderStateQueryTests.hpp
unctional/es31fShaderTextureSizeTests.cpp
unctional/es31fShaderTextureSizeTests.hpp
unctional/es31fStencilTexturingTests.cpp
unctional/es31fStencilTexturingTests.hpp
unctional/es31fSynchronizationTests.cpp
unctional/es31fSynchronizationTests.hpp
unctional/es31fTessellationGeometryInteractionTests.cpp
unctional/es31fTessellationGeometryInteractionTests.hpp
unctional/es31fTessellationTests.cpp
unctional/es31fTessellationTests.hpp
unctional/es31fTextureBufferTests.cpp
unctional/es31fTextureBufferTests.hpp
unctional/es31fTextureFormatTests.cpp
unctional/es31fTextureFormatTests.hpp
unctional/es31fTextureGatherTests.cpp
unctional/es31fTextureGatherTests.hpp
unctional/es31fTextureLevelStateQueryTests.cpp
unctional/es31fTextureLevelStateQueryTests.hpp
unctional/es31fTextureMultisampleTests.cpp
unctional/es31fTextureMultisampleTests.hpp
unctional/es31fTextureSpecificationTests.cpp
unctional/es31fTextureSpecificationTests.hpp
unctional/es31fUniformBlockTests.cpp
unctional/es31fUniformBlockTests.hpp
unctional/es31fUniformLocationTests.cpp
unctional/es31fUniformLocationTests.hpp
unctional/es31fVertexAttributeBindingStateQueryTests.cpp
unctional/es31fVertexAttributeBindingStateQueryTests.hpp
unctional/es31fVertexAttributeBindingTests.cpp
unctional/es31fVertexAttributeBindingTests.hpp
les31.cmake
cripts/gen-implicit-conversions.py
cripts/genutil.py
tress/CMakeLists.txt
tress/es31sDrawTests.cpp
tress/es31sDrawTests.hpp
tress/es31sStressTests.cpp
tress/es31sStressTests.hpp
tress/es31sTessellationGeometryInteractionTests.cpp
tress/es31sTessellationGeometryInteractionTests.hpp
tress/es31sVertexAttributeBindingTests.cpp
tress/es31sVertexAttributeBindingTests.hpp
es31Context.cpp
es31Context.hpp
es31InfoTests.cpp
es31InfoTests.hpp
es31TestCase.cpp
es31TestCase.hpp
es31TestCaseWrapper.cpp
es31TestCaseWrapper.hpp
es31TestPackage.cpp
es31TestPackage.hpp
es31TestPackageEntry.cpp