platform/upstream/VK-GL-CTS.git
9 years agoam 67ffc066: Merge "Add tests for EGL_EXT_buffer_age"
Hengyuan Hu [Tue, 7 Jul 2015 22:45:07 +0000 (22:45 +0000)]
am 67ffc066: Merge "Add tests for EGL_EXT_buffer_age"

* commit '67ffc0669f3cdb023136c81e00d14aa955c45025':
  Add tests for EGL_EXT_buffer_age

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

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

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 "Add additional sample cases to API tests" into vulkan
Pyry Haulos [Tue, 7 Jul 2015 20:22:39 +0000 (20:22 +0000)]
Merge "Add additional sample cases to API tests" into vulkan

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

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

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

* commit '27da3fbb1f0d426a2e2e7d8ea569180e368de2ba':
  Remove duplicated texture derivative functions.

9 years agoam 4119ed02: Merge "Remove unused clear(SurfaceAccess)."
Jarkko Pöyry [Mon, 6 Jul 2015 17:53:16 +0000 (17:53 +0000)]
am 4119ed02: Merge "Remove unused clear(SurfaceAccess)."

* commit '4119ed021bdd013213109e9a45f5d3ef1ab21357':
  Remove unused clear(SurfaceAccess).

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 2b5d91c3: am 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests...
Jarkko Pöyry [Fri, 3 Jul 2015 17:03:22 +0000 (17:03 +0000)]
am 2b5d91c3: am 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests by 90%.

* commit '2b5d91c36ed5c94fd439f70df41bb0b86b1f5f00':
  Reduce rendering load in large sync tests by 90%.

9 years agoam 72eaf4c1: am 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases...
Jarkko Pöyry [Fri, 3 Jul 2015 17:03:21 +0000 (17:03 +0000)]
am 72eaf4c1: am 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.

* commit '72eaf4c1d2297922d392ea7e4c28784f3e4ef876':
  Remove from mustpass 3D texture_function cases with LOD issues.

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 agoMerge "Add info tests for all physical device properties" into vulkan
Pyry Haulos [Wed, 1 Jul 2015 22:29:53 +0000 (22:29 +0000)]
Merge "Add info tests for all physical device properties" into vulkan

9 years agoMerge "addFunctionCase(): pass parameters by value instead of by reference" into...
Pyry Haulos [Wed, 1 Jul 2015 22:29:19 +0000 (22:29 +0000)]
Merge "addFunctionCase(): pass parameters by value instead of by reference" into vulkan

9 years agoMerge "Add utilities for logging Vk* struct types" into vulkan
Pyry Haulos [Wed, 1 Jul 2015 22:28:52 +0000 (22:28 +0000)]
Merge "Add utilities for logging Vk* struct types" into vulkan

9 years agoAdd info tests for all physical device properties
Pyry Haulos [Wed, 1 Jul 2015 18:11:19 +0000 (11:11 -0700)]
Add info tests for all physical device properties

Change-Id: Ifd98bcfe4de6ccfb63fe3f71f443acd3e2583d5f

9 years agoaddFunctionCase(): pass parameters by value instead of by reference
Pyry Haulos [Wed, 1 Jul 2015 21:46:07 +0000 (14:46 -0700)]
addFunctionCase(): pass parameters by value instead of by reference

Passing values always by reference creates problems when passing values
of basic type.

Values can be still passed by reference as long as reference points to
memory that remains live throughout test case execution.

Change-Id: I69c9799b5be7db9ae295283737f9aee3a8dcfdd6

9 years agoAdd utilities for logging Vk* struct types
Pyry Haulos [Wed, 1 Jul 2015 20:26:35 +0000 (13:26 -0700)]
Add utilities for logging Vk* struct types

Change-Id: I7614186f95261792f9fc34791c8a894d672729d9

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 agoImplement support for pre-built SPIR-V binaries
Pyry Haulos [Wed, 1 Jul 2015 18:14:53 +0000 (11:14 -0700)]
Implement support for pre-built SPIR-V binaries

vk-build-programs utility can be used to build and store SPIR-V
binaries.

If glslang is not available, test framework will attempt to load
pre-built binaries from vulkan/prebuilt directory.

