platform/upstream/VK-GL-CTS.git
9 years agoam 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases with LOD...
Jarkko Pöyry [Fri, 3 Jul 2015 16:48:27 +0000 (16:48 +0000)]
am 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.

* commit '9555fa0cd2032502d8666d278784906b6ce01ca3':
  Remove from mustpass 3D texture_function cases with LOD issues.

9 years agoam 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.
Jarkko Pöyry [Thu, 2 Jul 2015 00:46:55 +0000 (00:46 +0000)]
am 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.

* commit '7c5323116bb164d64bfecb68e8da1af634317b24':
  Remove from mustpass 3D texture_function cases with LOD issues.

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 agoMerge "Avoid htons and ntohs in deSocket"
Pyry Haulos [Tue, 30 Jun 2015 20:40:03 +0000 (20:40 +0000)]
Merge "Avoid htons and ntohs in deSocket"

9 years agoam b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48...
Jarkko Pöyry [Tue, 30 Jun 2015 18:37:54 +0000 (18:37 +0000)]
am b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

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

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

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

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 agoAvoid htons and ntohs in deSocket
Pyry Haulos [Tue, 30 Jun 2015 17:48:49 +0000 (10:48 -0700)]
Avoid htons and ntohs in deSocket

Despite best efforts, the magic required for htons/ntohs implementation
seems to always trigger warnings on some platform or build target.

Change-Id: Ib38202e07c55a98122715d6b17a4dfcc25b91f6d

9 years agoMerge "Enable -Wconversion."
Jarkko Pöyry [Tue, 30 Jun 2015 17:15:17 +0000 (17:15 +0000)]
Merge "Enable -Wconversion."

9 years agoMerge "Fix GraphicBuffer warnings on mips and mips64."
Jarkko Pöyry [Tue, 30 Jun 2015 17:14:50 +0000 (17:14 +0000)]
Merge "Fix GraphicBuffer warnings on mips and mips64."

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 agoRemove helper_invocation cases from rotation and msaa set.
Jarkko Pöyry [Tue, 30 Jun 2015 03:18:44 +0000 (20:18 -0700)]
Remove helper_invocation cases from rotation and msaa set.

Helper_invocation cases use always fbo for rendering. Fbos are not affected
by device rotations or default fb msaa.

Bug: 22181180
Change-Id: I0d31ca8d5097a54e840d00705679339d322ede68

9 years agoFix GraphicBuffer warnings on mips and mips64.
Jarkko Pöyry [Tue, 30 Jun 2015 02:17:20 +0000 (19:17 -0700)]
Fix GraphicBuffer warnings on mips and mips64.

Change-Id: I057c5dc7254ec8df2b8df88bbbc051d3729d90dd

9 years agoEnable -Wconversion.
Jarkko Pöyry [Sat, 30 May 2015 01:39:00 +0000 (18:39 -0700)]
Enable -Wconversion.

Bug: 21161908
Change-Id: I42f968968e595672a685dbdc361f3e08d07e7e60

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

* commit 'f06acba484a0a0a76a29607e0ec2d61e361b8d42':
  Remove MSAA wide line helper invocation cases from mustpass.

9 years agoam 706acd37: am 0fd10bc9: Merge "Remove texture size tests with incorrect threshold...
Jarkko Pöyry [Mon, 29 Jun 2015 23:50:48 +0000 (23:50 +0000)]
am 706acd37: am 0fd10bc9: Merge "Remove texture size tests with incorrect threshold from mustpass." into mnc-dev

* commit '706acd370a0d9d1c7660052001c7b785a5d9eba3':
  Remove texture size tests with incorrect threshold from mustpass.

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

* commit '1caba4af04e8899550b5117365295c004ce24d6e':
  Remove MSAA wide line helper invocation cases from mustpass.

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

* commit '0fd10bc982abfb4b89b6f91c4ff2a4e6a607b01d':
  Remove texture size tests with incorrect threshold from mustpass.

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 agoUpgrade standalone build to NDK r10e
Pyry Haulos [Thu, 25 Jun 2015 20:00:28 +0000 (13:00 -0700)]
Upgrade standalone build to NDK r10e

 * Clang is default compiler now, can be overriden by giving
