platform/upstream/VK-GL-CTS.git
8 years agoRemove infeasible M tests.
Kalle Raita [Wed, 12 Aug 2015 00:25:38 +0000 (17:25 -0700)]
Remove infeasible M tests.

Bug: 22760309
Change-Id: I6ef752a3af1689e1126931a49bb0b42e4c9612c9

8 years agoRemove infeasible derivative.fwidth cases
Kalle Raita [Tue, 11 Aug 2015 23:41:47 +0000 (16:41 -0700)]
Remove infeasible derivative.fwidth cases

Bug: 22760309
Change-Id: Idca87ed439b15cfd6c5309711693ef59a5a534f6

8 years agoRemove tests infeasible for M.
Kalle Raita [Tue, 11 Aug 2015 23:24:08 +0000 (16:24 -0700)]
Remove tests infeasible for M.

dEQP-GLES3.functional.depth_stencil_clear.depth_stencil_scissored_masked
dEQP-GLES3.functional.pbo.renderbuffer.rgb10_a2_clears
dEQP-GLES3.functional.pbo.renderbuffer.rgb10_a2_triangles
dEQP-GLES3.functional.pbo.renderbuffer.rgb565_triangles
dEQP-GLES3.functional.pbo.renderbuffer.rgb5_a1_clears
dEQP-GLES3.functional.pbo.renderbuffer.rgb5_a1_triangles
dEQP-GLES3.functional.texture.filtering.*.combinations.*_3d (38 in total)
dEQP-GLES3.functional.texture.specification.basic_teximage3d.* (18 in total)
dEQP-GLES3.functional.texture.specification.texstorage?d.* (89 in total)

Bug: 22760309
Change-Id: Iccd2c5de03244840cdbb9b518bbf7886f4a7aaa3

8 years agoMerge "Remove EGL random multithreaded resource sharing tests." into mnc-dev
Kalle Raita [Tue, 11 Aug 2015 23:11:05 +0000 (23:11 +0000)]
Merge "Remove EGL random multithreaded resource sharing tests." into mnc-dev

8 years agoRemove EGL random multithreaded resource sharing tests.
Kalle Raita [Tue, 11 Aug 2015 23:05:52 +0000 (16:05 -0700)]
Remove EGL random multithreaded resource sharing tests.

Bug: 22760309
Change-Id: I465d2ee9b97d91c01877fc935efa14f0aaf2d89e

8 years agoRemove problematic srgb8_alpha8_astc copy image tests.
Kalle Raita [Tue, 11 Aug 2015 22:53:23 +0000 (15:53 -0700)]
Remove problematic srgb8_alpha8_astc copy image tests.

Bug: 22760309
Change-Id: I195122f410dc78c074157dd605dd9a7cb2fa6dca

8 years agoRemove some GLES3 multisample config cases
Kalle Raita [Fri, 7 Aug 2015 21:17:40 +0000 (14:17 -0700)]
Remove some GLES3 multisample config cases

- gl_FragCoord.w test
- Some clipping tests

Bug: 22760309
Change-Id: I9a79fdbd8d61ce815f03d79116082e77ef080c2d

8 years agoRemove a few tests from M mustpass
Pyry Haulos [Mon, 3 Aug 2015 18:14:17 +0000 (11:14 -0700)]
Remove a few tests from M mustpass

Bug: 22920759
Bug: 22859221
Bug: 22632106
Bug: 22921258
Change-Id: Ic6f40dc60384a9ba3c5237ccc626682bcb446206

8 years agoRemove another textureLodOffset() case from mustpass
Pyry Haulos [Tue, 28 Jul 2015 19:48:04 +0000 (12:48 -0700)]
Remove another textureLodOffset() case from mustpass

Bug: 22794704
Change-Id: Icbd78a79d256e17751a064b3668bfaef8f1752f9

8 years agoRemove mipmap.cube.projected tests from mustpass
Pyry Haulos [Tue, 28 Jul 2015 21:50:05 +0000 (14:50 -0700)]
Remove mipmap.cube.projected tests from mustpass

Bug: 22794757
Change-Id: I55f32c5a2d45c808b18ada683699c6a176ca5822

8 years agoRemove tests not feasible for M from mustpass
Pyry Haulos [Wed, 22 Jul 2015 22:41:56 +0000 (15:41 -0700)]
Remove tests not feasible for M from mustpass

Bug: 22635479
Bug: 22632106
Bug: 22632003
Bug: 22760309
Change-Id: I2dfe4fd743fc459d83e55b82aeaa21d19f9acf05

8 years agoRemove a couple of primitive_bbox line cases due to HW limitation
Pyry Haulos [Fri, 24 Jul 2015 15:52:24 +0000 (08:52 -0700)]
Remove a couple of primitive_bbox line cases due to HW limitation

