platform/upstream/VK-GL-CTS.git
9 years agoMerge "Fix uninitialized values in vertex array tests"
Mika Isojärvi [Tue, 9 Jun 2015 22:04:06 +0000 (22:04 +0000)]
Merge "Fix uninitialized values in vertex array tests"

9 years agoFix uninitialized values in vertex array tests
Mika Isojärvi [Tue, 9 Jun 2015 17:59:48 +0000 (10:59 -0700)]
Fix uninitialized values in vertex array tests

Change-Id: I8a789177a2c74eec766dbff4962f869773fb9372

9 years agoam a108d4bf: (-s ours) am 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query...
Jarkko Pöyry [Tue, 9 Jun 2015 19:57:32 +0000 (19:57 +0000)]
am a108d4bf: (-s ours) am 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

* commit 'a108d4bf5719e22144c1c5ef4ed46476625d5381':
  DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

9 years agoam 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state...
Jarkko Pöyry [Tue, 9 Jun 2015 19:42:37 +0000 (19:42 +0000)]
am 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

* commit '13034e144e482ec96d679e796575ac69c132ee03':
  DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

9 years agoFix ULP computation issue in shader.precision.float tests
Pyry Haulos [Tue, 9 Jun 2015 19:25:17 +0000 (12:25 -0700)]
Fix ULP computation issue in shader.precision.float tests

To avoid undefined behavior, the ShaderFloatPrecisionCase::compare() was
changed to limit right shift to at most data type bit width.
Unfortunately values were mistaken as 32-bit, while they were actually
64-bit values.

Change-Id: I373e0318ab577d1f169717db734d4a66953ee29c

9 years agoDO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.
Jarkko Pöyry [Mon, 1 Jun 2015 23:42:47 +0000 (16:42 -0700)]
DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

Bug: 21326686
Bug: 19144698
Change-Id: I39d46ff18eccb8b3d148cb05cb2cf7fdb69432be

9 years agoam da303784: am 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPo...
Jarkko Pöyry [Mon, 8 Jun 2015 21:14:10 +0000 (21:14 +0000)]
am da303784: am 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

* commit 'da303784beb93fb10aaf3e0b71694b98e56ed2e4':
  Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

9 years agoam 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.
Jarkko Pöyry [Mon, 8 Jun 2015 20:58:52 +0000 (20:58 +0000)]
am 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

* commit '58aae3be8e0f69d8e48f5a50dca830b0bfc1b136':
  Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

9 years agoMerge "Initialize uninitialized values in compilation performance tests"
Mika Isojärvi [Mon, 8 Jun 2015 20:43:07 +0000 (20:43 +0000)]
Merge "Initialize uninitialized values in compilation performance tests"

9 years agoMerge "Initialize uninitialized values in debug tests"
Mika Isojärvi [Mon, 8 Jun 2015 20:42:22 +0000 (20:42 +0000)]
Merge "Initialize uninitialized values in debug tests"

9 years agoMerge "Fix fillWithGrid calling fillWithGradient for depth formats"
Mika Isojärvi [Mon, 8 Jun 2015 20:41:54 +0000 (20:41 +0000)]
Merge "Fix fillWithGrid calling fillWithGradient for depth formats"

9 years agoMerge "Initialize uninitialized value in ES 2 capability tests"
Mika Isojärvi [Mon, 8 Jun 2015 20:41:21 +0000 (20:41 +0000)]
Merge "Initialize uninitialized value in ES 2 capability tests"

9 years agoAdd deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.
Jarkko Pöyry [Tue, 2 Jun 2015 03:55:25 +0000 (20:55 -0700)]
Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

Bug: 21326686
Change-Id: Iace59b3e8ffd7fe88b75bc1801f57207807304c8

9 years agoInitialize uninitialized values in debug tests
Mika Isojärvi [Mon, 8 Jun 2015 20:17:50 +0000 (13:17 -0700)]
Initialize uninitialized values in debug tests

Change-Id: I357c2ec20e28ca3bf874f56dc629e4f3b7ec07f1

9 years agoInitialize uninitialized values in compilation performance tests
Mika Isojärvi [Mon, 8 Jun 2015 19:24:13 +0000 (12:24 -0700)]
Initialize uninitialized values in compilation performance tests

Change-Id: I2fc6c99ff1159d810cab1494790c7556c4ae8d71

