platform/upstream/VK-GL-CTS.git
9 years agoMerge "Accepth different errors from eglCreatePbufferFromClientBuffer."
Mika Isojärvi [Mon, 23 Mar 2015 19:06:49 +0000 (19:06 +0000)]
Merge "Accepth different errors from eglCreatePbufferFromClientBuffer."

9 years agoMerge "Fix failing assertion if glGetIntegerv query fails."
Jarkko Pöyry [Mon, 23 Mar 2015 17:55:06 +0000 (17:55 +0000)]
Merge "Fix failing assertion if glGetIntegerv query fails."

9 years agoAccepth different errors from eglCreatePbufferFromClientBuffer.
Mika Isojärvi [Fri, 20 Mar 2015 21:11:51 +0000 (14:11 -0700)]
Accepth different errors from eglCreatePbufferFromClientBuffer.

Accept both EGL_BAD_CONFIG and EGL_BAD_PARAMETER from
eglCreatePbufferFromClientBuffer when passing in both invalid config
and invalid client buffer.

Bug: 18290284
Change-Id: Ic3ccf69de650e48ffd0b847014790ef1bf44ed56

9 years agoMerge "Remove invalid negative eglClientWaitSync tests."
Mika Isojärvi [Mon, 23 Mar 2015 16:54:40 +0000 (16:54 +0000)]
Merge "Remove invalid negative eglClientWaitSync tests."

9 years agoFix failing assertion if glGetIntegerv query fails.
Jarkko Pöyry [Sat, 21 Mar 2015 01:00:15 +0000 (18:00 -0700)]
Fix failing assertion if glGetIntegerv query fails.

Bug: 19869836
Change-Id: I95e316b06a46c2e07f3a5dd2241f601bf9e635af

9 years agoMerge "Don't call exit() from signal handler."
Jarkko Pöyry [Sat, 21 Mar 2015 00:26:49 +0000 (00:26 +0000)]
Merge "Don't call exit() from signal handler."

9 years agoMerge "Avoid malloc in App::onCrash."
Jarkko Pöyry [Sat, 21 Mar 2015 00:23:58 +0000 (00:23 +0000)]
Merge "Avoid malloc in App::onCrash."

9 years agoDon't call exit() from signal handler.
Jarkko Pöyry [Fri, 20 Mar 2015 22:29:47 +0000 (15:29 -0700)]
Don't call exit() from signal handler.

Bug: 19517387
Change-Id: I58d60a54a9473d14b60f981682307338e30ba087

9 years agoRemove invalid negative eglClientWaitSync tests.
Mika Isojärvi [Fri, 20 Mar 2015 22:28:50 +0000 (15:28 -0700)]
Remove invalid negative eglClientWaitSync tests.

Remove tests that expected that there are invalid values for flags
argument.

Bug: 18290284
Change-Id: I542671e224c8a19d859f65b06ed226d1b1352540

9 years agoAvoid malloc in App::onCrash.
Jarkko Pöyry [Fri, 20 Mar 2015 22:40:33 +0000 (15:40 -0700)]
Avoid malloc in App::onCrash.

Bug: 19517387
Change-Id: I50097263b2d732d070315ab08e2059daa94c6a9a

9 years agoRemove invalid negative eglCreateSync test.
Mika Isojärvi [Fri, 20 Mar 2015 22:20:31 +0000 (15:20 -0700)]
Remove invalid negative eglCreateSync test.

Remove negative eglCreateSync test that tried to create
EGL_REUSABLE_SYNC without context and expected EGL_BAD_MATCH.
EGL_REUSABLE_SYNC doesn't require current context.

Bug: 18290284
Change-Id: I5370a0f634497031cce6fd9985943df7d09eb6e7

9 years agoFix negative eglWaitNative tests.
Mika Isojärvi [Thu, 19 Mar 2015 00:36:00 +0000 (17:36 -0700)]
Fix negative eglWaitNative tests.

Set the current context and the current surface before testing
eglWaitNative. eglWaitNative doesn't report errors unless there is
current context and current surface that is not pbuffer surface.

Bug: 19822402
Change-Id: I4cb4c51f6d0169fbae4e529b83bf9ec859e4f914

9 years agoAdd missing eglMakeCurrent calls to release resources.
Mika Isojärvi [Fri, 20 Mar 2015 00:48:26 +0000 (17:48 -0700)]
Add missing eglMakeCurrent calls to release resources.

Add calls to eglMakeCurrent to release current context and surface after
test in test cases that didn't have one.

