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

9 years agoMerge "Do not query non-existent texture level in TEXTURE_FIXED_SAMPLE_LOCATIONS...
Jarkko Pöyry [Tue, 3 Mar 2015 21:24:09 +0000 (21:24 +0000)]
Merge "Do not query non-existent texture level in TEXTURE_FIXED_SAMPLE_LOCATIONS test."

9 years agoMerge "Expect width and height = 1, not default, for textures with no such dimension."
Jarkko Pöyry [Tue, 3 Mar 2015 21:24:06 +0000 (21:24 +0000)]
Merge "Expect width and height = 1, not default, for textures with no such dimension."

9 years agoMerge "Remove state_query.texture_level.texture_2d.depth_* from mustpass."
Jarkko Pöyry [Tue, 3 Mar 2015 21:24:05 +0000 (21:24 +0000)]
Merge "Remove state_query.texture_level.texture_2d.depth_* from mustpass."

9 years agoVary fragment shader in separate shader random tests.
Jarkko Pöyry [Thu, 26 Feb 2015 02:14:28 +0000 (18:14 -0800)]
Vary fragment shader in separate shader random tests.

- Use supplied random seed in genFrgShaderSrc to vary generated fragment
  shaders slightly. This prevents random test cases from always using
  identical fragment shader pipeline programs. Prior to this CL, the
  supplied random seed was unused.

Change-Id: Ib74b16cc92f41181a415966a4f2e4feab83781af

9 years agoMake SeedBuilder endianess independent.
Mika Isojärvi [Tue, 3 Mar 2015 21:16:09 +0000 (13:16 -0800)]
Make SeedBuilder endianess independent.

Change-Id: I3ec84f6a5fec533783bdef49eaaf6c8cbffc35d6

9 years agoRemove state_query.texture_level.texture_2d.depth_* from mustpass.
Jarkko Pöyry [Tue, 3 Mar 2015 20:19:22 +0000 (12:19 -0800)]
Remove state_query.texture_level.texture_2d.depth_* from mustpass.

- Remove 2D texture level depth tests that were added to mustpass
  unintendedly in test tree restructuring.

Bug: 19578475
Change-Id: Ib0732779b481f3caa416d214bf45c92e2a616ad2

9 years agoExpect width and height = 1, not default, for textures with no such dimension.
Jarkko Pöyry [Tue, 3 Mar 2015 20:54:18 +0000 (12:54 -0800)]
Expect width and height = 1, not default, for textures with no such dimension.

- Expect DEPTH = 1 for 2D texures. This is consistent with the spec's
  definition of a 2D texel array. (Texture level represents a texel
  array.)
- Expect HEIGHT = 1 for 1D (buffer) textures for consistency.
- Fix texture buffer buffer leak.

Bug: 19578475
Change-Id: Ieea2ebc0f21746fe64c5b8c6668cf92921e7ea88

9 years agoDo not query non-existent texture level in TEXTURE_FIXED_SAMPLE_LOCATIONS test.
Jarkko Pöyry [Tue, 3 Mar 2015 20:15:21 +0000 (12:15 -0800)]
Do not query non-existent texture level in TEXTURE_FIXED_SAMPLE_LOCATIONS test.

Bug: 19578475
Change-Id: I657dd59e667d8948151dbf1c08bf7f4f535ca992

9 years agoMove GL pointer string utils from CallLogWrapper to StrUtil.
Mika Isojärvi [Mon, 2 Mar 2015 20:53:00 +0000 (12:53 -0800)]
Move GL pointer string utils from CallLogWrapper to StrUtil.

Move glu array pointer string utilities from gluCallLogWrapper.cpp to
gluStrUtil.hpp.

Change-Id: I21e12d1a81a649539004cef7ec456fb1c9f8d287

9 years agoAdd better logging for indexed state queries.
Mika Isojärvi [Fri, 27 Feb 2015 22:41:20 +0000 (14:41 -0800)]
Add better logging for indexed state queries.

