platform/upstream/VK-GL-CTS.git
8 years agoMerge "Add test cases for features introduced in OpenGL ES 3.2" into gles32-dev
Pyry Haulos [Fri, 29 Jan 2016 17:49:18 +0000 (17:49 +0000)]
Merge "Add test cases for features introduced in OpenGL ES 3.2" into gles32-dev

8 years agoMerge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Fri, 29 Jan 2016 17:49:06 +0000 (17:49 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev

8 years agoMerge "Adding test cases for OpenGL ES 3.2. Depends on CL 187666." into gles32-dev
Pyry Haulos [Fri, 29 Jan 2016 17:48:51 +0000 (17:48 +0000)]
Merge "Adding test cases for OpenGL ES 3.2. Depends on CL 187666." into gles32-dev

8 years agoAdding test cases for OpenGL ES 3.2. Depends on CL 187666.
Daniel Andrade Groppe [Thu, 24 Dec 2015 01:35:52 +0000 (19:35 -0600)]
Adding test cases for OpenGL ES 3.2. Depends on CL 187666.

Change-Id: Ifb35841bf6e3d121ce054733e82bc1fb905564d7

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Wed, 27 Jan 2016 21:57:11 +0000 (15:57 -0600)]
Add support for OpenGL ES 3.2 features.

Generate version-appropriate shaders.
Add tests for functions introduced in 3.2:
- VertexAttribFormat
- VertexAttribIFormat
- DrawElementsBaseVertex
- DrawElementsInstancedBaseVertex
- DrawRangeElementsBaseVertex

Change-Id: Ibe32d0d7a5bd0e7692bb14271eb5af9599f21bad
Signed-off-by: Daniel Andrade Groppe <daniel.andrade@mobica.com>
8 years agoAdd test cases for features introduced in OpenGL ES 3.2
Daniel Andrade Groppe [Thu, 14 Jan 2016 17:35:01 +0000 (11:35 -0600)]
Add test cases for features introduced in OpenGL ES 3.2

es31fAdvancedBlendTests:
- Add a condition to check if the OpenGL ES context version is 3.2.
  If the context is at least 3.2 or if the extension
  GL_KHR_blend_equation_advanced is supported, the test is not skipped.

es31fIntegerStateQueryTests:
- Add support for GL_TEXTURE_BUFFER when using the extension
  GL_EXT_texture_buffer in 3.1 contexts.
- Add a check to TexBindingCase to skip checking for supported extensions
  when running in a 3.2 context.
- Modify CombinedComputeUniformComponentsCase to make it usable for other
  shader stages.
- Modify AlignmentCase, MinimumValueCase, CombinedUniformComponentsCase
  to store a minimum context version. In addition, a constructor was
  added to take an ApiType object to check minimum required version
  of a test.
- The test sets the minimum value based on the context version for:
    GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
    GL_MAX_FRAGMENT_ATOMIC_COUNTERS,
    GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
- Add a special case for 3.2 contexts:
    MaxUniformBufferBindingsCase
    MaxCombinedUniformBlocksCase
    MaxCombinedTexImageUnitsCase
- Add tests for states introduced in 3.2

es31fNegativeTextureApiTests:
- bindtexture():
    GL_TEXTURE_3D
    GL_TEXTURE_2D_ARRAY
    GL_TEXTURE_CUBE_MAP
    GL_TEXTURE_CUBE_MAP_ARRAY
- compressedteximage2d_invalid_size()
- texparameteri()
- texparameterf()
- texparameteriv()
- texparameterfv()
- teximage3d()
- teximage3d_neg_level()
- teximage3d_neg_width_height_depth()
- teximage3d_invalid_border()
- texsubimage3d_neg_level()
- texsubimage3d_neg_offset()
- texsubimage3d_neg_width_height()
- copytexsubimage3d_neg_level()
- copytexsubimage3d_max_level()
- texstorage2d()
- texstorage2d_invalid_binding()
- texstorage2d_invalid_levels()
- texstorage3d()
- texstorage3d_invalid_binding()
- texstorage3d_invalid_levels()
- copytexsubimage2d_read_buffer_is_none()
  copytexsubimage2d_texture_internalformat()
