platform/upstream/VK-GL-CTS.git
9 years agoForce sampling to single texture level in copy image tests
Mika Isojärvi [Tue, 9 Jun 2015 23:03:31 +0000 (16:03 -0700)]
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

9 years agoMerge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into...
Jarkko Pöyry [Wed, 10 Jun 2015 15:21:08 +0000 (15:21 +0000)]
Merge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into mnc-dev

9 years agoMerge "Allow any int -> float rounding in state query utils." into mnc-dev
Jarkko Pöyry [Wed, 10 Jun 2015 15:19:41 +0000 (15:19 +0000)]
Merge "Allow any int -> float rounding in state query utils." into mnc-dev

9 years agoAllow any int -> float rounding in state query utils.
Jarkko Pöyry [Tue, 2 Jun 2015 03:58:39 +0000 (20:58 -0700)]
Allow any int -> float rounding in state query utils.

Bug: 21326686
Change-Id: I5d771e6e7f3961a0d2302952b1a6a020bce45a41

9 years agoAllow XXX_framebuffer_no_attachments limits to exceed texture limits.
Jarkko Pöyry [Tue, 9 Jun 2015 21:22:13 +0000 (14:22 -0700)]
Allow XXX_framebuffer_no_attachments limits to exceed texture limits.

Bug: 21732003
Change-Id: Ic242ce22c19751629fe90225328e3317968dd076

9 years agoDO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.
Jarkko Pöyry [Mon, 1 Jun 2015 23:42:47 +0000 (16:42 -0700)]
DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

Bug: 21326686
Bug: 19144698
Change-Id: I39d46ff18eccb8b3d148cb05cb2cf7fdb69432be

9 years agoAdd deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.
Jarkko Pöyry [Tue, 2 Jun 2015 03:55:25 +0000 (20:55 -0700)]
Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

Bug: 21326686
Change-Id: Iace59b3e8ffd7fe88b75bc1801f57207807304c8

9 years agoMerge "Add simulated error before rounding to target precision in dfdx tests." into...
Jarkko Pöyry [Mon, 8 Jun 2015 18:12:36 +0000 (18:12 +0000)]
Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

9 years agoMerge "Do not require max components to be divisible by 4" into mnc-dev
Kalle Raita [Mon, 8 Jun 2015 17:48:21 +0000 (17:48 +0000)]
Merge "Do not require max components to be divisible by 4" into mnc-dev

9 years agoDo not require max components to be divisible by 4
Kalle Raita [Thu, 4 Jun 2015 22:58:50 +0000 (15:58 -0700)]
Do not require max components to be divisible by 4

Spec language only has the requirement that max number of vectors is
the max number of components divided by four.

Bug: 21445539
Change-Id: I6f2c630bfbdb43e06667fa8cea5c6209922b6285

9 years agoAdd simulated error before rounding to target precision in dfdx tests.
Jarkko Pöyry [Fri, 5 Jun 2015 22:48:56 +0000 (15:48 -0700)]
Add simulated error before rounding to target precision in dfdx tests.

- Add interpolation error before rounding in GLES3 Derivate tests. If the
  error is not added before rounding and reference value happens to be 1:1
  representable in the target precision, both rounding directions yield the
  same value and error bounds will be lost.

Bug: 21666909
Change-Id: Ie948ea32075439c962d8ca52362069ca030a172e

9 years agoAlways read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Wed, 3 Jun 2015 23:54:11 +0000 (16:54 -0700)]
Always read pixels from fbo in fbo recreate.no_rebind tests

Instead of rendering texture to screen and verifying result, read texture
attachments pixels using fbo. This changes texture tests to work same way as
renderbuffer tests work and avoids triggering some bugs in reference context.

Bug: 21526068
Change-Id: I3009703a947e1a11327cf8f49585dce2a3270a04

9 years agoMerge "Check sampler limits in random shader cases." into mnc-dev
Jarkko Pöyry [Fri, 5 Jun 2015 01:37:47 +0000 (01:37 +0000)]
Merge "Check sampler limits in random shader cases." into mnc-dev

