platform/upstream/VK-GL-CTS.git
9 years agoMerge "Add tcu::just() that wraps argument in to tcu::Maybe."
Mika Isojärvi [Wed, 18 Feb 2015 20:45:19 +0000 (20:45 +0000)]
Merge "Add tcu::just() that wraps argument in to tcu::Maybe."

9 years agoam 4a269a89: am 91d64847: am 563de115: Merge "Relax mediump interpolation accuracy...
Pyry Haulos [Wed, 18 Feb 2015 20:18:50 +0000 (20:18 +0000)]
am 4a269a89: am 91d64847: am 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev

* commit '4a269a89e167321864ba2f1f01e005c9dcd122fe':
  Relax mediump interpolation accuracy requirements and clarify thresholds

9 years agoam db0c176d: am 8af07798: am 79c79d54: Merge "Remove broken line interpolation tests...
Jarkko Pöyry [Wed, 18 Feb 2015 20:18:49 +0000 (20:18 +0000)]
am db0c176d: am 8af07798: am 79c79d54: Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev

* commit 'db0c176d130658c1af3050557a29ddf0c68b6afb':
  Remove broken line interpolation tests from must pass.

9 years agoam 91d64847: am 563de115: Merge "Relax mediump interpolation accuracy requirements...
Pyry Haulos [Wed, 18 Feb 2015 20:12:44 +0000 (20:12 +0000)]
am 91d64847: am 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev

* commit '91d648478f08ebdf8bbe9f3bf8ea3d64850fd7eb':
  Relax mediump interpolation accuracy requirements and clarify thresholds

9 years agoam 8af07798: am 79c79d54: Merge "Remove broken line interpolation tests from must...
Jarkko Pöyry [Wed, 18 Feb 2015 20:12:43 +0000 (20:12 +0000)]
am 8af07798: am 79c79d54: Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev

* commit '8af07798c5ebc12b04efb87f2519945377d14b17':
  Remove broken line interpolation tests from must pass.

9 years agoam 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify...
Pyry Haulos [Wed, 18 Feb 2015 19:57:48 +0000 (19:57 +0000)]
am 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev

* commit '563de115e69e1a98524be95b0f2c26af0bbe621f':
  Relax mediump interpolation accuracy requirements and clarify thresholds

9 years agoMerge "Skip NaN values when estimating pixel value range."
Mika Isojärvi [Wed, 18 Feb 2015 19:55:19 +0000 (19:55 +0000)]
Merge "Skip NaN values when estimating pixel value range."

9 years agoam 79c79d54: Merge "Remove broken line interpolation tests from must pass." into...
Jarkko Pöyry [Wed, 18 Feb 2015 19:54:06 +0000 (19:54 +0000)]
am 79c79d54: Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev

* commit '79c79d54bd0d278ea2a398e7dfff13e975296ca9':
  Remove broken line interpolation tests from must pass.

9 years agoMerge "Relax mediump interpolation accuracy requirements and clarify thresholds"...
Pyry Haulos [Wed, 18 Feb 2015 19:52:31 +0000 (19:52 +0000)]
Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev

9 years agoSkip NaN values when estimating pixel value range.
Mika Isojärvi [Wed, 18 Feb 2015 19:32:59 +0000 (11:32 -0800)]
Skip NaN values when estimating pixel value range.

Bug: 19379467
Change-Id: Idfb98ddd4bff47bb4cd6a77f6d4a870d303960a5

9 years agoMerge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev
Jarkko Pöyry [Wed, 18 Feb 2015 19:47:41 +0000 (19:47 +0000)]
Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev

9 years agoRemove broken line interpolation tests from must pass.
Jarkko Pöyry [Wed, 18 Feb 2015 18:54:31 +0000 (10:54 -0800)]
Remove broken line interpolation tests from must pass.

- Remove line interpolation tests that incorrectly use projected
  distances in intepolation verification.

Bug: 19410338
Change-Id: I2811495d41988cdbdaaf7142781de3f747191c74

9 years agoAdd default for Executor continue file.
Kalle Raita [Tue, 17 Feb 2015 23:13:50 +0000 (15:13 -0800)]
Add default for Executor continue file.

Change-Id: If2006206020bd8e4c9f0ed7432f90c941466d453

9 years agoAdd tcu::just() that wraps argument in to tcu::Maybe.
Mika Isojärvi [Fri, 13 Feb 2015 20:48:55 +0000 (12:48 -0800)]
Add tcu::just() that wraps argument in to tcu::Maybe.