Change-Id: Ib666a09e9dbb25b210af80e35d23e689e1353db6

9 years agoMake non-texture filterable textures complete.
Mika Isojärvi [Fri, 27 Feb 2015 21:56:05 +0000 (13:56 -0800)]
Make non-texture filterable textures complete.

Make sure that even non-texture filterable format textures are complete
before calling glCopyImage.

Bug: 19543570
Change-Id: I84a7b303a510afc2535ac5960ddd41e0c056a981

9 years agoPrevent incorrect usage of de::getSizedArrayElement.
Jarkko Pöyry [Fri, 13 Feb 2015 21:00:34 +0000 (13:00 -0800)]
Prevent incorrect usage of de::getSizedArrayElement.

- Prevent usage without <..._LAST> template argument.
- Preserve old usage as de::getArrayElement.

Change-Id: I1ab7cf128ebe8b1805f2fc4ac062dc8f6cc7e859

9 years agoRemove unused variables.
Jarkko Pöyry [Thu, 26 Feb 2015 02:10:33 +0000 (18:10 -0800)]
Remove unused variables.

- Remove unused, irrelevant buffer from buffer upload perf baseline
  measurement test.
- Remove unused VAOs in VA binding query tests.
- Remove other misc variables.

Change-Id: Ie4ef3bf27905f7ef5c3e99c719be68f4d420c846

9 years agoMerge "Fail call log code generation if method had zero matching outputs."
Jarkko Pöyry [Wed, 25 Feb 2015 22:08:25 +0000 (22:08 +0000)]
Merge "Fail call log code generation if method had zero matching outputs."

9 years agoFail call log code generation if method had zero matching outputs.
Jarkko Pöyry [Tue, 17 Feb 2015 19:15:47 +0000 (11:15 -0800)]
Fail call log code generation if method had zero matching outputs.

Change-Id: Icca57a4c4ee51adb3d3d3d67ec45ff132b4053aa

9 years agoMerge "Remove unused variables."
Jarkko Pöyry [Wed, 25 Feb 2015 21:47:17 +0000 (21:47 +0000)]
Merge "Remove unused variables."

9 years agoMerge "Move isCompressedFormat from CopyImageTests to gluTextureUtil."
Jarkko Pöyry [Wed, 25 Feb 2015 21:41:12 +0000 (21:41 +0000)]
Merge "Move isCompressedFormat from CopyImageTests to gluTextureUtil."

9 years agoMerge "Use TestLog, not TestContext, in gls::TextureTestUtil::TextureRenderer."
Jarkko Pöyry [Wed, 25 Feb 2015 21:40:31 +0000 (21:40 +0000)]
Merge "Use TestLog, not TestContext, in gls::TextureTestUtil::TextureRenderer."

9 years agoMerge "Do not allow mapGLSampler to be called with invalid mag filter."
Jarkko Pöyry [Wed, 25 Feb 2015 21:40:20 +0000 (21:40 +0000)]
Merge "Do not allow mapGLSampler to be called with invalid mag filter."

9 years agoMerge "Print also DEQP_SUPPORT_{GLX,WGL} in CMakeLists."
Jarkko Pöyry [Wed, 25 Feb 2015 21:40:13 +0000 (21:40 +0000)]
Merge "Print also DEQP_SUPPORT_{GLX,WGL} in CMakeLists."

9 years agoMerge "Add check_all.py and check_whitespace.py scripts."
Jarkko Pöyry [Wed, 25 Feb 2015 21:33:11 +0000 (21:33 +0000)]
Merge "Add check_all.py and check_whitespace.py scripts."

9 years agoMerge "Clean up scripts/."
Jarkko Pöyry [Wed, 25 Feb 2015 21:33:07 +0000 (21:33 +0000)]
Merge "Clean up scripts/."

9 years agoam a5bb49f3: am 8f5780a5: Merge "Remove broken line interpolation tests from MR1...
Jarkko Pöyry [Wed, 25 Feb 2015 19:42:34 +0000 (19:42 +0000)]
am a5bb49f3: am 8f5780a5: Merge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev

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