Bug: 19822403
Change-Id: I6ac5f404b2e408a8920937b901ee66e5beb8fee9

9 years agoMerge "Fix negative eglGetCurrentSurface tests."
Mika Isojärvi [Fri, 20 Mar 2015 18:04:40 +0000 (18:04 +0000)]
Merge "Fix negative eglGetCurrentSurface tests."

9 years agoMerge "Move metaprogramming utils out of deDefs."
Jarkko Pöyry [Fri, 20 Mar 2015 18:04:05 +0000 (18:04 +0000)]
Merge "Move metaprogramming utils out of deDefs."

9 years agoMerge changes Ic91c8106,Ieaf5422b
Jarkko Pöyry [Fri, 20 Mar 2015 18:02:57 +0000 (18:02 +0000)]
Merge changes Ic91c8106,Ieaf5422b

* changes:
  Support GL_EXT_texture_sRGB_R(G)8 extensions in fbo completeness tests.
  Support GL_EXT_texture_sRGB_R(G)8 extension in glw.

9 years agoMerge "Add framework support for sR and sRG textures."
Jarkko Pöyry [Fri, 20 Mar 2015 18:02:48 +0000 (18:02 +0000)]
Merge "Add framework support for sR and sRG textures."

9 years agoMerge "Fix invalid channel order in tcuTextureUtil."
Jarkko Pöyry [Fri, 20 Mar 2015 01:02:07 +0000 (01:02 +0000)]
Merge "Fix invalid channel order in tcuTextureUtil."

9 years agoFix invalid channel order in tcuTextureUtil.
Jarkko Pöyry [Thu, 19 Mar 2015 21:58:31 +0000 (14:58 -0700)]
Fix invalid channel order in tcuTextureUtil.

- tcuTextureUtil stored channel bit depths of combined formats in
  swizzled form. Reorder combined formats so that depth of the first
  channel is in the first component and depth of the second channel is
  in the second, not 4th, component. Since these values are swizzled
  using the channel read swizzle when queried, this change prevents
  combined formats from being swizzled two times.

Bug: 19846703
Change-Id: I2afd47ae2ecb9f93f982ef2c9dbd24f5223bf172

9 years agoFix negative eglGetCurrentSurface tests.
Mika Isojärvi [Thu, 19 Mar 2015 00:21:10 +0000 (17:21 -0700)]
Fix negative eglGetCurrentSurface tests.

Set current context and current surface before calling
eglGetCurrentSurface. eglGetCurrentSurface doesn't report any errors
unless there is current context.

Bug: 19821499
Change-Id: I197d245f062fd3dcfe2a30263638d6f5438c5ca2

9 years agoMerge "Change --is-release argument to --android-build-type."
Mika Isojärvi [Thu, 19 Mar 2015 21:04:56 +0000 (21:04 +0000)]
Merge "Change --is-release argument to --android-build-type."

9 years agoMerge "Fix negative EGL tests expecting EGL_BAD_ATTRIBUTE."
Mika Isojärvi [Thu, 19 Mar 2015 20:49:17 +0000 (20:49 +0000)]
Merge "Fix negative EGL tests expecting EGL_BAD_ATTRIBUTE."

9 years agoMerge "Fix java build warnings, mostly unused imports."
Mika Isojärvi [Thu, 19 Mar 2015 20:39:14 +0000 (20:39 +0000)]
Merge "Fix java build warnings, mostly unused imports."

9 years agoSupport GL_EXT_texture_sRGB_R(G)8 extensions in fbo completeness tests.
Jarkko Pöyry [Tue, 17 Mar 2015 20:50:29 +0000 (13:50 -0700)]
Support GL_EXT_texture_sRGB_R(G)8 extensions in fbo completeness tests.

Change-Id: Ic91c8106f63848c0f960af45b75a55f62a2d107e

9 years agoSupport GL_EXT_texture_sRGB_R(G)8 extension in glw.
Jarkko Pöyry [Tue, 17 Mar 2015 20:48:45 +0000 (13:48 -0700)]
Support GL_EXT_texture_sRGB_R(G)8 extension in glw.

Change-Id: Ieaf5422beb8dafe277cca230744540200eff7846

9 years agoAdd framework support for sR and sRG textures.
Jarkko Pöyry [Tue, 17 Mar 2015 20:45:27 +0000 (13:45 -0700)]
Add framework support for sR and sRG textures.

Change-Id: Iee84acba0a7e603e5256f941dccc9bf0036774f2

9 years agoMerge "Add UNORM_INT24 format."
Jarkko Pöyry [Thu, 19 Mar 2015 19:57:12 +0000 (19:57 +0000)]
Merge "Add UNORM_INT24 format."