Sometimes relying on implicit conversions is not enough and writing
complete constructor of tcu::Maybe<T> is tedious.

Change-Id: I945ada922e6507152f30109773425401cefd54a3

9 years agoMerge "Add query tests for AEP states."
Jarkko Pöyry [Fri, 13 Feb 2015 23:11:27 +0000 (23:11 +0000)]
Merge "Add query tests for AEP states."

9 years agoAdd query tests for AEP states.
Jarkko Pöyry [Fri, 13 Feb 2015 06:51:46 +0000 (22:51 -0800)]
Add query tests for AEP states.

* Add khr_debug limit tests and extend label queries.
* Add blend_equation_advanced queries.
* Add ext_texture_buffer queries.
* Extend ext_geometry_shader queries.
* Add ext_tessellation_shader queries.
* Add ext_texture_srgb_decode queries.
* Extend texture_level tests for all texture targets.
* Extend texture tests for all texture targets.
* Split shader.sampler_type to separate tests for each sampler type.
* Improve logging in vertex_attribute_binding tests.
* Add ext_texture_border_clamp queries.
* Add EXT_tessellation_shader, EXT_geometry_shader and
  EXT_shader_io_blocks PIQ tests.
* Change filtering min/max lod state query test values to reasonable range.
* Extend info log queries.

Bug: 18925583
Change-Id: Id6194fff4c03786445f99168ec5fb4120f8c50b7

9 years agoMute several safe size_t to int conversions
Pyry Haulos [Fri, 13 Feb 2015 22:28:50 +0000 (14:28 -0800)]
Mute several safe size_t to int conversions

Change-Id: I42d27ce97f2da51e481b7f205c3d7dc3b487e726

9 years agoMerge "Add missing string conversions for tcu::TextureFormat."
Mika Isojärvi [Fri, 13 Feb 2015 21:09:29 +0000 (21:09 +0000)]
Merge "Add missing string conversions for tcu::TextureFormat."

9 years agoAdd missing string conversions for tcu::TextureFormat.
Mika Isojärvi [Fri, 13 Feb 2015 20:42:59 +0000 (12:42 -0800)]
Add missing string conversions for tcu::TextureFormat.

Add missing cases to channel order and channel type stringification in
stream operators.

Change-Id: Ic6432e1706bfd192f2466ad83aa171db00ffb2f3

9 years agoAdd missing include.
Jarkko Pöyry [Fri, 13 Feb 2015 20:56:16 +0000 (12:56 -0800)]
Add missing include.

Change-Id: I4c2f32e63650fbaf00cf7248d0d7fe5dce73095d

9 years agoAdd support for AEP states to framework.
Jarkko Pöyry [Thu, 12 Feb 2015 23:27:33 +0000 (15:27 -0800)]
Add support for AEP states to framework.

- Extend state reset.
- Fix texture MIN_FILTER state reset initial value.
- Extend call log wrapper for new methods and types.
- Extend ES3Plus Wrapper for AEP extensions.

Change-Id: Iadd66e17958c4ae1d0184260e606a20588496167

9 years agoAdd formatArray utility.
Jarkko Pöyry [Thu, 12 Feb 2015 23:23:57 +0000 (15:23 -0800)]
Add formatArray utility.

Change-Id: I273a33ef277730ab34347ef1df2b730d2b96055c

9 years agoMerge changes I688d84e5,Icce01201
Jarkko Pöyry [Fri, 13 Feb 2015 20:38:29 +0000 (20:38 +0000)]
Merge changes I688d84e5,Icce01201

* changes:
  Move tcu::ResultCollector to a separate file.
  Add query tests for ES31 states.

9 years agoRelax mediump interpolation accuracy requirements and clarify thresholds
Pyry Haulos [Fri, 13 Feb 2015 18:58:03 +0000 (10:58 -0800)]
Relax mediump interpolation accuracy requirements and clarify thresholds

This change relaxes mediump interpolation accuracy in
dEQP-GLES3.functional.fragment_out.* to 4 ULP from 1 ULP.

Threshold computation is also fixed/clarified by moving interpolation
threshold to be dependent on precision qualifier, and allowing only
rounding difference in format-dependent threshold. The original error
was likely due to incorrectly accomodating for interpolation in format
threshold.

Bug: 19380820
Change-Id: I457a9b7e07bad94399d07f37caa29d65ad95a5c8

