platform/upstream/VK-GL-CTS.git
9 years agoam b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denor...
Jarkko Pöyry [Tue, 30 Jun 2015 17:57:52 +0000 (17:57 +0000)]
am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit 'b395a8939fc3496e7021e8f3383270bae2039a98':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoam 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresho...
Jarkko Pöyry [Tue, 30 Jun 2015 16:34:21 +0000 (16:34 +0000)]
am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit '2067dff2285a9c9110d490bcf8cab4e57d569486':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoam 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare...
Jarkko Pöyry [Tue, 30 Jun 2015 15:50:50 +0000 (15:50 +0000)]
am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit '4968dd4825820fcedb0af31ae85f98c1d91bac9b':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Tue, 30 Jun 2015 15:41:54 +0000 (15:41 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
automerge: 4a3d88e

* commit '4a3d88eea1219ada5fbec37209b394cd65ad8f18':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoMerge "Remove MSAA wide line helper invocation cases from mustpass." into mnc-dev
Jarkko Pöyry [Mon, 29 Jun 2015 23:23:47 +0000 (23:23 +0000)]
Merge "Remove MSAA wide line helper invocation cases from mustpass." into mnc-dev

9 years agoMerge "Remove texture size tests with incorrect threshold from mustpass." into mnc-dev
Jarkko Pöyry [Mon, 29 Jun 2015 23:18:39 +0000 (23:18 +0000)]
Merge "Remove texture size tests with incorrect threshold from mustpass." into mnc-dev

9 years agoRemove MSAA wide line helper invocation cases from mustpass.
Jarkko Pöyry [Mon, 29 Jun 2015 22:29:51 +0000 (15:29 -0700)]
Remove MSAA wide line helper invocation cases from mustpass.

Bug: 22180525
Change-Id: I049f7aad51052a4215d3cd98fbe12a6a3abfde7a

9 years agoRemove texture size tests with incorrect threshold from mustpass.
Jarkko Pöyry [Mon, 29 Jun 2015 22:18:01 +0000 (15:18 -0700)]
Remove texture size tests with incorrect threshold from mustpass.

Removes following cases:
dEQP-GLES3.functional.texture.size.cube.256x256_rgba4444
dEQP-GLES3.functional.texture.size.cube.512x512_rgba4444

Bug: 22173211
Change-Id: I70681cea17fda6897e9e57971c042785cb922b5e

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Thu, 11 Jun 2015 16:27:09 +0000 (09:27 -0700)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

- Calculate ULPs assuming denormals (and signed zeros) do not exist.

Bug: 21731219
Change-Id: I6f426c781b2c38d7279b65a973e381f0848fbe02

9 years agoMerge "Fix helper_invocation.* rendering mostly black." into mnc-dev
Jarkko Pöyry [Wed, 24 Jun 2015 22:16:16 +0000 (22:16 +0000)]
Merge "Fix helper_invocation.* rendering mostly black." into mnc-dev

9 years agoFix helper_invocation.* rendering mostly black.
Jarkko Pöyry [Wed, 24 Jun 2015 20:23:46 +0000 (13:23 -0700)]
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

9 years agoUse only representable floats in frexp() case inputs.
Jarkko Pöyry [Tue, 23 Jun 2015 20:01:13 +0000 (13:01 -0700)]
Use only representable floats in frexp() case inputs.

Bug: 22034603
Change-Id: I0518eb1d074910cb35a44c568029fbd2d223c2fa

9 years agoRemove MSAA derivate and reflect highp vec4 cases
Kalle Raita [Mon, 22 Jun 2015 23:43:59 +0000 (16:43 -0700)]
Remove MSAA derivate and reflect highp vec4 cases

Remove following cases:

dEQP-GLES3.functional.shaders.derivate.dfdx.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.dfdx.fastest.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.dfdx.nicest.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.dfdy.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.dfdy.fastest.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.dfdy.nicest.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.fwidth.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.fwidth.fastest.fbo_msaa*
dEQP-GLES3.functional.shaders.derivate.fwidth.nicest.fbo_msaa*

dEQP-GLES31.functional.shaders.builtin_functions.precision.reflect.highp_compute.vec4

Bug: 21816937
Bug: 21844307
Change-Id: I0031abfbc331b00395a348e9e8ce123be87287ab

9 years agoBump float->int64 conversion threshold by one bit.
Jarkko Pöyry [Mon, 22 Jun 2015 20:36:15 +0000 (13:36 -0700)]
Bump float->int64 conversion threshold by one bit.

Bug: 22008195
Change-Id: I4e597eb6b5ead08c0582579920ca6bb47df8bd2c

9 years agoRemove atan2 precision tests from mustpass
Pyry Haulos [Mon, 22 Jun 2015 20:20:59 +0000 (13:20 -0700)]
Remove atan2 precision tests from mustpass

The tests currently have a problem where they require return value to be
within [-pi, pi] strictly, and implementations that use slightly
different PI value will fail.

Bug: 22006723
Change-Id: I611705e43290ac09e17d7c3e5b1d67d652c96a8b

9 years agoFix unrelated errors in ASTC negative API tests
Kalle Raita [Fri, 19 Jun 2015 22:33:26 +0000 (15:33 -0700)]
Fix unrelated errors in ASTC negative API tests

Make cube map width and height equal while the keeping the size multiple
of the block size.

Generate texture names and bind before calling glTexStorage.

Allow INVALID_ENUM and INVALID_VALUE for glTexStorage failures.

Some minor log message improvements.

Bug: 21953041
Change-Id: I5180810bbaa0275b55d89e795e0132a17e32ef04

9 years agoAdd GLSL ES 3.0 tests for default uniform precision mismatch
Pyry Haulos [Fri, 19 Jun 2015 17:14:33 +0000 (10:14 -0700)]
Add GLSL ES 3.0 tests for default uniform precision mismatch

GLSL ES 3.0 specification requires linking to fail if there is a
precision mismatch between (default block) uniforms between shader
stages. This rule was only covered for struct members and this CL adds
coverage for uniforms of basic (scalar / vector) type.

Bug: 21947794
Change-Id: Ifab9cbd17726c01b987177df43d7248c34c9cf44

9 years agoMerge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev
Jarkko Pöyry [Thu, 18 Jun 2015 19:16:37 +0000 (19:16 +0000)]
Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

9 years agoMerge "Fix expected results in implicit conversion tests" into mnc-dev
Jarkko Pöyry [Thu, 18 Jun 2015 19:16:11 +0000 (19:16 +0000)]
Merge "Fix expected results in implicit conversion tests" into mnc-dev

9 years agoAllow interchangeable signed zeros in fragment stage frexp.
Jarkko Pöyry [Thu, 18 Jun 2015 18:05:09 +0000 (11:05 -0700)]
Allow interchangeable signed zeros in fragment stage frexp.

Bug: 21923324
Change-Id: I2a556e6fcefe43a2bae62b3446fa2cccb4fa7356

9 years agoFix expected results in implicit conversion tests
Mika Isojärvi [Fri, 12 Jun 2015 20:17:02 +0000 (13:17 -0700)]
Fix expected results in implicit conversion tests

Bug: 21791351
Change-Id: I7a134dee9d23422de618be51cff9c0b46b414e58

9 years agoRemove dEQP-GLES3.functional.uniform_api.random.23 from mustpass
Mika Isojärvi [Fri, 12 Jun 2015 20:25:12 +0000 (13:25 -0700)]
Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

Test case doesn't check max uniform vector implementation limit and
uses too many uniforms.

Bug: 21791303
Change-Id: If4b0bede639a34776aab8b9e6fdace1f79580189

9 years agoRemove wide line interpolation cases from mustpass.
Jarkko Pöyry [Fri, 12 Jun 2015 17:11:47 +0000 (10:11 -0700)]
Remove wide line interpolation cases from mustpass.

Bug: 21804494
Change-Id: I606bbb5e33f603873054cc91fcec8691ed438ef7

9 years agoMerge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into...
Jarkko Pöyry [Thu, 11 Jun 2015 20:59:24 +0000 (20:59 +0000)]
Merge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into mnc-dev

9 years agoEnable default VAO attrib divisor test for resolved Khronos bug 13564.
Jarkko Pöyry [Thu, 11 Jun 2015 20:13:21 +0000 (13:13 -0700)]
Enable default VAO attrib divisor test for resolved Khronos bug 13564.

Bug: 20154392
Change-Id: I46118adefb6f6f8e91c6660c2503c987343fc4c8

9 years agoRemove interpolate_at_centroid tests from mustpass.
Jarkko Pöyry [Thu, 11 Jun 2015 20:09:56 +0000 (13:09 -0700)]
Remove interpolate_at_centroid tests from mustpass.

Bug: 20453509
Change-Id: Ia9d31f5e5f96743793bc57f1440a114128e8e833

9 years agoMerge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 19:56:56 +0000 (19:56 +0000)]
Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev

9 years agoMerge "Convert negative pragma cases to positive." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 19:56:30 +0000 (19:56 +0000)]
Merge "Convert negative pragma cases to positive." into mnc-dev

9 years agoIgnore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Thu, 11 Jun 2015 16:27:09 +0000 (09:27 -0700)]
Ignore denormals in floatUlpThresholdCompare.

- Calculate ULPs assuming denormals (and signed zeros) do not exist.

Bug: 21731219
Change-Id: I6f426c781b2c38d7279b65a973e381f0848fbe02

9 years agoMerge "Fix GLES31 geo/tess linkage test uniforms with conficting precisions." into...
Jarkko Pöyry [Thu, 11 Jun 2015 16:44:07 +0000 (16:44 +0000)]
Merge "Fix GLES31 geo/tess linkage test uniforms with conficting precisions." into mnc-dev

9 years agoMerge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 16:36:37 +0000 (16:36 +0000)]
Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev

9 years agoMerge "Check tessellation SSBO block limits in ShaderExecUtil." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 16:28:03 +0000 (16:28 +0000)]
Merge "Check tessellation SSBO block limits in ShaderExecUtil." into mnc-dev

9 years agoCheck tessellation SSBO block limits in ShaderExecUtil.
Jarkko Pöyry [Wed, 10 Jun 2015 01:08:59 +0000 (18:08 -0700)]
Check tessellation SSBO block limits in ShaderExecUtil.