-DDE_COMPILER=DE_COMPILER_GCC option to cmake when generating build
files.

 * ARM targets use libc++ for full C++11 compatibility, x86 continues to
use glibc++ due to a toolchain bug (bug 22124988).

Change-Id: Icc2d7f9f0d55c64cede39e02ea7344f3d4e3c408

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 agoam f2b0ed6d: am 74712136: Merge "Fix helper_invocation.* rendering mostly black....
Jarkko Pöyry [Wed, 24 Jun 2015 22:53:09 +0000 (22:53 +0000)]
am f2b0ed6d: am 74712136: Merge "Fix helper_invocation.* rendering mostly black." into mnc-dev

* commit 'f2b0ed6d7b6a0a4c633a22bc5f23340759c8827e':
  Fix helper_invocation.* rendering mostly black.

9 years agoam ad803038: am 6c9ec4d0: Use only representable floats in frexp() case inputs.
Jarkko Pöyry [Wed, 24 Jun 2015 22:53:08 +0000 (22:53 +0000)]
am ad803038: am 6c9ec4d0: Use only representable floats in frexp() case inputs.

* commit 'ad803038b545bc51c3eda1d05858c6b319caf94a':
  Use only representable floats in frexp() case inputs.

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

* commit '74712136a385431ed0f714363657c02c8fd78fe9':
  Fix helper_invocation.* rendering mostly black.

9 years agoam 6c9ec4d0: Use only representable floats in frexp() case inputs.
Jarkko Pöyry [Wed, 24 Jun 2015 22:39:28 +0000 (22:39 +0000)]
am 6c9ec4d0: Use only representable floats in frexp() case inputs.

* commit '6c9ec4d03a5a9eb4e7cc7e665181c216fefe49f9':
  Use only representable floats in frexp() case inputs.

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 intThresholdPositionDeviationCompare with acceptOutOfBoundsAsAnyValue = false.
Jarkko Pöyry [Wed, 24 Jun 2015 21:21:06 +0000 (14:21 -0700)]
Fix intThresholdPositionDeviationCompare with acceptOutOfBoundsAsAnyValue = false.

Bug: 22010138
Change-Id: I76a85f02324d1b2c0c98cabbb484623dbd3d6b07

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 agoMerge "Fix invalid error code in eglWaitNative() negative tests."
Jarkko Pöyry [Tue, 23 Jun 2015 22:33:32 +0000 (22:33 +0000)]
Merge "Fix invalid error code in eglWaitNative() negative tests."

9 years agoam 7c406e37: am 8ff52f0a: Remove MSAA derivate and reflect highp vec4 cases
Kalle Raita [Tue, 23 Jun 2015 18:23:43 +0000 (18:23 +0000)]
am 7c406e37: am 8ff52f0a: Remove MSAA derivate and reflect highp vec4 cases

* commit '7c406e370bd7bcbef76a2fb3db1583549473368c':
  Remove MSAA derivate and reflect highp vec4 cases

9 years agoFix invalid error code in eglWaitNative() negative tests.
Jarkko Pöyry [Tue, 23 Jun 2015 18:10:46 +0000 (11:10 -0700)]
Fix invalid error code in eglWaitNative() negative tests.

Bug: 20178024
Change-Id: Ie4fd705f40bab54912339b8b892d2e09f2b2e79b

9 years agoam 8ff52f0a: Remove MSAA derivate and reflect highp vec4 cases
Kalle Raita [Tue, 23 Jun 2015 18:07:12 +0000 (18:07 +0000)]
am 8ff52f0a: Remove MSAA derivate and reflect highp vec4 cases

* commit '8ff52f0ac5182953f648918b8421f35cacc181a5':
  Remove MSAA derivate and reflect highp vec4 cases

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 agoam 5e12d512: am b6017bbc: Bump float->int64 conversion threshold by one bit.
Jarkko Pöyry [Mon, 22 Jun 2015 21:57:02 +0000 (21:57 +0000)]
am 5e12d512: am b6017bbc: Bump float->int64 conversion threshold by one bit.

* commit '5e12d5124559805fc22eb3014b6ee6969abc3b2d':
  Bump float->int64 conversion threshold by one bit.

9 years agoam 80fcf290: am 5b426a53: Remove atan2 precision tests from mustpass
Pyry Haulos [Mon, 22 Jun 2015 21:56:32 +0000 (21:56 +0000)]
am 80fcf290: am 5b426a53: Remove atan2 precision tests from mustpass

* commit '80fcf2902c362bbaae6763c42235f84aca67dc69':
  Remove atan2 precision tests from mustpass

9 years agoam b6017bbc: Bump float->int64 conversion threshold by one bit.
Jarkko Pöyry [Mon, 22 Jun 2015 21:20:01 +0000 (21:20 +0000)]
am b6017bbc: Bump float->int64 conversion threshold by one bit.

* commit 'b6017bbcad91d601e38d44c5ce129eb7580e75cb':
  Bump float->int64 conversion threshold by one bit.

9 years agoam 5b426a53: Remove atan2 precision tests from mustpass
Pyry Haulos [Mon, 22 Jun 2015 21:01:17 +0000 (21:01 +0000)]
am 5b426a53: Remove atan2 precision tests from mustpass

* commit '5b426a53438677ee634be981a39f1d574b99ac17':
  Remove atan2 precision tests from mustpass

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 agoMerge "Don't mangle safe bit patterns in copy_image sRGB RB cases."
Jarkko Pöyry [Mon, 22 Jun 2015 20:15:42 +0000 (20:15 +0000)]
Merge "Don't mangle safe bit patterns in copy_image sRGB RB cases."

9 years agoMerge "Log dst format copy area size in copy_image test for clarity."
Jarkko Pöyry [Mon, 22 Jun 2015 20:15:34 +0000 (20:15 +0000)]
Merge "Log dst format copy area size in copy_image test for clarity."

9 years agoresolved conflicts for merge of 466ee0e8 to master
Kalle Raita [Mon, 22 Jun 2015 18:09:47 +0000 (11:09 -0700)]
resolved conflicts for merge of 466ee0e8 to master

Change-Id: Iabda7ea7e3a502707e847cdb99e6976a886db172

9 years agoDon't mangle safe bit patterns in copy_image sRGB RB cases.
Jarkko Pöyry [Sat, 20 Jun 2015 03:06:47 +0000 (20:06 -0700)]
Don't mangle safe bit patterns in copy_image sRGB RB cases.

Clearing a sRGB framebuffer takes in the clear color in linear space and
then transforms it to sRGB space. This process destroys the carefully
selected clear color bit pattern. Avoid bit mangling by doing first an
inverse tranformation to the supplied clear color which restores the bit
pattern when the color is coverted to sRGB internal format.

Bug: 20698928
Bug: 21951463
Change-Id: I2155e8a977cc524401b5f98c7dde4502f62e35a7

9 years agoam 6d84d9ec: Fix unrelated errors in ASTC negative API tests
Kalle Raita [Mon, 22 Jun 2015 16:59:20 +0000 (16:59 +0000)]
am 6d84d9ec: Fix unrelated errors in ASTC negative API tests

* commit '6d84d9ec7fd0c0ac695f895c8d5e471b530ecc0a':
  Fix unrelated errors in ASTC negative API tests

9 years agoLog dst format copy area size in copy_image test for clarity.
Jarkko Pöyry [Sat, 20 Jun 2015 03:46:43 +0000 (20:46 -0700)]
Log dst format copy area size in copy_image test for clarity.

Bug: 21951605
Change-Id: Ie2f3e3f8ba01921e2842dd9342686213317ae0a4

9 years agoMerge "Use de::ArrayBuffer in tcu::Surface."
Jarkko Pöyry [Mon, 22 Jun 2015 16:43:30 +0000 (16:43 +0000)]
Merge "Use de::ArrayBuffer in tcu::Surface."

9 years agoAdd licenses to several scripts and misc files.
Jamie Madill [Fri, 19 Jun 2015 22:27:44 +0000 (18:27 -0400)]
Add licenses to several scripts and misc files.

