platform/upstream/VK-GL-CTS.git
8 years agoCheck that AEP features behave correctly in 310/320 shaders.
Daniel Andrade Groppe [Thu, 18 Feb 2016 15:02:45 +0000 (10:02 -0500)]
Check that AEP features behave correctly in 310/320 shaders.

Require an extension in 310 es shaders.
Do not require suffixes in 320 es shaders.
Update es31fDebugTests to load the NegativeDirectiveTests functions.
Update CMakeLists.txt to include new test.
Add test for primitive_bounding_box in 320 shaders.
Add test for the following extensions:
- GL_KHR_blend_equation_advanced
- GL_OES_sample_variables
- GL_OES_shader_image_atomic
- GL_OES_shader_multisample_interpolation
- GL_OES_texture_storage_multisample_2d_array
- GL_EXT_geometry_shader
- GL_EXT_gpu_shader5
- GL_EXT_shader_io_blocks
- GL_EXT_tessellation_shader
- GL_EXT_texture_buffer
- GL_EXT_texture_cube_map_array

Change-Id: I4aacca892faf110371d55e5172e1b9afed3a0871

8 years agoNegative Shader Function Test
Daniel Andrade Groppe [Fri, 5 Feb 2016 22:57:59 +0000 (16:57 -0600)]
Negative Shader Function Test

Test that invalid call variants fail to compile.

Add tests for the following GLSL functions:
- atomicAdd
- atomicAnd
- atomicCompSwap
- atomicExchange
- atomicMax
- atomicMin
- atomicOr
- atomicXor
- bitCount
- bitfieldExtract
- bitfieldInsert
- bitfieldReverse
- EmitVertex
- EndPrimitive
- findLSB
- findMSB
- frexp
- imulExtended
- interpolateAtCentroid
- interpolateAtOffset
- interpolateAtSample
- ldexp
- packSnorm4x8
- packUnorm4x8
- texelFetch
- texture
- textureGather
- textureGatherOffset
- textureGatherOffsets
- textureGrad
- textureLod
- textureSize
- uaddCarry
- umulExtended
- unpackSnorm4x8
- unpackUnorm4x8
- usubBorrow
- fma

Change-Id: I46676924845d10d3d56c9d51ad1303d48eefe1ed

8 years agoMerge "Add new tests to Android.mk" into gles32-dev
Pyry Haulos [Wed, 10 Feb 2016 23:19:59 +0000 (23:19 +0000)]
Merge "Add new tests to Android.mk" into gles32-dev

8 years agoMerge "NegativeBufferApiTests - Add support for 3.2 features." into gles32-dev
Pyry Haulos [Wed, 10 Feb 2016 23:17:46 +0000 (23:17 +0000)]
Merge "NegativeBufferApiTests - Add support for 3.2 features." into gles32-dev

8 years agoAdd support for OpenGL ES 3.2 features and shader constants
Daniel Andrade Groppe [Thu, 4 Feb 2016 19:39:15 +0000 (13:39 -0600)]
Add support for OpenGL ES 3.2 features and shader constants

- Shaders are generated with the version string
  appropriate for the running context version.
- Add tests for tessellation shader constants:
  - gl_MaxTessControlImageUniforms
  - gl_MaxTessEvaluationImageUniforms
  - gl_MaxTessControlAtomicCounters
  - gl_MaxTessEvaluationAtomicCounters
  - gl_MaxTessControlAtomicCounterBuffers
  - gl_MaxTessEvaluationAtomicCounterBuffers
- Validate corresponding extension support
  for the running context.

Change-Id: Ie11f610a2f7de35b31b9f0b4df31d8af5ca986fe

8 years agoAdd new tests to Android.mk
Daniel Andrade Groppe [Tue, 9 Feb 2016 21:23:10 +0000 (15:23 -0600)]
Add new tests to Android.mk

- es31fNegativeShaderImageLoadStoreTests
- es31fNegativeAtomicCounterTests

