platform/upstream/VK-GL-CTS.git
9 years agoam 5ff2f2fe: am c6ed4922: Add NOTICE and MODULE_LICENSE files
Conley Owens [Wed, 18 Mar 2015 23:49:51 +0000 (23:49 +0000)]
am 5ff2f2fe: am c6ed4922: Add NOTICE and MODULE_LICENSE files

* commit '5ff2f2fe53143eeda302c55100d72d2fcfead8f7':
  Add NOTICE and MODULE_LICENSE files

9 years agoMerge "Remove incomplete integer texture gather tests."
Mika Isojärvi [Wed, 18 Mar 2015 22:02:41 +0000 (22:02 +0000)]
Merge "Remove incomplete integer texture gather tests."

9 years agoRemove incomplete integer texture gather tests.
Mika Isojärvi [Tue, 17 Mar 2015 00:24:42 +0000 (17:24 -0700)]
Remove incomplete integer texture gather tests.

Sampling floating point values from incomplete texture always produces
(0, 0, 0, 1), but sampling integer or unsigned integer values return
undefined values.

Bug: 19733810
Change-Id: I32e8c6dcdc9ed7fd0a875857174d91fc605d958a

9 years agoFix couple of warnings reported by MSVC
Pyry Haulos [Wed, 18 Mar 2015 21:32:13 +0000 (14:32 -0700)]
Fix couple of warnings reported by MSVC

Change-Id: Icd4e5a545197d052d5705266e24de2bad881bafd

9 years agoam c6ed4922: Add NOTICE and MODULE_LICENSE files
Conley Owens [Wed, 18 Mar 2015 21:13:39 +0000 (21:13 +0000)]
am c6ed4922: Add NOTICE and MODULE_LICENSE files

* commit 'c6ed49223fcf746706f9cf6a78e71022592f56d5':
  Add NOTICE and MODULE_LICENSE files

9 years agoMerge "selectNative*Factory() throws exception when no factories available."
Mika Isojärvi [Wed, 18 Mar 2015 18:36:28 +0000 (18:36 +0000)]
Merge "selectNative*Factory() throws exception when no factories available."

9 years agoMerge "Treat gl_TessLevelInner/Outer as a name of an array in PIQ tests."
Jarkko Pöyry [Tue, 17 Mar 2015 18:18:24 +0000 (18:18 +0000)]
Merge "Treat gl_TessLevelInner/Outer as a name of an array in PIQ tests."

9 years agoselectNative*Factory() throws exception when no factories available.
Mika Isojärvi [Wed, 11 Mar 2015 23:09:13 +0000 (16:09 -0700)]
selectNative*Factory() throws exception when no factories available.

Instead of checking everywhere, if EGL native type factories for type existed
throw tcu::NotSupportedError from selectNative*Factory -function.

Change-Id: Iff416008a7499da7a6536e40dc0e1d376e9acfec

9 years agoMerge "Remove unused variable."
Mika Isojärvi [Mon, 16 Mar 2015 23:05:05 +0000 (23:05 +0000)]
Merge "Remove unused variable."

9 years agoMerge "Add state query tests for GL_EXT_draw_buffers_indexed."
Mika Isojärvi [Mon, 16 Mar 2015 22:04:51 +0000 (22:04 +0000)]
Merge "Add state query tests for GL_EXT_draw_buffers_indexed."

9 years agoAdd state query tests for GL_EXT_draw_buffers_indexed.
Mika Isojärvi [Fri, 27 Feb 2015 22:54:11 +0000 (14:54 -0800)]
Add state query tests for GL_EXT_draw_buffers_indexed.

Bug: 18925583
Change-Id: I7edf58afd794d7717eedc63115b36462ea0d6567

9 years agoMerge "Remove struct-capturing XFB PIQ cases."
Jarkko Pöyry [Mon, 16 Mar 2015 21:16:47 +0000 (21:16 +0000)]
Merge "Remove struct-capturing XFB PIQ cases."

9 years agoRemove unused variable.
Mika Isojärvi [Mon, 16 Mar 2015 21:02:10 +0000 (14:02 -0700)]
Remove unused variable.

Change-Id: I75d16ecb83dacdf95644b56841c841edaf7d93dd