This fixes integration with Chromium, since it has a bot that checks that
all sources files have an appropriate license.

Bug: 21903358
Change-Id: I27ffd7a9feee81a1d29cca64cda88b2d1e67708d

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 agoMerge "Remove non-trivially modified random shader cases from mustpass."
Jarkko Pöyry [Fri, 19 Jun 2015 18:38:00 +0000 (18:38 +0000)]
Merge "Remove non-trivially modified random shader cases from mustpass."

9 years agoRemove non-trivially modified random shader cases from mustpass.
Jarkko Pöyry [Mon, 15 Jun 2015 22:53:08 +0000 (15:53 -0700)]
Remove non-trivially modified random shader cases from mustpass.

Random shader generation erroneusly caused int overflows in value range
calculations. This is undefined behavior and it was fixed in commit
2106d67 (Change-Id: I810be9c747504df671629201ba56b5b8ed2307d7) but
since the existing tests were generated using the broken code, the fix
changed slightly the generation logic and thus the existing tests. This
CL removes all tests from mustpass for which the generation results in
significantly different shaders. Trivially changed shaders are left
unremoved as the feature coverage of those tests is expected to remain
unchanged.

Bug: 21851700
Change-Id: Ic0930602fc17c1851b9ffa694c04a884294f438b

9 years agoam 143aabaa: am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch
Pyry Haulos [Fri, 19 Jun 2015 18:09:29 +0000 (18:09 +0000)]
am 143aabaa: am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch

* commit '143aabaa689c67c25e29832450452c9394343b38':
  Add GLSL ES 3.0 tests for default uniform precision mismatch

9 years agoam 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch
Pyry Haulos [Fri, 19 Jun 2015 17:56:18 +0000 (17:56 +0000)]
am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch

* commit '7cbc13c0d0410af3031a3c13353bbf6456c8be04':
  Add GLSL ES 3.0 tests for default uniform precision mismatch

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 agoUse de::ArrayBuffer in tcu::Surface.
Mika Isojärvi [Wed, 29 Apr 2015 23:14:12 +0000 (16:14 -0700)]
Use de::ArrayBuffer in tcu::Surface.

Change-Id: Ia55dbb91a9adc4b5842f42d7797678dd57f9dae3

9 years agoam 7ac44dca: am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random...
Jarkko Pöyry [Thu, 18 Jun 2015 20:10:38 +0000 (20:10 +0000)]
am 7ac44dca: am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

* commit '7ac44dca240bc798dc87bba7da3659abd2aad2ad':
  Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

9 years agoam ab888c4e: am c65c11dd: Merge "Fix expected results in implicit conversion tests...
Jarkko Pöyry [Thu, 18 Jun 2015 20:10:37 +0000 (20:10 +0000)]
am ab888c4e: am c65c11dd: Merge "Fix expected results in implicit conversion tests" into mnc-dev

* commit 'ab888c4e417a91032a3a6a5453aa5c099fd67372':
  Fix expected results in implicit conversion tests

9 years agoam afc89f0f: am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.
Jarkko Pöyry [Thu, 18 Jun 2015 20:10:36 +0000 (20:10 +0000)]
am afc89f0f: am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.

* commit 'afc89f0f625f1bf7d033a7ccbf9624ea38e32a56':
  Allow interchangeable signed zeros in fragment stage frexp.

9 years agoam 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass...
Jarkko Pöyry [Thu, 18 Jun 2015 19:59:36 +0000 (19:59 +0000)]
am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

* commit '8d9fc5df05ee92be26d2a4a6f47025fece1a03f1':
  Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

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

* commit 'c65c11dd1d3227cb9a3b93fdda9ed1debd3cd8ed':
  Fix expected results in implicit conversion tests

9 years agoam 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.
Jarkko Pöyry [Thu, 18 Jun 2015 19:59:34 +0000 (19:59 +0000)]
am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.

* commit '7b3d2d144661c38a8e609d4633f1585b7c5d3c43':
  Allow interchangeable signed zeros in fragment stage frexp.