9 years agoAdd check_all.py and check_whitespace.py scripts.
Jarkko Pöyry [Mon, 23 Feb 2015 19:40:08 +0000 (11:40 -0800)]
Add check_all.py and check_whitespace.py scripts.

Change-Id: I29ea94aa38ad1cb9e665836db6e4d48d3dbc041b

9 years agoClean up scripts/.
Jarkko Pöyry [Sat, 21 Feb 2015 02:38:38 +0000 (18:38 -0800)]
Clean up scripts/.

- Remove obsolete check_redundant_include_guards.py. Redundant include
  guards do not need checking since they are forbidden.
- Remove obsolete git-check.py script.
- Move delibs/scripts to scripts/.

Change-Id: Iecf339af0ed7a35149bdfc39930f84f81797fb4b

9 years agoam 8f5780a5: Merge "Remove broken line interpolation tests from MR1 must pass." into...
Jarkko Pöyry [Wed, 25 Feb 2015 19:33:18 +0000 (19:33 +0000)]
am 8f5780a5: Merge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev

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

9 years agoDo not allow mapGLSampler to be called with invalid mag filter.
Jarkko Pöyry [Wed, 25 Feb 2015 05:28:23 +0000 (21:28 -0800)]
Do not allow mapGLSampler to be called with invalid mag filter.

Change-Id: Icda07b66068316e376b628de8f332fbc41c218bc

9 years agoPrint also DEQP_SUPPORT_{GLX,WGL} in CMakeLists.
Jarkko Pöyry [Wed, 25 Feb 2015 05:05:42 +0000 (21:05 -0800)]
Print also DEQP_SUPPORT_{GLX,WGL} in CMakeLists.

Change-Id: I475c71ff1583b0b6cd8b953377f8c4a536a02e9f

9 years agoUse TestLog, not TestContext, in gls::TextureTestUtil::TextureRenderer.
Jarkko Pöyry [Tue, 24 Feb 2015 22:59:14 +0000 (14:59 -0800)]
Use TestLog, not TestContext, in gls::TextureTestUtil::TextureRenderer.

Change-Id: I7307b039777a2fe041e41379712e4f66d4a5e440

9 years agoRemove unused variables.
Jarkko Pöyry [Tue, 24 Feb 2015 19:42:13 +0000 (11:42 -0800)]
Remove unused variables.

Change-Id: I234eb6375d7332bc82fc2d0a8b4e754b169f9290

9 years agoMove isCompressedFormat from CopyImageTests to gluTextureUtil.
Jarkko Pöyry [Tue, 24 Feb 2015 02:15:05 +0000 (18:15 -0800)]
Move isCompressedFormat from CopyImageTests to gluTextureUtil.

Change-Id: Ieeaf23f844f47e538f422fe180403ad9a6e473a6

9 years agoMerge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev
Jarkko Pöyry [Wed, 25 Feb 2015 19:10:26 +0000 (19:10 +0000)]
Merge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev

9 years agoMerge "Use correct, stricter coverage variation thresholds in texture tests"
Pyry Haulos [Wed, 25 Feb 2015 19:06:06 +0000 (19:06 +0000)]
Merge "Use correct, stricter coverage variation thresholds in texture tests"

9 years agoMerge "Remove debug.state_query.context_flags_* tests."
Jarkko Pöyry [Wed, 25 Feb 2015 19:05:52 +0000 (19:05 +0000)]
Merge "Remove debug.state_query.context_flags_* tests."

9 years agoMerge "Improve depth interpolation in reference renderer"
Pyry Haulos [Wed, 25 Feb 2015 19:01:14 +0000 (19:01 +0000)]
Merge "Improve depth interpolation in reference renderer"

9 years agoUse correct, stricter coverage variation thresholds in texture tests
Pyry Haulos [Wed, 25 Feb 2015 18:51:52 +0000 (10:51 -0800)]
Use correct, stricter coverage variation thresholds in texture tests