9 years agoMove tcu::ResultCollector to a separate file.
Jarkko Pöyry [Thu, 12 Feb 2015 23:22:19 +0000 (15:22 -0800)]
Move tcu::ResultCollector to a separate file.

- Move tcu::ResultCollector to a separate file.
- Fix includes in tests.

Change-Id: I688d84e5de7bfa4c80b0034cdac4ea0e4fd2faa7

9 years agoAdd query tests for ES31 states.
Jarkko Pöyry [Tue, 27 Jan 2015 02:52:33 +0000 (18:52 -0800)]
Add query tests for ES31 states.

* Queries and pretty-printing for GLES31 core states.
* Move sample_mask_value from integer.* to indexed.*.
* Add image state reset.
* Move tcu::Array to a separate file

Bug: 18925583
Change-Id: Icce01201ca3c2c7daeb2daeb0fed04d373a15eb6

9 years agoMerge "Clarify primitive_bbox test case logs."
Jarkko Pöyry [Fri, 13 Feb 2015 18:48:15 +0000 (18:48 +0000)]
Merge "Clarify primitive_bbox test case logs."

9 years agoMerge "Add tests for GL_EXT_copy_image."
Mika Isojärvi [Fri, 13 Feb 2015 18:01:52 +0000 (18:01 +0000)]
Merge "Add tests for GL_EXT_copy_image."

9 years agoMerge "Add tcuEither that contains one of two different types."
Mika Isojärvi [Thu, 12 Feb 2015 22:23:23 +0000 (22:23 +0000)]
Merge "Add tcuEither that contains one of two different types."

9 years agoClarify primitive_bbox test case logs.
Jarkko Pöyry [Thu, 12 Feb 2015 22:07:42 +0000 (14:07 -0800)]
Clarify primitive_bbox test case logs.

- Add scoping around query test value iterations.
- Print result image even when test passes.

Change-Id: I0d703e8bd21579a8de1b8f0e0f7926927e204950

9 years agoAdd tcuEither that contains one of two different types.
Mika Isojärvi [Wed, 28 Jan 2015 21:46:17 +0000 (13:46 -0800)]
Add tcuEither that contains one of two different types.

tcuEither class contains one of two different types. Basicly it works
like union with two types, but also tracks which one it contains.

Change-Id: I2183c2dcc947b1a3c6af6abd6dca37318c32107e

9 years agoAdd tests for GL_EXT_copy_image.
Mika Isojärvi [Fri, 16 Jan 2015 19:18:36 +0000 (11:18 -0800)]
Add tests for GL_EXT_copy_image.

New tests that test GL_EXT_copy_image extension. Tests copy between all
possible format combinations except two float formats. For each format
combination all image target combinations are tested. These tests
always use npot image sizes and npot copy sizes. Offset to source and
destination image is also always npot. When testing texture images,
mipmap complete textures are used and source and destination mipmap
level is always 1. Each test case first tests copying between images
after rendering them to screen and then tests copying between images
immediately after creating them.

Change-Id: If961728d0257109a8cbd97ef8380dd9d89320ecd

9 years agoMerge "Fix off-by-one in info log query."
Jarkko Pöyry [Tue, 10 Feb 2015 22:57:10 +0000 (22:57 +0000)]
Merge "Fix off-by-one in info log query."

9 years agoMerge "Disable coherent blending in non-coherent blend tests."
Jarkko Pöyry [Tue, 10 Feb 2015 22:57:05 +0000 (22:57 +0000)]
Merge "Disable coherent blending in non-coherent blend tests."

9 years agoFix off-by-one in info log query.
Jarkko Pöyry [Tue, 10 Feb 2015 21:54:51 +0000 (13:54 -0800)]
Fix off-by-one in info log query.

- Fix off-by-one in info log query causing infolog string to contain
  0-byte.
- Tolerate and work around GL implementation off-by-ones in infolog
  query.

Change-Id: I94f2ac55ed9f7a341055f28c69d36a4e0f213481

9 years agoMerge "Fix various issues in primitive_bbox tests."
Jarkko Pöyry [Tue, 10 Feb 2015 21:53:07 +0000 (21:53 +0000)]
Merge "Fix various issues in primitive_bbox tests."

9 years agoMerge "Optimize draw tests."
Jarkko Pöyry [Tue, 10 Feb 2015 21:31:53 +0000 (21:31 +0000)]
Merge "Optimize draw tests."

