platform/upstream/VK-GL-CTS.git
9 years agoMerge "Fix destream -Wconversion warnings."
Jarkko Pöyry [Thu, 21 May 2015 19:34:12 +0000 (19:34 +0000)]
Merge "Fix destream -Wconversion warnings."

9 years agoMerge "Fix deInt32.h -Wconversion warnings."
Jarkko Pöyry [Thu, 21 May 2015 19:33:53 +0000 (19:33 +0000)]
Merge "Fix deInt32.h -Wconversion warnings."

9 years agoMerge "Fix -Wconversion warnings in dethread."
Jarkko Pöyry [Thu, 21 May 2015 19:33:28 +0000 (19:33 +0000)]
Merge "Fix -Wconversion warnings in dethread."

9 years agoMerge "Fix -Wconversion warnings in rr and sglr."
Jarkko Pöyry [Thu, 21 May 2015 01:14:55 +0000 (01:14 +0000)]
Merge "Fix -Wconversion warnings in rr and sglr."

9 years agoMerge "Reduce RGBA coversion code duplication."
Jarkko Pöyry [Wed, 20 May 2015 19:37:30 +0000 (19:37 +0000)]
Merge "Reduce RGBA coversion code duplication."

9 years agoReduce RGBA coversion code duplication.
Jarkko Pöyry [Wed, 20 May 2015 01:16:20 +0000 (18:16 -0700)]
Reduce RGBA coversion code duplication.

Change-Id: I638cb7baf6b802543a00f77b05c9dc93ed5253d2

9 years agoFix -Wconversion warnings in rr and sglr.
Jarkko Pöyry [Wed, 20 May 2015 00:20:59 +0000 (17:20 -0700)]
Fix -Wconversion warnings in rr and sglr.

Bug: 21161908
Change-Id: Ic13ea42910019a476ed52e99645cfdbcc9294538

9 years agoFix destream -Wconversion warnings.
Jarkko Pöyry [Tue, 19 May 2015 19:29:30 +0000 (12:29 -0700)]
Fix destream -Wconversion warnings.

Bug: 21161908
Change-Id: I6d43490a26294dea4ee5c6dd4c155c291b6cadf2

9 years agoFix -Wconversion warnings in dethread.
Jarkko Pöyry [Tue, 19 May 2015 18:22:24 +0000 (11:22 -0700)]
Fix -Wconversion warnings in dethread.

Bug: 21161908
Change-Id: If10008c78ab1c503a7e2082d3690e1882310d9d2

9 years agoFix deInt32.h -Wconversion warnings.
Jarkko Pöyry [Mon, 18 May 2015 18:30:26 +0000 (11:30 -0700)]
Fix deInt32.h -Wconversion warnings.

- deSignBit32 returns uint.
- deClz64 takes in uint.
- Hash functions return uint.

Bug: 21161908
Change-Id: Ia78bd5f54c5a03677b0b035e79add0b9eb997280

9 years agoMerge "Fix stderr printing."
Jarkko Pöyry [Tue, 19 May 2015 19:39:52 +0000 (19:39 +0000)]
Merge "Fix stderr printing."

9 years agoFix deSpinBarrier deadlock.
Jarkko Pöyry [Tue, 19 May 2015 03:55:41 +0000 (20:55 -0700)]
Fix deSpinBarrier deadlock.

Detaching a thread from deSpinBarrier caused a race with spin barrier's
triggering thread (last thread: atomicInc(numEntered) == numThreads)
detection test. If numThreads was decremented during the triggering
thread test, another thread would also be classidfied as a trigger to
release the barrier.

Multiple concurrent "trigger" threads caused the spinbarrier state to
become corrupted.

This CL uses a cached numThreads value in trigger test which removes
the race with currently running trigger thread. This also removes
unnecessary m_numLeaving modifications.

Change-Id: Ibfb3d4925fbe3063c982440a555b8aa131544465

9 years agoFix stderr printing.
Jarkko Pöyry [Tue, 19 May 2015 18:12:01 +0000 (11:12 -0700)]
Fix stderr printing.