Cube map and 3D texture lookup validation utilities accommodate for
potential coverage computation differences by allowing pixels around
triangle edges to match either of the two triangles forming the test
quad.

The thresholds used eariler applied slightly too small bias, but in
wrong coordinate space (clip-space instead of window coords). This
change fixes both issues, making tests a bit more strict, and correct.

Bug: 19099914
Change-Id: Ife90c9a6a5261954e9f98b68e199248cfc589920

9 years agoUse de::CommandLine in execserver
Pyry Haulos [Wed, 25 Feb 2015 18:32:57 +0000 (10:32 -0800)]
Use de::CommandLine in execserver

Using de::CommandLine provides better command line argument parsing and
improved diagnostics in case of failures.

Change-Id: I4685ef84f17171cfe3fd4d6a99f84dbb55c64b18

9 years agoImprove depth interpolation in reference renderer
Pyry Haulos [Tue, 24 Feb 2015 23:42:31 +0000 (15:42 -0800)]
Improve depth interpolation in reference renderer

This change reformulates depth value interpolation to exactly preserve
constant depth across a triangle. Old interpolation code exhibited
serious Z-fighting with two (Z-)overlapping screen-aligned triangles.

In addition barycentric precision is slightly improved by actually
dividing with the sum instead of sharing pre-computed 1/sum.

A simple test for constant depth and varying interpolation is provided.

Change-Id: If6229f9652bcf3dbe1d273ed8e131b175c06dfc2

9 years agoMerge "Check if RGBA32F is color renderable and texture filterable."
Mika Isojärvi [Tue, 24 Feb 2015 17:46:13 +0000 (17:46 +0000)]
Merge "Check if RGBA32F is color renderable and texture filterable."

9 years agoMerge "Check GL_NV_framebuffer_multisample support in negative api tests."
Mika Isojärvi [Mon, 23 Feb 2015 21:01:57 +0000 (21:01 +0000)]
Merge "Check GL_NV_framebuffer_multisample support in negative api tests."

9 years agoMerge "Check existence of GL_EXT_render_snorm in negative tests."
Mika Isojärvi [Mon, 23 Feb 2015 20:58:56 +0000 (20:58 +0000)]
Merge "Check existence of GL_EXT_render_snorm in negative tests."

9 years agoMerge "Clear channels that have undefined data before logging image."
Mika Isojärvi [Mon, 23 Feb 2015 20:55:41 +0000 (20:55 +0000)]
Merge "Clear channels that have undefined data before logging image."

9 years agoCheck if RGBA32F is color renderable and texture filterable.
Mika Isojärvi [Mon, 23 Feb 2015 20:37:50 +0000 (12:37 -0800)]
Check if RGBA32F is color renderable and texture filterable.

Check extensions GL_EXT_color_buffer_float and GL_OES_texture_float_linear
before assuming GL_RGBA32F is not texture filterable and color renderable.

Bug: 19462486
Change-Id: I31dfcf96f61ae277a434a307d54b5fbf0031a35b

9 years agoClear channels that have undefined data before logging image.
Mika Isojärvi [Fri, 20 Feb 2015 22:05:44 +0000 (14:05 -0800)]
Clear channels that have undefined data before logging image.

Test case renders to renderbuffer, but some values are not defined by output
data. This change clears undefined channels before logging to make logs cleaner.

Bug: 19379467
Change-Id: I9006582f02c8d800c1068d45cb05f7630c23f421

9 years agoMerge "Add missing memory layout specifier in linkage mismatch tests."
Jarkko Pöyry [Mon, 23 Feb 2015 20:13:08 +0000 (20:13 +0000)]
Merge "Add missing memory layout specifier in linkage mismatch tests."

9 years agoMerge "Fix code style."
Jarkko Pöyry [Mon, 23 Feb 2015 19:42:52 +0000 (19:42 +0000)]
Merge "Fix code style."