9 years agoDisable coherent blending in non-coherent blend tests.
Jarkko Pöyry [Thu, 5 Feb 2015 20:39:16 +0000 (12:39 -0800)]
Disable coherent blending in non-coherent blend tests.

Bug: 19283100
Change-Id: Idd464d9e107d4390bb009cab5325f998816b4927

9 years agoOptimize draw tests.
Jarkko Pöyry [Fri, 6 Feb 2015 21:49:54 +0000 (13:49 -0800)]
Optimize draw tests.

- Skip multisample resolve if buffer is not multisampled.
- Reject distant diamonds early in line rasterizer.
- Preclear error masks to success color.
- Reuse pixel buffer accesses, do not assume getAccess() is free.

Change-Id: Ic60a6e0e4615c78739f9ccd62ae19567995c895d

9 years agoFix various issues in primitive_bbox tests.
Jarkko Pöyry [Tue, 10 Feb 2015 05:32:19 +0000 (21:32 -0800)]
Fix various issues in primitive_bbox tests.

- Fix broken assert.
- Don't expect half to propagate accurately through all shader stages.

Change-Id: I85364c5820f8047dc3315bb56b3243e87342830b

9 years agoMerge "Convert broken flat -> smooth varying linkage test to a negative test."
Jarkko Pöyry [Mon, 9 Feb 2015 20:21:33 +0000 (20:21 +0000)]
Merge "Convert broken flat -> smooth varying linkage test to a negative test."

9 years agoMerge "Improve tcuTexture performance by caching pixel size."
Mika Isojärvi [Mon, 9 Feb 2015 20:20:01 +0000 (20:20 +0000)]
Merge "Improve tcuTexture performance by caching pixel size."

9 years agoConvert broken flat -> smooth varying linkage test to a negative test.
Jarkko Pöyry [Mon, 9 Feb 2015 19:23:06 +0000 (11:23 -0800)]
Convert broken flat -> smooth varying linkage test to a negative test.

Bug: 19298732
Change-Id: I47a31ce9254da9ab09572c0e8be4da43ad33e635

9 years agoImprove tcuTexture performance by caching pixel size.
Mika Isojärvi [Tue, 3 Feb 2015 22:34:22 +0000 (14:34 -0800)]
Improve tcuTexture performance by caching pixel size.

Cache pixel size of the texture format to improve performance. On N6,
N7, N9 and my host machine this improves dEQP-GLES3.functional.texture
tests runtime by ~1-2%.

Change-Id: Ib804cfde7e24fa89a88b7ad907502d0ddded2cea

9 years agoFix deqp build on clang.
Jarkko Pöyry [Fri, 6 Feb 2015 22:46:47 +0000 (14:46 -0800)]
Fix deqp build on clang.

- Fix incorrect convertion from int to ptr.
- Remove unused variable.

Change-Id: Ib0c9cb93d625ad2ac932e825e32adc0d3e92bb24

9 years agoMerge "Enforce test tree hierarchy in TestNode."
Jarkko Pöyry [Fri, 6 Feb 2015 21:45:06 +0000 (21:45 +0000)]
Merge "Enforce test tree hierarchy in TestNode."

9 years agoEnforce test tree hierarchy in TestNode.
Jarkko Pöyry [Thu, 5 Feb 2015 23:56:06 +0000 (15:56 -0800)]
Enforce test tree hierarchy in TestNode.

- Disallow group to have both groups and tests as children. This makes
  internal test tree and test tree generated for CTS to have identical
  structure.
- Update tests to never generate illegal test tree structure.

Change-Id: I8da5cc75e398eb2a35f09cba03b0a5be170a184a

9 years agoam b7c663f1: am 9dffe171: Merge "Do not require signed zero support in ldexp tests...
Pyry Haulos [Fri, 6 Feb 2015 19:48:44 +0000 (19:48 +0000)]
am b7c663f1: am 9dffe171: Merge "Do not require signed zero support in ldexp tests()" into lmp-mr1-dev

* commit 'b7c663f18f03590572ee614b2258201f2a7715d9':
  Do not require signed zero support in ldexp tests()

9 years agoam 9dffe171: Merge "Do not require signed zero support in ldexp tests()" into lmp...
Pyry Haulos [Fri, 6 Feb 2015 19:42:39 +0000 (19:42 +0000)]
am 9dffe171: Merge "Do not require signed zero support in ldexp tests()" into lmp-mr1-dev