9 years agoMerge "Prevent implicit conversion from bool -> int in gluStrUtil."
Jarkko Pöyry [Thu, 19 Mar 2015 19:57:06 +0000 (19:57 +0000)]
Merge "Prevent implicit conversion from bool -> int in gluStrUtil."

9 years agoChange --is-release argument to --android-build-type.
Mika Isojärvi [Wed, 18 Mar 2015 22:53:05 +0000 (15:53 -0700)]
Change --is-release argument to --android-build-type.

Change --is-release to --android-build-type in build.py. --android-build-type
takes debug or release as argument and builds android project with it.

Change-Id: I9308f10272fa56998186f6a893bbd62c4de0f97e

9 years agoFix java build warnings, mostly unused imports.
Mika Isojärvi [Thu, 19 Mar 2015 19:40:32 +0000 (12:40 -0700)]
Fix java build warnings, mostly unused imports.

Change-Id: I6cbb47241d542d825dd9d2f69e88ed1501b691c1

9 years agoMerge "Fix RelWithAsserts build type, remove build type validation"
Pyry Haulos [Thu, 19 Mar 2015 19:14:37 +0000 (19:14 +0000)]
Merge "Fix RelWithAsserts build type, remove build type validation"

9 years agoam d58d98a1: am cb374372: Remove fragment_out tests with too strict thresholds from...
Pyry Haulos [Thu, 19 Mar 2015 18:40:28 +0000 (18:40 +0000)]
am d58d98a1: am cb374372: Remove fragment_out tests with too strict thresholds from mustpass

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

9 years agoFix RelWithAsserts build type, remove build type validation
Pyry Haulos [Thu, 19 Mar 2015 18:39:44 +0000 (11:39 -0700)]
Fix RelWithAsserts build type, remove build type validation

This change fixes typo (RELEASEWITHASSERTS -> RELWITHASSERTS) that
prevented cmake from choosing right optimization flags.

In addition build type validation has been removed since some project
file generators (MSVC generator for example) support multiple build
types and there is no build type defined at gen time.

Change-Id: I1f4856c029eb9dbfd2a4b665f204da00bf68e7e4

9 years agoam cb374372: Remove fragment_out tests with too strict thresholds from mustpass
Pyry Haulos [Thu, 19 Mar 2015 18:30:44 +0000 (18:30 +0000)]
am cb374372: Remove fragment_out tests with too strict thresholds from mustpass

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

9 years agoMerge "Use highp interpolation in fragment_out tests"
Pyry Haulos [Thu, 19 Mar 2015 18:08:22 +0000 (18:08 +0000)]
Merge "Use highp interpolation in fragment_out tests"

9 years agoMerge "Add cmake build type ReleaseWithAsserts."
Mika Isojärvi [Thu, 19 Mar 2015 18:06:47 +0000 (18:06 +0000)]
Merge "Add cmake build type ReleaseWithAsserts."

9 years agoAdd cmake build type ReleaseWithAsserts.
Mika Isojärvi [Tue, 17 Mar 2015 21:39:57 +0000 (14:39 -0700)]
Add cmake build type ReleaseWithAsserts.

Add new build type to cmake files that produces release build, but
sets DE_DEBUG.

Bug: 19732544
Change-Id: I03a2b44fdcba0a04272a63459cc29f51cb4aa3fe

9 years agoUse highp interpolation in fragment_out tests
Pyry Haulos [Thu, 19 Mar 2015 17:15:42 +0000 (10:15 -0700)]
Use highp interpolation in fragment_out tests

Bug: 19380820
Change-Id: I7133e8ccdff5db1247b69068560de9b54653cef0

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 agoMerge "Move array utils out of deDefs."
Jarkko Pöyry [Thu, 19 Mar 2015 01:15:35 +0000 (01:15 +0000)]
Merge "Move array utils out of deDefs."

9 years agoMerge "Allow dynamic loop cases to fail on GLSL ES 100."
Jarkko Pöyry [Thu, 19 Mar 2015 01:05:23 +0000 (01:05 +0000)]
Merge "Allow dynamic loop cases to fail on GLSL ES 100."

9 years agoMerge "Make install.py print device name for each message in -a -p mode."
Jarkko Pöyry [Thu, 19 Mar 2015 00:29:09 +0000 (00:29 +0000)]
Merge "Make install.py print device name for each message in -a -p mode."