9 years agoMerge "Improve build_android_caselist error reporting."
Jarkko Pöyry [Mon, 8 Jun 2015 20:09:11 +0000 (20:09 +0000)]
Merge "Improve build_android_caselist error reporting."

9 years agoMerge "Document GLES2 texture size failures."
Jarkko Pöyry [Mon, 8 Jun 2015 20:08:41 +0000 (20:08 +0000)]
Merge "Document GLES2 texture size failures."

9 years agoam 18ebbc75: am 44b90705: Merge "Add simulated error before rounding to target precis...
Jarkko Pöyry [Mon, 8 Jun 2015 19:58:12 +0000 (19:58 +0000)]
am 18ebbc75: am 44b90705: Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

* commit '18ebbc752f02455a9cee5d4e4ba940ca37a253ca':
  Add simulated error before rounding to target precision in dfdx tests.

9 years agoam e1086a8c: am fede57e8: Merge "Do not require max components to be divisible by...
Kalle Raita [Mon, 8 Jun 2015 19:57:36 +0000 (19:57 +0000)]
am e1086a8c: am fede57e8: Merge "Do not require max components to be divisible by 4" into mnc-dev

* commit 'e1086a8c31ca4ec7d87eb1a35031bc21e812df1e':
  Do not require max components to be divisible by 4

9 years agoImprove build_android_caselist error reporting.
Jarkko Pöyry [Mon, 8 Jun 2015 19:40:00 +0000 (12:40 -0700)]
Improve build_android_caselist error reporting.

Change-Id: I7f4b66ce23e5e9756d063a3eb62d0652cf7911ee

9 years agoFix fillWithGrid calling fillWithGradient for depth formats
Mika Isojärvi [Mon, 8 Jun 2015 19:39:34 +0000 (12:39 -0700)]
Fix fillWithGrid calling fillWithGradient for depth formats

Change-Id: I5f7411dafce4fbb2cce25c8fdd1a8cfb32f2b083

9 years agoDocument GLES2 texture size failures.
Jarkko Pöyry [Mon, 8 Jun 2015 19:25:35 +0000 (12:25 -0700)]
Document GLES2 texture size failures.

Bug: 21526557
Change-Id: I2ddf24bd8bb19d97a915d77b7720c983a80c615e

9 years agoam 44b90705: Merge "Add simulated error before rounding to target precision in dfdx...
Jarkko Pöyry [Mon, 8 Jun 2015 18:38:15 +0000 (18:38 +0000)]
am 44b90705: Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

* commit '44b9070540cc12faccfb02bb5082ada7a83bc112':
  Add simulated error before rounding to target precision in dfdx tests.

9 years agoInitialize uninitialized value in ES 2 capability tests
Mika Isojärvi [Mon, 8 Jun 2015 18:25:53 +0000 (11:25 -0700)]
Initialize uninitialized value in ES 2 capability tests

Change-Id: I67b722b6c0002e6bad2c6ff52b424aa4c0bfd9ac

9 years agoam fede57e8: Merge "Do not require max components to be divisible by 4" into mnc-dev
Kalle Raita [Mon, 8 Jun 2015 18:22:52 +0000 (18:22 +0000)]
am fede57e8: Merge "Do not require max components to be divisible by 4" into mnc-dev

* commit 'fede57e8f04a40f38e80594429ee5d08cf26a5a8':
  Do not require max components to be divisible by 4

9 years agoMerge "Add simulated error before rounding to target precision in dfdx tests." into...
Jarkko Pöyry [Mon, 8 Jun 2015 18:12:36 +0000 (18:12 +0000)]
Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

9 years agoMerge "Handle SIGINT in command line executor."
Mika Isojärvi [Mon, 8 Jun 2015 17:48:35 +0000 (17:48 +0000)]
Merge "Handle SIGINT in command line executor."

9 years agoMerge "Do not require max components to be divisible by 4" into mnc-dev
Kalle Raita [Mon, 8 Jun 2015 17:48:21 +0000 (17:48 +0000)]
Merge "Do not require max components to be divisible by 4" into mnc-dev

9 years agoDo not require max components to be divisible by 4
Kalle Raita [Thu, 4 Jun 2015 22:58:50 +0000 (15:58 -0700)]
Do not require max components to be divisible by 4