9 years agoam a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from...
Pyry Haulos [Thu, 4 Jun 2015 14:35:13 +0000 (14:35 +0000)]
am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit 'a4a7a175989eea576ffbf039c6aadba65c5a2481':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoCheck sampler limits in random shader cases.
Jarkko Pöyry [Wed, 3 Jun 2015 00:30:08 +0000 (17:30 -0700)]
Check sampler limits in random shader cases.

Bug: 21526017
Change-Id: Iad3b19889e5f4d6c9b9ce6bc2337dd2a02ecc2cf

9 years agoRemove broken sampler2darrayshadow_vertex from mustpass.
Jarkko Pöyry [Thu, 4 Jun 2015 00:05:43 +0000 (17:05 -0700)]
Remove broken sampler2darrayshadow_vertex from mustpass.

Bug: 21620051
Change-Id: I06bb13be9a9487c32911a0bfa25cfaab19984857

9 years agoConvert ES3 uniform block precision mismatch test to positive test.
Jarkko Pöyry [Tue, 2 Jun 2015 23:15:27 +0000 (16:15 -0700)]
Convert ES3 uniform block precision mismatch test to positive test.

- Rename dEQP-GLES3.functional.shaders.linkage.uniform.block.precision_mismatch
  to ..differing_precision and change expectation to expect no compile failure.
  New behavior matches resolution of Khronos bug 10287.

Bug: 21326228
Change-Id: Ibe6d8899c3dee061f5661b7e63e2d7e653232a8b

9 years agoam fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass autom...
Pyry Haulos [Tue, 2 Jun 2015 18:54:45 +0000 (18:54 +0000)]
am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit 'fe14a7c9710eaccf9792ec125e359d56c15ca22e':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoRemove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Tue, 2 Jun 2015 01:45:27 +0000 (01:45 +0000)]
Remove fragment_out tests with too strict thresholds from mustpass
automerge: f55476d

* commit 'f55476d831c84f6a2dd6ded052f4d69313176719':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoRemove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Thu, 19 Mar 2015 17:35:22 +0000 (10:35 -0700)]
Remove fragment_out tests with too strict thresholds from mustpass

Bug: 19380820
Change-Id: I4a650ba1cf0e77723708198ffbce4cb62cafb82f

9 years agoRemove GLES3 attribute location aliasing tests from must pass set
Mika Isojärvi [Mon, 1 Jun 2015 19:49:49 +0000 (12:49 -0700)]
Remove GLES3 attribute location aliasing tests from must pass set

Bug: 21495208
Change-Id: Ifceb05d3b627e775746bfd42131ea3b184cdfddc

9 years agoMerge "Allow alternative mix() implementation" into mnc-dev
Pyry Haulos [Fri, 29 May 2015 23:36:28 +0000 (23:36 +0000)]
Merge "Allow alternative mix() implementation" into mnc-dev

9 years agoAllow alternative mix() implementation
Pyry Haulos [Fri, 29 May 2015 21:06:53 +0000 (14:06 -0700)]
Allow alternative mix() implementation

Some compilers translate mix(a, b, x) to a + (b - a)*x which produces
slightly different results than the form a*(1 - x) + b*x suggested by
the GLSL specification. This change relaxes tests to allow both forms.

Bug: 21110253
Change-Id: I3af056145ef8e64c0fc998302770fd38d105481a

9 years agoAllow different multiplication order in reflect()
Pyry Haulos [Fri, 29 May 2015 21:09:59 +0000 (14:09 -0700)]
Allow different multiplication order in reflect()

GLSL spec allows compiler to assume that multiplication is commutative.
reflect() contains three multiplications which compiler can re-order
based on the spec language. This change relaxes reflect() tests to
allow both evaluation orders.

Bug: 19408572
Change-Id: I78e5b6e6f7bc761b4c49f5e1d4a283fcc60bf512

9 years agoAdd support for alternative forms to precision tests
Pyry Haulos [Fri, 29 May 2015 21:04:15 +0000 (14:04 -0700)]
Add support for alternative forms to precision tests