Change-Id: Ibaa5976d469ed610ad795ec5cffee83a15707c00

9 years agoam a3c2a0f7: am ab63de16: Merge "Negative API tests against non-2D texture targets...
Kalle Raita [Fri, 15 May 2015 21:15:14 +0000 (21:15 +0000)]
am a3c2a0f7: am ab63de16: Merge "Negative API tests against non-2D texture targets with LDR ASTC." into mnc-dev

* commit 'a3c2a0f7110eca54aab857c9e437675f57360367':
  Negative API tests against non-2D texture targets with LDR ASTC.

9 years agoam ab63de16: Merge "Negative API tests against non-2D texture targets with LDR ASTC...
Kalle Raita [Fri, 15 May 2015 21:02:56 +0000 (21:02 +0000)]
am ab63de16: Merge "Negative API tests against non-2D texture targets with LDR ASTC." into mnc-dev

* commit 'ab63de160e602864bb89e5a14c10b5ec7065f909':
  Negative API tests against non-2D texture targets with LDR ASTC.

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

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

Bug: 20763295

Change-Id: I4df20607529abb8790ab254a79dc44218b8a3281

9 years agoMerge "Fuzzy compare improvements"
Pyry Haulos [Fri, 15 May 2015 19:37:40 +0000 (19:37 +0000)]
Merge "Fuzzy compare improvements"

9 years agoSplit null context factory in to its own file.
Jamie Madill [Fri, 15 May 2015 14:54:37 +0000 (10:54 -0400)]
Split null context factory in to its own file.

This allows the factory to be re-used in an application which
has another implementation of the createPlatform() function.

Change-Id: I186ee52d5832933e83ff8c6779aa2791fab89dbc

9 years agoFuzzy compare improvements
Pyry Haulos [Fri, 8 May 2015 23:56:53 +0000 (16:56 -0700)]
Fuzzy compare improvements

 * Move scaling of error magnitude at the very end to reduce rounding
   error accumulation.

 * Use integers instead of floating-point values for color distances.

 * Log images in tests.

 * Remove useless ability to tune some magic constants.

 * Tune thresholds as necessary.

Bug: 18423249
Change-Id: Idd66a3dd9102ef11ca5e2d18a0942ae18e5fd9dc

9 years agoam e5870a12: am 1c3a4b06: Fix EGL multithread single window tests.
Mika Isojärvi [Thu, 14 May 2015 01:01:35 +0000 (01:01 +0000)]
am e5870a12: am 1c3a4b06: Fix EGL multithread single window tests.

* commit 'e5870a12182912c0eeaaf21ba34d6b454070fc21':
  Fix EGL multithread single window tests.

9 years agoam 1c3a4b06: Fix EGL multithread single window tests.
Mika Isojärvi [Thu, 14 May 2015 00:43:24 +0000 (00:43 +0000)]
am 1c3a4b06: Fix EGL multithread single window tests.

* commit '1c3a4b06ebc1ea836f2d6a66e30d695f9656defc':
  Fix EGL multithread single window tests.

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

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

Bug: 20958064
Change-Id: I5366233c141278a994768110b399afa79f6ed2e5

9 years agoam 02ff313d: am 0267b32c: Revert "Make empty declaration tests positive."
Jarkko Pöyry [Tue, 12 May 2015 20:59:07 +0000 (20:59 +0000)]
am 02ff313d: am 0267b32c: Revert "Make empty declaration tests positive."

* commit '02ff313d0fe198040dc3c7a3adee0df0a7d9b62f':
  Revert "Make empty declaration tests positive."

9 years agoam 0267b32c: Revert "Make empty declaration tests positive."
Jarkko Pöyry [Tue, 12 May 2015 20:49:26 +0000 (20:49 +0000)]
am 0267b32c: Revert "Make empty declaration tests positive."

* commit '0267b32c1771d36234a7a9c0b1a904d32310572f':
  Revert "Make empty declaration tests positive."

9 years agoFix size_t conversion warnings in rr.
Jarkko Pöyry [Tue, 12 May 2015 20:33:24 +0000 (13:33 -0700)]
Fix size_t conversion warnings in rr.