Spec language only has the requirement that max number of vectors is
the max number of components divided by four.

Bug: 21445539
Change-Id: I6f2c630bfbdb43e06667fa8cea5c6209922b6285

9 years agoam c255b711: am aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Sat, 6 Jun 2015 17:05:07 +0000 (17:05 +0000)]
am c255b711: am aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests

* commit 'c255b711bf345603beeef9ff5d425b65c7586799':
  Always read pixels from fbo in fbo recreate.no_rebind tests

9 years agoam aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Sat, 6 Jun 2015 01:26:50 +0000 (01:26 +0000)]
am aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests

* commit 'aa143d2e95600cb90e9fe423328e23bcfd267787':
  Always read pixels from fbo in fbo recreate.no_rebind tests

9 years agoAdd simulated error before rounding to target precision in dfdx tests.
Jarkko Pöyry [Fri, 5 Jun 2015 22:48:56 +0000 (15:48 -0700)]
Add simulated error before rounding to target precision in dfdx tests.

- Add interpolation error before rounding in GLES3 Derivate tests. If the
  error is not added before rounding and reference value happens to be 1:1
  representable in the target precision, both rounding directions yield the
  same value and error bounds will be lost.

Bug: 21666909
Change-Id: Ie948ea32075439c962d8ca52362069ca030a172e

9 years agoAlways read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Wed, 3 Jun 2015 23:54:11 +0000 (16:54 -0700)]
Always read pixels from fbo in fbo recreate.no_rebind tests

Instead of rendering texture to screen and verifying result, read texture
attachments pixels using fbo. This changes texture tests to work same way as
renderbuffer tests work and avoids triggering some bugs in reference context.

Bug: 21526068
Change-Id: I3009703a947e1a11327cf8f49585dce2a3270a04

9 years agoMerge "Fix clang string literal conversion warnings."
Jarkko Pöyry [Fri, 5 Jun 2015 18:41:14 +0000 (18:41 +0000)]
Merge "Fix clang string literal conversion warnings."

9 years agoam e26f66d1: am 27074140: Merge "Check sampler limits in random shader cases." into...
Jarkko Pöyry [Fri, 5 Jun 2015 02:11:38 +0000 (02:11 +0000)]
am e26f66d1: am 27074140: Merge "Check sampler limits in random shader cases." into mnc-dev

* commit 'e26f66d1c9ab11cc24e916e8cdb273fdabbd6fba':
  Check sampler limits in random shader cases.

9 years agoam 27074140: Merge "Check sampler limits in random shader cases." into mnc-dev
Jarkko Pöyry [Fri, 5 Jun 2015 02:00:34 +0000 (02:00 +0000)]
am 27074140: Merge "Check sampler limits in random shader cases." into mnc-dev

* commit '27074140be9b37c0d5a4f75ebbcd90d98f5b758d':
  Check sampler limits in random shader cases.

9 years agoMerge "Fix some -Wconversion warnings."
Jarkko Pöyry [Fri, 5 Jun 2015 01:42:26 +0000 (01:42 +0000)]
Merge "Fix some -Wconversion warnings."

9 years agoMerge "Check sampler limits in random shader cases." into mnc-dev
Jarkko Pöyry [Fri, 5 Jun 2015 01:37:47 +0000 (01:37 +0000)]
Merge "Check sampler limits in random shader cases." into mnc-dev

9 years agoam 4383d07e: am 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with...
Pyry Haulos [Thu, 4 Jun 2015 15:08:22 +0000 (15:08 +0000)]
am 4383d07e: am 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit '4383d07ed610e01cae02e78d5045dc71ddc4dae2':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoam 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict...
Pyry Haulos [Thu, 4 Jun 2015 14:56:28 +0000 (14:56 +0000)]
am 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit '27fd616c26df2abcc3e28a559076519f8615f011':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoam a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from...
Pyry Haulos [Thu, 4 Jun 2015 14:35:13 +0000 (14:35 +0000)]
am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit 'a4a7a175989eea576ffbf039c6aadba65c5a2481':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoFix some -Wconversion warnings.
Jarkko Pöyry [Fri, 29 May 2015 23:45:58 +0000 (16:45 -0700)]
Fix some -Wconversion warnings.

Bug: 21161908
Change-Id: If8d1703c9773eaaed5ea2557833cde32ced97bff