- texparameterIiv()
- texparameterIuiv()
- compressedteximage3d_invalid_width_height()
- compressedteximage3d_invalid_format()

es31fProgramStateQueryTests:
Add the tests to query the state of Geometry and Tessellation shaders:
- GeometryShaderCase
- TessellationShaderCase

Change-Id: Ide2885b4649bafd8fc92fdaee202e3fb528d6900

8 years agoAdd helper functions and negative tests.
Daniel Andrade Groppe [Tue, 22 Dec 2015 23:27:12 +0000 (17:27 -0600)]
Add helper functions and negative tests.

- Add isShaderSupported and isExtensionSupported
  to NegativeTestContext
- Add negative test AtomicCounters
- Add negative test ShaderImageLoadStore

Change-Id: Iac864b134b54a687cf69c3037fd0ac7a0da6760e

8 years agoUpdating context wrapper to 3.2 version values and descriptions.
Daniel Andrade Groppe [Mon, 11 Jan 2016 22:58:06 +0000 (16:58 -0600)]
Updating context wrapper to 3.2 version values and descriptions.

Change-Id: I8d9869c30a0e1ecb6376f5d03b14d858bfc6544a

8 years agoChanges to framework to create and initialize an OpenGL ES 3.2 Context.
Daniel Andrade Groppe [Mon, 21 Dec 2015 22:47:51 +0000 (16:47 -0600)]
Changes to framework to create and initialize an OpenGL ES 3.2 Context.

- An OpenGL ES 3.2 context is created first and falls back to a 3.1 context.

Change-Id: I17fb110715e96faf6a96bf6c3371f125f0c7fed6

8 years agoUpdating framework/opengl to support OpenGL ES 3.2
Daniel Andrade Groppe [Wed, 2 Dec 2015 21:45:41 +0000 (15:45 -0600)]
Updating framework/opengl to support OpenGL ES 3.2

- Updated src_util.py to download appropriate gl.xml from Khronos.
- Dropped EXT/KHR suffix in certain function names
- Context wrapper is no longer created if native context fails to be created
Change-Id: I3b93c70ec779b7b0664925b6c57dcf16f1e8610d

9 years agoDO NOT MERGE add running time hints for dEQP packages am: 75da7d236c -s ours am...
Jed Estep [Mon, 23 Nov 2015 23:28:36 +0000 (23:28 +0000)]
DO NOT MERGE add running time hints for dEQP packages am: 75da7d236c  -s ours am: 01680109b8
am: e22743284f  -s ours

* commit 'e22743284f0ab65a27301b87b33daef994b2f6b7':
  DO NOT MERGE add running time hints for dEQP packages

9 years agoDO NOT MERGE add running time hints for dEQP packages am: 75da7d236c -s ours
Jed Estep [Mon, 23 Nov 2015 23:25:22 +0000 (23:25 +0000)]
DO NOT MERGE add running time hints for dEQP packages am: 75da7d236c  -s ours
am: 01680109b8

* commit '01680109b81948f78fe5b69da44635a8facd2d12':
  DO NOT MERGE add running time hints for dEQP packages

9 years agoDO NOT MERGE add running time hints for dEQP packages
Jed Estep [Mon, 23 Nov 2015 23:05:27 +0000 (23:05 +0000)]
DO NOT MERGE add running time hints for dEQP packages
am: 75da7d236c  -s ours

* commit '75da7d236c608d6e1020e21d59325feb7dcbe711':
  DO NOT MERGE add running time hints for dEQP packages