9 years agoFix broken build in indexed draw buffers tests.
Mika Isojärvi [Mon, 16 Mar 2015 20:48:44 +0000 (13:48 -0700)]
Fix broken build in indexed draw buffers tests.

Change-Id: I2635f5b43296a8e5fe1928dbec8c00dae0fcbaa7

9 years agoMerge "Add tests for GL_EXT_draw_buffers_indexed."
Mika Isojärvi [Mon, 16 Mar 2015 20:29:13 +0000 (20:29 +0000)]
Merge "Add tests for GL_EXT_draw_buffers_indexed."

9 years agoRemove struct-capturing XFB PIQ cases.
Jarkko Pöyry [Mon, 16 Mar 2015 20:05:57 +0000 (13:05 -0700)]
Remove struct-capturing XFB PIQ cases.

- Remove transform feedback program interface query cases that tried to
  capture whole struct. This was disallowed in the resolution of
  Khronos bug #12787.

Bug: 18524718
Change-Id: Ibca5f334ffddb2647472c65dc34d5fa44953e730

9 years agoam f7621d9e: am f9ccead6: Remove invalid atomic image compare swap tests from mustpass.
Mika Isojärvi [Mon, 16 Mar 2015 17:39:56 +0000 (17:39 +0000)]
am f7621d9e: am f9ccead6: Remove invalid atomic image compare swap tests from mustpass.

* commit 'f7621d9e0e16619c076c80bbeddaa54c6af584b3':
  Remove invalid atomic image compare swap tests from mustpass.

9 years agoam f9ccead6: Remove invalid atomic image compare swap tests from mustpass.
Mika Isojärvi [Mon, 16 Mar 2015 17:34:42 +0000 (17:34 +0000)]
am f9ccead6: Remove invalid atomic image compare swap tests from mustpass.

* commit 'f9ccead6fe54285c8cbf1da12007ccb05e559079':
  Remove invalid atomic image compare swap tests from mustpass.

9 years agoMerge remote-tracking branch 'goog/mirror-m-wireless-internal-release'
Vinit Deshpande [Mon, 16 Mar 2015 08:16:33 +0000 (01:16 -0700)]
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'

9 years agoTreat gl_TessLevelInner/Outer as a name of an array in PIQ tests.
Jarkko Pöyry [Sat, 14 Mar 2015 01:53:42 +0000 (18:53 -0700)]
Treat gl_TessLevelInner/Outer as a name of an array in PIQ tests.

Bug: 19731647
Change-Id: Ib204ffeb39c91990b9df9c10f99858ec0febca75

9 years agoRemove invalid atomic image compare swap tests from mustpass.
Mika Isojärvi [Fri, 13 Mar 2015 23:39:33 +0000 (16:39 -0700)]
Remove invalid atomic image compare swap tests from mustpass.

Atomic compare swap image return value test verification is wrong. Tests pass
only if all the operations on single texel are run sequentially.

Affected tests:
dEQP-GLES31.functional.image_load_store.*.atomic.comp_swap_*_return_value

Bug: 19641084
Change-Id: I832d1ce2ef60edf70ac490c8ea11105ce2cb0e07

9 years agoMerge "Fix reference context when clearing empty area."
Mika Isojärvi [Fri, 13 Mar 2015 22:15:48 +0000 (22:15 +0000)]
Merge "Fix reference context when clearing empty area."

9 years agoMerge "Expose tcuTexture getChannelReadMap publicly."
Jarkko Pöyry [Fri, 13 Mar 2015 21:51:51 +0000 (21:51 +0000)]
Merge "Expose tcuTexture getChannelReadMap publicly."

9 years agoFix reference context when clearing empty area.
Mika Isojärvi [Fri, 13 Mar 2015 20:38:44 +0000 (13:38 -0700)]
Fix reference context when clearing empty area.

Reference context clear*() calls were crashing on assert when target rectangle
width or height was zero after applying scissor and viewport. Reference context
now skips clears when target area size is zero.

Bug: 19695755
Change-Id: I10e98fbbb8db0e099c039ecd583d6f5bb81af626

9 years agoMerge "Fix gles2 shader mixed_return_break_continue test to use proper loop form."
Jarkko Pöyry [Fri, 13 Mar 2015 19:26:02 +0000 (19:26 +0000)]
Merge "Fix gles2 shader mixed_return_break_continue test to use proper loop form."

