platform/upstream/VK-GL-CTS.git
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 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 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

9 years agoam 685e5a18: Merge "Don\'t mangle safe bit patterns in copy_image sRGB RB cases."
Jarkko Pöyry [Mon, 22 Jun 2015 20:28:38 +0000 (20:28 +0000)]
am 685e5a18: Merge "Don\'t mangle safe bit patterns in copy_image sRGB RB cases."

* commit '685e5a18d1af5e338606c785f3b022cee742af70':
  Don't mangle safe bit patterns in copy_image sRGB RB cases.

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

* commit 'c07b6e59f4e00d009824252311d8b9cd15fa828c':
  Log dst format copy area size in copy_image test for clarity.

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 agoam 8d5a09f7: resolved conflicts for merge of 466ee0e8 to master
Kalle Raita [Mon, 22 Jun 2015 18:20:41 +0000 (18:20 +0000)]
am 8d5a09f7: resolved conflicts for merge of 466ee0e8 to master

* commit '8d5a09f7d0a02e1403f5df7a888e2a57609ee929':
  Fix unrelated errors in ASTC negative API tests

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 agoam c4338891: Merge "Use de::ArrayBuffer in tcu::Surface."
Jarkko Pöyry [Mon, 22 Jun 2015 16:55:09 +0000 (16:55 +0000)]
am c4338891: Merge "Use de::ArrayBuffer in tcu::Surface."

* commit 'c4338891551d50d959847748bb185ee9ff4e926d':
  Use de::ArrayBuffer in tcu::Surface.

9 years agoam 6d078405: Add licenses to several scripts and misc files.
Jamie Madill [Mon, 22 Jun 2015 16:55:08 +0000 (16:55 +0000)]
am 6d078405: Add licenses to several scripts and misc files.

* commit '6d0784059995b8fa554d74013c06e937889ff449':
  Add licenses to several scripts and misc files.

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

* commit 'c7ad31b5188074ef1954a64ab0e90b383e540b08':
  Remove non-trivially modified random shader cases from mustpass.

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 agoam b85b144f: am 143aabaa: am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform...
Pyry Haulos [Fri, 19 Jun 2015 18:21:44 +0000 (18:21 +0000)]
am b85b144f: am 143aabaa: am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch

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

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 2486bca7: am 7ac44dca: am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_ap...
Jarkko Pöyry [Thu, 18 Jun 2015 20:24:09 +0000 (20:24 +0000)]
am 2486bca7: am 7ac44dca: am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

* commit '2486bca7b6b0d8861fbd4fae1867828e3da79f6b':
  Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

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

* commit '11ba11b02440ad21d916bfca0a3f135b5791b27e':
  Fix expected results in implicit conversion tests

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

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

9 years agoam 910108c4: Merge "Add negative tests for explicit TCS-TES varying arrays."
Jarkko Pöyry [Thu, 18 Jun 2015 20:24:06 +0000 (20:24 +0000)]
am 910108c4: Merge "Add negative tests for explicit TCS-TES varying arrays."

* commit '910108c42f58ed92c575e406808290bc71f3b182':
  Add negative tests for explicit TCS-TES varying arrays.

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

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

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

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

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

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

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

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

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

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

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

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

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

9 years agoMerge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev
Jarkko Pöyry [Thu, 18 Jun 2015 19:16:37 +0000 (19:16 +0000)]
Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

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