Change-Id: I2c6e64fe1d675aa34ba778684b791862d59f432d

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

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

Bug: 20699693
Change-Id: I4435a637b6cd8564d51e584c0f63940939e307b9

9 years agoam 40d446a1: am 31b29031: Merge "Fix issues with non-tightly packed images." into...
Jarkko Pöyry [Tue, 12 May 2015 01:20:28 +0000 (01:20 +0000)]
am 40d446a1: am 31b29031: Merge "Fix issues with non-tightly packed images." into mnc-dev

* commit '40d446a19a7c708a499a8ce52ec9c13af921c4ca':
  Fix issues with non-tightly packed images.

9 years agoMerge "Improve combined depth stencil image handling."
Jarkko Pöyry [Tue, 12 May 2015 01:14:14 +0000 (01:14 +0000)]
Merge "Improve combined depth stencil image handling."

9 years agoam 780aa423: am eae7c694: Do not use combined format as depth target in EGL render...
Jarkko Pöyry [Tue, 12 May 2015 01:08:49 +0000 (01:08 +0000)]
am 780aa423: am eae7c694: Do not use combined format as depth target in EGL render tests.

* commit '780aa423d98b7009013b360049eb73834c4f490a':
  Do not use combined format as depth target in EGL render tests.

9 years agoam 31b29031: Merge "Fix issues with non-tightly packed images." into mnc-dev
Jarkko Pöyry [Tue, 12 May 2015 01:07:05 +0000 (01:07 +0000)]
am 31b29031: Merge "Fix issues with non-tightly packed images." into mnc-dev

* commit '31b2903165d4f3a75f67a847577960dd69346c01':
  Fix issues with non-tightly packed images.

9 years agoImprove combined depth stencil image handling.
Jarkko Pöyry [Tue, 12 May 2015 00:34:57 +0000 (17:34 -0700)]
Improve combined depth stencil image handling.

- Allow logging DS images. This will result in separate D and S images.
- Add depth and stencil multisample resolve.
- Do not resolve D and S attachments as a color attachment.

Bug: 21038103
Change-Id: Ib7840126094abf947043d73b3bada76c55988b02

9 years agoam eae7c694: Do not use combined format as depth target in EGL render tests.
Jarkko Pöyry [Tue, 12 May 2015 00:56:07 +0000 (00:56 +0000)]
am eae7c694: Do not use combined format as depth target in EGL render tests.

* commit 'eae7c69404441d33bf0c352d544a58d261cf34a9':
  Do not use combined format as depth target in EGL render tests.

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

9 years agoSupport combined DS formats in rr::Renderer.
Jarkko Pöyry [Mon, 11 May 2015 19:21:11 +0000 (12:21 -0700)]
Support combined DS formats in rr::Renderer.

- Separate combined formats in rr::RenderTarget.
- Add sanity checks to rr::FragmentProcessor.

Change-Id: I100f0d071662ff8631343d8237f6847f7f7665b2

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

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

Change-Id: If5b334de2658b7c714fe56bb561892b5a736e3b0

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

Bug: 20949289
Change-Id: I63f5bc6abb335ee1d097f93e87d16fcc54799f3e

9 years agoam 03523248: am d8478225: Fix onStart/onCreate race in instrumentation.
Jarkko Pöyry [Fri, 8 May 2015 23:05:50 +0000 (23:05 +0000)]
am 03523248: am d8478225: Fix onStart/onCreate race in instrumentation.

* commit '0352324866a7d7bc1824637d86596453447c3bfe':
  Fix onStart/onCreate race in instrumentation.

9 years agoam d8478225: Fix onStart/onCreate race in instrumentation.
Jarkko Pöyry [Fri, 8 May 2015 22:52:54 +0000 (22:52 +0000)]
am d8478225: Fix onStart/onCreate race in instrumentation.

* commit 'd8478225bb37c964522f4abaf890d3533795345a':
  Fix onStart/onCreate race in instrumentation.

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

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

Bug: 20949263
Change-Id: I9755a4b89430d507bc1a7376ad7c8440c8358746