9 years agoam e0f289e8: am 63f91325: am 652dd63a: Merge "Remove invalid atomic image compare...
Mika Isojärvi [Fri, 13 Mar 2015 18:56:40 +0000 (18:56 +0000)]
am e0f289e8: am 63f91325: am 652dd63a: Merge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev

* commit 'e0f289e8660821a64e82eec23d0b317c145a4b9a':
  Remove invalid atomic image compare swap tests from mustpass.

9 years agoam 63f91325: am 652dd63a: Merge "Remove invalid atomic image compare swap tests from...
Mika Isojärvi [Fri, 13 Mar 2015 18:50:35 +0000 (18:50 +0000)]
am 63f91325: am 652dd63a: Merge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev

* commit '63f91325aef88dd7842a5065d6f8e5425c84dc2f':
  Remove invalid atomic image compare swap tests from mustpass.

9 years agoam 652dd63a: Merge "Remove invalid atomic image compare swap tests from mustpass...
Mika Isojärvi [Fri, 13 Mar 2015 18:28:22 +0000 (18:28 +0000)]
am 652dd63a: Merge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev

* commit '652dd63a2f6823e19ce7368ef9bf31fd169b4348':
  Remove invalid atomic image compare swap tests from mustpass.

9 years agoMerge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev
Mika Isojärvi [Fri, 13 Mar 2015 18:21:09 +0000 (18:21 +0000)]
Merge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev

9 years agoam 6cee297e: (-s ours) am 09fb8216: Merge "DO NOT MERGE: Remove io_blocks.match_diffe...
Jarkko Pöyry [Fri, 13 Mar 2015 07:08:33 +0000 (07:08 +0000)]
am 6cee297e: (-s ours) am 09fb8216: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1 mustpass." into lmp-mr1-dev

* commit '6cee297e11091557977b6dcfeaa682be8ec36cdb':
  DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1 mustpass.

9 years agoam 9125a6e7: (-s ours) am f61fb6b0: am 84e26791: Merge "DO NOT MERGE: Remove io_block...
Jarkko Pöyry [Fri, 13 Mar 2015 07:08:32 +0000 (07:08 +0000)]
am 9125a6e7: (-s ours) am f61fb6b0: am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev

* commit '9125a6e7f47bc6937447226067777fc795f72856':
  DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass.

9 years agoam 2c7b1dbb: (-s ours) am a0750f11: am a83f8e59: DO NOT MERGE: Apply fix for tessella...
Jarkko Pöyry [Fri, 13 Mar 2015 07:08:31 +0000 (07:08 +0000)]
am 2c7b1dbb: (-s ours) am a0750f11: am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification.

* commit '2c7b1dbb3f2e0c5447fcf89fcf4037b04b7463cd':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

9 years agoExpose tcuTexture getChannelReadMap publicly.
Jarkko Pöyry [Thu, 5 Mar 2015 23:21:30 +0000 (15:21 -0800)]
Expose tcuTexture getChannelReadMap publicly.

- Add TextureSwizzle struct that can be used in future to implement
  swizzling in tcu::Sampler.
- Expose getChannelReadMap and WriteMap and rename them to
  getChannelReadSwizzle and WriteSwizzle.
- Use exposed channel maps in tcuTextureUtil instead of duplicating.

Change-Id: Ie4953f4d9814d7e493dbea761dc5734f7a50c57f

9 years agoMerge "Mark main window as not used if EGL window creation fails."
Mika Isojärvi [Thu, 12 Mar 2015 23:15:56 +0000 (23:15 +0000)]
Merge "Mark main window as not used if EGL window creation fails."

9 years agoMerge "Add extra state reset for draw buffers indexed state."
Mika Isojärvi [Thu, 12 Mar 2015 22:17:21 +0000 (22:17 +0000)]
Merge "Add extra state reset for draw buffers indexed state."

9 years agoMerge "Add "backslash in a comment" preprocessor tests."
Jarkko Pöyry [Thu, 12 Mar 2015 22:15:54 +0000 (22:15 +0000)]
Merge "Add "backslash in a comment" preprocessor tests."

9 years agoMerge "Remove backslash characters in comments in tess-geo-test shaders."
Jarkko Pöyry [Thu, 12 Mar 2015 22:15:50 +0000 (22:15 +0000)]
Merge "Remove backslash characters in comments in tess-geo-test shaders."