9 years agoMerge "Add negative tests for explicit TCS-TES varying arrays."
Jarkko Pöyry [Thu, 18 Jun 2015 19:21:03 +0000 (19:21 +0000)]
Merge "Add negative tests for explicit TCS-TES varying arrays."

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 agoMerge "Fix int -> float conversion warning."
Jarkko Pöyry [Sat, 13 Jun 2015 00:42:51 +0000 (00:42 +0000)]
Merge "Fix int -> float conversion warning."

9 years agoMerge "Fix uninitialized values in astc decompression"
Mika Isojärvi [Fri, 12 Jun 2015 22:38:53 +0000 (22:38 +0000)]
Merge "Fix uninitialized values in astc decompression"

9 years agoFix uninitialized values in astc decompression
Mika Isojärvi [Fri, 12 Jun 2015 22:01:36 +0000 (15:01 -0700)]
Fix uninitialized values in astc decompression

Change-Id: I2553d5108828c435271d5d2629bb60d0fee1663f

9 years agoMerge "Avoid uninitialized values in draw tests"
Mika Isojärvi [Fri, 12 Jun 2015 22:32:36 +0000 (22:32 +0000)]
Merge "Avoid uninitialized values in draw tests"

9 years agoAvoid uninitialized values in draw tests
Mika Isojärvi [Fri, 12 Jun 2015 22:11:12 +0000 (15:11 -0700)]
Avoid uninitialized values in draw tests

Change-Id: I03433fafa3b7229495f5f869859949073f6be47a

9 years agoMerge "Use transfer format for uploaded data in texture tests"
Mika Isojärvi [Fri, 12 Jun 2015 22:05:27 +0000 (22:05 +0000)]
Merge "Use transfer format for uploaded data in texture tests"

9 years agoFix int -> float conversion warning.
Jarkko Pöyry [Fri, 12 Jun 2015 21:05:20 +0000 (14:05 -0700)]
Fix int -> float conversion warning.

Change-Id: Ie268a07df360aba0c8e381658427a47510c5aca0

9 years agoAdd negative tests for explicit TCS-TES varying arrays.
Jarkko Pöyry [Wed, 10 Jun 2015 02:08:33 +0000 (19:08 -0700)]
Add negative tests for explicit TCS-TES varying arrays.

Bug: 21737242
Change-Id: I27cd6defd9185698f4861e69f894e7bb669088b0

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 agoam 19b42082: am bd58796d: Remove wide line interpolation cases from mustpass.
Jarkko Pöyry [Fri, 12 Jun 2015 18:37:44 +0000 (18:37 +0000)]
am 19b42082: am bd58796d: Remove wide line interpolation cases from mustpass.

* commit '19b4208218b157f938363c8fd2462860a1519840':
  Remove wide line interpolation cases from mustpass.

9 years agoam bd58796d: Remove wide line interpolation cases from mustpass.
Jarkko Pöyry [Fri, 12 Jun 2015 18:24:11 +0000 (18:24 +0000)]
am bd58796d: Remove wide line interpolation cases from mustpass.

* commit 'bd58796db4526ba76686d537a9f13b3202bd600c':
  Remove wide line interpolation cases from mustpass.

9 years agoMerge "Fix off-by-one in floatUlpThresholdCompare."
Jarkko Pöyry [Fri, 12 Jun 2015 18:04:42 +0000 (18:04 +0000)]
Merge "Fix off-by-one in floatUlpThresholdCompare."

9 years agoFix off-by-one in floatUlpThresholdCompare.
Jarkko Pöyry [Fri, 12 Jun 2015 17:33:34 +0000 (10:33 -0700)]
Fix off-by-one in floatUlpThresholdCompare.

Fix off-by-one in ULP calculation causing comparison accepting errors
one larger than threshold if either of the compared operands were
excatly 0.

Change-Id: I328eebfae5c8caa1f34dea3e519d4dfa41fd92a9

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 "Update egl/common.py"
Hengyuan Hu [Fri, 12 Jun 2015 17:11:24 +0000 (17:11 +0000)]
Merge "Update egl/common.py"