Bug: 22713865
Change-Id: I5d2731fd00b118af22f6c69651d5e82e99832163

8 years agoRemove negative tests for sliced 3D ASTC texture targets
Pyry Haulos [Thu, 23 Jul 2015 16:14:04 +0000 (09:14 -0700)]
Remove negative tests for sliced 3D ASTC texture targets

See Khronos bug 14266

Bug: 22654014
Change-Id: I208e09a50b3ec5af1ec8c53015780a45188e6327

8 years agoRemove broken fbo completeness cases from mustpass
Pyry Haulos [Wed, 22 Jul 2015 22:35:04 +0000 (15:35 -0700)]
Remove broken fbo completeness cases from mustpass

Bug: 22665757
Change-Id: I6e5c6a76bc9c627c29e0e1707d575c08512fb577

8 years agoRemove highp float FBO dfd*() tests from mustpass
Pyry Haulos [Tue, 21 Jul 2015 22:12:53 +0000 (15:12 -0700)]
Remove highp float FBO dfd*() tests from mustpass

Bug: 22628471
Bug: 22632003
Change-Id: Ia9d2b9a5e04ad317cbcc8782c9efaeedd94a0a58

8 years agoMerge "Remove a few ES2 tests from mustpass" into mnc-dev
Pyry Haulos [Tue, 21 Jul 2015 22:19:16 +0000 (22:19 +0000)]
Merge "Remove a few ES2 tests from mustpass" into mnc-dev

8 years agoRemove a few ES2 tests from mustpass
Pyry Haulos [Tue, 21 Jul 2015 22:14:12 +0000 (15:14 -0700)]
Remove a few ES2 tests from mustpass

Bug: 21208276
Change-Id: Ib5815fca3c002cf2ef58c8d7255bda807ff7e5fb

8 years agoMerge "Remove textureprojlodoffset.sampler3d_float_vertex from mustpass" into mnc-dev
Pyry Haulos [Tue, 21 Jul 2015 21:03:41 +0000 (21:03 +0000)]
Merge "Remove textureprojlodoffset.sampler3d_float_vertex from mustpass" into mnc-dev

8 years agoRemove textureprojlodoffset.sampler3d_float_vertex from mustpass
Pyry Haulos [Tue, 21 Jul 2015 19:47:50 +0000 (12:47 -0700)]
Remove textureprojlodoffset.sampler3d_float_vertex from mustpass

Bug: 22405868
Change-Id: Ida8cc6aeb754c10c5b823a76d1dc72bd19c752e7

8 years agoFix warning in modf() precision test code
Pyry Haulos [Tue, 21 Jul 2015 19:27:30 +0000 (12:27 -0700)]
Fix warning in modf() precision test code

Bug: 22512069
Change-Id: I2a0ad0af5b9d4da3c55ca0925d375c4b5c3df307

8 years agoMerge "Improve calibration and accouting in flush-finish tests" into mnc-dev
Pyry Haulos [Tue, 21 Jul 2015 14:26:57 +0000 (14:26 +0000)]
Merge "Improve calibration and accouting in flush-finish tests" into mnc-dev

8 years agoImprove calibration and accouting in flush-finish tests
Pyry Haulos [Wed, 15 Jul 2015 22:42:26 +0000 (15:42 -0700)]
Improve calibration and accouting in flush-finish tests

 * Verify stability of calibration by running 3 samples with maximum
load and verifying that they are within 10% of projected time.

 * Retry calibration up to 5 times if calibration or verification fails.

 * Do not count submit time into wait time as submit cost can be
relatively high on low-end devices.

Bug: 22301848
Change-Id: Iff4523f601edcdec1375662a065bf50b8970ef02

8 years agoRelax modf(Inf) fractional part verification
Pyry Haulos [Wed, 15 Jul 2015 21:53:03 +0000 (14:53 -0700)]
Relax modf(Inf) fractional part verification

See Khronos bug 13907

Bug: 22512069
Change-Id: Ic608a8a520d34fe84c3a4c5b5d96d0623e6aebd0

8 years agoRemove few GLES3 fragdata tests from mustpass list
Mika Isojärvi [Wed, 15 Jul 2015 17:00:53 +0000 (10:00 -0700)]
Remove few GLES3 fragdata tests from mustpass list

Bug: 22488431
Change-Id: I9e49b91dd5dfc7975b3721cd9d165f48e3dc05de

9 years agoRemove couple of cases due to HW precision limitations
Pyry Haulos [Tue, 14 Jul 2015 16:12:35 +0000 (09:12 -0700)]
Remove couple of cases due to HW precision limitations

Bug: 22450044
Change-Id: I8ee296a75be673bf286e32047e31c057c70186f9