9 years agoAdd "backslash in a comment" preprocessor tests.
Jarkko Pöyry [Thu, 12 Mar 2015 21:55:42 +0000 (14:55 -0700)]
Add "backslash in a comment" preprocessor tests.

Bug: 19699823
Change-Id: Iadf7aa0f08f0a7a9b5bb01b92121812591628b11

9 years agoAdd NOTICE and MODULE_LICENSE files
Conley Owens [Thu, 12 Mar 2015 22:10:30 +0000 (15:10 -0700)]
Add NOTICE and MODULE_LICENSE files

Change-Id: I264c0c28f107773a56cc463d929548a9ec95baa5

9 years agoRemove backslash characters in comments in tess-geo-test shaders.
Jarkko Pöyry [Thu, 12 Mar 2015 21:52:09 +0000 (14:52 -0700)]
Remove backslash characters in comments in tess-geo-test shaders.

Bug: 19699823
Change-Id: I393a3aef8ee98cba5f7c2c8b35e3d5783fbc05a0

9 years agoam 09fb8216: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolati...
Jarkko Pöyry [Thu, 12 Mar 2015 21:33:49 +0000 (21:33 +0000)]
am 09fb8216: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1 mustpass." into lmp-mr1-dev

* commit '09fb821632a3e20025b82f94af0d2a21ced7c82d':
  DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1 mustpass.

9 years agoam f61fb6b0: am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_membe...
Jarkko Pöyry [Thu, 12 Mar 2015 21:33:39 +0000 (21:33 +0000)]
am f61fb6b0: am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev

* commit 'f61fb6b0dcb8fe92cc5501e018e3aa851ef5cbbb':
  DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass.

9 years agoam a0750f11: am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even...
Jarkko Pöyry [Thu, 12 Mar 2015 21:33:38 +0000 (21:33 +0000)]
am a0750f11: am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification.

* commit 'a0750f11873a856de2c5c2f4b6a8ead0c8016d46':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

9 years agoFix gles2 shader mixed_return_break_continue test to use proper loop form.
Jarkko Pöyry [Thu, 12 Mar 2015 21:25:23 +0000 (14:25 -0700)]
Fix gles2 shader mixed_return_break_continue test to use proper loop form.

- Fix for counter form to not exceed limitations defined in Appendix A.

Bug: 19678840
Change-Id: Id2cf5987fa60c8c79c8c85c500624d332233223a

9 years agoFix assertion failure in dfdx and dfdy lost bit calculations.
Jarkko Pöyry [Thu, 12 Mar 2015 20:17:38 +0000 (13:17 -0700)]
Fix assertion failure in dfdx and dfdy lost bit calculations.

- Fix lost-bits calculation returning negative values when operand
  component range intercepted zero (i.e. operands had different signs).
  This caused verification to expect more significant bits than the
  native (lowp/mediump/highp) float format could store. With highp
  values, error calculation tried to create a error compontent of a
  floating point value with 24 mantissa bits which cannot be stored
  to a native float32.
- Use better terminology, s/nominator/numerator/.

Bug: 19694789
Change-Id: Ifa88fb1c8cb333bab22a550d01f5e310d2d2673d

9 years agoAdd extra state reset for draw buffers indexed state.
Mika Isojärvi [Thu, 12 Mar 2015 20:38:33 +0000 (13:38 -0700)]
Add extra state reset for draw buffers indexed state.

Some drivers have bugs with GL_EXT_draw_buffers_indexed state. Common functions,
e.g. glBlendFunc(), fail to reset indexed state. These extra function calls make
sure that state gets reset to initial values.

Change-Id: I06b709ef81efb0ecfdbe1f88ac94dca49f39d7dc

9 years agoMerge "Fail build early if compiler is configured incorrectly."
Jarkko Pöyry [Thu, 12 Mar 2015 19:37:46 +0000 (19:37 +0000)]
Merge "Fail build early if compiler is configured incorrectly."

9 years agoMerge "Remove user-defined dtor and operator=() from tcu::Vector."
Jarkko Pöyry [Thu, 12 Mar 2015 19:27:28 +0000 (19:27 +0000)]
Merge "Remove user-defined dtor and operator=() from tcu::Vector."