9 years agoam 313f0906: (-s ours) am 952970c8: DO NOT MERGE: Do not spam activity manager if...
Jarkko Pöyry [Thu, 7 May 2015 22:12:04 +0000 (22:12 +0000)]
am 313f0906: (-s ours) am 952970c8: DO NOT MERGE: Do not spam activity manager if remote dies.

* commit '313f09064de9d7af420aa3ed7d8f12e2abcd46ef':
  DO NOT MERGE: Do not spam activity manager if remote dies.

9 years agoam 952970c8: DO NOT MERGE: Do not spam activity manager if remote dies.
Jarkko Pöyry [Thu, 7 May 2015 21:09:19 +0000 (21:09 +0000)]
am 952970c8: DO NOT MERGE: Do not spam activity manager if remote dies.

* commit '952970c8820492053ebcad6ec0c3b8e8dcac4dd1':
  DO NOT MERGE: Do not spam activity manager if remote dies.

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

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

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

9 years agoam 02c01c95: am 741830e4: Merge "Add missing EGLimage stencil image verifier." into...
Jarkko Pöyry [Thu, 7 May 2015 08:18:28 +0000 (08:18 +0000)]
am 02c01c95: am 741830e4: Merge "Add missing EGLimage stencil image verifier." into mnc-dev

* commit '02c01c95a78cbec44117b0054711ef4f950f5b34':
  Add missing EGLimage stencil image verifier.

9 years agoam 25ceee42: am 5998be16: Merge "Improve glFlush() & glFinish() tests" into mnc-dev
Pyry Haulos [Thu, 7 May 2015 08:18:27 +0000 (08:18 +0000)]
am 25ceee42: am 5998be16: Merge "Improve glFlush() & glFinish() tests" into mnc-dev

* commit '25ceee422c574d21eef06b71c2246783a3c808f3':
  Improve glFlush() & glFinish() tests

9 years agoam d7098b86: am 1992224c: Merge "Fix EGLImage depth image test issues." into mnc-dev
Jarkko Pöyry [Thu, 7 May 2015 08:18:26 +0000 (08:18 +0000)]
am d7098b86: am 1992224c: Merge "Fix EGLImage depth image test issues." into mnc-dev

* commit 'd7098b86a87db017cb2e74467a424983972e5e0c':
  Fix EGLImage depth image test issues.

9 years agoam cacb7cee: am f9620e1d: Merge "Remove copies from rendebuffers from must pass list...
Mika Isojärvi [Thu, 7 May 2015 08:18:25 +0000 (08:18 +0000)]
am cacb7cee: am f9620e1d: Merge "Remove copies from rendebuffers from must pass list." into mnc-dev

* commit 'cacb7ceebd01295e1d30e99b9826367ccb88c7fc':
  Remove copies from rendebuffers from must pass list.

9 years agoam 7724546a: am b2c6d88a: Merge "Remove SRGB copy image test bug from test issues...
Mika Isojärvi [Thu, 7 May 2015 08:18:24 +0000 (08:18 +0000)]
am 7724546a: am b2c6d88a: Merge "Remove SRGB copy image test bug from test issues list." into mnc-dev

* commit '7724546ab1980fb58c07825fc22c54fcd61bb066':
  Remove SRGB copy image test bug from test issues list.

9 years agoam 23c8c90b: am 4a8c0950: Merge "Do not use color EGLimages as depth or stencil image...
Jarkko Pöyry [Thu, 7 May 2015 08:18:23 +0000 (08:18 +0000)]
am 23c8c90b: am 4a8c0950: Merge "Do not use color EGLimages as depth or stencil images or vice versa." into mnc-dev

* commit '23c8c90b472f82f9c028a27ed777aae7a581071c':
  Do not use color EGLimages as depth or stencil images or vice versa.

9 years agoam 6a12ba4a: am 0ab338e5: Merge "Fix some warnings in border clamp tests." into mnc-dev
Jarkko Pöyry [Thu, 7 May 2015 08:18:22 +0000 (08:18 +0000)]
am 6a12ba4a: am 0ab338e5: Merge "Fix some warnings in border clamp tests." into mnc-dev