Bug: 21731306
Change-Id: Ib6291006b03b87494cdefc78875162f538a4e695

9 years agoMerge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into...
Jarkko Pöyry [Thu, 11 Jun 2015 16:19:32 +0000 (16:19 +0000)]
Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into mnc-dev

9 years agoMerge "Remove flush_wait test as glFlush does not flush on all platforms." into mnc-dev
Kalle Raita [Thu, 11 Jun 2015 00:25:08 +0000 (00:25 +0000)]
Merge "Remove flush_wait test as glFlush does not flush on all platforms." into mnc-dev

9 years agoRemove flush_wait test as glFlush does not flush on all platforms.
Kalle Raita [Wed, 6 May 2015 18:39:55 +0000 (11:39 -0700)]
Remove flush_wait test as glFlush does not flush on all platforms.

Bug: 20558284
Change-Id: I8daa93459db7e1bfadf194e496a1596703a07693

9 years agoMerge "Force sampling to single texture level in copy image tests" into mnc-dev
Mika Isojärvi [Wed, 10 Jun 2015 23:36:25 +0000 (23:36 +0000)]
Merge "Force sampling to single texture level in copy image tests" into mnc-dev

9 years agoMerge "Remove tests for __LINE__ in nested multi-line macros." into mnc-dev
Kalle Raita [Wed, 10 Jun 2015 20:48:22 +0000 (20:48 +0000)]
Merge "Remove tests for __LINE__ in nested multi-line macros." into mnc-dev

9 years agoRemove tests for __LINE__ in nested multi-line macros.
Kalle Raita [Wed, 10 Jun 2015 18:23:01 +0000 (11:23 -0700)]
Remove tests for __LINE__ in nested multi-line macros.

Bug: 21737600
Change-Id: Ifb98bcfceec5a9c9cb75cfa3d17109111dce7360

9 years agoFix bug in tcu::Interval::intersects()
Pyry Haulos [Wed, 10 Jun 2015 19:19:54 +0000 (12:19 -0700)]
Fix bug in tcu::Interval::intersects()

This bug (probably just a typo) was causing issues in atan(y, x) tests.
The verification didn't account for small denormal divisors being
flushed to +0.

Bug: 21326633
Change-Id: I044ab38fb7f2ae316dfdac0674eab942fc5c8446

9 years agoAdd missing TCS/TES image limit checks to PIQ tests.
Jarkko Pöyry [Wed, 10 Jun 2015 18:22:04 +0000 (11:22 -0700)]
Add missing TCS/TES image limit checks to PIQ tests.

Bug: 21731306
Change-Id: If08d216ba0d67a772312caeeac65ebe7cd762cfe

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 agoFix explicit TCS output array size not matching gl_MaxPatchVertices.
Jarkko Pöyry [Tue, 9 Jun 2015 20:32:17 +0000 (13:32 -0700)]
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

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 agoFix GLES31 geo/tess linkage test uniforms with conficting precisions.
Jarkko Pöyry [Tue, 9 Jun 2015 19:24:48 +0000 (12:24 -0700)]
Fix GLES31 geo/tess linkage test uniforms with conficting precisions.

Bug: 21730730
Change-Id: Icc8738d273ed69bc3ef8875ea5f9e3185b62d603

9 years agoConvert negative pragma cases to positive.
Jarkko Pöyry [Tue, 9 Jun 2015 18:08:43 +0000 (11:08 -0700)]
Convert negative pragma cases to positive.

- Convert negative #pragma debug and invalid token cases to expect
  successful compile.
- Rename tests to match new behavior and remove cases from mustpass.

Bug: 21725534
Change-Id: I4cb06d3038b551eb21b52f14dd341bb59519d38c

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