This adds alternative(a, b) that can be used to allow two alternative
forms of sub-expression. Alternative forms will be printed to the test
log output as "{a | b}".

Bug: 19408572
Bug: 21110253
Change-Id: Id6a7508e041be2bc3a42ec44dd318b49ad7fb841

9 years agoMerge "Make TEXTURE_3D the only target requiring ASTC HDR" into mnc-dev
Kalle Raita [Fri, 29 May 2015 04:35:22 +0000 (04:35 +0000)]
Merge "Make TEXTURE_3D the only target requiring ASTC HDR" into mnc-dev

9 years agoMake TEXTURE_3D the only target requiring ASTC HDR
Kalle Raita [Thu, 28 May 2015 21:45:38 +0000 (14:45 -0700)]
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

9 years agoMerge "Add tests for GL_EXT_debug_marker" into mnc-dev
Pyry Haulos [Thu, 28 May 2015 16:22:21 +0000 (16:22 +0000)]
Merge "Add tests for GL_EXT_debug_marker" into mnc-dev

9 years agoFix bug in (u)intBitsToFloat() test result verification code
Pyry Haulos [Fri, 22 May 2015 17:19:03 +0000 (10:19 -0700)]
Fix bug in (u)intBitsToFloat() test result verification code

Bug: 21396528
Change-Id: Ib83e9677b6c3cf367b294cfec2ec0caa239ffd2d

9 years agoAdd tests for GL_EXT_debug_marker
Pyry Haulos [Wed, 20 May 2015 22:36:20 +0000 (15:36 -0700)]
Add tests for GL_EXT_debug_marker

This adds simple support check, randomized, and invalid usage tests for
GL_EXT_debug_marker to the ES2 test module.

Android framework requires GL_EXT_debug_marker extension so tests will
fail on Android unless the extension is supported. On other platforms
the usual convention of reporting NotSupported is followed.

Bug: 21333653
Bug: 18315793
Change-Id: Id73c64e091533564698c736fcdbe24e216481354

9 years agoUpdate ES3 mustpass list
Pyry Haulos [Wed, 20 May 2015 22:40:53 +0000 (15:40 -0700)]
Update ES3 mustpass list

Change-Id: I662ac54ca37054bdb1db40e29b92203b69b79e6b

9 years agoMerge "Negative API tests against non-2D texture targets with LDR ASTC." into mnc-dev
Kalle Raita [Fri, 15 May 2015 20:43:17 +0000 (20:43 +0000)]
Merge "Negative API tests against non-2D texture targets with LDR ASTC." into mnc-dev

9 years agoNegative API tests against non-2D texture targets with LDR ASTC.
Kalle Raita [Tue, 12 May 2015 17:24:51 +0000 (10:24 -0700)]
Negative API tests against non-2D texture targets with LDR ASTC.

Bug: 20763295

Change-Id: I4df20607529abb8790ab254a79dc44218b8a3281

9 years agoFix EGL multithread single window tests.
Mika Isojärvi [Tue, 12 May 2015 23:07:12 +0000 (16:07 -0700)]
Fix EGL multithread single window tests.

Avoid trying to destroy windows when current thread has no windows in single
window cases. Tests always create new resources, if there are too few, and
destroy resources when there are too many. When number of resources is somewhere
in between test chooses randomly what to do next. In a single window case the
current thread may not be able to create a new window and thus may not have any
windows. When there are no windows the random operation must not attempt to
destroy a window.

Bug: 20958064
Change-Id: I5366233c141278a994768110b399afa79f6ed2e5

9 years agoRevert "Make empty declaration tests positive."
Jarkko Pöyry [Tue, 12 May 2015 01:22:01 +0000 (18:22 -0700)]
Revert "Make empty declaration tests positive."

- This reverts commit 9ac9658a208cf3bb2e9f0dc5d43519125e1222a5.
- Remove unsized array empty declaration cases from mustpass.

Bug: 20699693
Change-Id: I4435a637b6cd8564d51e584c0f63940939e307b9

9 years agoMerge "Fix issues with non-tightly packed images." into mnc-dev
Jarkko Pöyry [Tue, 12 May 2015 00:50:08 +0000 (00:50 +0000)]
Merge "Fix issues with non-tightly packed images." into mnc-dev

9 years agoFix issues with non-tightly packed images.
Jarkko Pöyry [Mon, 11 May 2015 23:42:02 +0000 (16:42 -0700)]
Fix issues with non-tightly packed images.

- Add logging fast-path pixel pitch check.
- Fix MultisamplePixelBufferAccess with non-tightly packed images.
- Add estimatePixelValueRange() fast-paths for all normalized formats.

Change-Id: If5b334de2658b7c714fe56bb561892b5a736e3b0

9 years agoDo not use combined format as depth target in EGL render tests.
Jarkko Pöyry [Sat, 9 May 2015 03:01:44 +0000 (20:01 -0700)]
Do not use combined format as depth target in EGL render tests.

Bug: 20949289
Change-Id: I63f5bc6abb335ee1d097f93e87d16fcc54799f3e

9 years agoFix onStart/onCreate race in instrumentation.
Jarkko Pöyry [Fri, 8 May 2015 21:29:21 +0000 (14:29 -0700)]
Fix onStart/onCreate race in instrumentation.

- Fix calling start() too early. (Before arguments were parsed.)
- Log more if platform query fails.

Bug: 20949263
Change-Id: I9755a4b89430d507bc1a7376ad7c8440c8358746

9 years agoDO NOT MERGE: Do not spam activity manager if remote dies.
Jarkko Pöyry [Sat, 25 Apr 2015 00:56:13 +0000 (17:56 -0700)]
DO NOT MERGE: Do not spam activity manager if remote dies.

- Cache isRunning the first time the process is observed dead.
- Avoid busy-polling the log file in DeqpInstrumentation.

Change-Id: Ie4d042cfef261c42ddc24dfaf9d58c13de867b9d
(cherry picked from commit dbe1a448db4f68b80f7ce36b95b8f8a3024df3b4)

9 years agoMerge "Add missing EGLimage stencil image verifier." into mnc-dev
Jarkko Pöyry [Wed, 6 May 2015 21:32:51 +0000 (21:32 +0000)]
Merge "Add missing EGLimage stencil image verifier." into mnc-dev

9 years agoMerge "Improve glFlush() & glFinish() tests" into mnc-dev
Pyry Haulos [Wed, 6 May 2015 21:32:06 +0000 (21:32 +0000)]
Merge "Improve glFlush() & glFinish() tests" into mnc-dev

9 years agoMerge "Fix EGLImage depth image test issues." into mnc-dev
Jarkko Pöyry [Wed, 6 May 2015 21:22:43 +0000 (21:22 +0000)]
Merge "Fix EGLImage depth image test issues." into mnc-dev

9 years agoMerge "Remove copies from rendebuffers from must pass list." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 21:17:48 +0000 (21:17 +0000)]
Merge "Remove copies from rendebuffers from must pass list." into mnc-dev

9 years agoMerge "Remove SRGB copy image test bug from test issues list." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 21:09:19 +0000 (21:09 +0000)]
Merge "Remove SRGB copy image test bug from test issues list." into mnc-dev

9 years agoImprove glFlush() & glFinish() tests
Pyry Haulos [Wed, 6 May 2015 20:32:39 +0000 (13:32 -0700)]
Improve glFlush() & glFinish() tests

 * Use tcu::warmupCPU() instead of simple busy wait for warmup.

 * Ensure that wait time is always longer than estimated render time.

Change-Id: I891771d41a9bd48e58ad493f4b4dc7f28c571c30

9 years agoMerge "Do not use color EGLimages as depth or stencil images or vice versa." into...
Jarkko Pöyry [Wed, 6 May 2015 20:30:03 +0000 (20:30 +0000)]
Merge "Do not use color EGLimages as depth or stencil images or vice versa." into mnc-dev

9 years agoMerge "Fix some warnings in border clamp tests." into mnc-dev
Jarkko Pöyry [Wed, 6 May 2015 20:29:47 +0000 (20:29 +0000)]
Merge "Fix some warnings in border clamp tests." into mnc-dev