* commit '9dffe171837245135e71dff20cf34bc4fcac687d':
  Do not require signed zero support in ldexp tests()

9 years agoMerge "Do not require signed zero support in ldexp tests()" into lmp-mr1-dev
Pyry Haulos [Fri, 6 Feb 2015 19:25:15 +0000 (19:25 +0000)]
Merge "Do not require signed zero support in ldexp tests()" into lmp-mr1-dev

9 years agoam a15ffb90: am 0b99ef65: am 744fda92: Add missing extension-require statement to...
Jarkko Pöyry [Fri, 6 Feb 2015 16:49:30 +0000 (16:49 +0000)]
am a15ffb90: am 0b99ef65: am 744fda92: Add missing extension-require statement to geometry query tests.

* commit 'a15ffb9085a40ed13592b631bac87d7cb61001a6':
  Add missing extension-require statement to geometry query tests.

9 years agoam 0b99ef65: am 744fda92: Add missing extension-require statement to geometry query...
Jarkko Pöyry [Fri, 6 Feb 2015 16:36:42 +0000 (16:36 +0000)]
am 0b99ef65: am 744fda92: Add missing extension-require statement to geometry query tests.

* commit '0b99ef65f6d2f3c020a4c4c0d78dc65cd442ded4':
  Add missing extension-require statement to geometry query tests.

9 years agoam 744fda92: Add missing extension-require statement to geometry query tests.
Jarkko Pöyry [Fri, 6 Feb 2015 01:46:28 +0000 (01:46 +0000)]
am 744fda92: Add missing extension-require statement to geometry query tests.

* commit '744fda923ab2ca512aeefca793f1a6c8aa3b19ad':
  Add missing extension-require statement to geometry query tests.

9 years agoAdd missing extension-require statement to geometry query tests.
Jarkko Pöyry [Wed, 4 Feb 2015 19:10:11 +0000 (11:10 -0800)]
Add missing extension-require statement to geometry query tests.

Bug: 19261758
Change-Id: Id788103f6aada884cd47e0707deaabeed0b36b8c

9 years agoRemove eglEnums.hpp includes from framework headers
Pyry Haulos [Tue, 3 Feb 2015 19:23:07 +0000 (11:23 -0800)]
Remove eglEnums.hpp includes from framework headers

Platform ports may need to include egl(ext).h, and that will confilict
with defines in eglwEnums.hpp. This change removes eglwEnums.hpp
references from EGL framework headers to allow including actual EGL
headers if necessary.

Change-Id: I4aaa0d40196a7cd041a5a36828f601cdda91d9cc

9 years agoMerge "Win32Window cleanup"
Pyry Haulos [Tue, 3 Feb 2015 19:36:21 +0000 (19:36 +0000)]
Merge "Win32Window cleanup"

9 years agoMerge "Build system cleanups"
Pyry Haulos [Tue, 3 Feb 2015 19:35:27 +0000 (19:35 +0000)]
Merge "Build system cleanups"

9 years agoMerge "Fix couple of implicit conversion warnings reported by MSVC"
Pyry Haulos [Tue, 3 Feb 2015 19:33:29 +0000 (19:33 +0000)]
Merge "Fix couple of implicit conversion warnings reported by MSVC"

9 years agoFix couple of implicit conversion warnings reported by MSVC
Pyry Haulos [Tue, 3 Feb 2015 18:41:01 +0000 (10:41 -0800)]
Fix couple of implicit conversion warnings reported by MSVC

Change-Id: If6dd153b8927e4f8e0cc5629d4dd051a9a96dcdf

9 years agoWin32Window cleanup
Pyry Haulos [Tue, 3 Feb 2015 19:26:43 +0000 (11:26 -0800)]
Win32Window cleanup

 * Use TCU_THROW instead of manually passing in __FILE__ and __LINE__.

 * Use more descriptive window title.

Change-Id: Ide66250640f0b4d6b8e1b6d9768f19e753e6783a

9 years agoBuild system cleanups
Pyry Haulos [Tue, 3 Feb 2015 18:48:09 +0000 (10:48 -0800)]
Build system cleanups

 * Remove references to OpenCL support

 * Remove OpenCL-specific targets

 * Always enable EGL support in "default" target as EGL code doesn't
have any compile-time dependencies any more.

 * Remove DELIBS_DIR indirection as delibs is now always located under
framework/ directory.

