History log of /external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
653ad0e8a4209754304cbd5b5ceb4fdc7b29c01a 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix merged <space><tab> in C/C++ files

Change-Id: Ice7c1ae46a88c941c5834f9d34fcd4822c30debc
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
6a1979c5e502d1403cbccf122b6dab8dd05b3c63 19-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Add beginsWith/endsWith to deStringUtil.hpp.

Change-Id: Id538b11e6cd8b717f814166a6497c500e12a675b
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
d6148171f88da1301f053e2e0236afc69416137c 16-Mar-2015 Jarkko Pöyry <jpoyry@google.com> Move array utils out of deDefs.

Change-Id: I77748493f96d9a25288f903eff1eebcafaa9b2c8
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.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
/external/deqp/modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp