platform/upstream/VK-GL-CTS.git
9 years agoUpdate mustpass to exclude buffer_age test
Hengyuan Hu [Mon, 13 Jul 2015 22:29:15 +0000 (15:29 -0700)]
Update mustpass to exclude buffer_age test

Change-Id: I465e4646356818fa12cacf6cf68a536de3d61ece

9 years agoMerge "Re-create build directory if using existing one fails"
Pyry Haulos [Mon, 13 Jul 2015 20:06:28 +0000 (20:06 +0000)]
Merge "Re-create build directory if using existing one fails"

9 years agoRe-create build directory if using existing one fails
Pyry Haulos [Mon, 13 Jul 2015 19:44:53 +0000 (12:44 -0700)]
Re-create build directory if using existing one fails

When having multiple branches simultaneously checked out, it is common
to run into a situation where build_caselists.py or
build_android_mustpass.py fails since the existing build directory
points to different source tree.

As a fix remove and re-create build directory if using existing one
fails.

Change-Id: I3345482fbd3807dc153ac57aee6e893d059fc963

9 years agoIncrease target frame time in depth compare perf tests
Pyry Haulos [Mon, 13 Jul 2015 19:29:01 +0000 (12:29 -0700)]
Increase target frame time in depth compare perf tests

Target frame time of 10ms will not work on most systems that have vsync
enabled. Use 33ms / 30fps instead.

Change-Id: Ibd5b8b6b3757c85bf05a666f6ceead6c7145d25c

9 years agoMerge "Add LaunchControl null build with android must-pass generation."
Kalle Raita [Mon, 13 Jul 2015 17:46:44 +0000 (17:46 +0000)]
Merge "Add LaunchControl null build with android must-pass generation."

9 years agoAdd LaunchControl null build with android must-pass generation.
Kalle Raita [Fri, 10 Jul 2015 20:54:54 +0000 (13:54 -0700)]
Add LaunchControl null build with android must-pass generation.

Change-Id: I01c1cb2fa90174b9f442e1e98237024f8aed9159

9 years agoam 26931108: am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass...
Pyry Haulos [Fri, 10 Jul 2015 21:56:03 +0000 (21:56 +0000)]
am 26931108: am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

* commit '2693110863d53e7cf641c4569d28aa7376e50bd2':
  Remove highp acosh() and atanh() tests from mustpass

9 years agoam 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev
Pyry Haulos [Fri, 10 Jul 2015 21:41:21 +0000 (21:41 +0000)]
am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

* commit '4f2b8b0a428812eab6f7ca4a6785ea9f7b37ecd7':
  Remove highp acosh() and atanh() tests from mustpass

9 years agoAllow alternative expansion of acosh()
Pyry Haulos [Fri, 10 Jul 2015 20:59:53 +0000 (13:59 -0700)]
Allow alternative expansion of acosh()

Bug: 22302334
Change-Id: I00cb642d4494770ec33738a12c3cb9fd5ae99745

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 agoam 5bc95474: am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3...
Jarkko Pöyry [Thu, 9 Jul 2015 01:33:43 +0000 (01:33 +0000)]
am 5bc95474: am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

* commit '5bc95474320729390211ac3c01708b57c390004c':
  Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

9 years agoam 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.
Jarkko Pöyry [Thu, 9 Jul 2015 01:14:51 +0000 (01:14 +0000)]
am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

* commit '8acdc205af7e417ece2f31526bb209309871340d':
  Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

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 agoam f9185641: am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from...
Pyry Haulos [Wed, 8 Jul 2015 02:07:35 +0000 (02:07 +0000)]
am f9185641: am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

* commit 'f91856418ad7de5d7217dbbea281ee42808e7aa7':
  Remove mediump sin/cos/tan precision tests from mustpass

9 years agoam 0f2d0484: am e8efb729: Relax asin() precision requirements
Pyry Haulos [Wed, 8 Jul 2015 02:07:33 +0000 (02:07 +0000)]
am 0f2d0484: am e8efb729: Relax asin() precision requirements

* commit '0f2d0484a4b9a3ee6e7ffbcf303ba5354504c7e7':
  Relax asin() precision requirements

9 years agoam b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into...
Pyry Haulos [Wed, 8 Jul 2015 01:36:11 +0000 (01:36 +0000)]
am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

* commit 'b24fe40c85c66677d846f038c6cb0bf06447d616':
  Remove mediump sin/cos/tan precision tests from mustpass

9 years agoam e8efb729: Relax asin() precision requirements
Pyry Haulos [Wed, 8 Jul 2015 01:36:10 +0000 (01:36 +0000)]
am e8efb729: Relax asin() precision requirements

* commit 'e8efb729845f35160e5ab692226a1394154ccb24':
  Relax asin() precision requirements