9 years agoFix clang string literal conversion warnings.
Jarkko Pöyry [Fri, 29 May 2015 23:36:30 +0000 (16:36 -0700)]
Fix clang string literal conversion warnings.

- Add DE_FATAL(MSG) macro to replace DE_ASSERT(!"MSG") pattern used in
  code.

Bug: 21161908
Change-Id: I96414b9ecfbb953b1c5236753c21c5c2d08d3f59

9 years agoam f6cb6782: am 20bdbf28: Remove broken sampler2darrayshadow_vertex from mustpass.
Jarkko Pöyry [Thu, 4 Jun 2015 00:50:54 +0000 (00:50 +0000)]
am f6cb6782: am 20bdbf28: Remove broken sampler2darrayshadow_vertex from mustpass.

* commit 'f6cb6782070743ba8d5cd43820936525f3ee843d':
  Remove broken sampler2darrayshadow_vertex from mustpass.

9 years agoCheck sampler limits in random shader cases.
Jarkko Pöyry [Wed, 3 Jun 2015 00:30:08 +0000 (17:30 -0700)]
Check sampler limits in random shader cases.

Bug: 21526017
Change-Id: Iad3b19889e5f4d6c9b9ce6bc2337dd2a02ecc2cf

9 years agoam 20bdbf28: Remove broken sampler2darrayshadow_vertex from mustpass.
Jarkko Pöyry [Thu, 4 Jun 2015 00:37:27 +0000 (00:37 +0000)]
am 20bdbf28: Remove broken sampler2darrayshadow_vertex from mustpass.

* commit '20bdbf2821ace3b36278c0146fed3a1d001e208c':
  Remove broken sampler2darrayshadow_vertex from mustpass.

9 years agoMerge "Port GLES2 and 3 binding query tests to use gls state query utils."
Jarkko Pöyry [Thu, 4 Jun 2015 00:13:01 +0000 (00:13 +0000)]
Merge "Port GLES2 and 3 binding query tests to use gls state query utils."

9 years agoRemove broken sampler2darrayshadow_vertex from mustpass.
Jarkko Pöyry [Thu, 4 Jun 2015 00:05:43 +0000 (17:05 -0700)]
Remove broken sampler2darrayshadow_vertex from mustpass.

Bug: 21620051
Change-Id: I06bb13be9a9487c32911a0bfa25cfaab19984857

9 years agoMerge "Use fast paths for sRGB formats in PixelBufferAccess."
Mika Isojärvi [Wed, 3 Jun 2015 23:18:19 +0000 (23:18 +0000)]
Merge "Use fast paths for sRGB formats in PixelBufferAccess."

9 years agoam bcf8ed33: am f7e5472d: Convert ES3 uniform block precision mismatch test to positi...
Jarkko Pöyry [Wed, 3 Jun 2015 22:26:08 +0000 (22:26 +0000)]
am bcf8ed33: am f7e5472d: Convert ES3 uniform block precision mismatch test to positive test.

* commit 'bcf8ed3378658294194db5ce421c7ebe3302fb9b':
  Convert ES3 uniform block precision mismatch test to positive test.

9 years agoam f7e5472d: Convert ES3 uniform block precision mismatch test to positive test.
Jarkko Pöyry [Wed, 3 Jun 2015 21:21:00 +0000 (21:21 +0000)]
am f7e5472d: Convert ES3 uniform block precision mismatch test to positive test.

* commit 'f7e5472d9e62e362097e465e8843601f343c1076':
  Convert ES3 uniform block precision mismatch test to positive test.

9 years agoConvert ES3 uniform block precision mismatch test to positive test.
Jarkko Pöyry [Tue, 2 Jun 2015 23:15:27 +0000 (16:15 -0700)]
Convert ES3 uniform block precision mismatch test to positive test.

- Rename dEQP-GLES3.functional.shaders.linkage.uniform.block.precision_mismatch
  to ..differing_precision and change expectation to expect no compile failure.
  New behavior matches resolution of Khronos bug 10287.

Bug: 21326228
Change-Id: Ibe6d8899c3dee061f5661b7e63e2d7e653232a8b

9 years agoUse fast paths for sRGB formats in PixelBufferAccess.
Mika Isojärvi [Tue, 28 Apr 2015 21:46:42 +0000 (14:46 -0700)]
Use fast paths for sRGB formats in PixelBufferAccess.