9 years agoMerge "DO NOT MERGE: Fix undefined arg eval order issue in fuzzy compare" into mnc-dev
Pyry Haulos [Tue, 14 Jul 2015 14:36:34 +0000 (14:36 +0000)]
Merge "DO NOT MERGE: Fix undefined arg eval order issue in fuzzy compare" into mnc-dev

9 years agoDO NOT MERGE: Fix undefined arg eval order issue in fuzzy compare
Pyry Haulos [Tue, 14 Jul 2015 00:06:06 +0000 (17:06 -0700)]
DO NOT MERGE: Fix undefined arg eval order issue in fuzzy compare

compareToNeighbor can give slightly different metrics based on internal
state of rnd parameter, and thus it is not safe to call that from
function call argument list.

This code has been refactored in master and a different patch is needed
there.

Bug: 22405868
Change-Id: Ida91ce6fe2895b6c38f29be7ab943c3773feb085

9 years agoRemove negative linking tests from mustpass.
Jarkko Pöyry [Mon, 13 Jul 2015 23:41:21 +0000 (16:41 -0700)]
Remove negative linking tests from mustpass.

Remove
dEQP-GLES3.functional.shaders.linkage.uniform.block.layout_qualifier_mismatch_3
from mustpass. Test expects linking failure with mismatching UBO member
row/column_major layouts but the spec is unclear if this actually is
disallowed. See Khronos bug 14284 for details.

Bug: 22461511
Change-Id: I3af23e082240a1777ccfaa4411b1da8ae1ac339b

9 years agoLower correlation threshold in flush-finish tests
Pyry Haulos [Fri, 10 Jul 2015 21:15:04 +0000 (14:15 -0700)]
Lower correlation threshold in flush-finish tests

This is low-risk fix for flakiness on some platforms. Long-term solution
would be to improve calibration.

Bug: 22301848
Change-Id: I028c2526d8e99fa3b333574bcb1786e9e2ee31a8

9 years agoMerge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev
Pyry Haulos [Fri, 10 Jul 2015 20:44:20 +0000 (20:44 +0000)]
Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

9 years agoCheck EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.
Jarkko Pöyry [Wed, 8 Jul 2015 22:59:09 +0000 (15:59 -0700)]
Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

Bug: 20005726
Change-Id: Ie0dcaa65cc535d66070459efade758e4e9efbd67

9 years agoRemove highp acosh() and atanh() tests from mustpass
Pyry Haulos [Tue, 7 Jul 2015 20:46:37 +0000 (13:46 -0700)]
Remove highp acosh() and atanh() tests from mustpass

Bug: 22302334
Change-Id: I585e394b003966b90c81aa9e9697e076e0b79f9b

9 years agoMerge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev
Pyry Haulos [Tue, 7 Jul 2015 19:45:51 +0000 (19:45 +0000)]
Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

9 years agoRelax asin() precision requirements
Pyry Haulos [Tue, 7 Jul 2015 18:44:23 +0000 (11:44 -0700)]
Relax asin() precision requirements

Use absolute error of 2^-11 for highp and 2^-8 for mediump.

Bug: 22302334
Change-Id: Id3dea981bfc6c1db1e0b4098ab844a77739a930c

9 years agoRemove mediump sin/cos/tan precision tests from mustpass
Pyry Haulos [Tue, 7 Jul 2015 18:38:05 +0000 (11:38 -0700)]
Remove mediump sin/cos/tan precision tests from mustpass

Bug: 21668605
Change-Id: I883adccbf83de66a8ce6c04340b9b991dfdb1895

9 years agoFix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Mon, 6 Jul 2015 22:40:35 +0000 (15:40 -0700)]
Fix scaling of precision for mediump sin/cos/tan

Code should have been scaling expected precision linearly based on input
value, but was actually using a fixed precision of ~3 ULP.

Bug: 21668605
Change-Id: I00640889319bc7673def3e1541fdd574e8e13306

9 years agoRemove remaining wide line interpolation cases from mustpass.
Jarkko Pöyry [Mon, 6 Jul 2015 19:33:30 +0000 (12:33 -0700)]
Remove remaining wide line interpolation cases from mustpass.

Bug: 21804494
Change-Id: I92ade234e7f16c4e8ab8ca63eacc9113c6dfa04b

9 years agoReduce rendering load in large sync tests by 90%.
Jarkko Pöyry [Wed, 1 Jul 2015 21:17:40 +0000 (14:17 -0700)]
Reduce rendering load in large sync tests by 90%.

Bug: 22231633
Change-Id: I48f604fac4fe372a60dd5d63002045f2eb96bd24

9 years agoRemove from mustpass 3D texture_function cases with LOD issues.
Jarkko Pöyry [Wed, 1 Jul 2015 01:09:58 +0000 (18:09 -0700)]
Remove from mustpass 3D texture_function cases with LOD issues.

Bug: 22209622
Change-Id: I181ea306aa8e7d582cf7b43ac0ef768d3fb7bdca

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