scripts/build_vulkan_programs.py can be used to populate
data/vulkan/prebuilt directory with SPIR-V binaries.

Change-Id: I1e998bba0e0021d0e5b6da35ed53c54a61207bff

9 years agoMerge "First version of Vulkan API test specification" into vulkan
Pyry Haulos [Wed, 1 Jul 2015 19:30:41 +0000 (19:30 +0000)]
Merge "First version of Vulkan API test specification" into vulkan

9 years agoAdd additional sample cases to API tests
Pyry Haulos [Tue, 30 Jun 2015 23:26:33 +0000 (16:26 -0700)]
Add additional sample cases to API tests

Change-Id: I167e29e5e912d552f1664d80c10b3cbededcf724

9 years agoFix ambiguous addFunctionCase() by renaming variant with programs
Pyry Haulos [Tue, 30 Jun 2015 23:22:24 +0000 (16:22 -0700)]
Fix ambiguous addFunctionCase() by renaming variant with programs

Using same name for both program-less and cases with programs lead to
confusion between 1-argument function and 0-argument variant without
programs.

Change-Id: I53a57a48e02ac06aa8d76bf43682645c4d554257

9 years agoAdd constructors to VkClearColorValue
Pyry Haulos [Tue, 30 Jun 2015 23:20:31 +0000 (16:20 -0700)]
Add constructors to VkClearColorValue

Change-Id: Ie2418210e93de6cc5569d34b9884e998a1c6429b

9 years agoProvide default device as part of vkt::Context
Pyry Haulos [Tue, 30 Jun 2015 23:11:18 +0000 (16:11 -0700)]
Provide default device as part of vkt::Context

Most tests use a single device, and expect to configure it in a uniform
way. This CL adds default instance and device to vkt::Context, available
to vkt::TestInstances.

On multi-device systems default device can be selected using
--deqp-vk-device-id=<N> command line option.

Change-Id: I942e0c0af07fbea792771685184b3dda3dab4b22

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

Bug: 22209622
Change-Id: I181ea306aa8e7d582cf7b43ac0ef768d3fb7bdca

9 years agoam f0b6ed57: Merge "Avoid htons and ntohs in deSocket"
Pyry Haulos [Tue, 30 Jun 2015 21:20:15 +0000 (21:20 +0000)]
am f0b6ed57: Merge "Avoid htons and ntohs in deSocket"

* commit 'f0b6ed57bb8f4d05d9bc2099f6396fb5fdb4595d':
  Avoid htons and ntohs in deSocket

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 51a9eca0: (-s ours) am b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours...
Jarkko Pöyry [Tue, 30 Jun 2015 18:48:35 +0000 (18:48 +0000)]
am 51a9eca0: (-s ours) 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 '51a9eca0b808f02584dd41d424ba37dd6f66d100':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

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 agoFirst version of Vulkan API test specification
Pyry Haulos [Thu, 21 May 2015 23:00:24 +0000 (16:00 -0700)]
First version of Vulkan API test specification

Change-Id: I9b2a3da0c1887afb39abffb558bde41a11736a04

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 agoam 999a3a5d: Merge "Enable -Wconversion."
Jarkko Pöyry [Tue, 30 Jun 2015 17:22:56 +0000 (17:22 +0000)]
am 999a3a5d: Merge "Enable -Wconversion."

* commit '999a3a5d7dfaf7790797f3a6227f33a15b3454e4':
  Enable -Wconversion.

9 years agoam 310d37cd: Merge "Fix GraphicBuffer warnings on mips and mips64."
Jarkko Pöyry [Tue, 30 Jun 2015 17:22:55 +0000 (17:22 +0000)]
am 310d37cd: Merge "Fix GraphicBuffer warnings on mips and mips64."

* commit '310d37cd24a5f3f9a828b0a519bc6fbecd9100a0':
  Fix GraphicBuffer warnings on mips and mips64.

9 years agoam a69dad8e: Remove helper_invocation cases from rotation and msaa set.
Jarkko Pöyry [Tue, 30 Jun 2015 17:22:54 +0000 (17:22 +0000)]
am a69dad8e: Remove helper_invocation cases from rotation and msaa set.