Change-Id: I1124947adaf32bd1f7501b022eb8d0a9294e3747

9 years agoHandle SIGINT in command line executor.
Mika Isojärvi [Tue, 19 May 2015 20:44:08 +0000 (13:44 -0700)]
Handle SIGINT in command line executor.

Command line executor now cleanly writes out test log when Ctrl-C is pressed
instead of losing all progress.

Bug: 21161902
Change-Id: I646ceb0b9669d4969a38fd38b3bb1d1e6dbdef98

9 years agoam a22a71f1: am 27f6f9f6: Remove GLES3 attribute location aliasing tests from must...
Mika Isojärvi [Tue, 2 Jun 2015 20:33:15 +0000 (20:33 +0000)]
am a22a71f1: am 27f6f9f6: Remove GLES3 attribute location aliasing tests from must pass set

* commit 'a22a71f136a1417d29c59df0e0ef246670ef0037':
  Remove GLES3 attribute location aliasing tests from must pass set

9 years agoam fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass autom...
Pyry Haulos [Tue, 2 Jun 2015 18:54:45 +0000 (18:54 +0000)]
am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit 'fe14a7c9710eaccf9792ec125e359d56c15ca22e':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoam 27f6f9f6: Remove GLES3 attribute location aliasing tests from must pass set
Mika Isojärvi [Tue, 2 Jun 2015 18:10:38 +0000 (18:10 +0000)]
am 27f6f9f6: Remove GLES3 attribute location aliasing tests from must pass set

* commit '27f6f9f6bcbae90c2f90e30bceb036eb5dc535a7':
  Remove GLES3 attribute location aliasing tests from must pass set

9 years agoPort GLES2 and 3 binding query tests to use gls state query utils.
Jarkko Pöyry [Mon, 1 Jun 2015 23:42:47 +0000 (16:42 -0700)]
Port GLES2 and 3 binding query tests to use gls state query utils.

Bug: 21326686
Bug: 19144698
Change-Id: I39d46ff18eccb8b3d148cb05cb2cf7fdb69432be

9 years agoImprove command line executors error messages.
Mika Isojärvi [Mon, 18 May 2015 22:32:39 +0000 (15:32 -0700)]
Improve command line executors error messages.

- Improve descriptions of command line arguments.
- Remove meaningless default arguments.
- Add more checks to make sure command line arguments are sane.
- Add more information to some error messages.

Bug: 21161902
Change-Id: I509db5933b117b4313b6a7836274ffe091cca9d0

9 years agoRemove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Tue, 2 Jun 2015 01:45:27 +0000 (01:45 +0000)]
Remove fragment_out tests with too strict thresholds from mustpass
automerge: f55476d

* commit 'f55476d831c84f6a2dd6ded052f4d69313176719':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoRemove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Thu, 19 Mar 2015 17:35:22 +0000 (10:35 -0700)]
Remove fragment_out tests with too strict thresholds from mustpass

Bug: 19380820
Change-Id: I4a650ba1cf0e77723708198ffbce4cb62cafb82f

9 years agoRemove GLES3 attribute location aliasing tests from must pass set
Mika Isojärvi [Mon, 1 Jun 2015 19:49:49 +0000 (12:49 -0700)]
Remove GLES3 attribute location aliasing tests from must pass set

Bug: 21495208
Change-Id: Ifceb05d3b627e775746bfd42131ea3b184cdfddc

9 years agoam 6d52c15d: am 71438518: Merge "Allow alternative mix() implementation" into mnc-dev
Pyry Haulos [Mon, 1 Jun 2015 17:34:05 +0000 (17:34 +0000)]
am 6d52c15d: am 71438518: Merge "Allow alternative mix() implementation" into mnc-dev

* commit '6d52c15d4b4243778f8fe46514eb4693f507963a':
  Allow alternative mix() implementation

9 years agoam 0c1e225c: am 123c801f: Allow different multiplication order in reflect()
Pyry Haulos [Mon, 1 Jun 2015 17:34:04 +0000 (17:34 +0000)]
am 0c1e225c: am 123c801f: Allow different multiplication order in reflect()

* commit '0c1e225cff3b3ba54a2de50be25943d0b71a1863':
  Allow different multiplication order in reflect()