9 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev...
Daniel Xie [Mon, 23 Nov 2015 15:52:57 +0000 (15:52 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev am: a3571bc9c9  -s ours am: 4e2092b555
am: 2239f84a37  -s ours

* commit '2239f84a37e3288e49523e98d5bb964ba62143b6':
  DO NOT MERGE Restore accidentally commented line

9 years agoExclude RGB565 blending cases from the must-pass am: 494bb5a472 am: c6d365645f
Kalle Raita [Mon, 23 Nov 2015 15:52:52 +0000 (15:52 +0000)]
Exclude RGB565 blending cases from the must-pass am: 494bb5a472 am: c6d365645f
am: 770c827918

* commit '770c8279183d6cc310f9ddc6b123255ff2836a94':
  Exclude RGB565 blending cases from the must-pass

9 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev...
Daniel Xie [Sun, 22 Nov 2015 02:58:30 +0000 (02:58 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev am: a3571bc9c9  -s ours
am: 4e2092b555

* commit '4e2092b555b3ef3e5ea6e3eb798bca4b21e33dce':
  DO NOT MERGE Restore accidentally commented line

9 years agoExclude RGB565 blending cases from the must-pass am: 494bb5a472
Kalle Raita [Sun, 22 Nov 2015 02:58:21 +0000 (02:58 +0000)]
Exclude RGB565 blending cases from the must-pass am: 494bb5a472
am: c6d365645f

* commit 'c6d365645f8315dc84f1e3253e575f454be460db':
  Exclude RGB565 blending cases from the must-pass

9 years agoDO NOT MERGE add running time hints for dEQP packages
Jed Estep [Tue, 27 Oct 2015 18:17:13 +0000 (11:17 -0700)]
DO NOT MERGE add running time hints for dEQP packages

Change-Id: Iac61edd175714ffb5901925ac81c16e9a3a18d81

9 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev
Daniel Xie [Fri, 20 Nov 2015 18:57:29 +0000 (18:57 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev
am: a3571bc9c9  -s ours

* commit 'a3571bc9c9f16c58a49cbb080da97223c807b2f5':
  DO NOT MERGE Restore accidentally commented line

9 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev
Daniel Xie [Fri, 20 Nov 2015 18:49:33 +0000 (18:49 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev

9 years agoExclude RGB565 blending cases from the must-pass
Kalle Raita [Fri, 20 Nov 2015 04:10:27 +0000 (04:10 +0000)]
Exclude RGB565 blending cases from the must-pass
am: 494bb5a472

* commit '494bb5a4725c6cc57fcfe1457aebabac6477aa76':
  Exclude RGB565 blending cases from the must-pass

9 years agoMerge "Fix copy-paste typos in expect* functions"
Kalle Raita [Wed, 18 Nov 2015 20:42:47 +0000 (20:42 +0000)]
Merge "Fix copy-paste typos in expect* functions"

9 years agoFix copy-paste typos in expect* functions
Kalle Raita [Wed, 18 Nov 2015 18:24:24 +0000 (10:24 -0800)]
Fix copy-paste typos in expect* functions

expectNoDisplay, expectNoSurface, and expectNull were testing against
EGL_NO_CONTEXT. This usually works as all the defines tend to be 0 on
all platforms.

Change-Id: I1893a32e8ad438fd4ebe0307582a2330679f9cd4

9 years agoExclude RGB565 blending cases from the must-pass
Kalle Raita [Tue, 27 Oct 2015 22:23:40 +0000 (15:23 -0700)]
Exclude RGB565 blending cases from the must-pass

The verification logic of the groups below do not account for all the
possible valid results in the RGB565 output.

The change removes following in the group
dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer
.rgb_func_alpha_func.*
.equation_src_func_dst_func.*

Bug: 23278613
Change-Id: Ic4cb194c1bf6326d7a12005ada12ab05c1ab669b

9 years agoDO NOT MERGE Restore accidentally commented line
Kalle Raita [Mon, 16 Nov 2015 23:00:33 +0000 (15:00 -0800)]
DO NOT MERGE Restore accidentally commented line

Change 178937 accidentally commented out the binary build step of the
android mustpass list build. The original change is not supposed to
merge forwards.

Change-Id: I03c1f410025821a4d712ceb327486e76805e68d6

9 years agoNew EGL mustpass candidate
Pyry Haulos [Fri, 13 Nov 2015 22:38:22 +0000 (14:38 -0800)]
New EGL mustpass candidate

Change-Id: I2f2938ccda824ae466bb0e57fb757618c749e082

9 years agoFix warning
Pyry Haulos [Wed, 11 Nov 2015 19:22:58 +0000 (11:22 -0800)]
Fix warning

Change-Id: Ic2553c0090d17af5a40b908b256d3ed37cceef35

9 years agoAdd SHA1 functions to decpp.
Mika Isojärvi [Tue, 3 Nov 2015 20:15:10 +0000 (12:15 -0800)]
Add SHA1 functions to decpp.

Change-Id: I1bfdf817debf8cfc84bbc6fbdae2b0e58c4fa975

9 years agoAdd sha1 hash functions to delibs.
Mika Isojärvi [Mon, 2 Nov 2015 23:53:48 +0000 (15:53 -0800)]
Add sha1 hash functions to delibs.

Change-Id: I7b0f7ce8b82a632183d1333764f80992c153a531

9 years agoMake RGBA constants methods.
Dejan Mircevski [Fri, 6 Nov 2015 22:08:44 +0000 (17:08 -0500)]
Make RGBA constants methods.

Without this, other global variables that are initialized with values
like RGBA::white will have a race condition with the RGBA::white
initialization.  We have seen a bug where a global array of RGBA
constants was being initialized before the constants themselves, so all
elements were (0, 0, 0, 0).

Change-Id: Idd6a88efda8375e52f15ed285afe38631b9c464a

9 years agoFix deFile_getSize.
Mika Isojärvi [Mon, 2 Nov 2015 22:26:28 +0000 (14:26 -0800)]
Fix deFile_getSize.

Seek to the end of the file instead of second last byte of the file.

Change-Id: I2cdb6db50d4b0d3b73ea83edfedaf1645b766808

9 years agoFix dependency in runner tests.
Kalle Raita [Thu, 29 Oct 2015 23:09:15 +0000 (16:09 -0700)]
Fix dependency in runner tests.

Change-Id: I00ae4d547c74db1c49628dd0490c8d5c3f6e6825

9 years agoMerge "CTS v2 integration for deqp"
Kalle Raita [Thu, 29 Oct 2015 22:48:57 +0000 (22:48 +0000)]
Merge "CTS v2 integration for deqp"

9 years agoReport correct error if failed to open resource on android.
Mika Isojärvi [Wed, 28 Oct 2015 23:25:08 +0000 (16:25 -0700)]
Report correct error if failed to open resource on android.

Throw tcu::ResourceError on android if resource is not found by AssetManager.

Change-Id: I1388890b407ef4a0f1391afc441b546e0807e697

9 years agoDO NOT MERGE Split GLES31 copy image tests in 3. am: e3f31fbe9e -s ours am: 74e77f920d
Kalle Raita [Wed, 28 Oct 2015 07:06:42 +0000 (07:06 +0000)]
DO NOT MERGE Split GLES31 copy image tests in 3. am: e3f31fbe9e  -s ours am: 74e77f920d
am: 9bc2f18d3e  -s ours

* commit '9bc2f18d3e6d3bf13a1564735fa395dc5254bf0a':
  DO NOT MERGE Split GLES31 copy image tests in 3.

9 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Wed, 28 Oct 2015 07:06:39 +0000 (07:06 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e am: 1bb32404ed  -s ours am: 7f2264e8b5
am: d3b78bf3e5  -s ours

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

9 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Wed, 28 Oct 2015 07:06:36 +0000 (07:06 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a am: 195c6d1c5f am: ad9738c0c6
am: 830808e133

* commit '830808e1331c03567c0f60ccdf9429cea56dd182':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Wed, 28 Oct 2015 07:06:33 +0000 (07:06 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968 am: 90b1a9f687  -s ours am: 7ec9411ee5
am: f5e70d59de  -s ours

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

9 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Wed, 28 Oct 2015 07:06:30 +0000 (07:06 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d am: 6a4a901e5a  -s ours am: 3a8d6b0b02
am: 570b43e224  -s ours

* commit '570b43e224af89cd10a2852110914732c00b1d7e':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Wed, 28 Oct 2015 07:06:27 +0000 (07:06 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675 am: f088b2b570  -s ours am: 867d4a0416
am: 5d43de505e  -s ours

* commit '5d43de505e36fdc7f9feec38b81618e1b6bb79c7':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoDO NOT MERGE Split GLES31 copy image tests in 3. am: e3f31fbe9e -s ours
Kalle Raita [Wed, 28 Oct 2015 07:04:07 +0000 (07:04 +0000)]
DO NOT MERGE Split GLES31 copy image tests in 3. am: e3f31fbe9e  -s ours
am: 74e77f920d

* commit '74e77f920ddadf997122d2614460368afc05701d':
  DO NOT MERGE Split GLES31 copy image tests in 3.

9 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Wed, 28 Oct 2015 07:04:03 +0000 (07:04 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e am: 1bb32404ed  -s ours
am: 7f2264e8b5

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

9 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Wed, 28 Oct 2015 07:03:59 +0000 (07:03 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a am: 195c6d1c5f
am: ad9738c0c6

* commit 'ad9738c0c642d22c0e68340112450b70ab6e9a9d':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Wed, 28 Oct 2015 07:03:54 +0000 (07:03 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968 am: 90b1a9f687  -s ours
am: 7ec9411ee5

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

9 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Wed, 28 Oct 2015 07:03:50 +0000 (07:03 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d am: 6a4a901e5a  -s ours
am: 3a8d6b0b02

* commit '3a8d6b0b0229727b42c641a1eaa23b790a4e4b99':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Wed, 28 Oct 2015 07:03:46 +0000 (07:03 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675 am: f088b2b570  -s ours
am: 867d4a0416

* commit '867d4a0416a05c2cf5d429f80ffdba88a4cda68c':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoDO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Wed, 28 Oct 2015 06:51:56 +0000 (06:51 +0000)]
DO NOT MERGE Split GLES31 copy image tests in 3.
am: e3f31fbe9e  -s ours

* commit 'e3f31fbe9e8037c9182625c28d57dc1cd9a627b3':
  DO NOT MERGE Split GLES31 copy image tests in 3.

9 years agoDO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Tue, 6 Oct 2015 18:50:19 +0000 (11:50 -0700)]
DO NOT MERGE Split GLES31 copy image tests in 3.

Add support for filter-based splits of the CTS packages in
build_android_mustpass.py.

Split GLES31 copy image tests into 3 smaller CTS packages to get all CTS
packages to run in 3 hours or less on current platforms.

Bug: 24312007
Change-Id: I96bf1ce751ec341f1d6bfa80e7a28daf68cdf1e1

9 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 23:12:09 +0000 (23:12 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e
am: 1bb32404ed  -s ours

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

9 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 23:03:41 +0000 (23:03 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a
am: 195c6d1c5f

* commit '195c6d1c5fdeb78fccc1f36c8f87522ed75d8377':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Tue, 27 Oct 2015 23:03:37 +0000 (23:03 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968
am: 90b1a9f687  -s ours

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

9 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Tue, 27 Oct 2015 23:03:33 +0000 (23:03 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d
am: 6a4a901e5a  -s ours

* commit '6a4a901e5a338db4ae668de61128667d617b373b':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Tue, 27 Oct 2015 23:03:29 +0000 (23:03 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675
am: f088b2b570  -s ours

* commit 'f088b2b570e1c981e3f9a80e63e653bfe46ca418':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 23:03:28 +0000 (23:03 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours
am: a635ea841e

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

9 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 22:57:22 +0000 (22:57 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4
am: a9216ffd5a

* commit 'a9216ffd5a1d7ed4e50789698e038dc29b963a97':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Tue, 27 Oct 2015 22:57:18 +0000 (22:57 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours
am: 76114a7968

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

9 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Tue, 27 Oct 2015 22:57:13 +0000 (22:57 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours
am: 366da5103d

* commit '366da5103d0ca17b59ce36596a92c5cefec04939':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours
Jarkko Pöyry [Tue, 27 Oct 2015 22:57:07 +0000 (22:57 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours
am: 80ff623675

* commit '80ff623675ed8f9bf0f8b179335fd0ba4fde6321':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 22:51:48 +0000 (22:51 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev
am: 06627c74b4  -s ours

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

9 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 22:46:45 +0000 (22:46 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev

9 years agoDO NOT MERGE: Add cube gather tests that avoid corners;
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 by request.

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 "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 22:46:31 +0000 (22:46 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev
am: 67685b11a4

* commit '67685b11a48d6c50a43749a828344a9852fdb916':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification.
Jarkko Pöyry [Tue, 27 Oct 2015 22:46:27 +0000 (22:46 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification.
am: a77161bb85  -s ours

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

9 years agoDO NOT MERGE Do not require signed zero support in ldexp tests()
Pyry Haulos [Tue, 27 Oct 2015 22:46:22 +0000 (22:46 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests()
am: 5b076d99a8  -s ours

* commit '5b076d99a8f7e8031133bd0e8c7e1dacfa0c57c7':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Tue, 27 Oct 2015 22:46:16 +0000 (22:46 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
am: 5c7feb8db2  -s ours

* commit '5c7feb8db294bc097c7eb9b0d69e9cff142fe23a':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 22:45:22 +0000 (22:45 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev

9 years agoRemove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Tue, 6 Jan 2015 20:41:02 +0000 (12:41 -0800)]
Remove broken record_variable_selection test from MR1 must-pass.

tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.

Bug: 18917835
Change-Id: Ic1a3dd56b98e4ed0d71292f6727a6fe5d0ce291b

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 agoDO NOT MERGE Do not require signed zero support in ldexp tests()
Pyry Haulos [Fri, 30 Jan 2015 19:38:15 +0000 (11:38 -0800)]
DO NOT MERGE 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
(cherry picked from commit 1e44f197ded674677381f65c840820728cf36efb)

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Thu, 11 Jun 2015 16:27:09 +0000 (09:27 -0700)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

- Calculate ULPs assuming denormals (and signed zeros) do not exist.

Bug: 21731219
Change-Id: I6f426c781b2c38d7279b65a973e381f0848fbe02

9 years agoCTS v2 integration for deqp
Kalle Raita [Mon, 12 Oct 2015 23:18:15 +0000 (16:18 -0700)]
CTS v2 integration for deqp

Move the runner from the CTS tree into the deqp tree and modify the
runner to use the parametrization conventions of the CTS v2. Add support
for filters.

Generate the test configuration with build_android_mustpass.py utility

Ported tests from the old runner and added tests for filtering.

Change-Id: Ibc87b78f302e363b878f2631ef58defa222a2110

9 years agoFix invalid use of intThresholdCompare in fragment_ops tests
Pyry Haulos [Tue, 20 Oct 2015 17:03:38 +0000 (10:03 -0700)]
Fix invalid use of intThresholdCompare in fragment_ops tests

Blend and random tests in fragment_ops tests were comparing RGB to RGBA
image using intThresholdCompare, which doesn't work as expected after
recent getPixelInt() fix for RGB8.

Bug: 25111313
Change-Id: Iac27bfcad7fb2ca11d9f4af44418cd1cbd72a2f5

9 years agoFix invalid uses of PixelBufferAccess
Pyry Haulos [Mon, 19 Oct 2015 15:13:36 +0000 (08:13 -0700)]
Fix invalid uses of PixelBufferAccess

Change-Id: Ibde25054f5128e617ad423e65855150ea38df9f1

9 years agoMerge "Add tests for PixelBufferAccess getPixel/setPixel"
Pyry Haulos [Fri, 16 Oct 2015 22:25:00 +0000 (22:25 +0000)]
Merge "Add tests for PixelBufferAccess getPixel/setPixel"

9 years agoMerge "Add a few utils for tcu::TextureFormat"
Pyry Haulos [Fri, 16 Oct 2015 22:24:50 +0000 (22:24 +0000)]
Merge "Add a few utils for tcu::TextureFormat"

9 years agoMerge "Add new texture formats and remove 2 problematic formats"
Pyry Haulos [Fri, 16 Oct 2015 22:24:38 +0000 (22:24 +0000)]
Merge "Add new texture formats and remove 2 problematic formats"

9 years agoAdd tests for PixelBufferAccess getPixel/setPixel
Pyry Haulos [Mon, 12 Oct 2015 22:33:10 +0000 (15:33 -0700)]
Add tests for PixelBufferAccess getPixel/setPixel

Change-Id: I6acf3ee8e82208090859b895e47a6a9ca1a3a566

9 years agoAdd a few utils for tcu::TextureFormat
Pyry Haulos [Wed, 14 Oct 2015 19:55:20 +0000 (12:55 -0700)]
Add a few utils for tcu::TextureFormat

 * tcu::isValid(TextureFormat) can be used to check if format is
supported by tcuTexture.

 * tcu::isAccessValid() can be used to check if getPixel/setPixel access
type is supported for TextureFormat.

 * Added tcu::getPixelSize() and deprecated
TextureFormat::getPixelSize().

Change-Id: Ibed3c130d238fb61bb8572678bd6c94ba9457cf9

9 years agoAdd new texture formats and remove 2 problematic formats
Pyry Haulos [Wed, 14 Oct 2015 19:27:58 +0000 (12:27 -0700)]
Add new texture formats and remove 2 problematic formats

 * Add (DS, UNSIGNED_INT_16_8_8).

 * Add (RG, UNORM_BYTE_44).

 * Add (D/DS, UNSIGNED_INT_24_8_REV).

 * Add SNORM_SHORT_565, _4444, _5551, and _INT_1010102_REV.

 * Add sBGR and sBGRA channel orders.

 * Add support for BGR(A) channel orders for *NORM_SHORT_565, _555,
_4444, _5551, and *INT_1010102_REV.

 * Remove FLOAT_UNSIGNED_INT_8 as depth access had unaligned 'float'
values.

 * Remove UNSIGNED_INT_16_8 as depth access had unaligned 'short'
values.

Change-Id: I53092b174b7b1657826392a8ce876bf867f6d46f

9 years agoFix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 02:44:21 +0000 (19:44 -0700)]
Fix building on darwin-x86_64 with clang

Change-Id: I258a707662f90777a4e7c2555f9ba9ee9106fa26

9 years agoam 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:20:31 +0000 (17:20 +0000)]
am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit '7aad11b331b77930088d20c6748a6bf22f6ab506':
  DO NOT MERGE Split GLES31 copy image tests in 3.

9 years agoam eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:15:07 +0000 (17:15 +0000)]
am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'eee8271e04e7b701798aaee445c794f65a984d36':
  DO NOT MERGE Split GLES31 copy image tests in 3.

9 years agoDo not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Tue, 13 Oct 2015 20:06:24 +0000 (13:06 -0700)]
Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

Bug: 24870380
Change-Id: Ia80a536334200ae0df8b042829554f8773b64967

9 years agoAdd couple of new tcu::TextureFormat::ChannelType's
Pyry Haulos [Mon, 12 Oct 2015 21:06:47 +0000 (14:06 -0700)]
Add couple of new tcu::TextureFormat::ChannelType's

Change-Id: Iffa8a87f69f3da3bea435c422279f1b8d65c71a9

9 years agoAdd ability to choose ExecServer port on Android
Pyry Haulos [Tue, 6 Oct 2015 22:46:39 +0000 (15:46 -0700)]
Add ability to choose ExecServer port on Android

Both ExecService and ServiceStarter will now use "port" integer extra,
if supplied as part of intent, to choose port.

Bug: 23429375
Change-Id: Ia4c5f6f4c90e01f8879aa76a9ba48c8addfc9669

9 years agoDO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Tue, 6 Oct 2015 18:50:19 +0000 (11:50 -0700)]
DO NOT MERGE Split GLES31 copy image tests in 3.

Add support for filter-based splits of the CTS packages in
build_android_mustpass.py.

Split GLES31 copy image tests into 3 smaller CTS packages to get all CTS
packages to run in 3 hours or less on current platforms.

Bug: 24312007
Change-Id: I96bf1ce751ec341f1d6bfa80e7a28daf68cdf1e1

9 years agoExplicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 14 Sep 2015 14:20:43 +0000 (15:20 +0100)]
Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

Some new tests missing the call to set the BUFFERED_DESTROYED swap
behavior.

Change-Id: I2856833d78b9d4763614f68e42eb31194cfe7715

9 years agoMerge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:48:16 +0000 (20:48 +0000)]
Merge "Add deCtz32() to deInt32.h"

9 years agoRe-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:20:15 +0000 (14:20 -0700)]
Re-generate master mustpass

Change-Id: I3552a20708cd565c677d2e04626b5ea63ea03f89

9 years agoAdd deCtz32() to deInt32.h
Pyry Haulos [Wed, 30 Sep 2015 17:56:36 +0000 (10:56 -0700)]
Add deCtz32() to deInt32.h

deCtz32() computes number of trailing zeros.

Change-Id: I44707d92696af927d7464b75be789571338be479

9 years agoMerge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 17:53:50 +0000 (17:53 +0000)]
Merge "Add preprocessor "defined" operator corner cases"

9 years agoFix couple of issues in refactored ShaderLibrary
Pyry Haulos [Wed, 30 Sep 2015 17:00:12 +0000 (10:00 -0700)]
Fix couple of issues in refactored ShaderLibrary

 * Support for pipeline (separable) programs was broken

 * Extensions weren't checked for "both" -type cases

Change-Id: Ida579fb1cec7d892f244036f452405b491e7b4f1

9 years agoAdd preprocessor "defined" operator corner cases
Olli Etuaho [Mon, 28 Sep 2015 08:08:52 +0000 (11:08 +0300)]
Add preprocessor "defined" operator corner cases

The GLES3 shader tests have already required "defined" operator generated
by macro replacement to work. This is not specified by the C++ standard,
and has some corner cases where implementations might differ. Test the
corner cases to ensure fully compatible implementations.

These cases were already tested against some existing implementations on
Nexus devices, and the implementations mostly passed.

Change-Id: Ic54afc9436bb2ad2d7bfc7dc1e1833f700d3ca49

9 years agoam d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests
Kalle Raita [Thu, 24 Sep 2015 22:17:16 +0000 (22:17 +0000)]
am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests

* commit 'd3e1b23dcd36e8247945deb6c00f725525f0f165':
  Remove large draw_indirect.compute_interop tests

9 years agoam ca60962c: Remove large draw_indirect.compute_interop tests
Kalle Raita [Thu, 24 Sep 2015 22:09:44 +0000 (22:09 +0000)]
am ca60962c: Remove large draw_indirect.compute_interop tests

* commit 'ca60962c06f071d7a40bade0771c5a60b8f18864':
  Remove large draw_indirect.compute_interop tests

9 years agoFix unnecessary assumption about source dir name
Pyry Haulos [Thu, 24 Sep 2015 20:17:12 +0000 (13:17 -0700)]
Fix unnecessary assumption about source dir name

Build scripts were unnecessarily (and sometimes incorrectly) assuming
that deqp sources would be in a directory called "deqp".

Change-Id: I3c6cf5d850aa5598daa1d0832ee403bb639451a2

9 years agoRemove large draw_indirect.compute_interop tests
Kalle Raita [Wed, 23 Sep 2015 23:37:50 +0000 (16:37 -0700)]
Remove large draw_indirect.compute_interop tests

Remove tests in draw_indirect.compute_interop.large.drawelements_*_grid
that have grid size 1000 or greater.

Bug: 23288315
Change-Id: Ifbdea2ff884122da097198525a5b13d91ea00fe9

9 years agoMerge "Improve external/fetch_sources.py"
Pyry Haulos [Thu, 17 Sep 2015 16:57:35 +0000 (16:57 +0000)]
Merge "Improve external/fetch_sources.py"

9 years agoMerge "Add tests back to master mustpass"
Pyry Haulos [Wed, 16 Sep 2015 20:14:48 +0000 (20:14 +0000)]
Merge "Add tests back to master mustpass"

9 years agoImprove external/fetch_sources.py
Pyry Haulos [Tue, 15 Sep 2015 19:10:25 +0000 (12:10 -0700)]
Improve external/fetch_sources.py

 * Cache fetched packages, making fetch_sources.py significantly faster
when package reference has not been updated.

 * Keep sources in a separate sub-directory

 * Add initial support for git repositories

Change-Id: If24b18efb6d052147bfb4ed23ceeb40e2b391f3d