9 years agoMerge "Fix gles3 transform feedback uint cases always using zeroed buffers."
Jarkko Pöyry [Thu, 12 Mar 2015 19:25:33 +0000 (19:25 +0000)]
Merge "Fix gles3 transform feedback uint cases always using zeroed buffers."

9 years agoMerge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from...
Jarkko Pöyry [Thu, 12 Mar 2015 19:18:13 +0000 (19:18 +0000)]
Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1 mustpass." into lmp-mr1-dev

9 years agoam 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolati...
Jarkko Pöyry [Thu, 12 Mar 2015 18:18:01 +0000 (18:18 +0000)]
am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev

* commit '84e26791531053e64c4ab04aa48adb77ce2ecc73':
  DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass.

9 years agoam a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification.
Jarkko Pöyry [Thu, 12 Mar 2015 18:18:00 +0000 (18:18 +0000)]
am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification.

* commit 'a83f8e592d39592bcf217a595a027f3dce4d7b2a':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

9 years agoMerge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from...
Jarkko Pöyry [Thu, 12 Mar 2015 18:13:15 +0000 (18:13 +0000)]
Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev

9 years agoFix gles3 transform feedback uint cases always using zeroed buffers.
Jarkko Pöyry [Thu, 12 Mar 2015 00:30:45 +0000 (17:30 -0700)]
Fix gles3 transform feedback uint cases always using zeroed buffers.

- Generate random values for uint cases.
- Do not rely on implementation-specific behavior on int cases.

Bug: 19699456
Change-Id: I66afa29731215636b240b856f3d416b9700c3b75

9 years agoFail build early if compiler is configured incorrectly.
Jarkko Pöyry [Thu, 26 Feb 2015 20:51:49 +0000 (12:51 -0800)]
Fail build early if compiler is configured incorrectly.

- Detect and fail if CC and CXX are inconsistent in CMake script.
- Issue #error if DE_COMPILER does not match the detected. This
  can be caused if make is invoked by CMake that fails compiler
  detection.

Change-Id: I930f752c155de5a0a5c04b8bdfd23954117a75ae

9 years agoRemove user-defined dtor and operator=() from tcu::Vector.
Jarkko Pöyry [Wed, 11 Mar 2015 22:05:38 +0000 (15:05 -0700)]
Remove user-defined dtor and operator=() from tcu::Vector.

Change-Id: I7373193f9c4727bc74028dfadd6db0102ac45ff2

9 years agoMerge "Add DE_WARN_UNUSED_TYPE."
Jarkko Pöyry [Wed, 11 Mar 2015 22:00:22 +0000 (22:00 +0000)]
Merge "Add DE_WARN_UNUSED_TYPE."

9 years agoDo not dereference NULL even if such pointer is given by test code.
Jarkko Pöyry [Tue, 10 Mar 2015 21:25:28 +0000 (14:25 -0700)]
Do not dereference NULL even if such pointer is given by test code.

- Avoid printing raw char* ptrs, always use getStringStr()
- Avoid printing pointers to prevent similar issues in the with other
  types.

Bug: 19679876
Change-Id: I52fe1505026f0570f035fc18dcc8385b77f203f2

9 years agoAdd DE_WARN_UNUSED_TYPE.
Jarkko Pöyry [Tue, 24 Feb 2015 20:37:32 +0000 (12:37 -0800)]
Add DE_WARN_UNUSED_TYPE.

- Add DE_WARN_UNUSED_TYPE macro.
- Mark most commonly used types that have non-trivial ctor/dtor pair
  but no intended side-effects with DE_WARN_UNUSED_TYPE.

Change-Id: I9af5c29fcacbec0d9bed0185b60552cb4bccf667

9 years agoMark main window as not used if EGL window creation fails.
Mika Isojärvi [Wed, 11 Mar 2015 20:49:46 +0000 (13:49 -0700)]
Mark main window as not used if EGL window creation fails.

Set atomic flag indicating if main native window is used back to 0 if creation
of EGL window surface fails.

Change-Id: I782419ce2872c87084fe24f40ab7caa7728bb1c7

9 years agoMerge "Expose isSRGB publicly to avoid duplication."
Jarkko Pöyry [Wed, 11 Mar 2015 20:39:34 +0000 (20:39 +0000)]
Merge "Expose isSRGB publicly to avoid duplication."