9 years agoCheck GL_NV_framebuffer_multisample support in negative api tests.
Mika Isojärvi [Mon, 23 Feb 2015 19:36:50 +0000 (11:36 -0800)]
Check GL_NV_framebuffer_multisample support in negative api tests.

Check if GL_NV_framebuffer_multisample is supported before assuming, that blit
operations with sample count bigger than 0 fail.

Bug: 19462860
Change-Id: Ice201a3674767a502856500092e11166f6483375

9 years agoCheck existence of GL_EXT_render_snorm in negative tests.
Mika Isojärvi [Mon, 23 Feb 2015 18:34:38 +0000 (10:34 -0800)]
Check existence of GL_EXT_render_snorm in negative tests.

Check if extension GL_EXT_render_snorm exists before assuming that setting
renderbuffer storage to signed normalized format fails.

Bug: 19462857
Change-Id: I0d0b14ecd0cc7952dbf163c67ed8c1bdb83f2d08

9 years agoRemove debug.state_query.context_flags_* tests.
Jarkko Pöyry [Sat, 21 Feb 2015 02:06:36 +0000 (18:06 -0800)]
Remove debug.state_query.context_flags_* tests.

- Remove tests using CONTEXT_FLAGS pname which does not exist in
  ES 3.1.

Bug: 19432333
Change-Id: I3909f09a130b4c85cb889b8022b90afc20b41287

9 years agoAdd precise to tessellation fill_cover_* tests
Jarkko Pöyry [Sat, 21 Feb 2015 01:49:19 +0000 (17:49 -0800)]
Add precise to tessellation fill_cover_* tests

- Add precise to misc_draw.fill_cover_* to avoid gaps in tessellated edges.
- Remove misleading comments.
- Add comments to describe why precise is not required to some tess eval
  shaders.

Bug: 19462784
Change-Id: Ia5e49c1b0cc0edd0e3c5d902e7b1f19dd841a9ac

9 years agoam cf930726: am cb9402de: am e5fc2a80: Relax fma() verification in builtin_functions...
Pyry Haulos [Fri, 20 Feb 2015 23:56:40 +0000 (23:56 +0000)]
am cf930726: am cb9402de: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma

* commit 'cf9307265c93cfb89774b0e0b661aa59487bb3d9':
  Relax fma() verification in builtin_functions.common.fma

9 years agoam cb9402de: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma
Pyry Haulos [Fri, 20 Feb 2015 23:50:55 +0000 (23:50 +0000)]
am cb9402de: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma

* commit 'cb9402debce3ab0fc6ee8481dd2ef553986257c3':
  Relax fma() verification in builtin_functions.common.fma

9 years agoam e5fc2a80: Relax fma() verification in builtin_functions.common.fma
Pyry Haulos [Fri, 20 Feb 2015 23:30:50 +0000 (23:30 +0000)]
am e5fc2a80: Relax fma() verification in builtin_functions.common.fma

* commit 'e5fc2a804322422a6d50270e9e00fb1c193b6f90':
  Relax fma() verification in builtin_functions.common.fma

9 years agoAdd missing memory layout specifier in linkage mismatch tests.
Jarkko Pöyry [Fri, 20 Feb 2015 21:19:43 +0000 (13:19 -0800)]
Add missing memory layout specifier in linkage mismatch tests.

Bug: 19431901
Change-Id: Iff9f755181f776978433b30e9e3b9d3c3f8bc00d

9 years agoRelax fma() verification in builtin_functions.common.fma
Pyry Haulos [Thu, 19 Feb 2015 22:15:03 +0000 (14:15 -0800)]
Relax fma() verification in builtin_functions.common.fma

GL_EXT_gpu_shader5 allows fma() to be implemented either as a single, or
two correctly-rounded operations. Current tests assumed fma() for lowp
and mediump to be implemented as a single operation as no rounding was
allowed mid-operation.

This change relaxes fma() tests to allow for a*b+c expansion.

Bug: 19431850
Change-Id: I46eea74bf3b95bfdbc510e13ef7315854be623ee