9 years agoAdd missing EGLimage stencil image verifier.
Jarkko Pöyry [Wed, 6 May 2015 20:24:00 +0000 (13:24 -0700)]
Add missing EGLimage stencil image verifier.

- Add stencil buffer verifier.
- Avoid adding new tests to mustpass.

Bug: 20638016
Change-Id: I8dbeb51b8dfb4392b3fa4216772308ec9e450cb4

9 years agoFix EGLImage depth image test issues.
Jarkko Pöyry [Wed, 6 May 2015 03:12:24 +0000 (20:12 -0700)]
Fix EGLImage depth image test issues.

- Fix reversed depth compare in reference image generation.
- Set probe plane z coordinates in clip space.
- Use depth mask to avoid probe planes from altering the result.
- Clear fb color before rendering probe planes.
- Use proper threshold when reading a RGB4 fb.
- Initialize RBOs to a nice pattern instead of a single value.
- Don't render from images in multicontext cases before creating it.

Bug: 20637957
Change-Id: I158e51489ab8d562e74066b8549f5ee5a0d90cb7

9 years agoFix some warnings in border clamp tests.
Jarkko Pöyry [Wed, 6 May 2015 19:06:00 +0000 (12:06 -0700)]
Fix some warnings in border clamp tests.

Change-Id: I66d0bb08f9fc7d6a3b0a49e8866523d0d36bc61c

9 years agoRemove copies from rendebuffers from must pass list.
Mika Isojärvi [Wed, 6 May 2015 18:28:51 +0000 (11:28 -0700)]
Remove copies from rendebuffers from must pass list.

Bug: 20698928
Change-Id: Ia5fbf5ae7ff738522b79b8ee58122afb26c1090a

9 years agoRemove SRGB copy image test bug from test issues list.
Mika Isojärvi [Wed, 6 May 2015 18:17:15 +0000 (11:17 -0700)]
Remove SRGB copy image test bug from test issues list.

Bug: 19897810
Change-Id: I3d42fc5c02efcff5784457f98869a2676c3d8249

9 years agoMerge "Regenerate EGL mustpass lists" into mnc-dev
Pyry Haulos [Wed, 6 May 2015 18:34:07 +0000 (18:34 +0000)]
Merge "Regenerate EGL mustpass lists" into mnc-dev

9 years agoRegenerate EGL mustpass lists
Pyry Haulos [Wed, 6 May 2015 18:30:55 +0000 (11:30 -0700)]
Regenerate EGL mustpass lists

Change-Id: Ic957f2692ffb176c1a267fe3548b408cebef55f5

9 years agoUpdate ES2 mustpass based on latest feedback
Pyry Haulos [Wed, 6 May 2015 18:27:57 +0000 (11:27 -0700)]
Update ES2 mustpass based on latest feedback

Change-Id: Ia640c6bd001165099d1ec6af20739871e654a0e1

9 years agoDo not use color EGLimages as depth or stencil images or vice versa.
Jarkko Pöyry [Wed, 6 May 2015 02:48:45 +0000 (19:48 -0700)]
Do not use color EGLimages as depth or stencil images or vice versa.

Bug: 20638016
Bug: 20637957
Change-Id: I43fe93e80c9c8955889815743509ae4901be17a3

9 years agoMerge "Relax builtin precision tests, fix issue in div rounding" into mnc-dev
Pyry Haulos [Wed, 6 May 2015 17:35:43 +0000 (17:35 +0000)]
Merge "Relax builtin precision tests, fix issue in div rounding" into mnc-dev

9 years agoMerge "Relax ordering requirements for non-conformant configs." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 00:47:32 +0000 (00:47 +0000)]
Merge "Relax ordering requirements for non-conformant configs." into mnc-dev

9 years agoMerge "Remove uniform block tests using double underscore." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 00:24:38 +0000 (00:24 +0000)]
Merge "Remove uniform block tests using double underscore." into mnc-dev

9 years agoRelax ordering requirements for non-conformant configs.
Mika Isojärvi [Tue, 5 May 2015 22:55:33 +0000 (15:55 -0700)]
Relax ordering requirements for non-conformant configs.