9 years agoMerge "Remove duplicated code."
Jarkko Pöyry [Wed, 11 Mar 2015 20:38:02 +0000 (20:38 +0000)]
Merge "Remove duplicated code."

9 years agoMerge "Remove sampleTextureMultiFace."
Jarkko Pöyry [Wed, 11 Mar 2015 20:37:37 +0000 (20:37 +0000)]
Merge "Remove sampleTextureMultiFace."

9 years agoMerge "Fix TextureTestUtil::toRGBA(Masked) behavior with infinities."
Jarkko Pöyry [Wed, 11 Mar 2015 20:37:25 +0000 (20:37 +0000)]
Merge "Fix TextureTestUtil::toRGBA(Masked) behavior with infinities."

9 years agoMerge "Keep all nativeLib specific data in one place."
Jarkko Pöyry [Wed, 11 Mar 2015 20:04:29 +0000 (20:04 +0000)]
Merge "Keep all nativeLib specific data in one place."

9 years agoMerge "Fix selection of wrong compiler-specific path."
Jarkko Pöyry [Tue, 10 Mar 2015 22:09:17 +0000 (22:09 +0000)]
Merge "Fix selection of wrong compiler-specific path."

9 years agoMerge "Fix broken print in egl tests."
Jarkko Pöyry [Tue, 10 Mar 2015 22:08:46 +0000 (22:08 +0000)]
Merge "Fix broken print in egl tests."

9 years agoFix broken print in egl tests.
Jarkko Pöyry [Sat, 7 Mar 2015 02:15:01 +0000 (18:15 -0800)]
Fix broken print in egl tests.

Change-Id: I87ac4f652d7536d2da8bd87e05d2073b8139a516

9 years agoExpose isSRGB publicly to avoid duplication.
Jarkko Pöyry [Fri, 6 Mar 2015 02:40:55 +0000 (18:40 -0800)]
Expose isSRGB publicly to avoid duplication.

Change-Id: I4244748cdd043a6c6b395a7b9a2e07200a9c6139

9 years agoFix selection of wrong compiler-specific path.
Jarkko Pöyry [Tue, 10 Mar 2015 20:19:59 +0000 (13:19 -0700)]
Fix selection of wrong compiler-specific path.

Change-Id: I098cd6061a3c05024b80df7718c3057de09d2cb1

9 years agoMerge "Allow correct and projected interpolation equations in single-sampled line...
Jarkko Pöyry [Tue, 10 Mar 2015 20:16:52 +0000 (20:16 +0000)]
Merge "Allow correct and projected interpolation equations in single-sampled line interpolation test."

9 years agoRemove invalid atomic image compare swap tests from mustpass.
Mika Isojärvi [Tue, 10 Mar 2015 18:33:14 +0000 (11:33 -0700)]
Remove invalid atomic image compare swap tests from mustpass.

Atomic compare swap image return value test verification is wrong. Tests pass
only if all the operations on single texel are run sequentially.

Affected tests:
dEQP-GLES31.functional.image_load_store.*.atomic.comp_swap_*_return_value

Bug: 19641084
Change-Id: I9b003d565ae90e12220c0df2c8927095703de4a6

9 years agoRemove duplicated code.
Jarkko Pöyry [Wed, 4 Mar 2015 00:02:21 +0000 (16:02 -0800)]
Remove duplicated code.

- Remove duplicated sampleND{Linear,Nearest}. Use always variants
  with offset parameter.
- Fix incorrect sample1DOffset inBounds assert.

Change-Id: I5159e9ac3f81b6fde9dee552c4915a9510ec6547

9 years agoFix TextureTestUtil::toRGBA(Masked) behavior with infinities.
Jarkko Pöyry [Mon, 2 Mar 2015 21:51:30 +0000 (13:51 -0800)]
Fix TextureTestUtil::toRGBA(Masked) behavior with infinities.

- toRGBA(Masked) incorrectly returned 0 for infinity. This change makes
  the functions return 255 as expected.

Change-Id: I7d013d0abb9c395fc5e74b000fec2ae8db32f0d2

9 years agoKeep all nativeLib specific data in one place.
Jarkko Pöyry [Mon, 9 Mar 2015 23:38:57 +0000 (16:38 -0700)]
Keep all nativeLib specific data in one place.