9 years agoMerge "Use de::ArrayBuffer, not raw arrays, in sglrReferenceContext."
Jarkko Pöyry [Thu, 19 Mar 2015 00:28:18 +0000 (00:28 +0000)]
Merge "Use de::ArrayBuffer, not raw arrays, in sglrReferenceContext."

9 years agoMerge branch 'master' of https://googleplex-android.googlesource.com/_direct/platform...
Clay Murphy [Wed, 18 Mar 2015 23:56:12 +0000 (23:56 +0000)]
Merge branch 'master' of https://googleplex-android.googlesource.com/_direct/platform/external/deqp

9 years agoMerge "Remove BAD_NATIVE error checks from negative EGL tests."
Mika Isojärvi [Wed, 18 Mar 2015 23:55:15 +0000 (23:55 +0000)]
Merge "Remove BAD_NATIVE error checks from negative EGL tests."

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 agoFix negative EGL tests expecting EGL_BAD_ATTRIBUTE.
Mika Isojärvi [Wed, 18 Mar 2015 23:25:07 +0000 (16:25 -0700)]
Fix negative EGL tests expecting EGL_BAD_ATTRIBUTE.

Fix negative eglCreatePbufferSurface() tests that expected EGL_BAD_ATTRIBUTE
when EGL_WIDTH or EGL_HEIGHT was negative to expect EGL_BAD_PARAMETER.

Bug: 19822069
Change-Id: Ifc0b624b7225a3d657a547423b9263f354af77a0

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 agoRemove BAD_NATIVE error checks from negative EGL tests.
Mika Isojärvi [Mon, 16 Mar 2015 23:12:14 +0000 (16:12 -0700)]
Remove BAD_NATIVE error checks from negative EGL tests.

EGL specification doesn't guarantee that passing invalid native values would
generate errors. Instead behaviour is unspecified and can lead to crashes.

Bug: 19695619
Change-Id: I9002931d39b0c60d6f81b2e1f494f9390a19cf8a

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 agoMove metaprogramming utils out of deDefs.
Jarkko Pöyry [Tue, 17 Mar 2015 03:10:18 +0000 (20:10 -0700)]
Move metaprogramming utils out of deDefs.

Change-Id: I67705c3c799d9bdc88a5c1823b55428a7aaa8fd5

9 years agoPrevent implicit conversion from bool -> int in gluStrUtil.
Jarkko Pöyry [Mon, 16 Mar 2015 21:43:44 +0000 (14:43 -0700)]
Prevent implicit conversion from bool -> int in gluStrUtil.

Change-Id: Id7cf1e52b044c077883726f339a08d779bab19b6

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 agoMake install.py print device name for each message in -a -p mode.
Jarkko Pöyry [Thu, 12 Mar 2015 22:20:47 +0000 (15:20 -0700)]
Make install.py print device name for each message in -a -p mode.

- Add device prefix for each adb subprocess message. This makes
  it possible to know which device failed the install.

Change-Id: I4a116e17df1073913abfb6dd9fee1c9ef1e62ed9

9 years agoMove array utils out of deDefs.
Jarkko Pöyry [Mon, 16 Mar 2015 20:27:55 +0000 (13:27 -0700)]
Move array utils out of deDefs.

Change-Id: I77748493f96d9a25288f903eff1eebcafaa9b2c8

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 UNORM_INT24 format.
Jarkko Pöyry [Sat, 7 Mar 2015 01:04:33 +0000 (17:04 -0800)]
Add UNORM_INT24 format.

- New format is required to support separating combined
  texture stencil formats.

Change-Id: I3cbc4f096cba6171850a9d980f01fb1c8b604a58

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 agoUse de::ArrayBuffer, not raw arrays, in sglrReferenceContext.
Jarkko Pöyry [Fri, 13 Mar 2015 01:13:08 +0000 (18:13 -0700)]
Use de::ArrayBuffer, not raw arrays, in sglrReferenceContext.

Change-Id: I4b6b86318893441590f420320c201211ba8e269e

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 agoAllow dynamic loop cases to fail on GLSL ES 100.
Jarkko Pöyry [Thu, 12 Mar 2015 21:23:10 +0000 (14:23 -0700)]
Allow dynamic loop cases to fail on GLSL ES 100.

- Add "require full_glsl_es_100_support" to annotate GLSL ES 100 test
  that use features that are not within the required subset required by
  the GLES 2. Cases with this annotation will report NotSupported if
  compile fails, or QualityWarning if linking fails.
- Mark affected tests with "require full_glsl_es_100_support"

Bug: 19678840
Change-Id: If13a79d0221c92da80b1c1fa18f98335f91abfd4

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