Allow non-conformant EGLConfigs to appear in any order as there might be other
sorting rules for them.

Bug: 20831810
Change-Id: I0a83e9313cd86521b593396b380ee775188aba8a

9 years agoMerge "Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 00:21:30 +0000 (00:21 +0000)]
Merge "Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported." into mnc-dev

9 years agoMerge "Make empty declaration tests positive." into mnc-dev
Jarkko Pöyry [Wed, 6 May 2015 00:20:58 +0000 (00:20 +0000)]
Merge "Make empty declaration tests positive." into mnc-dev

9 years agoRelax builtin precision tests, fix issue in div rounding
Pyry Haulos [Tue, 5 May 2015 19:31:13 +0000 (12:31 -0700)]
Relax builtin precision tests, fix issue in div rounding

 * sin(), cos() and derived: Use |x| * 2^-10 for mediump inputs outside
of range [-pi,pi].

 * asin(), acos(), and atan(): Use 4096 ULP for highp (from OpenCL's
fast relaxed math).

 * modf(): allow any value, including NaN, as fractional if Inf support
is not mandated for the precision (lowp and mediump).

 * atan(y, x): allow any value if y or x is Inf and no Inf support is
mandated for the precision.

 * div (and derived): allow rounding of -/+inf to -/+maxval when both
inputs are ordinary and denominator is not 0 (legal in RTZ mode).

Bug: 20453754
Bug: 18323265
Change-Id: I8e2fad8909e29993e961d66a175963071ea2e5a8

9 years agoMerge "Update EGL wrappers and utilities to latest spec." into mnc-dev
Mika Isojärvi [Tue, 5 May 2015 23:55:13 +0000 (23:55 +0000)]
Merge "Update EGL wrappers and utilities to latest spec." into mnc-dev

9 years agoRemove uniform block tests using double underscore.
Mika Isojärvi [Tue, 5 May 2015 23:51:36 +0000 (16:51 -0700)]
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

9 years agoMerge "Check that HDR version of ASTC is present for non-2D texture targets." into...
Kalle Raita [Tue, 5 May 2015 23:28:18 +0000 (23:28 +0000)]
Merge "Check that HDR version of ASTC is present for non-2D texture targets." into mnc-dev

9 years agoAllow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported.
Mika Isojärvi [Tue, 5 May 2015 22:19:48 +0000 (15:19 -0700)]
Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported.

If EGL_EXT_yuv_surface is supported allow EGLConfigs to return
EGL_BUFFER_TYPE_YUV_EXT as EGL_BUFFER_TYPE.

Bug: 20831810
Change-Id: I7881dffc417e0477834280b18c4f3a8bd44eb79b

9 years agoCheck that HDR version of ASTC is present for non-2D texture targets.
Kalle Raita [Tue, 5 May 2015 22:18:33 +0000 (15:18 -0700)]
Check that HDR version of ASTC is present for non-2D texture targets.

Bug: 20763531
Change-Id: I45451e9aec4bd51370ce784a34e312d455bbf6a7

9 years agoMake empty declaration tests positive.
Jarkko Pöyry [Tue, 5 May 2015 22:45:53 +0000 (15:45 -0700)]
Make empty declaration tests positive.

Bug: 20699693
Change-Id: I5ea0a159755472a8c99c94ec086936d8d73db1f3

9 years agoFix negative block syntax tests expecting compile success.
Jarkko Pöyry [Tue, 5 May 2015 21:17:34 +0000 (14:17 -0700)]
Fix negative block syntax tests expecting compile success.

Bug: 20852057
Change-Id: Ic92a6b1991a2580713c6f0d0e5c0ecd72bd59e14

9 years agoMerge "Add missing finish() calls to multithread and multi context tests." into mnc-dev
Mika Isojärvi [Tue, 5 May 2015 20:11:59 +0000 (20:11 +0000)]
Merge "Add missing finish() calls to multithread and multi context tests." into mnc-dev