Change-Id: I74e5eae2201c1bbd689fe86d377b603ba193bccc

9 years agoFix couple of trivial warnings reported by MSVC
Pyry Haulos [Tue, 3 Feb 2015 18:09:28 +0000 (10:09 -0800)]
Fix couple of trivial warnings reported by MSVC

Change-Id: I971ead9d6280aa16b7dc4c8970c7ba48e3d1ba30

9 years agoam 539a78ce: am a52483de: am e8ef2961: Allow for larger LOD difference and fix anothe...
Pyry Haulos [Fri, 30 Jan 2015 21:41:58 +0000 (21:41 +0000)]
am 539a78ce: am a52483de: am e8ef2961: Allow for larger LOD difference and fix another offset bug

* commit '539a78cea43da2a64291f1399b5215867c36bb96':
  Allow for larger LOD difference and fix another offset bug

9 years agoam 2dfca38e: am 8d83d91e: Terminate test process after first OOM in compute_interop...
Jarkko Pöyry [Fri, 30 Jan 2015 21:35:20 +0000 (21:35 +0000)]
am 2dfca38e: am 8d83d91e: Terminate test process after first OOM in compute_interop tests.

* commit '2dfca38eceaf93d7b7e48ab00fb15d8e17b5b54a':
  Terminate test process after first OOM in compute_interop tests.

9 years agoam 2a8065fa: am 72a9510d: Merge "Add support for fatal errors to framework." into...
Jarkko Pöyry [Fri, 30 Jan 2015 21:35:16 +0000 (21:35 +0000)]
am 2a8065fa: am 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev

* commit '2a8065fa3b04357c35d05492595a5f30cf2bb34c':
  Add support for fatal errors to framework.

9 years agoam a52483de: am e8ef2961: Allow for larger LOD difference and fix another offset bug
Pyry Haulos [Fri, 30 Jan 2015 21:33:05 +0000 (21:33 +0000)]
am a52483de: am e8ef2961: Allow for larger LOD difference and fix another offset bug

* commit 'a52483de6bee171002514a1ec1275d9c4c99fc07':
  Allow for larger LOD difference and fix another offset bug

9 years agoam 8d83d91e: Terminate test process after first OOM in compute_interop tests.
Jarkko Pöyry [Fri, 30 Jan 2015 21:22:43 +0000 (21:22 +0000)]
am 8d83d91e: Terminate test process after first OOM in compute_interop tests.

* commit '8d83d91e1b85fa69359aed7ea15358f770f9eb82':
  Terminate test process after first OOM in compute_interop tests.

9 years agoam 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 21:22:42 +0000 (21:22 +0000)]
am 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev

* commit '72a9510d9503034c678cdb18384b3fe19f124714':
  Add support for fatal errors to framework.

9 years agoam e8ef2961: Allow for larger LOD difference and fix another offset bug
Pyry Haulos [Fri, 30 Jan 2015 21:14:23 +0000 (21:14 +0000)]
am e8ef2961: Allow for larger LOD difference and fix another offset bug

* commit 'e8ef296162c99669d786b805a148b9a3e8ae5831':
  Allow for larger LOD difference and fix another offset bug

9 years agoTerminate test process after first OOM in compute_interop tests.
Jarkko Pöyry [Fri, 30 Jan 2015 00:19:14 +0000 (16:19 -0800)]
Terminate test process after first OOM in compute_interop tests.

Bug: 19197749
Change-Id: I30eff574ba699b1ee3d28c8fa4c85a5ceea146c1

9 years agoMerge "Add support for fatal errors to framework." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 20:09:14 +0000 (20:09 +0000)]
Merge "Add support for fatal errors to framework." into lmp-mr1-dev

9 years agoDo not require signed zero support in ldexp tests()
Pyry Haulos [Fri, 30 Jan 2015 19:38:15 +0000 (11:38 -0800)]
Do not require signed zero support in ldexp tests()

This relaxes ldexp() tests to allow -0/+0 to be interchanged.

Bug: 19145770
Change-Id: I46c6a8f224606a15be0f974af36c281612f2398b

9 years agoAllow for larger LOD difference and fix another offset bug
Pyry Haulos [Fri, 30 Jan 2015 17:50:46 +0000 (09:50 -0800)]
Allow for larger LOD difference and fix another offset bug

Certain valid implementations were failing couple of
mipmap.cube.projected tests and the reason appears to be that sampling
analytical derivatives around pixel neighborhood may give too tight LOD
bounds, especially if one or more samples fall into different faces.

