Pyry Haulos [Thu, 22 Jan 2015 17:48:55 +0000 (17:48 +0000)]
Merge "Support platform attributes in eglu::NativeDisplay"
Pyry Haulos [Wed, 21 Jan 2015 22:54:52 +0000 (14:54 -0800)]
Support platform attributes in eglu::NativeDisplay
This change adds getPlatformAttributes() to eglu::NativeDisplay. Certain
platforms may need to pass extra attributes to eglGetPlatformDisplay()
and can now implement this function to achieve that.
Change-Id: I98be8145634c458d36fff7d2474300ac7a8917b2
Jarkko Pöyry [Fri, 9 Jan 2015 20:08:20 +0000 (12:08 -0800)]
Return info bundle on DeqpInstrumentation exception.
Change-Id: I1c6ddc85af2d3e832d7dfa7698dd38cceda62cf3
Pyry Haulos [Fri, 19 Dec 2014 23:45:39 +0000 (15:45 -0800)]
Add support for dynamic loading of EGL entry points
This change adds eglu::Library abstraction for accessing any and all EGL
entry points. All code has been changed to use that interface instead of
calling EGL functions directly.
Having code use abstract interface instead of direct entry points allows
always builing EGL code paths and dynamically loading them if supported
by the environment. In the future analysis and logging facilities could
be layered on that interface.
This change required lots of small changes across all EGL code. As part
of that refactoring work tcu::egl utilities were finally put to rest for
good. All uses of glw.h were also removed from the EGL module.
Bug:
18269587
Change-Id: Ic81e24b7eecb9813d00fba5c65144d4f59a550e8
Mika Isojärvi [Thu, 15 Jan 2015 00:03:12 +0000 (00:03 +0000)]
Merge "Add class to build seeds from variables."
Mika Isojärvi [Fri, 9 Jan 2015 19:01:57 +0000 (11:01 -0800)]
Add class to build seeds from variables.
Add simple stream like seed builder utility class for building seeds
from data types. This can be used to generate a seed for the rng from
the parameters of the test case instead of using name of the test case.
Change-Id: Ib276dc54a55c8a38878a220b17e3f9a2750cb774
Jarkko Pöyry [Tue, 13 Jan 2015 23:00:23 +0000 (23:00 +0000)]
Merge "Remove error suppression from DebugTest expectMessage()."
Jarkko Pöyry [Tue, 13 Jan 2015 23:00:00 +0000 (23:00 +0000)]
Merge "Fix delete_active.transform_feedback case."
Jarkko Pöyry [Tue, 13 Jan 2015 02:11:08 +0000 (18:11 -0800)]
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
Jarkko Pöyry [Mon, 12 Jan 2015 22:52:50 +0000 (14:52 -0800)]
Fix delete_active.transform_feedback case.
Set buffer binding point and set up active program that
has captured outputs before calling glBeginTransformFeedback.
Bug:
18915042
Change-Id: I6e5e7626a4752744445affa94c2661854603ea79
Jarkko Pöyry [Mon, 12 Jan 2015 21:52:22 +0000 (13:52 -0800)]
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
Pyry Haulos [Fri, 9 Jan 2015 19:18:12 +0000 (19:18 +0000)]
Merge "Remove tcu::Surface::getSubAccess()"
Pyry Haulos [Fri, 9 Jan 2015 19:01:17 +0000 (11:01 -0800)]
Update libpng URL in external/fetch_sources.py
libpng entry was pointing to a non-existent file, and old version with
integer overflow vulnerability.
Change-Id: I1d6baaab6d6e44e581b6ceb70bcfc315a78988a8
Mika Isojärvi [Fri, 9 Jan 2015 18:37:55 +0000 (18:37 +0000)]
Merge "Expose RGB999E5 packing function from tcu::Texture."
Mika Isojärvi [Fri, 9 Jan 2015 01:48:01 +0000 (17:48 -0800)]
Expose RGB999E5 packing function from tcu::Texture.
Make packRGB999E5 function available outside of tcuTexture.cpp.
Change-Id: Id714766d9d7269875c8afe8842976677e2935f23
Mika Isojärvi [Fri, 9 Jan 2015 00:23:58 +0000 (00:23 +0000)]
Merge "Add GL_EXT_copy_image support to GL wrappers."
Mika Isojärvi [Fri, 9 Jan 2015 00:15:07 +0000 (00:15 +0000)]
Merge "Add function to map GL compressed tex format to tcu."
Mika Isojärvi [Fri, 9 Jan 2015 00:11:32 +0000 (16:11 -0800)]
Add GL_EXT_copy_image support to GL wrappers.
Add GL_EXT_copy_image to list of extensions that should be supported by
OpenGL wrapper.
Change-Id: I554b1305f998be95ebafbbc58926344d07c0c243
Mika Isojärvi [Fri, 9 Jan 2015 00:08:45 +0000 (00:08 +0000)]
Merge "Add default texture decompression parameter."
Mika Isojärvi [Thu, 8 Jan 2015 23:58:49 +0000 (15:58 -0800)]
Add default texture decompression parameter.
Change-Id: Id35d228b382d4619b914049cb50c6949914255a0
Mika Isojärvi [Thu, 8 Jan 2015 23:42:40 +0000 (15:42 -0800)]
Add function to map GL compressed tex format to tcu.
Add function that can map OpenGL compressed texture formats to tcu
compressed texture format.
Change-Id: I0867e1e0445821b0a956e695bedf9acb6667da42
Mika Isojärvi [Thu, 8 Jan 2015 23:20:07 +0000 (15:20 -0800)]
Expose function for mapping GL cubemap face to tcu::CubeFace
Expose and rename function to map GL cubemap face target to tcu::CubeFace.
Change-Id: Ie2a3220c496255dfde18968128edaf20c90d22a1
Pyry Haulos [Thu, 8 Jan 2015 21:30:57 +0000 (13:30 -0800)]
Remove tcu::Surface::getSubAccess()
Functionality is already provided by tcu::getSubregion(access).
Bug:
18862074
Change-Id: I5160c31b2fba168dd1ce944ef8389a86f4a8bbba
Pyry Haulos [Thu, 8 Jan 2015 21:16:54 +0000 (13:16 -0800)]
Do not touch GL error state in postIterate()
EGL implementation of RenderContext::postIterate() calls glFlush() when
rendering into a pixmap or pbuffer. This change removes erroneus
glGetError() call, as test case may want to carry error state over
iterate() calls.
Bug:
18915339
Change-Id: Ic8f4a1df46f74e8375e4f346daa3d2288f9ee39a
Jarkko Pöyry [Thu, 8 Jan 2015 20:40:21 +0000 (20:40 +0000)]
am
ed1f0c93: (-s ours) am
45fe81cf: am
3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
* commit '
ed1f0c9396408c65bf33edcc1207e958251ac782':
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
Jarkko Pöyry [Thu, 8 Jan 2015 20:35:41 +0000 (20:35 +0000)]
am
45fe81cf: am
3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
* commit '
45fe81cf514655eac065fbefd6b8335aa632108d':
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
Jarkko Pöyry [Thu, 8 Jan 2015 20:21:06 +0000 (20:21 +0000)]
am
3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
* commit '
3cc483b18a439f3c4484601d351ea541a428b9c5':
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
Chih-Hung Hsieh [Thu, 8 Jan 2015 02:08:32 +0000 (02:08 +0000)]
am
aa771b2c: am
92582aed: am
e641e248: Use gcc for mips target.
* commit '
aa771b2c3bb9bdceb3429fbd5ec7f4b50c591f02':
Use gcc for mips target.
Chih-Hung Hsieh [Thu, 8 Jan 2015 02:02:15 +0000 (02:02 +0000)]
am
92582aed: am
e641e248: Use gcc for mips target.
* commit '
92582aedc8542de989b289f14ba5d5635889a125':
Use gcc for mips target.
Chih-Hung Hsieh [Thu, 8 Jan 2015 01:50:22 +0000 (01:50 +0000)]
am
e641e248: Use gcc for mips target.
* commit '
e641e248d934c26847e48fc0d7854dcb18802f19':
Use gcc for mips target.
Pyry Haulos [Wed, 7 Jan 2015 23:31:35 +0000 (23:31 +0000)]
Merge "Add script for generating test case list files"
Chih-Hung Hsieh [Wed, 7 Jan 2015 23:29:24 +0000 (15:29 -0800)]
Use gcc for mips target.
Will enable clang mips compilation when the real error is fixed.
BUG:
18934246
Change-Id: If4474e1c6e4af794e4d49cbdec34bd2da8e70fb2
Pyry Haulos [Wed, 7 Jan 2015 21:22:32 +0000 (13:22 -0800)]
Fix invalid zero-sized array declaration
When compiling dEQP EGL support and dynamic GL function loading,
eglu::createStaticESLibrary() ended up having an empty array
declaration, which is not allowed in C++.
Change-Id: Ifb40aea5fcdf9001420c575cf677789427411100
Jarkko Pöyry [Wed, 7 Jan 2015 21:13:13 +0000 (13:13 -0800)]
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.
Bug:
18917835
Change-Id: I15c6925dfb79fa439d2e21db460ff7507ab066c1
Pyry Haulos [Wed, 7 Jan 2015 19:50:55 +0000 (11:50 -0800)]
Add script for generating test case list files
This script builds dEQP to a temporary location, generates test case
lists in XML form, and copies them to a destination directory. Useful
with Cherry for example.
Change-Id: I00c7543268e8bfec7c31f4aaaba060c6c4802995
Jarkko Pöyry [Tue, 6 Jan 2015 21:02:21 +0000 (21:02 +0000)]
am
88863180: am
b7dc3b73: Remove broken record_variable_selection test from MR1 must-pass.
* commit '
8886318090daae0f81c6c84d328755d0839b7281':
Remove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Tue, 6 Jan 2015 20:56:35 +0000 (20:56 +0000)]
am
b7dc3b73: Remove broken record_variable_selection test from MR1 must-pass.
* commit '
b7dc3b735541fbe6bca15b6d69afb6eaf34f7fc9':
Remove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Tue, 6 Jan 2015 20:41:02 +0000 (12:41 -0800)]
Remove broken record_variable_selection test from MR1 must-pass.
tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.
Bug:
18917835
Change-Id: Ic1a3dd56b98e4ed0d71292f6727a6fe5d0ce291b
Mika Isojärvi [Tue, 6 Jan 2015 02:24:52 +0000 (02:24 +0000)]
am
dd7e6963: am
7f94bf05: Remove failing random ubo test from must pass list.
* commit '
dd7e6963b818133424bdfb527bde21e50e755a10':
Remove failing random ubo test from must pass list.
Mika Isojärvi [Tue, 6 Jan 2015 02:20:38 +0000 (02:20 +0000)]
am
7f94bf05: Remove failing random ubo test from must pass list.
* commit '
7f94bf05ab808862ba69c48b4966db456539f5d6':
Remove failing random ubo test from must pass list.
Mika Isojärvi [Tue, 6 Jan 2015 00:00:02 +0000 (16:00 -0800)]
Remove failing random ubo test from must pass list.
Remove uniform buffer object test, that was killed by oomkiller from
must pass list.
Bug:
18707566
Change-Id: I16e09a160fe18f2c7180a293438052fe658e4ec2
Jarkko Pöyry [Tue, 16 Dec 2014 19:33:56 +0000 (11:33 -0800)]
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
Jarkko Pöyry [Mon, 5 Jan 2015 23:00:00 +0000 (23:00 +0000)]
Merge "Add EXT_primitive_bounding_box tests."
Jarkko Pöyry [Mon, 17 Nov 2014 22:21:54 +0000 (14:21 -0800)]
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
Jarkko Pöyry [Tue, 30 Dec 2014 18:57:41 +0000 (18:57 +0000)]
am
949be649: am
1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
* commit '
949be649c62281818b9e55d6cd3ad8e6bd317ba1':
Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
Jarkko Pöyry [Tue, 30 Dec 2014 18:52:57 +0000 (18:52 +0000)]
am
1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
* commit '
1029ba1f311daab764fa4e54f0c2a57124522ad0':
Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
Jarkko Pöyry [Tue, 30 Dec 2014 03:36:59 +0000 (19:36 -0800)]
Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
A bugfix to make unsized SRGB format with UNSIGNED_BYTE type renderable
on texture targets erroneously caused test cases to expect same
renderablity on RBO targets as well. RBOs cannot be created with an
unsized internal formats. This change removes the erroneously added
expectation of renderablity from RBO targets.
Bug:
18755796
Change-Id: I8beb906ebccc1305fa910f18f355121623a1aca1
Jarkko Pöyry [Fri, 12 Dec 2014 02:22:05 +0000 (18:22 -0800)]
Support parallel build and install in on-device apk scripts.
Add -p flag to build.py to build native libs in parallel. Add -p
flag to install.py to install to multiple devices in parallel.
Change-Id: I042de5eae321e61455d330949c7f07577725ba15
Jarkko Pöyry [Wed, 17 Dec 2014 01:20:14 +0000 (01:20 +0000)]
Merge "Fix GLES2 negative test issues."
Jarkko Pöyry [Wed, 17 Dec 2014 01:07:56 +0000 (17:07 -0800)]
Fix GLES2 negative test issues.
- Check GL_OES_fbo_render_mipmap extension in framebuffer_texture2d negative
test.
- Check GL_EXT_draw_buffers in builtin_variable.max_draw_buffers_* tests.
- Fix invalid uniform location check in get_uniformfv negative state test.
Bug:
18620565
Change-Id: I2158a10ca859e3c40219bd324e7a02c0ff10e42b
Jarkko Pöyry [Tue, 16 Dec 2014 22:11:01 +0000 (14:11 -0800)]
Fix GLES2 negative texture api tests.
- Remove broken compressedtexsubimage2d_invalid_format test. Function is not
required to generate INVALID_ENUM on invalid format. Spec only states that
format must match the target texture format or INVALID_OPERATION.
- Remove broken generatemipmap_invalid_target_bind test.
- Add npot extension check to generatemipmap_npot_wdt_hgt test.
- Add GL_EXT_texture_compression_s3tc and GL_IMG_texture_compression_pvrtc
format pretty-printing.
Bug:
18770284
Change-Id: I9c2c8d059b04eb51885062e9f0b78c2254050521
Jarkko Pöyry [Mon, 15 Dec 2014 22:50:57 +0000 (22:50 +0000)]
am
08b5461b: am
6105d36c: Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
* commit '
08b5461b39b267b82f0695e4cbed85ba1c0e65c5':
Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
Jarkko Pöyry [Mon, 15 Dec 2014 22:46:27 +0000 (22:46 +0000)]
am
6105d36c: Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
* commit '
6105d36c20b890fe795a9a412db4bdb0ed6f1198':
Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
Jarkko Pöyry [Mon, 15 Dec 2014 21:57:18 +0000 (13:57 -0800)]
Require renderability of SRGB,UNSIGNED_BYTE from NV_sRGB_formats.
NV_sRGB_formats extension makes sized format SRGB8 color-renderable but does
not define any unsized format to be color-renderable. Assume unsized SRGB
format with UNSIGNED_BYTE type is implied to be color-renderable.
Bug:
18755796
Change-Id: I7d083aa9a474e1cdd784ded02178ffbad4a79cdb
Pyry Haulos [Fri, 12 Dec 2014 20:22:04 +0000 (20:22 +0000)]
am
45f58e13: am
2d015902: Remove known failures from L-MR1 mustpass
* commit '
45f58e13cec58e71fd2a6f163d80974f85549e2b':
Remove known failures from L-MR1 mustpass
Pyry Haulos [Fri, 12 Dec 2014 17:10:04 +0000 (17:10 +0000)]
am
2d015902: Remove known failures from L-MR1 mustpass
* commit '
2d015902f818576a1a09f704b1bb9c3bae2a343c':
Remove known failures from L-MR1 mustpass
Pyry Haulos [Thu, 11 Dec 2014 22:26:27 +0000 (14:26 -0800)]
Remove known failures from L-MR1 mustpass
This change removes cases failing due to minor driver issues that won't
be fixed by MR1 release.
Bug:
18707566
Bug:
17665415
Change-Id: If0f3ba19d848ff3c35378cf4ca32a0b1d37c751f
Jarkko Pöyry [Wed, 10 Dec 2014 21:56:24 +0000 (21:56 +0000)]
am
4924e58e: am
1166935c: Merge "Fix program leak in sglrGLContext CreateProgram on build failure." into lmp-mr1-dev
* commit '
4924e58edb9283559302aa1969f2d5823ed0e963':
Fix program leak in sglrGLContext CreateProgram on build failure.
Jarkko Pöyry [Wed, 10 Dec 2014 21:56:23 +0000 (21:56 +0000)]
am
78add1e6: am
664e0500: Fix atomic min and max signed value verification.
* commit '
78add1e6aeb4dfd79b65f39c1ec4c20c7a687126':
Fix atomic min and max signed value verification.
Jarkko Pöyry [Wed, 10 Dec 2014 03:33:40 +0000 (03:33 +0000)]
am
1166935c: Merge "Fix program leak in sglrGLContext CreateProgram on build failure." into lmp-mr1-dev
* commit '
1166935ce437c0fe729fa8d8c001dbdecdf106da':
Fix program leak in sglrGLContext CreateProgram on build failure.
Jarkko Pöyry [Wed, 10 Dec 2014 03:33:40 +0000 (03:33 +0000)]
am
664e0500: Fix atomic min and max signed value verification.
* commit '
664e0500b4d1458fae75baf99cc4368442a0f370':
Fix atomic min and max signed value verification.
Jarkko Pöyry [Wed, 10 Dec 2014 00:21:01 +0000 (00:21 +0000)]
Merge "Fix program leak in sglrGLContext CreateProgram on build failure." into lmp-mr1-dev
Jarkko Pöyry [Wed, 10 Dec 2014 00:03:30 +0000 (16:03 -0800)]
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
Jarkko Pöyry [Tue, 9 Dec 2014 00:56:52 +0000 (00:56 +0000)]
am
ae2269a2: am
47b9d7f9: Merge "Relax shader derivative test verification." into lmp-mr1-dev
* commit '
ae2269a28139f7dfa557f6b268ca8d9e99b58eba':
Relax shader derivative test verification.
Pyry Haulos [Tue, 9 Dec 2014 00:56:51 +0000 (00:56 +0000)]
am
f3cfb67d: am
a7438f76: Fix bug in handling CRLF line endings in ShaderLibrary
* commit '
f3cfb67d7ad1999cdfda7ef857359eaba4f05c37':
Fix bug in handling CRLF line endings in ShaderLibrary
Jarkko Pöyry [Mon, 8 Dec 2014 22:07:33 +0000 (14:07 -0800)]
Fix program leak in sglrGLContext CreateProgram on build failure.
Bug:
18671009
Change-Id: Iae17830bec4e213853d7079f42c01c7b2bf48821
Jarkko Pöyry [Mon, 8 Dec 2014 19:17:55 +0000 (19:17 +0000)]
am
47b9d7f9: Merge "Relax shader derivative test verification." into lmp-mr1-dev
* commit '
47b9d7f998a5bc6fe124ee1c420a1e122b91d90e':
Relax shader derivative test verification.
Pyry Haulos [Mon, 8 Dec 2014 19:17:46 +0000 (19:17 +0000)]
am
a7438f76: Fix bug in handling CRLF line endings in ShaderLibrary
* commit '
a7438f761960032e1150e6e1b30990062136bc15':
Fix bug in handling CRLF line endings in ShaderLibrary
Jarkko Pöyry [Fri, 5 Dec 2014 21:21:47 +0000 (21:21 +0000)]
am
d8fdba48: am
13db3557: Remove dEQP workaround for GCC prescott internal compiler error.
* commit '
d8fdba486c2d2ff46025497ddb763fbf84d5a74d':
Remove dEQP workaround for GCC prescott internal compiler error.
Jarkko Pöyry [Fri, 5 Dec 2014 21:18:53 +0000 (21:18 +0000)]
Merge "Relax shader derivative test verification." into lmp-mr1-dev
Jarkko Pöyry [Fri, 5 Dec 2014 20:58:24 +0000 (20:58 +0000)]
am
13db3557: Remove dEQP workaround for GCC prescott internal compiler error.
* commit '
13db3557aa1b5809f50cb214e848866f3e80db6c':
Remove dEQP workaround for GCC prescott internal compiler error.
Jarkko Pöyry [Fri, 5 Dec 2014 20:41:28 +0000 (12:41 -0800)]
Remove dEQP workaround for GCC prescott internal compiler error.
Bug:
18178209
Bug:
18171557
Bug:
18174291
Change-Id: I9bfab4be7ad8336fe1d74fbaa633663e6b3f0c4f
Jarkko Pöyry [Thu, 4 Dec 2014 21:36:25 +0000 (13:36 -0800)]
Relax shader derivative test verification.
- Disable GL_DITHER. Dithering only adds noise to result images.
- Add to dfdx and dfdy cases a flush-to-zero aware verification phase after
preliminary verification to check if seemingly invalid derivatives could
be caused by flushing or other relaxations allowed by the spec. This phase
is NOT added to the fwidth cases since they operate with significantly higher
thresholds which are likely to hide flushing anyway.
Bug:
18539021
Change-Id: Ic17909d30de25c8bae9d9996ce8df15c9ad5bc5e
Pyry Haulos [Fri, 21 Nov 2014 22:56:21 +0000 (14:56 -0800)]
Generate EGL framework .inl files from Khronos XML registry
This change adds support for producing auto-generated parts of the EGL
framework from official Khronos XML API description.
The change comes with some refactoring of opengl generator scripts as
common code is moved to scripts/khr_util.
Bug:
18273960
Change-Id: I4da9a1a5fae02854e3de3facfc93b325e3087502
Pyry Haulos [Wed, 3 Dec 2014 21:06:13 +0000 (13:06 -0800)]
Add GL_EXT_shader_implicit_conversions to ES3.1 wrapper ctx
Underlying GL core context always supports some fashion of implicit
conversions. Thus supporting GL_EXT_shader_implicit_conversions requires
only advertising the extension.
Change-Id: I39be9eab5bb7ab32a4738afe73b374cc059e81b8
Pyry Haulos [Tue, 2 Dec 2014 23:29:08 +0000 (15:29 -0800)]
Fix bug in handling CRLF line endings in ShaderLibrary
glsShaderLibrary.cpp failed to strip first empty line from shader strings
if .test file was using CRLF line endings. That was leading to further
issues later on.
Bug:
18595005
Change-Id: Ia783c2bed4c838877c80f7c51bcf3fb021b75c8f
Jarkko Pöyry [Tue, 2 Dec 2014 06:47:10 +0000 (06:47 +0000)]
am
27cb77a6: am
1bfa102d: Fix incompatible interpolation interfaces in random SSO tests.
* commit '
27cb77a6a5f40e497359a74f530fb5bb39e4ce67':
Fix incompatible interpolation interfaces in random SSO tests.
Jarkko Pöyry [Tue, 2 Dec 2014 03:50:24 +0000 (03:50 +0000)]
am
1bfa102d: Fix incompatible interpolation interfaces in random SSO tests.
* commit '
1bfa102df7c2678fa4ac421fa29780848c2c12f3':
Fix incompatible interpolation interfaces in random SSO tests.
Jarkko Pöyry [Mon, 1 Dec 2014 23:42:49 +0000 (15:42 -0800)]
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
Pyry Haulos [Mon, 1 Dec 2014 20:07:58 +0000 (20:07 +0000)]
am
792cada8: am
edd21bd9: Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev
* commit '
792cada8a638ee3948c86d9cf6eb511ac74bbe46':
Remove sin/cos workaround for libhoudini
Pyry Haulos [Mon, 1 Dec 2014 20:00:51 +0000 (20:00 +0000)]
am
edd21bd9: Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev
* commit '
edd21bd9be5debea460b935fb7277aeeed606e78':
Remove sin/cos workaround for libhoudini
Jarkko Pöyry [Mon, 1 Dec 2014 20:00:39 +0000 (20:00 +0000)]
am
521baaa3: am
2acb6d46: Fix negative layout_binding cases failing on low implementation limits.
* commit '
521baaa30763b29d5e99d8d36e509200dcda4f6b':
Fix negative layout_binding cases failing on low implementation limits.
Jarkko Pöyry [Mon, 1 Dec 2014 19:48:27 +0000 (19:48 +0000)]
am
2acb6d46: Fix negative layout_binding cases failing on low implementation limits.
* commit '
2acb6d4631d6d7084ebe4fb762003bcde1aae336':
Fix negative layout_binding cases failing on low implementation limits.
Pyry Haulos [Mon, 1 Dec 2014 19:19:18 +0000 (19:19 +0000)]
Merge "Remove sin/cos workaround for libhoudini" into lmp-mr1-dev
Jarkko Pöyry [Thu, 27 Nov 2014 01:36:05 +0000 (17:36 -0800)]
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
Kalle Raita [Sat, 22 Nov 2014 00:58:07 +0000 (16:58 -0800)]
Add Android build arg for java API for LaunchControl integration.
Change-Id: I8e10eac0d460e490840740f34193639b78202a58
Pyry Haulos [Fri, 21 Nov 2014 00:11:50 +0000 (16:11 -0800)]
Remove sin/cos workaround for libhoudini
Bug:
18093947
Change-Id: I20dea41a38245ccc6318275207d7981973714cf9
Pyry Haulos [Thu, 20 Nov 2014 22:29:20 +0000 (14:29 -0800)]
Use git commit id as release identifier in development builds
This change adds support for using latest git commit id as release name
and id. This is done only if:
1) No existing release info file is detected. Release script will
generate that file so actual release builds won't accidentally use
development identifiers.
2) .git dir is detected.
3) Python binary is found, so this change doesn't add mandatory
build-time dependency to python.
Bug:
18445909
Change-Id: I3253b8b05f14e507774bb43331872607ffe6c1d0
Pyry Haulos [Thu, 20 Nov 2014 21:23:50 +0000 (21:23 +0000)]
am
59b1950b: Fix ambiguous mediump int write in shared_var.atomic tests automerge: 75be7fa
* commit '
59b1950b68a8b09c5c51ff22267dab958fd22d1a':
Fix ambiguous mediump int write in shared_var.atomic tests
Pyry Haulos [Thu, 20 Nov 2014 21:17:15 +0000 (21:17 +0000)]
Fix ambiguous mediump int write in shared_var.atomic tests
automerge: 75be7fa
* commit '
75be7fae1949a801c080530de53bdf123abb517a':
Fix ambiguous mediump int write in shared_var.atomic tests
Pyry Haulos [Thu, 20 Nov 2014 21:07:05 +0000 (21:07 +0000)]
am
4789df79: Update mustpass XML automerge: 155e5e6
* commit '
4789df790eb9d9bad8121ab01f2a1caaa9ff4e2d':
Update mustpass XML
Pyry Haulos [Thu, 20 Nov 2014 21:00:10 +0000 (21:00 +0000)]
Update mustpass XML
automerge: 155e5e6
* commit '
155e5e6729cfc1f890d6d0de338d7c1f5a1f0cec':
Update mustpass XML
Pyry Haulos [Wed, 19 Nov 2014 23:26:10 +0000 (15:26 -0800)]
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
Pyry Haulos [Wed, 19 Nov 2014 21:17:03 +0000 (13:17 -0800)]
Update mustpass XML
Bug:
18434194
Change-Id: I7fe9ae6e25d5dc905dace2c8a2c171f80dc7171b
Jarkko Pöyry [Wed, 19 Nov 2014 20:15:06 +0000 (20:15 +0000)]
am
7d8acc71: am
8c6516bd: Merge "Remove implied \'[0]\' check in XFB array element resource name tests." into lmp-mr1-dev
* commit '
7d8acc717af76cf4194ae0c7059b8d6b4df775ea':
Remove implied '[0]' check in XFB array element resource name tests.
Pyry Haulos [Wed, 19 Nov 2014 20:10:34 +0000 (20:10 +0000)]
am
5193012e: am
54edf543: Add cube gather tests that avoid corners; remove D32F from mustpass
* commit '
5193012e7d83401cf5b6a698f0efe2ebdba7dc99':
Add cube gather tests that avoid corners; remove D32F from mustpass
Jarkko Pöyry [Wed, 19 Nov 2014 20:09:41 +0000 (20:09 +0000)]
am
8c6516bd: Merge "Remove implied \'[0]\' check in XFB array element resource name tests." into lmp-mr1-dev
* commit '
8c6516bd099f84750fc605807b833f36ab459343':
Remove implied '[0]' check in XFB array element resource name tests.
Pyry Haulos [Wed, 19 Nov 2014 20:05:59 +0000 (20:05 +0000)]
am
54edf543: Add cube gather tests that avoid corners; remove D32F from mustpass
* commit '
54edf5431a35b399c5f6d3141be07a33d73c3b8b':
Add cube gather tests that avoid corners; remove D32F from mustpass
Jarkko Pöyry [Wed, 19 Nov 2014 20:00:16 +0000 (20:00 +0000)]
Merge "Remove implied '[0]' check in XFB array element resource name tests." into lmp-mr1-dev
Pyry Haulos [Wed, 19 Nov 2014 19:31:46 +0000 (11:31 -0800)]
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