9 years agoMerge "Require conformant configs in EGL tests." into mnc-dev
Mika Isojärvi [Tue, 5 May 2015 19:36:38 +0000 (19:36 +0000)]
Merge "Require conformant configs in EGL tests." into mnc-dev

9 years agoFix primitive bbox line verification regression.
Jarkko Pöyry [Tue, 5 May 2015 17:53:21 +0000 (10:53 -0700)]
Fix primitive bbox line verification regression.

Bug: 20852057
Bug: 20453464
Change-Id: Ie59636ad50cc26bd52d45554113e869dc2c6ade7

9 years agoMerge "Check OES_texture_npot in ES2 texture completeness tests." into mnc-dev
Jarkko Pöyry [Tue, 5 May 2015 01:48:45 +0000 (01:48 +0000)]
Merge "Check OES_texture_npot in ES2 texture completeness tests." into mnc-dev

9 years agoUpdate EGL wrappers and utilities to latest spec.
Mika Isojärvi [Tue, 5 May 2015 01:03:44 +0000 (18:03 -0700)]
Update EGL wrappers and utilities to latest spec.

Change-Id: Ie8d9ed179cc291889202b321df67e5f83d29951d

9 years agoCheck OES_texture_npot in ES2 texture completeness tests.
Jarkko Pöyry [Mon, 4 May 2015 20:06:16 +0000 (13:06 -0700)]
Check OES_texture_npot in ES2 texture completeness tests.

- Check GL_OES_texture_npot extension in addition to NV extension.
- Remove unused cstdlib include.

Bug: 20808878
Change-Id: I9d6e586cbc0151a7b6900eb30d786c7035b75bd8

9 years agoAdd missing finish() calls to multithread and multi context tests.
Mika Isojärvi [Tue, 5 May 2015 00:29:39 +0000 (17:29 -0700)]
Add missing finish() calls to multithread and multi context tests.

Bug: 20751454
Change-Id: Ic6de190c4784bee483ca2a0e74c5b4c0899f2886

9 years agoRequire conformant configs in EGL tests.
Mika Isojärvi [Mon, 4 May 2015 23:41:57 +0000 (16:41 -0700)]
Require conformant configs in EGL tests.

Bug: 20825158
Change-Id: I8173ea1f2217f642041e66bfe7c509a1f2859e15

9 years agoRemove problematic shaders.texture_functions tests from mustpass
Pyry Haulos [Mon, 4 May 2015 22:02:54 +0000 (15:02 -0700)]
Remove problematic shaders.texture_functions tests from mustpass

Bug: 20699985
Bug: 20700212
Change-Id: I0806a4fcbd92a643f2b92a447f8d2a6d30898364

9 years agoMerge "Remove mediump cos() tests from mustpass" into mnc-dev
Pyry Haulos [Mon, 4 May 2015 19:56:16 +0000 (19:56 +0000)]
Merge "Remove mediump cos() tests from mustpass" into mnc-dev

9 years agoRemove mediump cos() tests from mustpass
Pyry Haulos [Mon, 4 May 2015 19:44:49 +0000 (12:44 -0700)]
Remove mediump cos() tests from mustpass

Bug: 20453754
Change-Id: I71e036cd249d8d835357bbae134ebc6b263c9962

9 years agoRelax texture filtering precision requirements in ES2 tests
Pyry Haulos [Mon, 4 May 2015 19:30:25 +0000 (12:30 -0700)]
Relax texture filtering precision requirements in ES2 tests

Bug: 20818451
Change-Id: Ia81d90020ad0403ce3a60ec7799a415f1d458cc6

9 years agoMerge "Fix memory leak in semaphore self tests." into mnc-dev
Mika Isojärvi [Fri, 1 May 2015 23:07:06 +0000 (23:07 +0000)]
Merge "Fix memory leak in semaphore self tests." into mnc-dev

9 years agoFix unused variable warning in release builds.
Jarkko Pöyry [Fri, 1 May 2015 22:30:09 +0000 (15:30 -0700)]
Fix unused variable warning in release builds.

Change-Id: I00c6ee09f2821a7713bbc2cb8b71b0e589163e97