* commit 'a69dad8e1c8cf5c0a2ad6a506a5e32250ff64111':
  Remove helper_invocation cases from rotation and msaa set.

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 d713db1a: am f06acba4: am 1caba4af: Merge "Remove MSAA wide line helper invocation...
Jarkko Pöyry [Tue, 30 Jun 2015 00:04:48 +0000 (00:04 +0000)]
am d713db1a: am f06acba4: am 1caba4af: Merge "Remove MSAA wide line helper invocation cases from mustpass." into mnc-dev

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

9 years agoam acb06efd: am 706acd37: am 0fd10bc9: Merge "Remove texture size tests with incorrec...
Jarkko Pöyry [Tue, 30 Jun 2015 00:04:47 +0000 (00:04 +0000)]
am acb06efd: am 706acd37: am 0fd10bc9: Merge "Remove texture size tests with incorrect threshold from mustpass." into mnc-dev

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

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 agoam a47cf4ec: Upgrade standalone build to NDK r10e
Pyry Haulos [Mon, 29 Jun 2015 22:01:16 +0000 (22:01 +0000)]
am a47cf4ec: Upgrade standalone build to NDK r10e

* commit 'a47cf4ecfc7207a1453c65fc43cefd68b31868ce':
  Upgrade standalone build to NDK r10e

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 agoReturn reference in vk::RefBase::get().
Jarkko Pöyry [Thu, 25 Jun 2015 20:19:56 +0000 (13:19 -0700)]
Return reference in vk::RefBase::get().

Change-Id: I1feda95295e72385b97fa8e2bc6db05b670c916b

9 years agoMerge "Check error codes in vkRefUtil." into vulkan
Jarkko Pöyry [Thu, 25 Jun 2015 20:07:08 +0000 (20:07 +0000)]
Merge "Check error codes in vkRefUtil." into vulkan

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

* commit '2f031d0d4de312d2aba9c139e50c732de1126941':
  Fix helper_invocation.* rendering mostly black.

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

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

9 years agoCheck error codes in vkRefUtil.
Jarkko Pöyry [Tue, 23 Jun 2015 21:35:53 +0000 (14:35 -0700)]
Check error codes in vkRefUtil.

Change-Id: Ib68fcc5f92f037aa87b54afcabd801e1e142b240

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 agoam f7e96bcd: Fix intThresholdPositionDeviationCompare with acceptOutOfBoundsAsAnyValu...
Jarkko Pöyry [Wed, 24 Jun 2015 22:25:07 +0000 (22:25 +0000)]
am f7e96bcd: Fix intThresholdPositionDeviationCompare with acceptOutOfBoundsAsAnyValue = false.

* commit 'f7e96bcdb2b5f0ca897c3436a10acd61bf99d8d6':
  Fix intThresholdPositionDeviationCompare with acceptOutOfBoundsAsAnyValue = false.

9 years agoMerge "Add GLSL to SPIR-V compilation support using glslang" into vulkan
Pyry Haulos [Wed, 24 Jun 2015 22:23:01 +0000 (22:23 +0000)]
Merge "Add GLSL to SPIR-V compilation support using glslang" into vulkan

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 agoAdd GLSL to SPIR-V compilation support using glslang
Pyry Haulos [Fri, 19 Jun 2015 22:25:34 +0000 (15:25 -0700)]
Add GLSL to SPIR-V compilation support using glslang

Change-Id: Ie28c68f482355ebab5e4e913cab075fe7188e7ce

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

* commit 'd20908ae7431f020d7bc0a57e4a89aa3ad762b19':
  Fix invalid error code in eglWaitNative() negative tests.

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 0b32caca: am 7c406e37: am 8ff52f0a: Remove MSAA derivate and reflect highp vec4...
Kalle Raita [Tue, 23 Jun 2015 18:33:37 +0000 (18:33 +0000)]
am 0b32caca: am 7c406e37: am 8ff52f0a: Remove MSAA derivate and reflect highp vec4 cases

* commit '0b32caca81653fcfd44c5ef27d733451994b422c':
  Remove MSAA derivate and reflect highp vec4 cases

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

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

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

* commit 'b703312289308af8e7840d6f84a17b1a71ede602':
  Remove atan2 precision tests from mustpass

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