Change-Id: I125e07592c53db12c859f95c62c4aa122bf377c5

8 years agoNegativeBufferApiTests - Add support for 3.2 features.
Daniel Andrade Groppe [Tue, 2 Feb 2016 22:26:12 +0000 (16:26 -0600)]
NegativeBufferApiTests - Add support for 3.2 features.

New tests:

    framebuffer_texture
    copy_image_sub_data

Updated tests:

    read_pixels
    read_pixels_format_mismatch
    read_pixels_fbo_format_mismatch
    bind_buffer_range
    bind_buffer_base
    clear_bufferiv
    clear_bufferuiv
    clear_bufferfv
    clear_bufferfi
    draw_buffers
    flush_mapped_buffer_range
    map_buffer_range
    bind_framebuffer
    check_framebuffer_status
    framebuffer_texture2d
    blit_framebuffer
    framebuffer_texture_layer
    invalidate_framebuffer
    invalidate_sub_framebuffer

Change-Id: If4f33e85201c981f0eddf463670f494fca69ba08

8 years agoMerge "Select shader version appropriate for context." into gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 23:06:23 +0000 (23:06 +0000)]
Merge "Select shader version appropriate for context." into gles32-dev

8 years agoMerge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 23:05:48 +0000 (23:05 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev

8 years agoSelect shader version appropriate for context.
Daniel Andrade Groppe [Fri, 5 Feb 2016 18:56:45 +0000 (12:56 -0600)]
Select shader version appropriate for context.

Change-Id: I42552ac8487eab0d0c2ea9c744a972c97cc4c3a5

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Fri, 5 Feb 2016 18:49:54 +0000 (12:49 -0600)]
Add support for OpenGL ES 3.2 features.

- Increase range to GLSL_VERSION_320_ES.
- Add new types:
  - {i u}samplerBuffer
  - {i u}sampler2DMSArray
  - {i u}imageBuffer

Change-Id: Idd4a3a6ea19fc7ce4e3efef5b018b5072b219553

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Fri, 5 Feb 2016 19:24:18 +0000 (13:24 -0600)]
Add support for OpenGL ES 3.2 features.

- Specialize shaders for context version.
- Check context version along with extension support.

Change-Id: I16c57def58fe92cae9d4b8a20dafd73c3d63aace

8 years agoMerge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Mon, 1 Feb 2016 22:18:22 +0000 (22:18 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev

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 agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Wed, 27 Jan 2016 21:10:53 +0000 (15:10 -0600)]
Add support for OpenGL ES 3.2 features.

Add function to generate version-appropriate shaders.
Add test cases for:
- Enablei
- Disablei
- GetBooleani_v
- GetTexParameterIiv
- GetTexParameterIuiv
- GetnUniformfv
- GetnUniformiv
- GetnUniformuiv
- GetActiveUniformBlockiv
- GetActiveUniformBlockName
- GetRenderbufferParameteriv
- GetSynciv
- IsEnabledi

Change-Id: I86e724758bfee490d6f53dccaa0f7ea0d860c913
Signed-off-by: Daniel Andrade Groppe <daniel.andrade@mobica.com>
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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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"

8 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

8 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

8 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

8 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

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

Change-Id: Ic2553c0090d17af5a40b908b256d3ed37cceef35

8 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

8 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

8 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

8 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

8 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

8 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"

8 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

8 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.

8 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

8 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.

8 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.

8 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()

8 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.

8 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.

8 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

8 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.

8 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.

8 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()

8 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.

8 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.

8 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

8 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

8 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.

8 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.

8 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()

8 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.

8 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

8 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.

8 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.

8 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()

8 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.

8 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

8 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

8 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

8 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.

8 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.

8 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()

8 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.

8 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

8 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

8 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

8 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)

8 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

8 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

8 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

8 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

8 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"

8 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"

8 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"

8 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

8 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

8 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

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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