9 years agoFix memory leak in semaphore self tests.
Mika Isojärvi [Mon, 27 Apr 2015 23:26:41 +0000 (16:26 -0700)]
Fix memory leak in semaphore self tests.

Change-Id: I82a5c8af6f81692704bd7f6a6b1248685883d92a

9 years agoMerge "Move GLSL 3.00 ES repeated uniform blocks to invalid group." into mnc-dev
Mika Isojärvi [Fri, 1 May 2015 20:46:41 +0000 (20:46 +0000)]
Merge "Move GLSL 3.00 ES repeated uniform blocks to invalid group." into mnc-dev

9 years agoMove GLSL 3.00 ES repeated uniform blocks to invalid group.
Mika Isojärvi [Fri, 1 May 2015 20:14:22 +0000 (13:14 -0700)]
Move GLSL 3.00 ES repeated uniform blocks to invalid group.

Bug: 20421050
Change-Id: I1587d17ddf7801f13da6d997c4917b0b254892db

9 years agoAssume border color is always in linear space.
Jarkko Pöyry [Fri, 1 May 2015 18:15:21 +0000 (11:15 -0700)]
Assume border color is always in linear space.

Bug: 20755158
Change-Id: I18e048e1537ef5b02020d139eb58a498ab917722

9 years agoMerge "Add EXT_texture_border_clamp tests." into mnc-dev
Jarkko Pöyry [Fri, 1 May 2015 00:40:50 +0000 (00:40 +0000)]
Merge "Add EXT_texture_border_clamp tests." into mnc-dev

9 years agoAdd EXT_texture_border_clamp tests.
Jarkko Pöyry [Fri, 10 Apr 2015 01:49:48 +0000 (18:49 -0700)]
Add EXT_texture_border_clamp tests.

Change-Id: I37b2d473e2b1ccdd40a55daa3e6c12e2a28a6e0d

9 years agoMerge "Do not assume support for multisampled wide lines." into mnc-dev
Jarkko Pöyry [Thu, 30 Apr 2015 18:35:43 +0000 (18:35 +0000)]
Merge "Do not assume support for multisampled wide lines." into mnc-dev

9 years agoMerge "Add bug numbers to ES3.1 HW issues list" into mnc-dev
Pyry Haulos [Thu, 30 Apr 2015 08:49:24 +0000 (08:49 +0000)]
Merge "Add bug numbers to ES3.1 HW issues list" into mnc-dev

9 years agoMerge "Update GLES3 HW issues list" into mnc-dev
Pyry Haulos [Thu, 30 Apr 2015 08:47:57 +0000 (08:47 +0000)]
Merge "Update GLES3 HW issues list" into mnc-dev

9 years agoDo not assume support for multisampled wide lines.
Jarkko Pöyry [Mon, 27 Apr 2015 23:20:50 +0000 (16:20 -0700)]
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

9 years agoAdd bug numbers to ES3.1 HW issues list
Pyry Haulos [Wed, 29 Apr 2015 15:03:56 +0000 (08:03 -0700)]
Add bug numbers to ES3.1 HW issues list

Change-Id: I04928235773f76b1828f2d1c062ac51400d0d7c8

9 years agoUpdate GLES3 HW issues list
Pyry Haulos [Wed, 29 Apr 2015 12:15:44 +0000 (05:15 -0700)]
Update GLES3 HW issues list

Change-Id: I0279a4b28fdd4511181797194a56f35fbda492e5

9 years agoFix unused variable warning in Release builds.
Jarkko Pöyry [Tue, 28 Apr 2015 21:03:29 +0000 (14:03 -0700)]
Fix unused variable warning in Release builds.

Change-Id: I7aabc6fdad54f22e072c716a7098678d845e98fe

9 years agoUpdate default VAO attrib divisor tests.
Jarkko Pöyry [Mon, 27 Apr 2015 22:14:35 +0000 (15:14 -0700)]
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

9 years agoMerge "Improve texture border color handling."
Jarkko Pöyry [Fri, 24 Apr 2015 23:12:49 +0000 (23:12 +0000)]
Merge "Improve texture border color handling."