This change compensates for the difference by reducing assumed LOD
precision down to 3 bits.

In addition this change fixes another LOD offset issue missed by
previous CL.

Bug: 19170879
Change-Id: I5c154294f2b47222f6910e89dfdd372d7d8233bd

9 years agoam c9843818: am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into...
Jarkko Pöyry [Fri, 30 Jan 2015 02:33:41 +0000 (02:33 +0000)]
am c9843818: am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

* commit 'c9843818f4eeab0c62d484bd56a1c6c48b2a8605':
  Avoid leaking VAO in compute_interop tests.

9 years agoam 065852c7: am 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification...
Pyry Haulos [Fri, 30 Jan 2015 02:33:38 +0000 (02:33 +0000)]
am 065852c7: am 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification code

* commit '065852c710bfd99acf8245ba66b7bf92e0e974e4':
  Fix derivate offset in cube map verification code

9 years agoam 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 02:26:52 +0000 (02:26 +0000)]
am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

* commit '60ce86edd4316c2e96b35d94844d870cdfa99d55':
  Avoid leaking VAO in compute_interop tests.

9 years agoam 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification code
Pyry Haulos [Fri, 30 Jan 2015 02:26:51 +0000 (02:26 +0000)]
am 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification code

* commit '67fa8c5472adfcad106901e7fad1e76ede4f79a1':
  Fix derivate offset in cube map verification code

9 years agoMerge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 02:05:15 +0000 (02:05 +0000)]
Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

9 years agoAdd support for fatal errors to framework.
Jarkko Pöyry [Thu, 29 Jan 2015 23:59:37 +0000 (15:59 -0800)]
Add support for fatal errors to framework.

- Allow any test type to be fatal, not just resource error.

Bug: 19197749
Change-Id: I6834889c147fb6d93264738308c0293dec9b53b4

9 years agoam 2e736e5c: Fix derivate offset in cube map verification code
Pyry Haulos [Thu, 29 Jan 2015 22:54:26 +0000 (22:54 +0000)]
am 2e736e5c: Fix derivate offset in cube map verification code

* commit '2e736e5cc21486837e98cae3c9303751f9a15c79':
  Fix derivate offset in cube map verification code

9 years agoFix derivate offset in cube map verification code
Pyry Haulos [Thu, 29 Jan 2015 21:47:02 +0000 (13:47 -0800)]
Fix derivate offset in cube map verification code

To accomodate implementations that use same derivative for a 2x2 pixel
quad when computing LOD, cube map verification code samples derivatives
in 3x3 neighborhood and computes bounds based on that.

This change fixes a typo that prevented the code from considering
(+1, +1) offset.

Bug: 19170879
Change-Id: I2de7aa422fc2fa3ff4432e802bb98c90aedeb548

9 years agoAvoid leaking VAO in compute_interop tests.
Jarkko Pöyry [Thu, 29 Jan 2015 21:48:00 +0000 (13:48 -0800)]
Avoid leaking VAO in compute_interop tests.

Bug: 19197749
Change-Id: I5ba9bafcc13e2b92df47e52d30e5e51a8ebb8b4c

9 years agoMerge "Add tcuMaybe that can be used for values that may not exist."
Mika Isojärvi [Thu, 29 Jan 2015 01:47:51 +0000 (01:47 +0000)]
Merge "Add tcuMaybe that can be used for values that may not exist."

9 years agoAdd tcuMaybe that can be used for values that may not exist.
Mika Isojärvi [Tue, 27 Jan 2015 21:06:51 +0000 (13:06 -0800)]
Add tcuMaybe that can be used for values that may not exist.

Fairly often we have values that may not exist. Most often with test
case parameters. This template class adds support for values that may
not exist. This class replaces use of pointers and magic numbers for
values that don't exist.

Change-Id: I58b5783f57a34db545909d0ac809e83cbef02792

9 years agoMerge "Add copyright banner to scripts."
Jarkko Pöyry [Wed, 28 Jan 2015 00:55:03 +0000 (00:55 +0000)]
Merge "Add copyright banner to scripts."

9 years agoEnable GL_EXT_draw_buffers_indexed instead of OES.
Mika Isojärvi [Mon, 26 Jan 2015 23:51:42 +0000 (15:51 -0800)]
Enable GL_EXT_draw_buffers_indexed instead of OES.