Change-Id: I7f9d9ae15b8571310eb4398d965b8f765df7dbc3

9 years agoAllow correct and projected interpolation equations in single-sampled line interpolat...
Jarkko Pöyry [Fri, 20 Feb 2015 03:40:03 +0000 (19:40 -0800)]
Allow correct and projected interpolation equations in single-sampled line interpolation test.

- Use proper interpolation equation for verification. Do not
  approximate distance to pixel center by projecting it along major
  direction. (i.e. just selecting major compontent).
- Detect projected interpolation in interpolation tests and issue
  a QualityWarning for such implementations.
- Calculate line interpolation weights in screen space, not in clip
  space.

Bug: 19410338
Change-Id: Ie27aa9cf121d1c92c86cda19a7b8c97e132fcb66

9 years agoImprove logging of indexed enable and disable calls.
Mika Isojärvi [Mon, 9 Mar 2015 21:10:33 +0000 (14:10 -0700)]
Improve logging of indexed enable and disable calls.

Change-Id: Iddf92e228c2843b06fc89ca181db3d3a07e8c6f1

9 years agoMerge "Fix illegal array initialization in primitive_bbox tests."
Jarkko Pöyry [Mon, 9 Mar 2015 18:17:45 +0000 (18:17 +0000)]
Merge "Fix illegal array initialization in primitive_bbox tests."

9 years agoMerge "Remove unused variables."
Mika Isojärvi [Mon, 9 Mar 2015 18:05:21 +0000 (18:05 +0000)]
Merge "Remove unused variables."

9 years agoRemove sampleTextureMultiFace.
Jarkko Pöyry [Wed, 4 Mar 2015 01:23:14 +0000 (17:23 -0800)]
Remove sampleTextureMultiFace.

Change-Id: Id9a815599d2faa77dba72ef8ecc0caded03d2718

9 years agoRemove unused variables.
Mika Isojärvi [Fri, 6 Mar 2015 23:22:49 +0000 (15:22 -0800)]
Remove unused variables.

Change-Id: I8d7b221580128ea1d258bb5e7010880cd608aedc

9 years agoRemove unused texture variable.
Mika Isojärvi [Fri, 6 Mar 2015 23:19:07 +0000 (15:19 -0800)]
Remove unused texture variable.

Change-Id: I8df54a9c87f597324572c80a24dc0d066f398a48

9 years agoMerge "Prevent incorrect usage of de::getSizedArrayElement."
Jarkko Pöyry [Fri, 6 Mar 2015 22:26:44 +0000 (22:26 +0000)]
Merge "Prevent incorrect usage of de::getSizedArrayElement."

9 years agoFix illegal array initialization in primitive_bbox tests.
Jarkko Pöyry [Fri, 6 Mar 2015 21:50:37 +0000 (13:50 -0800)]
Fix illegal array initialization in primitive_bbox tests.

Bug: 19639593
Change-Id: I400e5dc53b17c73ec80483a486e734ab7f9dd8ce

9 years agoMerge "Make broken io_blocks.match_different_member_interpolation a negative test."
Jarkko Pöyry [Fri, 6 Mar 2015 20:00:49 +0000 (20:00 +0000)]
Merge "Make broken io_blocks.match_different_member_interpolation a negative test."

9 years agoMerge "Apply fix for tessellation fractional even test verification."
Jarkko Pöyry [Fri, 6 Mar 2015 20:00:42 +0000 (20:00 +0000)]
Merge "Apply fix for tessellation fractional even test verification."

9 years agoMerge "Add precise to tessellation fill_cover_* tests"
Jarkko Pöyry [Fri, 6 Mar 2015 19:47:46 +0000 (19:47 +0000)]
Merge "Add precise to tessellation fill_cover_* tests"

9 years agoDO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass.
Jarkko Pöyry [Fri, 27 Feb 2015 21:30:19 +0000 (13:30 -0800)]
DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass.

Bug: 19543772
Change-Id: I1cdabaca4793719831fa768353d2e2be124878c9

9 years agoDO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1...
Jarkko Pöyry [Fri, 27 Feb 2015 21:51:31 +0000 (13:51 -0800)]
DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from MR1 mustpass.