9 years agoam 71438518: Merge "Allow alternative mix() implementation" into mnc-dev
Pyry Haulos [Mon, 1 Jun 2015 17:06:40 +0000 (17:06 +0000)]
am 71438518: Merge "Allow alternative mix() implementation" into mnc-dev

* commit '71438518d5d9fc0d4d1b987aab13bd5caefbcf88':
  Allow alternative mix() implementation

9 years agoam 123c801f: Allow different multiplication order in reflect()
Pyry Haulos [Mon, 1 Jun 2015 17:06:39 +0000 (17:06 +0000)]
am 123c801f: Allow different multiplication order in reflect()

* commit '123c801f106dd1157fc889eaec934272ac6be937':
  Allow different multiplication order in reflect()

9 years agoam 8b33db04: am 0557a707: Add support for alternative forms to precision tests
Pyry Haulos [Mon, 1 Jun 2015 15:48:36 +0000 (15:48 +0000)]
am 8b33db04: am 0557a707: Add support for alternative forms to precision tests

* commit '8b33db046a162a5e3954735e7d22e8a99dcc4ff4':
  Add support for alternative forms to precision tests

9 years agoam 0557a707: Add support for alternative forms to precision tests
Pyry Haulos [Mon, 1 Jun 2015 15:28:37 +0000 (15:28 +0000)]
am 0557a707: Add support for alternative forms to precision tests

* commit '0557a707716b8a8722fa509455badf81633ad83b':
  Add support for alternative forms to precision tests

9 years agoresolved conflicts for merge of 2045bb05 to master
Kalle Raita [Mon, 1 Jun 2015 15:21:15 +0000 (08:21 -0700)]
resolved conflicts for merge of 2045bb05 to master

Change-Id: I1747d10b783e1db1f4fb512b06105b258ac4a9bb

9 years agoam 4b8e35b9: Merge "Make TEXTURE_3D the only target requiring ASTC HDR" into mnc-dev
Kalle Raita [Mon, 1 Jun 2015 14:31:03 +0000 (14:31 +0000)]
am 4b8e35b9: Merge "Make TEXTURE_3D the only target requiring ASTC HDR" into mnc-dev

* commit '4b8e35b9947de8f50d6b32116376832cc95d7d79':
  Make TEXTURE_3D the only target requiring ASTC HDR

9 years agoMerge "Allow alternative mix() implementation" into mnc-dev
Pyry Haulos [Fri, 29 May 2015 23:36:28 +0000 (23:36 +0000)]
Merge "Allow alternative mix() implementation" into mnc-dev

9 years agoFix executor regression.
Jarkko Pöyry [Fri, 29 May 2015 21:40:11 +0000 (14:40 -0700)]
Fix executor regression.

- Fix executor regression caused by writing sizes as size_t and reading
  them back as int via CallQueue.
- Add assert checking each CallQueue consumer consumes all data.
- Keep data sizes as size_t in xeTestLogParser.

Bug: 21515831
Change-Id: I6b56f5ba139f88878b2e5f148b0530d4d939a0b5

9 years agoMerge "Keep numBytes as size_t in debase and depool."
Jarkko Pöyry [Fri, 29 May 2015 21:56:40 +0000 (21:56 +0000)]
Merge "Keep numBytes as size_t in debase and depool."

9 years agoAllow alternative mix() implementation
Pyry Haulos [Fri, 29 May 2015 21:06:53 +0000 (14:06 -0700)]
Allow alternative mix() implementation

Some compilers translate mix(a, b, x) to a + (b - a)*x which produces
slightly different results than the form a*(1 - x) + b*x suggested by
the GLSL specification. This change relaxes tests to allow both forms.

Bug: 21110253
Change-Id: I3af056145ef8e64c0fc998302770fd38d105481a

9 years agoAllow different multiplication order in reflect()
Pyry Haulos [Fri, 29 May 2015 21:09:59 +0000 (14:09 -0700)]
Allow different multiplication order in reflect()

GLSL spec allows compiler to assume that multiplication is commutative.
reflect() contains three multiplications which compiler can re-order
based on the spec language. This change relaxes reflect() tests to
allow both evaluation orders.

Bug: 19408572
Change-Id: I78e5b6e6f7bc761b4c49f5e1d4a283fcc60bf512