Enable GL_EXT_draw_buffers_indexed instead of
GL_OES_draw_buffers_indexed.

Change-Id: Id66e27f39393c11d9f0c5d78f642a624b969bf05

9 years agoAdd .gitignore for external/
Pyry Haulos [Mon, 26 Jan 2015 22:06:16 +0000 (14:06 -0800)]
Add .gitignore for external/

Change-Id: Ib25112f6e13f06e739baaaa223c6eb659508d665

9 years agoMerge "Add support for GL_OES_draw_buffers_indexed."
Mika Isojärvi [Mon, 26 Jan 2015 21:09:29 +0000 (21:09 +0000)]
Merge "Add support for GL_OES_draw_buffers_indexed."

9 years agoAdd support for GL_OES_draw_buffers_indexed.
Mika Isojärvi [Fri, 23 Jan 2015 23:09:27 +0000 (15:09 -0800)]
Add support for GL_OES_draw_buffers_indexed.

Add support for GL_OES_draw_buffers_indexed to OpenGL wrappers.

Change-Id: Ic52883c69a03ef217797a069ac10f97ce9ece5e3

9 years agoMerge "Generate GL wrappers from latest api registry xml."
Mika Isojärvi [Mon, 26 Jan 2015 18:34:36 +0000 (18:34 +0000)]
Merge "Generate GL wrappers from latest api registry xml."

9 years agoFix C++-style comments in C code
Pyry Haulos [Mon, 26 Jan 2015 17:14:43 +0000 (09:14 -0800)]
Fix C++-style comments in C code

Change-Id: I68667991f558edb0840dcf1d7e2346b742b744e6

9 years agoMerge "Add ipv6 support to deSocket"
Pyry Haulos [Mon, 26 Jan 2015 17:08:58 +0000 (17:08 +0000)]
Merge "Add ipv6 support to deSocket"

9 years agoam bdef91d6: (-s ours) am 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests...
Pyry Haulos [Sat, 24 Jan 2015 16:57:34 +0000 (16:57 +0000)]
am bdef91d6: (-s ours) am 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit 'bdef91d604e1241705cb73a640cebf9be452f915':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoam 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners...
Pyry Haulos [Fri, 23 Jan 2015 23:08:36 +0000 (23:08 +0000)]
am 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit '654e1ec3442e2efd7fee0590df2e2b39782d026e':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoGenerate GL wrappers from latest api registry xml.
Mika Isojärvi [Fri, 23 Jan 2015 23:01:53 +0000 (15:01 -0800)]
Generate GL wrappers from latest api registry xml.

Updated GL wrapper generation script to use latest version of of xml
api registry. Revision r29570.

Change-Id: I5d82bb80838a5ef24937d06fcaf607b7e54c6126

9 years agoam 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F...
Pyry Haulos [Fri, 23 Jan 2015 22:59:03 +0000 (22:59 +0000)]
am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit '1fdbddf3d06656eea41db16182e4ba6f056b476a':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoDO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
Pyry Haulos [Wed, 19 Nov 2014 19:31:46 +0000 (11:31 -0800)]
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.

GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass list as being too strict to enforce in the L
timeframe.

Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.

Bug: 18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7

9 years agoMerge "Add DeqpPlatformCapabilityQueryInstrumentation."
Jarkko Pöyry [Fri, 23 Jan 2015 01:07:49 +0000 (01:07 +0000)]
Merge "Add DeqpPlatformCapabilityQueryInstrumentation."

9 years agoAdd ipv6 support to deSocket
Pyry Haulos [Wed, 21 Jan 2015 20:34:46 +0000 (12:34 -0800)]
Add ipv6 support to deSocket

This change adds IPv6 support to deSocket. The change was inspired by a
MSVC warning about use of a deprecated API, for which the right fix was
to use a version that gave IPv6 for almost free.

Change-Id: I53d852db167159f84a7d0cd0ce4ca67d217dcdd0

9 years agoam ef075459: am 914bfa5f: am b9df7b5d: Allow geometry variation in 3D texture filteri...
Pyry Haulos [Thu, 22 Jan 2015 20:06:30 +0000 (20:06 +0000)]
am ef075459: am 914bfa5f: am b9df7b5d: Allow geometry variation in 3D texture filtering tests

* commit 'ef075459b073d1ded2442c5966d84fc7410b3aa7':
  Allow geometry variation in 3D texture filtering tests