* commit '6a12ba4abd9873c9b22f35b9c1791bc296c0514c':
  Fix some warnings in border clamp tests.

9 years agoam 741830e4: Merge "Add missing EGLimage stencil image verifier." into mnc-dev
Jarkko Pöyry [Thu, 7 May 2015 05:26:28 +0000 (05:26 +0000)]
am 741830e4: Merge "Add missing EGLimage stencil image verifier." into mnc-dev

* commit '741830e40a09907429eaaac41c387f45dcc48cfa':
  Add missing EGLimage stencil image verifier.

9 years agoam 5998be16: Merge "Improve glFlush() & glFinish() tests" into mnc-dev
Pyry Haulos [Thu, 7 May 2015 05:26:28 +0000 (05:26 +0000)]
am 5998be16: Merge "Improve glFlush() & glFinish() tests" into mnc-dev

* commit '5998be1608dce3c5c9cb35535b557d1b9918186f':
  Improve glFlush() & glFinish() tests

9 years agoam 1992224c: Merge "Fix EGLImage depth image test issues." into mnc-dev
Jarkko Pöyry [Thu, 7 May 2015 05:26:18 +0000 (05:26 +0000)]
am 1992224c: Merge "Fix EGLImage depth image test issues." into mnc-dev

* commit '1992224cc33a223cf3faa17852ad9072ad5684b5':
  Fix EGLImage depth image test issues.

9 years agoam f9620e1d: Merge "Remove copies from rendebuffers from must pass list." into mnc-dev
Mika Isojärvi [Thu, 7 May 2015 05:26:15 +0000 (05:26 +0000)]
am f9620e1d: Merge "Remove copies from rendebuffers from must pass list." into mnc-dev

* commit 'f9620e1de0e733ae0a763bcdc508772f2ce4fe3c':
  Remove copies from rendebuffers from must pass list.

9 years agoam b2c6d88a: Merge "Remove SRGB copy image test bug from test issues list." into...
Mika Isojärvi [Thu, 7 May 2015 05:26:14 +0000 (05:26 +0000)]
am b2c6d88a: Merge "Remove SRGB copy image test bug from test issues list." into mnc-dev

* commit 'b2c6d88a5727265815d12fa2714e6da5a0446b04':
  Remove SRGB copy image test bug from test issues list.

9 years agoam 4a8c0950: Merge "Do not use color EGLimages as depth or stencil images or vice...
Jarkko Pöyry [Thu, 7 May 2015 05:25:20 +0000 (05:25 +0000)]
am 4a8c0950: Merge "Do not use color EGLimages as depth or stencil images or vice versa." into mnc-dev

* commit '4a8c095079859da42e192efbfed2ed7a49192ee5':
  Do not use color EGLimages as depth or stencil images or vice versa.

9 years agoam 0ab338e5: Merge "Fix some warnings in border clamp tests." into mnc-dev
Jarkko Pöyry [Thu, 7 May 2015 05:25:19 +0000 (05:25 +0000)]
am 0ab338e5: Merge "Fix some warnings in border clamp tests." into mnc-dev

* commit '0ab338e5721a3f31a0272572851beb4ce6442661':
  Fix some warnings in border clamp tests.

9 years agoam 5e942cac: (-s ours) am fef7d7ab: (-s ours) am 48c21c9a: (-s ours) am 0870de9a...
Pyry Haulos [Wed, 6 May 2015 23:10:17 +0000 (23:10 +0000)]
am 5e942cac: (-s ours) am fef7d7ab: (-s ours) am 48c21c9a: (-s ours) am 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp tests() automerge: c063641  -s ours

* commit '5e942cac64045b36fb17a43a8fc9929ad91eec34':

9 years agoam fef7d7ab: (-s ours) am 48c21c9a: (-s ours) am 0870de9a: DO NOT MERGE Do not requir...
Pyry Haulos [Wed, 6 May 2015 22:44:30 +0000 (22:44 +0000)]
am fef7d7ab: (-s ours) am 48c21c9a: (-s ours) am 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp tests() automerge: c063641  -s ours