9 years agoMerge "Fix norm and snorm clear values on read pixel tests."
Mika Isojärvi [Thu, 19 Feb 2015 20:59:21 +0000 (20:59 +0000)]
Merge "Fix norm and snorm clear values on read pixel tests."

9 years agoEnable Win32 Release asserts.
Jamie Madill [Wed, 18 Feb 2015 16:17:27 +0000 (11:17 -0500)]
Enable Win32 Release asserts.

Use the same workaround as for UNIX OSes, where the code undefs
NDEBUG before including assert.h.

Change-Id: I2b6b31c4b6a88d2635b30087a9e36849fcb9f8e7

9 years agoFix unrefed variable warnings in Win32/Release.
Jamie Madill [Wed, 18 Feb 2015 16:12:41 +0000 (11:12 -0500)]
Fix unrefed variable warnings in Win32/Release.

The DE_ASSERT macro in Release leads to unrefed vars in a some cases.

Change-Id: I515e19310fc791d22ac1c6180ac6a07a1a974c01

9 years agoMerge "Add unsigned int variant of tcu::clear()."
Mika Isojärvi [Thu, 19 Feb 2015 20:27:14 +0000 (20:27 +0000)]
Merge "Add unsigned int variant of tcu::clear()."

9 years agoMerge "Pass the log flags to log on Android."
Kalle Raita [Thu, 19 Feb 2015 19:19:05 +0000 (19:19 +0000)]
Merge "Pass the log flags to log on Android."

9 years agoMerge "Update test names on CTS test list xml."
Jarkko Pöyry [Thu, 19 Feb 2015 19:15:54 +0000 (19:15 +0000)]
Merge "Update test names on CTS test list xml."

9 years agoPass the log flags to log on Android.
Kalle Raita [Thu, 19 Feb 2015 19:13:43 +0000 (11:13 -0800)]
Pass the log flags to log on Android.

Change-Id: Ie9f2d1446533e328281baa75e9f4d8ddce83da5d

9 years agoUpdate test names on CTS test list xml.
Jarkko Pöyry [Thu, 19 Feb 2015 04:03:02 +0000 (20:03 -0800)]
Update test names on CTS test list xml.

Bug: 19431888
Change-Id: I72b718825607296c5576402c235012e625a11b4a

9 years agoMerge "Fix glDrawArrays() calls in EGLImage tests."
Mika Isojärvi [Thu, 19 Feb 2015 18:22:08 +0000 (18:22 +0000)]
Merge "Fix glDrawArrays() calls in EGLImage tests."

9 years agoFix norm and snorm clear values on read pixel tests.
Mika Isojärvi [Tue, 17 Feb 2015 23:49:23 +0000 (15:49 -0800)]
Fix norm and snorm clear values on read pixel tests.

Test was assuming that we are always using unorm8 format and converting float
to integer color value by multiplying by 255.

Bug: 19409759
Change-Id: I7b36701e396363ec880bef7ef7aef12055c304fc

9 years agoFix glDrawArrays() calls in EGLImage tests.
Mika Isojärvi [Wed, 18 Feb 2015 00:13:03 +0000 (16:13 -0800)]
Fix glDrawArrays() calls in EGLImage tests.

EGLImage format tests were calling glDrawArrays with total number of components
instead of number of vertices.

Bug: 19410119
Change-Id: I80365bbca24cc22674267d0a7945e559652941b2

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

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

Bug: 19410338
Change-Id: Ie9ef42caa009cd4a61a14c8af24837c4a43f7fd5

9 years agoAdd unsigned int variant of tcu::clear().
Mika Isojärvi [Wed, 18 Feb 2015 22:34:52 +0000 (14:34 -0800)]
Add unsigned int variant of tcu::clear().

Change-Id: I6db9311c349cee04bc10a600c9e25c1ea2b72d82

9 years agoMerge "Always align rows to pixel size on read pixels tests."
Mika Isojärvi [Wed, 18 Feb 2015 21:59:31 +0000 (21:59 +0000)]
Merge "Always align rows to pixel size on read pixels tests."

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