9 years agoMerge "Update mustpass"
Hengyuan Hu [Tue, 7 Jul 2015 22:40:22 +0000 (22:40 +0000)]
Merge "Update mustpass"

9 years agoUpdate mustpass
Hengyuan Hu [Tue, 7 Jul 2015 22:34:21 +0000 (15:34 -0700)]
Update mustpass

Update mustpass after adding teglBufferAgeTest

Change-Id: I8bdc20fe19219e3fdad3370dc9669bb3f7964391

9 years agoMerge "Add tests for EGL_EXT_buffer_age"
Hengyuan Hu [Tue, 7 Jul 2015 22:33:06 +0000 (22:33 +0000)]
Merge "Add tests for EGL_EXT_buffer_age"

9 years agoAdd tests for EGL_EXT_buffer_age
Hengyuan Hu [Thu, 18 Jun 2015 20:26:57 +0000 (13:26 -0700)]
Add tests for EGL_EXT_buffer_age

Add basic functionality tests for EGL_EXT_buffer_age. Rendering using
single drawtype as well as combinations of two drawtypes is tested.
Introduce a new FrameSequence class to avoid the situation where edges
of different rectangles are too close to each other.

Change-Id: Id77b50ae962c9580a27d90807bcea4b5f785fadf

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 agoam 593dcffd: am b5d33660: Fix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Tue, 7 Jul 2015 20:37:37 +0000 (20:37 +0000)]
am 593dcffd: am b5d33660: Fix scaling of precision for mediump sin/cos/tan

* commit '593dcffd28535bffe19cbebfa56962eac3431226':
  Fix scaling of precision for mediump sin/cos/tan

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 agoam b5d33660: Fix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Tue, 7 Jul 2015 19:36:19 +0000 (19:36 +0000)]
am b5d33660: Fix scaling of precision for mediump sin/cos/tan

* commit 'b5d3366020ce9abfdbd6d10686d8c2fea7787ce9':
  Fix scaling of precision for mediump sin/cos/tan

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 agoam 2b0b8aa0: am 8e77955a: Remove remaining wide line interpolation cases from mustpass.
Jarkko Pöyry [Tue, 7 Jul 2015 00:33:06 +0000 (00:33 +0000)]
am 2b0b8aa0: am 8e77955a: Remove remaining wide line interpolation cases from mustpass.

* commit '2b0b8aa0bf5d9391e8ea29cf7ae923c663b6e641':
  Remove remaining wide line interpolation cases from mustpass.

9 years agoam 8e77955a: Remove remaining wide line interpolation cases from mustpass.
Jarkko Pöyry [Mon, 6 Jul 2015 22:57:02 +0000 (22:57 +0000)]
am 8e77955a: Remove remaining wide line interpolation cases from mustpass.

* commit '8e77955a66e73dafccedd6284b4482eaf9e69e8a':
  Remove remaining wide line interpolation cases from mustpass.

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 agoMerge "Remove duplicated texture derivative functions."
Jarkko Pöyry [Mon, 6 Jul 2015 17:44:00 +0000 (17:44 +0000)]
Merge "Remove duplicated texture derivative functions."

9 years agoMerge "Remove unused clear(SurfaceAccess)."
Jarkko Pöyry [Mon, 6 Jul 2015 17:43:53 +0000 (17:43 +0000)]
Merge "Remove unused clear(SurfaceAccess)."

9 years agoRemove duplicated texture derivative functions.
Jarkko Pöyry [Thu, 2 Jul 2015 01:45:31 +0000 (18:45 -0700)]
Remove duplicated texture derivative functions.

Change-Id: I66c4288fe92475d1463c0a97bceb6b456c4a9603

9 years agoRemove unused clear(SurfaceAccess).
Jarkko Pöyry [Tue, 30 Jun 2015 21:54:29 +0000 (14:54 -0700)]
Remove unused clear(SurfaceAccess).

Change-Id: I8adf9f89d7dad06b1b123ed6fff80ca753cb0ce7

9 years agoam 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests by 90%.
Jarkko Pöyry [Fri, 3 Jul 2015 16:48:28 +0000 (16:48 +0000)]
am 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests by 90%.

* commit '29a994fbbbba977d7c9b13c2d15d114601b1a9eb':
  Reduce rendering load in large sync tests by 90%.

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 6fe4621d: Reduce rendering load in large sync tests by 90%.
Jarkko Pöyry [Thu, 2 Jul 2015 00:46:56 +0000 (00:46 +0000)]
am 6fe4621d: Reduce rendering load in large sync tests by 90%.

* commit '6fe4621dfaa3d80deb71bbe63347d48ee9c2043e':
  Reduce rendering load in large sync tests by 90%.

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 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 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