* commit 'fef7d7ab988223f47776bd152bd89dd9ddb64bf2':

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

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

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

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

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

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

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

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

Change-Id: I891771d41a9bd48e58ad493f4b4dc7f28c571c30

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

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

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

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

Bug: 20638016
Change-Id: I8dbeb51b8dfb4392b3fa4216772308ec9e450cb4

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

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

Bug: 20637957
Change-Id: I158e51489ab8d562e74066b8549f5ee5a0d90cb7

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

Change-Id: I66d0bb08f9fc7d6a3b0a49e8866523d0d36bc61c

9 years agoam e9be5ead: am 05541490: Merge "Regenerate EGL mustpass lists" into mnc-dev
Pyry Haulos [Wed, 6 May 2015 18:58:20 +0000 (18:58 +0000)]
am e9be5ead: am 05541490: Merge "Regenerate EGL mustpass lists" into mnc-dev

* commit 'e9be5eada1762b0d9a1d23d493a9b959e8c96caf':
  Regenerate EGL mustpass lists

9 years agoam 7d13916d: am 03fcc673: Update ES2 mustpass based on latest feedback
Pyry Haulos [Wed, 6 May 2015 18:58:19 +0000 (18:58 +0000)]
am 7d13916d: am 03fcc673: Update ES2 mustpass based on latest feedback

* commit '7d13916dbaac221cbbbf902d9ae24b53e8a2d9cd':
  Update ES2 mustpass based on latest feedback

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

Bug: 20698928
Change-Id: Ia5fbf5ae7ff738522b79b8ee58122afb26c1090a

9 years agoam 05541490: Merge "Regenerate EGL mustpass lists" into mnc-dev
Pyry Haulos [Wed, 6 May 2015 18:46:28 +0000 (18:46 +0000)]
am 05541490: Merge "Regenerate EGL mustpass lists" into mnc-dev

* commit '05541490f0bbcfe1ef04e801b7bba342a2bed10a':
  Regenerate EGL mustpass lists

9 years agoam 03fcc673: Update ES2 mustpass based on latest feedback
Pyry Haulos [Wed, 6 May 2015 18:46:27 +0000 (18:46 +0000)]
am 03fcc673: Update ES2 mustpass based on latest feedback

* commit '03fcc6734fbc9ebfa89bfdebe09c6faa90f6aec3':
  Update ES2 mustpass based on latest feedback

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

Bug: 19897810
Change-Id: I3d42fc5c02efcff5784457f98869a2676c3d8249

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

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

Change-Id: Ic957f2692ffb176c1a267fe3548b408cebef55f5

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

Change-Id: Ia640c6bd001165099d1ec6af20739871e654a0e1

9 years agoam c2283562: am 37fb8b51: Merge "Relax builtin precision tests, fix issue in div...
Pyry Haulos [Wed, 6 May 2015 18:12:23 +0000 (18:12 +0000)]
am c2283562: am 37fb8b51: Merge "Relax builtin precision tests, fix issue in div rounding" into mnc-dev

* commit 'c22835626dade44a5d1ce70495daa6e99caee3d0':
  Relax builtin precision tests, fix issue in div rounding

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

Bug: 20638016
Bug: 20637957
Change-Id: I43fe93e80c9c8955889815743509ae4901be17a3

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

* commit '37fb8b51d4a98fc3a46be8a02a91c2dc189d79be':
  Relax builtin precision tests, fix issue in div rounding

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

9 years agoam 6630ee16: am d63d8aea: Merge "Relax ordering requirements for non-conformant confi...
Mika Isojärvi [Wed, 6 May 2015 01:25:00 +0000 (01:25 +0000)]
am 6630ee16: am d63d8aea: Merge "Relax ordering requirements for non-conformant configs." into mnc-dev

* commit '6630ee1608ef1346d942407d957748fae0c44f96':
  Relax ordering requirements for non-conformant configs.

9 years agoam d63d8aea: Merge "Relax ordering requirements for non-conformant configs." into...
Mika Isojärvi [Wed, 6 May 2015 01:14:09 +0000 (01:14 +0000)]
am d63d8aea: Merge "Relax ordering requirements for non-conformant configs." into mnc-dev