9 years agoAdd support for alternative forms to precision tests
Pyry Haulos [Fri, 29 May 2015 21:04:15 +0000 (14:04 -0700)]
Add support for alternative forms to precision tests

This adds alternative(a, b) that can be used to allow two alternative
forms of sub-expression. Alternative forms will be printed to the test
log output as "{a | b}".

Bug: 19408572
Bug: 21110253
Change-Id: Id6a7508e041be2bc3a42ec44dd318b49ad7fb841

9 years agoMerge "Remove functions overloading cmath functions from VecUtil."
Jarkko Pöyry [Fri, 29 May 2015 16:46:48 +0000 (16:46 +0000)]
Merge "Remove functions overloading cmath functions from VecUtil."

9 years agoMerge "Silence MSC warning about shift precedence"
Pyry Haulos [Fri, 29 May 2015 16:44:41 +0000 (16:44 +0000)]
Merge "Silence MSC warning about shift precedence"

9 years agoSilence MSC warning about shift precedence
Pyry Haulos [Fri, 29 May 2015 16:15:25 +0000 (09:15 -0700)]
Silence MSC warning about shift precedence

MSC gives a warning about T(T(a) << T(b)). That can be only silenced by
adding extra set of parenthesis: T((T(a)) << (T(b))).

Change-Id: If85ee09ae98376a13f2b18fa84644b3a70c75357

9 years agoFix -Wsign-compare warning in precision tests
Pyry Haulos [Fri, 29 May 2015 16:05:39 +0000 (09:05 -0700)]
Fix -Wsign-compare warning in precision tests

Change-Id: I45a8c0480cb830d23c018d265133c07b6c5359e4

9 years agoMerge "Make TEXTURE_3D the only target requiring ASTC HDR" into mnc-dev
Kalle Raita [Fri, 29 May 2015 04:35:22 +0000 (04:35 +0000)]
Merge "Make TEXTURE_3D the only target requiring ASTC HDR" into mnc-dev

9 years agoRemove functions overloading cmath functions from VecUtil.
Jarkko Pöyry [Fri, 22 May 2015 22:22:15 +0000 (15:22 -0700)]
Remove functions overloading cmath functions from VecUtil.

Change-Id: Ie29b3fb393ae6f2693a77a4fba01bad4f1c39a58

9 years agoMerge "Fix couple of instances of undefined behavior"
Pyry Haulos [Fri, 29 May 2015 00:16:20 +0000 (00:16 +0000)]
Merge "Fix couple of instances of undefined behavior"

9 years agoMake TEXTURE_3D the only target requiring ASTC HDR
Kalle Raita [Thu, 28 May 2015 21:45:38 +0000 (14:45 -0700)]
Make TEXTURE_3D the only target requiring ASTC HDR

TEXTURE_2D, TEXTURE_CUBE_MAP, and TEXTURE_2D_ARRAY are all valid
ASTC LDR texture targets.

Bug: 20763531
Bug: 20763295
Change-Id: Ib89795b9700c0f2d5816a4cd667879940d6646fa

9 years agoMerge "Fix deutil and decpp -Wconversion warnings."
Jarkko Pöyry [Thu, 28 May 2015 21:53:53 +0000 (21:53 +0000)]
Merge "Fix deutil and decpp -Wconversion warnings."

9 years agoMerge "Use one-component vectors in shader operator tests."
Jarkko Pöyry [Thu, 28 May 2015 21:50:18 +0000 (21:50 +0000)]
Merge "Use one-component vectors in shader operator tests."

9 years agoMerge "Add deSignExtendTo32() to deInt32.h"
Pyry Haulos [Thu, 28 May 2015 21:48:19 +0000 (21:48 +0000)]
Merge "Add deSignExtendTo32() to deInt32.h"

9 years agoFix couple of instances of undefined behavior
Pyry Haulos [Fri, 22 May 2015 17:27:29 +0000 (10:27 -0700)]
Fix couple of instances of undefined behavior

These were found by running tests using clang's -fsanitize=undefined

Change-Id: I810be9c747504df671629201ba56b5b8ed2307d7

9 years agoAdd deSignExtendTo32() to deInt32.h
Pyry Haulos [Fri, 22 May 2015 23:57:13 +0000 (16:57 -0700)]
Add deSignExtendTo32() to deInt32.h