9 years agoMerge "Avoid accessing uninitialized values in get/setPixDepth/Stencil"
Mika Isojärvi [Fri, 12 Jun 2015 17:08:26 +0000 (17:08 +0000)]
Merge "Avoid accessing uninitialized values in get/setPixDepth/Stencil"

9 years agoUpdate egl/common.py
Hengyuan Hu [Fri, 12 Jun 2015 00:48:52 +0000 (17:48 -0700)]
Update egl/common.py

Add wrappers for EGL_EXT_buffer_age, EGL_KHR_partial_update and
EGL_KHR_swap_buffers_with_damage.

Change-Id: I5bdbd2f6d36c34aee244e191001d97adefd8d7f8

9 years agoam 0266f255: am a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved...
Jarkko Pöyry [Thu, 11 Jun 2015 22:22:15 +0000 (22:22 +0000)]
am 0266f255: am a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into mnc-dev

* commit '0266f255775eb0b406f0a509fde6d10108078112':
  Enable default VAO attrib divisor test for resolved Khronos bug 13564.

9 years agoam a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved Khronos bug...
Jarkko Pöyry [Thu, 11 Jun 2015 22:09:52 +0000 (22:09 +0000)]
am a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into mnc-dev

* commit 'a4ee9d81761262d28b8219cae3199d59d04f9a9c':
  Enable default VAO attrib divisor test for resolved Khronos bug 13564.

9 years agoAvoid accessing uninitialized values in get/setPixDepth/Stencil
Mika Isojärvi [Wed, 10 Jun 2015 23:27:08 +0000 (16:27 -0700)]
Avoid accessing uninitialized values in get/setPixDepth/Stencil

Access only depth or stencil component when using combined formats in
tcu::Texture to avoid propagating uninitialized values.

Change-Id: I399c912ef07710a5dbb9e85559d108b98a9f2178

9 years agoam 685c36aa: am 28b88d23: Remove interpolate_at_centroid tests from mustpass.
Jarkko Pöyry [Thu, 11 Jun 2015 21:20:42 +0000 (21:20 +0000)]
am 685c36aa: am 28b88d23: Remove interpolate_at_centroid tests from mustpass.

* commit '685c36aa1f359b33a301e8ce1dd8d90ae4122dce':
  Remove interpolate_at_centroid tests from mustpass.

9 years agoam 4f5bacb8: am a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into...
Jarkko Pöyry [Thu, 11 Jun 2015 21:20:41 +0000 (21:20 +0000)]
am 4f5bacb8: am a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev

* commit '4f5bacb8d76ea2f18704338146e9189bb3885f67':
  Ignore denormals in floatUlpThresholdCompare.

9 years agoam b559f2e9: am eb7b7b57: Merge "Convert negative pragma cases to positive." into...
Jarkko Pöyry [Thu, 11 Jun 2015 21:20:40 +0000 (21:20 +0000)]
am b559f2e9: am eb7b7b57: Merge "Convert negative pragma cases to positive." into mnc-dev

* commit 'b559f2e97fdd78ab0ebd63afb5f7cb8cdde4bc00':
  Convert negative pragma cases to positive.

9 years agoam 28b88d23: Remove interpolate_at_centroid tests from mustpass.
Jarkko Pöyry [Thu, 11 Jun 2015 21:11:12 +0000 (21:11 +0000)]
am 28b88d23: Remove interpolate_at_centroid tests from mustpass.

* commit '28b88d232e3758d30ff25ed132ac4df6f742fb4a':
  Remove interpolate_at_centroid tests from mustpass.

9 years agoam a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 21:10:44 +0000 (21:10 +0000)]
am a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev

* commit 'a0227f11d2a18d73fdef4edda07dc1a93ec5113a':
  Ignore denormals in floatUlpThresholdCompare.

9 years agoam eb7b7b57: Merge "Convert negative pragma cases to positive." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 21:10:43 +0000 (21:10 +0000)]
am eb7b7b57: Merge "Convert negative pragma cases to positive." into mnc-dev

* commit 'eb7b7b5711e0447e6ea0ab28ca3574fdb9efdd76':
  Convert negative pragma cases to positive.

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