* commit 'd63d8aea1d3b10fe2d9e7e12016c4fcb30d1c496':
  Relax ordering requirements for non-conformant configs.

9 years agoam 0a99b062: am 4f402882: Merge "Remove uniform block tests using double underscore...
Mika Isojärvi [Wed, 6 May 2015 00:52:44 +0000 (00:52 +0000)]
am 0a99b062: am 4f402882: Merge "Remove uniform block tests using double underscore." into mnc-dev

* commit '0a99b062dc09224dcf8deb17916f568557296e06':
  Remove uniform block tests using double underscore.

9 years agoam f0847b0d: am dcfefcdb: Merge "Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension...
Mika Isojärvi [Wed, 6 May 2015 00:52:43 +0000 (00:52 +0000)]
am f0847b0d: am dcfefcdb: Merge "Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported." into mnc-dev

* commit 'f0847b0daa33af0edc4788e94b07a83ae92e571d':
  Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported.

9 years agoam 6dcea5cc: am 2a7bbec5: Merge "Make empty declaration tests positive." into mnc-dev
Jarkko Pöyry [Wed, 6 May 2015 00:52:42 +0000 (00:52 +0000)]
am 6dcea5cc: am 2a7bbec5: Merge "Make empty declaration tests positive." into mnc-dev

* commit '6dcea5ccb078982596a3181c2b65fe852587b028':
  Make empty declaration tests positive.

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

9 years agoam aae22498: am b34a078e: Merge "Update EGL wrappers and utilities to latest spec...
Mika Isojärvi [Wed, 6 May 2015 00:45:38 +0000 (00:45 +0000)]
am aae22498: am b34a078e: Merge "Update EGL wrappers and utilities to latest spec." into mnc-dev

* commit 'aae22498e1eeccd01689e9c789a5c51c79c51ca7':
  Update EGL wrappers and utilities to latest spec.

9 years agoam b102dadf: am f307a4a0: Merge "Check that HDR version of ASTC is present for non...
Kalle Raita [Wed, 6 May 2015 00:45:05 +0000 (00:45 +0000)]
am b102dadf: am f307a4a0: Merge "Check that HDR version of ASTC is present for non-2D texture targets." into mnc-dev

* commit 'b102dadfe7d94d4268c730d93bd0b650b133cc83':
  Check that HDR version of ASTC is present for non-2D texture targets.

9 years agoam 4f402882: Merge "Remove uniform block tests using double underscore." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 00:41:28 +0000 (00:41 +0000)]
am 4f402882: Merge "Remove uniform block tests using double underscore." into mnc-dev

* commit '4f4028823eb771b2ba180f84e451c7440354a86f':
  Remove uniform block tests using double underscore.

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

* commit 'dcfefcdbe44f04b0d7d0f0a77d07329884696584':
  Allow BUFFER_TYPE_YUV as BUFFER_TYPE if extension is supported.

9 years agoam 2a7bbec5: Merge "Make empty declaration tests positive." into mnc-dev
Jarkko Pöyry [Wed, 6 May 2015 00:41:25 +0000 (00:41 +0000)]
am 2a7bbec5: Merge "Make empty declaration tests positive." into mnc-dev

* commit '2a7bbec5b6b8f2c1ecbd5e8eeb04dd476ffbb170':
  Make empty declaration tests positive.

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

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

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

Bug: 20831810
Change-Id: I0a83e9313cd86521b593396b380ee775188aba8a

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

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

9 years agoam b34a078e: Merge "Update EGL wrappers and utilities to latest spec." into mnc-dev
Mika Isojärvi [Wed, 6 May 2015 00:20:13 +0000 (00:20 +0000)]
am b34a078e: Merge "Update EGL wrappers and utilities to latest spec." into mnc-dev

* commit 'b34a078e0124fc89d08f2cd3737e51020ebd45a8':
  Update EGL wrappers and utilities to latest spec.

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

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

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

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

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

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

Bug: 20453754
Bug: 18323265
Change-Id: I8e2fad8909e29993e961d66a175963071ea2e5a8