Change-Id: I1e70245b92b044ba136b40be7ef0694c0ae1c18b

9 years agoUse one-component vectors in shader operator tests.
Jarkko Pöyry [Fri, 22 May 2015 22:12:50 +0000 (15:12 -0700)]
Use one-component vectors in shader operator tests.

- Make swizzle(N) return a vector.
- Add {e,U,I,B}Vec1 typedefs.
- Use one-component vectors in shader operator tests to always use same
  paths for vector and scalar ops.

Bug: 21161908
Change-Id: Ibcb8257a0c453cb17c7ab4df5ded4b185f0c01af

9 years agoMerge "Fix various type and sign conversion warnings."
Jarkko Pöyry [Thu, 28 May 2015 21:26:12 +0000 (21:26 +0000)]
Merge "Fix various type and sign conversion warnings."

9 years agoam d6fe02d0: am 7722504f: Merge "Add tests for GL_EXT_debug_marker" into mnc-dev
Pyry Haulos [Thu, 28 May 2015 17:46:29 +0000 (17:46 +0000)]
am d6fe02d0: am 7722504f: Merge "Add tests for GL_EXT_debug_marker" into mnc-dev

* commit 'd6fe02d058d314e02593a72af17118d58e158f2a':
  Add tests for GL_EXT_debug_marker

9 years agoam 7722504f: Merge "Add tests for GL_EXT_debug_marker" into mnc-dev
Pyry Haulos [Thu, 28 May 2015 17:30:50 +0000 (17:30 +0000)]
am 7722504f: Merge "Add tests for GL_EXT_debug_marker" into mnc-dev

* commit '7722504f5a43bed8bde97954a5eeb2b4480891a1':
  Add tests for GL_EXT_debug_marker

9 years agoMerge "Add tests for GL_EXT_debug_marker" into mnc-dev
Pyry Haulos [Thu, 28 May 2015 16:22:21 +0000 (16:22 +0000)]
Merge "Add tests for GL_EXT_debug_marker" into mnc-dev

9 years agoam 40c2eb9d: am 8a14bbb7: Fix bug in (u)intBitsToFloat() test result verification...
Pyry Haulos [Sat, 23 May 2015 00:03:21 +0000 (00:03 +0000)]
am 40c2eb9d: am 8a14bbb7: Fix bug in (u)intBitsToFloat() test result verification code

* commit '40c2eb9df94d33dd9ac454d450c4320dc7dcd52c':
  Fix bug in (u)intBitsToFloat() test result verification code

9 years agoam 8a14bbb7: Fix bug in (u)intBitsToFloat() test result verification code
Pyry Haulos [Fri, 22 May 2015 23:47:59 +0000 (23:47 +0000)]
am 8a14bbb7: Fix bug in (u)intBitsToFloat() test result verification code

* commit '8a14bbb74876a4a318d6277a3afeb8d35d682aaf':
  Fix bug in (u)intBitsToFloat() test result verification code

9 years agoFix various type and sign conversion warnings.
Jarkko Pöyry [Fri, 22 May 2015 22:41:51 +0000 (15:41 -0700)]
Fix various type and sign conversion warnings.

Bug: 21161908
Change-Id: I849473f51ed7fa5028b7fbc8f265d080c553c8d5

9 years agoMerge "Make case list export destination configurable"
Kalle Raita [Fri, 22 May 2015 21:04:51 +0000 (21:04 +0000)]
Merge "Make case list export destination configurable"

9 years agoMerge "Fix -Wconversion warnings in VAO tests."
Jarkko Pöyry [Fri, 22 May 2015 20:53:35 +0000 (20:53 +0000)]
Merge "Fix -Wconversion warnings in VAO tests."

9 years agoMake case list export destination configurable
Kalle Raita [Tue, 19 May 2015 22:47:00 +0000 (15:47 -0700)]
Make case list export destination configurable

Added command line parameter --deqp-caselist-export-file for
defining the test case list target file template.

Added new run mode, stdout-caselist, for writing all the test
cases into the stdout.

Split XML export into file handling and XML writing parts
for clarity. Renamed export utility functions to show
that multiple files are potentially created during
export.

Bug: 20890217

Change-Id: Ib6247283824203644a9953391588f1c60347405b