Bug: 19543772
Change-Id: Ic146ea3716e9f9044018e498baa95185ea5434aa

9 years agoMake broken io_blocks.match_different_member_interpolation a negative test.
Jarkko Pöyry [Fri, 27 Feb 2015 22:42:01 +0000 (14:42 -0800)]
Make broken io_blocks.match_different_member_interpolation a negative test.

- Remove test expecting EXT_io_blocks extension defined behavior
  which was later repealed in Khronos bug 12630. Replace the test
  with mismatch_different_member_interpolation negative test.
- Remove old test from mustpass.

Bug: 19543772
Change-Id: Ie3b7502bf725de9ef7f9aaef39c2aba33c89294c

9 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification.
Jarkko Pöyry [Fri, 27 Feb 2015 22:53:50 +0000 (14:53 -0800)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification.

- Fix to tessellation fractional even tessellation mode verification
  calculating additional segments' length wrong if tessellation generated
  4 segments, and the additional segments were generated as first and last
  segments.

Bug: 19543594
Change-Id: I69e9a03dfcd451fc4e995eae4b5149c67dc50399

9 years agoApply fix for tessellation fractional even test verification.
Jarkko Pöyry [Fri, 27 Feb 2015 22:53:50 +0000 (14:53 -0800)]
Apply fix for tessellation fractional even test verification.

- Fix to tessellation fractional even tessellation mode verification
  calculating additional segments' length wrong if tessellation generated
  4 segments, and the additional segments were generated as first and last
  segments.

Bug: 19543594
Change-Id: I1b1f682d99100db87d1cd3348547c47263e483a5

9 years agoMerge "Reintroduce error suppression in DebugTest expectMessage()."
Jarkko Pöyry [Fri, 6 Mar 2015 18:28:05 +0000 (18:28 +0000)]
Merge "Reintroduce error suppression in DebugTest expectMessage()."

9 years agoAdd tests for GL_EXT_draw_buffers_indexed.
Mika Isojärvi [Tue, 17 Feb 2015 22:13:56 +0000 (14:13 -0800)]
Add tests for GL_EXT_draw_buffers_indexed.

Add tests for GL_EXT_draw_buffers_indexed extension.

Bug: 18925580
Change-Id: Ia9e3a7a867c5f11a961df4aeaeccc2c5865b58a9

9 years agoMerge "tcuTestLog skips image prepocessing if qpTestLog is not logging them"
Kalle Raita [Thu, 5 Mar 2015 07:50:50 +0000 (07:50 +0000)]
Merge "tcuTestLog skips image prepocessing if qpTestLog is not logging them"

9 years agotcuTestLog skips image prepocessing if qpTestLog is not logging them
Kalle Raita [Tue, 3 Mar 2015 11:23:35 +0000 (13:23 +0200)]
tcuTestLog skips image prepocessing if qpTestLog is not logging them

Change-Id: I953f5ec0c6d2958423e98aecfc496db9d656ca9c
Bug: 19265247

9 years agoReintroduce error suppression in DebugTest expectMessage().
Jarkko Pöyry [Tue, 3 Mar 2015 22:06:23 +0000 (14:06 -0800)]
Reintroduce error suppression in DebugTest expectMessage().

- Add error suppression back to expectMessage to prevent potentially
  dirty error state from affecting subsequent checks within a same
  test case. Error suppression was removed in b/18915042 when it was
  errorneously assumed that it was no longer needed after fixing
  b/18915339.
- Tolerate resource leakage in shader_source test.

Bug: 19589360
Bug: 18915042
Change-Id: I4e269f757c99173d4d7f0d5cc273699c0cb69628

9 years agoMerge "Make SeedBuilder endianess independent."
Mika Isojärvi [Tue, 3 Mar 2015 22:56:01 +0000 (22:56 +0000)]
Merge "Make SeedBuilder endianess independent."

9 years agoMerge "Add better logging for indexed state queries."
Mika Isojärvi [Tue, 3 Mar 2015 22:13:42 +0000 (22:13 +0000)]
Merge "Add better logging for indexed state queries."

9 years agoMerge "Vary fragment shader in separate shader random tests."
Jarkko Pöyry [Tue, 3 Mar 2015 21:25:07 +0000 (21:25 +0000)]
Merge "Vary fragment shader in separate shader random tests."