Alexander Galazin [Fri, 13 Jan 2017 21:41:32 +0000 (22:41 +0100)]
Update GL CTS README to point to GitHub VK GL CTS wiki
Change-Id: Ia06ec8801cb840e25dbe6012de34ce38ffd79467
Pyry Haulos [Fri, 13 Jan 2017 20:20:47 +0000 (12:20 -0800)]
Merge vulkancts/vulkan-cts-1.0-dev into vulkancts/opengl-cts-dev
Change-Id: I3b3e5e6367a0b8aa998ddebd0ad238870c778e6b
Pyry Haulos [Fri, 13 Jan 2017 20:20:44 +0000 (12:20 -0800)]
Merge vulkancts/vulkan-cts-1.0.2 into vulkancts/vulkan-cts-1.0-dev
Change-Id: I23e7239a4af6fbb1925c30e8a9b73c7e942d3ffc
Maciej Jesionowski [Thu, 12 Jan 2017 12:42:45 +0000 (13:42 +0100)]
Bugfix: Allow UBO sparse allocation larger than maxUniformBufferRange
Modified tests:
- dEQP-VK.sparse_resources.buffer.ubo.*
Fixes #573
Change-Id: I33d2098d5b6b783fa8293c7cb1af7e782b51df77
Alexander Galazin [Fri, 13 Jan 2017 17:21:09 +0000 (18:21 +0100)]
Merge vulkancts/opengl-cts-es-3.2.2 into vulkancts/opengl-cts-dev
Change-Id: I35a77f7ae74c294d760df6c7a897c0cd7d5f4643
Filip Demczewski [Thu, 24 Nov 2016 16:51:50 +0000 (17:51 +0100)]
Added CTS_ARB_texture_filter_minmax tests
Change-Id: I30d0ee7ef7e6796a2de85c4affd911d552dd106e
Adam Czupryna [Wed, 30 Nov 2016 15:54:57 +0000 (16:54 +0100)]
Extended CTS_ARB_sparse_texture2 MS33
* Added SparseTexture2CommitmentTestCase
* Added UncommittedRegionsAccessTestCase
* Added extension support check
Change-Id: I6f5b80631ae1f7bd9897db7544238ae5ff19213b
Alexander Galazin [Wed, 11 Jan 2017 06:51:53 +0000 (07:51 +0100)]
Run GTF EGL tests only in 'window' configs
Fixes OSS CTS #40
Change-Id: I6967bb63fb58863bcf143a27c01e84ccf536ccf8
Filip Demczewski [Thu, 8 Dec 2016 10:08:31 +0000 (11:08 +0100)]
Added CTS_ARB_shader_viewport_layer_array specification proposal
Change-Id: Id391811a9e5d780b2afac5efeceb1c3f67f8d7cb
Alexander Galazin [Thu, 15 Dec 2016 17:54:41 +0000 (18:54 +0100)]
DrawElementsBaseVertexTestBase: call base class init() method
Fixes OpenGL OSS-CTS issue 26
Without it, test fail with:
InternalError (Value for parameter 'VERSION' not found in map at tcuStringTemplate.cpp:113)
because the shader m_specializationMap is not initialized.
Original MR https://gitlab.khronos.org/opengl/oss-cts/merge_requests/129
by Nicolai Hähnle
Change-Id: Ifff450f4b91bc21d368bd6bfbd145849ae80765a
Nicolai Hähnle [Fri, 23 Dec 2016 11:01:15 +0000 (12:01 +0100)]
gl4cComputeShaderTests: fix pipeline-compute-chain for changes in tcuMatrix
tcuMatrix now stores data in column-major order (i.e. matches the default
setting of GLSL). Previously, it stored data in row-major order, so the
test needs to be updated to reflect this change.
Change-Id: I89f13acbb1dd2858fa4768eca5efa40ee516805e
Nicolai Hähnle [Sat, 10 Dec 2016 18:46:11 +0000 (19:46 +0100)]
gl4cPipelineStatisticsQueryTests: fix expected vertex count
Restore the orginal version of
getExpectedVerticesSubmittedQueryResult. It got replaced by logic
that computes the number of primitives instead.
Change-Id: I7fbd8cfe2a2310ab8ec43c7cc8e7605d0060f65f
Pyry Haulos [Thu, 12 Jan 2017 23:27:44 +0000 (15:27 -0800)]
Fix memoryTypeBits validation in memory.requirements.buffer
Memory type bits returned for a subset of all possible usage flags must
be a superset of memory type bits returned for all usage flags case, not
the other way around.
Affects: dEQP-VK.memory.requirements.buffer.*
Vulkan CTS issue: 578
Change-Id: Iff34ffbf571fa7b0bd2d5e769e32d82a4dc9229e
Maciej Jesionowski [Thu, 12 Jan 2017 11:23:44 +0000 (12:23 +0100)]
Bugfix: provide enough VkClearValues in ImageSamplingInstance
Affected tests:
- dEQP-VK.pipeline.image.*
- dEQP-VK.pipeline.image_view.*
Fixes #575
Change-Id: Ie2fbdf9b926c677c54aca4b4cfd6b107be451c7f
Slawomir Cygan [Tue, 10 Jan 2017 15:59:29 +0000 (16:59 +0100)]
Do not require unsupported sparse images in image_format_properties test
Affects tests: dEQP-VK.api.info.image_format_properties*
This change removes the requirement for supporting sparse residency images:
- with compressed format
- with non-color format
- with format of pixel size that is not power ot two (for example: RGB).
Additionally do not require 1D sparse residency images (not in spec),
and require 2D/3D residency images basing on the device capabilities.
Spec 28.1. Sparse Resource Features:
"A sparse image created using VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
supports all non-compressed color formats with power-of-two element
size that non-sparse usage supports.
(...)
sparseResidencyImage2D: Support for creating 2D single-sampled VkImage
objects with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT.
sparseResidencyImage3D: Support for creating 3D VkImage objects with
VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT.
"
Fixes bug: gitlab!567
Change-Id: If7d72c4392299e4c449a911140632dcc114fc908
Alexander Galazin [Thu, 12 Jan 2017 11:53:30 +0000 (12:53 +0100)]
Fix VkCmdImageBlit usage in blitting tests
Some tests call VkCmdImageBlit with a 2D destination image and a region
with dstOffset[0].z=1, dstOffset[1].z=0.
The spec says that it should be the opposite.
Affects:
dEQP-VK.api.copy_and_blit.blit_image.simple_tests.mirror_xy_nearest
dEQP-VK.api.copy_and_blit.blit_image.simple_tests.mirror_y_nearest
Components: Vulkan
Fixes Vulkancts issue: #576
Change-Id: Iaa05f3b38cd46c39d313bd044b37535c112b77dd
Maciej Jesionowski [Tue, 10 Jan 2017 12:15:45 +0000 (13:15 +0100)]
Use deAlign64 in api.buffer and sparse_resources
Change-Id: I087d99db106555a806c6864e67c9af12fb5c67b2
Maciej Jesionowski [Tue, 10 Jan 2017 12:09:14 +0000 (13:09 +0100)]
Add deInt64 alignment functions to delibs
Change-Id: Icf66e7157ae6e972e0d7ef19486fa5b776da1eb0
Alexander Galazin [Wed, 11 Jan 2017 07:49:11 +0000 (08:49 +0100)]
Revert "Generate flat triangles in polygon offset tests."
This reverts commit
b95e37d04894664aae9cb96a38063684fb4a070d.
Alexander Galazin [Wed, 11 Jan 2017 07:37:13 +0000 (08:37 +0100)]
Generate flat triangles in polygon offset tests.
The tests setup triangles with a depth slope and then call
glPolygonOffset(factor, units) with variable units and
always 0 slope scaled factor.
According to the GLES 3.2 spec 13.7.2 Depth Offset:
"void PolygonOffset( float factor, float units );
factor scales the maximum depth slope of the polygon, and units scales an
implementation-dependent constant that relates to the usable resolution of the
depth buffer."
If the polygon has a depth slope,
the depth slope factor has to be not equal to zero.
The rationale of the slope scaled factor is to ensure that the offset
(equation 13.11) is greater than max(dz/dx, dz/dy) for all resolutions,
which may not be the case for the constant offset since it doesn't take
the screen resolution into account.
Change-Id: Ic87d641f814e2f977ccccc45944bef7f4e254add
Pyry Haulos [Tue, 10 Jan 2017 20:21:17 +0000 (12:21 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: I027046f847315da035a19ae1267d18bea84e67b2
Pyry Haulos [Tue, 10 Jan 2017 20:21:14 +0000 (12:21 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I104cae5b8ad882dbead6e15b6cf6514b8b9f48cd
Pyry Haulos [Tue, 10 Jan 2017 20:20:15 +0000 (12:20 -0800)]
Update mustpass version to 1.0.2 in README.md
Change-Id: Ia683c10238ede6a712a46d14d936ef0032937e9e
Pyry Haulos [Tue, 10 Jan 2017 20:18:40 +0000 (12:18 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: I3a85bd404f90b45cfb1305f6125c236518ffa4f4
Pyry Haulos [Tue, 10 Jan 2017 20:18:34 +0000 (12:18 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I74387a3ed98feb4162b3d49a411cb220d0f050e9
Pyry Haulos [Sun, 8 Jan 2017 22:42:32 +0000 (14:42 -0800)]
Allow unknown KHX extensions
Affects:
dEQP-VK.api.info.instance.extensions
dEQP-VK.api.info.device.extensions
Change-Id: Iece3f83514f5f6e197fd0c1e1cf628f7cfe68bd2
Weiwan Liu [Fri, 23 Dec 2016 00:25:19 +0000 (16:25 -0800)]
Correct expected error to INVALID_OPERATION
Correct error code per ES 3.2 spec:
"An INVALID_OPERATION error is generated if attachment is
COLOR_ATTACHMENTm where m is greater than or equal to the
value of MAX_COLOR_ATTACHMENTS."
Change-Id: I5ee47fbb5d1f099d62cee9e20fd8ae0b55d766b3
Maciej Jesionowski [Mon, 9 Jan 2017 11:05:32 +0000 (12:05 +0100)]
Remove pooled objects from alloc_callback_fail group
The pooled objects (VkDescriptorSet and VkCommandBuffer) are properly
handled in the alloc_callback_fail_multiple group. The removed cases
were redundant, and also didn't work correctly with pooled objects.
Removed tests:
- dEQP-VK.api.object_management.alloc_callback_fail.descriptor_set
- dEQP-VK.api.object_management.alloc_callback_fail.command_buffer_primary
- dEQP-VK.api.object_management.alloc_callback_fail.command_buffer_secondary
Change-Id: I212b544096e6e1fd5b98c7985d836e41247107e9
Alexander Galazin [Mon, 9 Jan 2017 14:17:02 +0000 (15:17 +0100)]
Skip anisotropic filtering tests if the feature is not supported.
dEQP-VK.texture.filtering_anisotropy.* tests assume that an
implementation supports anisotropic filtering and should be skipped in
case VkPhysicalDeviceFeatures::samplerAnisotropy is VK_FALSE.
Fixes #570
Change-Id: I0601fe67a0e81b71670dac7ec8b83b4dc35c576c
Anuj Phogat [Fri, 30 Sep 2016 17:46:49 +0000 (10:46 -0700)]
ES{2,3}: Clamp the x, y location of the viewport's bottom-left corner
Affected tests:
dEQP-GLES2.functional.state_query.integers.viewport_getfloat
dEQP-GLES2.functional.state_query.integers.viewport_getinteger
dEQP-GLES3.functional.state_query.integers.viewport_getfloat
dEQP-GLES3.functional.state_query.integers.viewport_getinteger
dEQP-GLES3.functional.state_query.integers.viewport_getinteger64
Above CTS tests are not clamping the x, y location of the viewport's
bottom-left corner as recommended by ARB_viewport_array and
OES_viewport_array.
Tests later compare the clamped x, y values read back from the driver
with reference unclamped x, y values resulting in to false failures.
From OES_viewport_array:
"The location of the viewport's bottom-left corner, given by (x,y), are
clamped to be within the implementation-dependent viewport bounds range.
The viewport bounds range [min, max] tuple may be determined by calling
GetFloatv with the symbolic constant VIEWPORT_BOUNDS_RANGE_OES"
Change-Id: I380e0d03291d3b4b8cbc698ff80624860b0f2f05
(cherry picked from commit
555ed53736072fc9b50993cbc0550a70902a0bf9)
Maciej Jesionowski [Thu, 5 Jan 2017 10:21:40 +0000 (11:21 +0100)]
Update zlib and libpng dependencies
Fixes #568
Change-Id: I8ee890a2176bf6d42d3dd8b119b7263034127960
(cherry picked from commit
8744b7d393cbdba8a2c356e9d4e4d625b9468f9a)
Anuj Phogat [Fri, 30 Sep 2016 17:46:49 +0000 (10:46 -0700)]
ES{2,3}: Clamp the x, y location of the viewport's bottom-left corner
Affected tests:
dEQP-GLES2.functional.state_query.integers.viewport_getfloat
dEQP-GLES2.functional.state_query.integers.viewport_getinteger
dEQP-GLES3.functional.state_query.integers.viewport_getfloat
dEQP-GLES3.functional.state_query.integers.viewport_getinteger
dEQP-GLES3.functional.state_query.integers.viewport_getinteger64
Above CTS tests are not clamping the x, y location of the viewport's
bottom-left corner as recommended by ARB_viewport_array and
OES_viewport_array.
Tests later compare the clamped x, y values read back from the driver
with reference unclamped x, y values resulting in to false failures.
From OES_viewport_array:
"The location of the viewport's bottom-left corner, given by (x,y), are
clamped to be within the implementation-dependent viewport bounds range.
The viewport bounds range [min, max] tuple may be determined by calling
GetFloatv with the symbolic constant VIEWPORT_BOUNDS_RANGE_OES"
Change-Id: I380e0d03291d3b4b8cbc698ff80624860b0f2f05
Nicolai Hähnle [Thu, 22 Dec 2016 14:54:02 +0000 (15:54 +0100)]
DrawElementsBaseVertexTestBase: add missing '}'
Fixes GL45-CTS.draw_elements_base_vertex_tests.invalid_*
Change-Id: I1d1a3a1e326340631c1b4def18f7fa1fdc0c36a9
Nicolai Hähnle [Mon, 12 Dec 2016 09:10:52 +0000 (10:10 +0100)]
DrawElementsBaseVertexTestBase: call base class init() method
Without it, test fail with:
InternalError (Value for parameter 'VERSION' not found in map at tcuStringTemplate.cpp:113)
because the shader m_specializationMap is not initialized.
Change-Id: I993ae7a5f16be4f00b1c10b3013ae0333ef9777d
Pyry Haulos [Fri, 6 Jan 2017 20:45:02 +0000 (12:45 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: I326010e9a243d5c94c63d23c48c39e1dcab34320
Pyry Haulos [Fri, 6 Jan 2017 20:44:58 +0000 (12:44 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I5d98762111c8dba323a81a7179026d009f39934e
Pyry Haulos [Fri, 6 Jan 2017 20:44:56 +0000 (12:44 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0.2
Change-Id: Ic1b09c684e6535fcaba6e4d7dd407b2fbbe40b6d
Pyry Haulos [Wed, 4 Jan 2017 22:30:07 +0000 (14:30 -0800)]
Optimize swapchain OOM tests
Swapchain OOM tests were hitting timeouts on some platforms. This commit
optimizes the tests in two ways:
* VkInstance, VkDevice, and VkSurface are now re-used across all
sub-cases.
* Loop is re-written to avoid re-creating swapchains for parameters
0..N-1 when testing parameter combination N.
Affects: dEQP-VK.wsi.*.swapchain.simulate_oom.*
Bug:
33555898
Change-Id: Ib5e1a4944e4c400a5d430c5a3d20fe0930c6eed0
Lionel Landwerlin [Fri, 23 Dec 2016 17:11:14 +0000 (17:11 +0000)]
Skip unsupported attachment formats in granularity tests
Change-Id: Iffbd79d0ddb3c212f75895c266b3e3ec7d2a01da
Lionel Landwerlin [Fri, 23 Dec 2016 17:37:56 +0000 (17:37 +0000)]
Fix framebuffer number of layers in granularity tests
Change-Id: Idf2f1ee6f6f9ab5996ad5d07a7fed84241c57e9b
Pyry Haulos [Wed, 4 Jan 2017 21:46:48 +0000 (13:46 -0800)]
Reset Android window state when it is released
This avoids leaking window state between tests in WSI tests.
Affects: dEQP-VK.wsi.android.*
Change-Id: I618485fbbc1bb83c86437bb04fbcbfa65b4c04c2
Jason Ekstrand [Tue, 6 Dec 2016 14:27:56 +0000 (15:27 +0100)]
Add OpSMod and OpSRem tests
New tests:
- dEQP-VK.spirv_assembly.instruction.compute.opsrem.positive
- dEQP-VK.spirv_assembly.instruction.compute.opsrem.all
- dEQP-VK.spirv_assembly.instruction.compute.opsmod.positive
- dEQP-VK.spirv_assembly.instruction.compute.opsmod.all
- dEQP-VK.spirv_assembly.instruction.graphics.srem.positive_*
- dEQP-VK.spirv_assembly.instruction.graphics.srem.all_*
- dEQP-VK.spirv_assembly.instruction.graphics.smod.positive_*
- dEQP-VK.spirv_assembly.instruction.graphics.smod.all_*
Fixes #520
Change-Id: I16fe1e920960b7537ef097952e48dcdcc9141246
Zoltan Janos Szabo [Thu, 17 Nov 2016 11:53:14 +0000 (12:53 +0100)]
Add getDeviceMemoryCommitment test
Fixes #553
Change-Id: Ia029f895e5f13187a2bc0fb11c583ab3119f48f7
Pyry Haulos [Thu, 5 Jan 2017 18:24:10 +0000 (10:24 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: I0e30246d8afce9f4b3704c941c57e9fe88098268
Pyry Haulos [Thu, 5 Jan 2017 18:04:19 +0000 (10:04 -0800)]
Merge aosp/master into gerrit/vulkan-cts-1.0-dev
Change-Id: I6d61156e336937d8c2f534a410b6f2a92987f037
Pyry Haulos [Thu, 5 Jan 2017 17:58:20 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: If9a06423b0fb4be658187ee4df49817dcc9b0394
Pyry Haulos [Thu, 5 Jan 2017 17:58:17 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: If550d50796597ec466efb30b1cbbd9aab4b13890
Pyry Haulos [Thu, 5 Jan 2017 17:58:15 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0.2
Change-Id: I4dc1513b1528b8182cfd75f4ed9184fa8f383e47
Pyry Haulos [Thu, 5 Jan 2017 17:58:14 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Change-Id: I3ace822f33fb20acd6109886458b0d16c1624bd5
Iago Toral Quiroga [Mon, 2 Jan 2017 11:22:29 +0000 (12:22 +0100)]
Fix assert for combined depth/stencil formats
This was using tcu::isCombinedDepthStencilType(format.type) for this,
but this only checks the type and for 24bit depth formats with a
x8 d24 setup it will incorrectly identify them as combined
depth/stencil even though the underlying format is depth-only. Fix
this by testing if the format has depth and stencil components
instead.
Prevents crashes in tests with the following signature (144 tests):
dEQP-VK.texture.shadow.*x8_d24*
Fixes #563
Change-Id: Ie43e140a0461de49c02e0d97eeed38fa8ef24040
Maciej Jesionowski [Thu, 15 Dec 2016 15:45:31 +0000 (16:45 +0100)]
Fix buffer size and alignment issues in api.buffer
- Don't use maxTexelBufferElements, it doesn't apply here
- Remove unused throw/catch blocks (catch block was never reachable)
- Add a case that exercises huge buffer sizes
- Add a check for sparseAddressSpaceSize
Modified tests:
- dEQP-VK.api.buffer.create_buffer_*
Fixes #558
Change-Id: Ia6b46d8c34a4eef4a6136532d0cb626d0b64b560
Maciej Jesionowski [Thu, 5 Jan 2017 10:21:40 +0000 (11:21 +0100)]
Update zlib and libpng dependencies
Fixes #568
Change-Id: I8ee890a2176bf6d42d3dd8b119b7263034127960
Treehugger Robot [Wed, 4 Jan 2017 19:03:50 +0000 (19:03 +0000)]
Merge "Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master"
Pyry Haulos [Wed, 4 Jan 2017 18:52:48 +0000 (18:52 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass
am:
302bd7c6b3 -s ours
Change-Id: I1cefd7be538f766444576ae02a4b28b639a3e8cb
Pyry Haulos [Wed, 4 Jan 2017 18:52:44 +0000 (18:52 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass
am:
09e8b66d03 -s ours
Change-Id: I595b0c3b589b73c806145602957875b57cffe84a
Pyry Haulos [Wed, 4 Jan 2017 17:32:13 +0000 (09:32 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: Id23cc2f5a2ff4238fbf56d8c9cd4330dd166971a
Mark Adams [Wed, 14 Dec 2016 22:02:52 +0000 (17:02 -0500)]
Add support for EGL_EXT_pixel_format_float
This updates the egl.xml version and identifies/skips the float configs
Bug:
32969314
Change-Id: Iadeb0d4a76a06b2be716f3e76a1cc9fb69aff16a
Pyry Haulos [Wed, 4 Jan 2017 16:20:43 +0000 (08:20 -0800)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass
NYC CTS bug-fix changes the SPIR-V for these tests causing drivers that
passed old CTS fail the new version.
Bug:
33041922
Change-Id: I7e23a700693d5e6ee7c4264e05d449f49f820516
Pyry Haulos [Wed, 4 Jan 2017 00:45:19 +0000 (16:45 -0800)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass
Original NYC CTS was decorating struct member locations differently and
this was later fixed causing drivers that pass original NYC CTS fail.
Bug:
34060750
Bug:
33041922
Change-Id: I3fe33960a74fb8f568aa7e1327bc09de8bc3df41
Pyry Haulos [Wed, 4 Jan 2017 00:43:24 +0000 (16:43 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: Icef189b9af29e090fbb4940af970d91951c2d6e6
Pyry Haulos [Wed, 4 Jan 2017 00:43:21 +0000 (16:43 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I598c6d52ece7b00a8dd0af10b31ea144ebc6ba80
Pyry Haulos [Wed, 4 Jan 2017 00:42:53 +0000 (16:42 -0800)]
Revert "Add new files to Android.mk"
This reverts commit
4ed5a72717f9dc776f7f63aa21aca2c727524d0f.
Pyry Haulos [Wed, 4 Jan 2017 00:25:16 +0000 (16:25 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: Ieccd2e74ca11d5a4b7b06f78bae0094e5a870b69
Pyry Haulos [Wed, 4 Jan 2017 00:25:13 +0000 (16:25 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I33cca201217f9c9a258c61e0bb6178bb7694a96e
Pyry Haulos [Wed, 4 Jan 2017 00:24:51 +0000 (16:24 -0800)]
Add new files to Android.mk
Change-Id: Ib396f9504a3b5523314cd2d5ab9375a346dbb219
Pyry Haulos [Wed, 4 Jan 2017 00:20:18 +0000 (16:20 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: I6ae311b56b24f91aae76a908b8086bcc8afeaacf
Pyry Haulos [Wed, 4 Jan 2017 00:20:14 +0000 (16:20 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I4b9cb490746a875501c5213b0a5899a3a487be03
Pyry Haulos [Wed, 4 Jan 2017 00:07:06 +0000 (16:07 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0.2
Jorg Wagner [Thu, 15 Dec 2016 21:52:06 +0000 (22:52 +0100)]
Skip integer formats that expose a max. sample count of 1
Actually fixes #538
As agreed in the ticket we need to skip integer formats if they
need to be sampled and only expose a max. sample count of 1.
Change-Id: Ia67c8d84cedcae09804e83cfefeb279b329d07b9
Kalle Raita [Fri, 16 Dec 2016 17:45:41 +0000 (09:45 -0800)]
install.py continues if adb uninstall fails
ADB uninstall fails with non-zero return code if the package to be
uninstalled does not exist. To allow the installation proceed when
there's no previous package, the non-zero return value should be ignored
for the uninstall step.
There are historical reasons for not relying on -r -d for
install (replace, allow downgrade), which I can't recall right now.
Test: Installed succesfully on device without deqp package.
Bug:
33961937
Change-Id: I401f3861f8d68f352747c041bd60cd372b48134b
Tina Zhou [Thu, 22 Dec 2016 05:20:13 +0000 (05:20 +0000)]
Merge "Blacklist match_different_[member_]struct_names SSO validation tests." into nougat-cts-dev
am:
4acf725866
Change-Id: I2cc66f7fb73fecf721da7704aa5a35384c5f5d4d
David Sodman [Thu, 22 Dec 2016 03:06:13 +0000 (19:06 -0800)]
resolve merge conflicts of b81edb4 to master
Change-Id: I16c7230358a1758afe1bc9ca2b22ae6eff2490b7
Tina Zhou [Thu, 22 Dec 2016 02:34:59 +0000 (02:34 +0000)]
Merge "Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048" into nougat-cts-dev
am:
ce7ccaab4a
Change-Id: I36f440b4feadda51d9a47c856a820986800c387b
Pyry Haulos [Thu, 22 Dec 2016 02:34:59 +0000 (02:34 +0000)]
Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048
am:
a42836566d
Change-Id: I6cf9f214b1a66360823af5fb219860454bc5a275
Tina Zhou [Thu, 22 Dec 2016 02:34:38 +0000 (02:34 +0000)]
Merge changes I7c2ffd66,Ib53b245d,I4862cca3 into nougat-cts-dev
am:
4812d6d47f
Change-Id: I6c5c6201bedac30702f65c2633454dc6bd27b4a5
Pyry Haulos [Thu, 22 Dec 2016 02:34:37 +0000 (02:34 +0000)]
Update glslang to d02dc5d
am:
b0ce1f083e -s ours
Change-Id: I12b4d9962c21073cfc89766b87049f4140d69f2a
Pyry Haulos [Thu, 22 Dec 2016 02:34:36 +0000 (02:34 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes
am:
ef29b7735d -s ours
Change-Id: I05ec2bc33b606a2500f7991e60a9823b08a5868d
Pyry Haulos [Thu, 22 Dec 2016 02:34:35 +0000 (02:34 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
am:
e71e3bbacd
Change-Id: Id4477e4ab350a34791c9a59bec747d487b31d5c5
Tina Zhou [Wed, 21 Dec 2016 22:32:08 +0000 (22:32 +0000)]
Merge "Blacklist match_different_[member_]struct_names SSO validation tests." into nougat-cts-dev
Tina Zhou [Wed, 21 Dec 2016 22:31:04 +0000 (22:31 +0000)]
Merge "Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048" into nougat-cts-dev
Tina Zhou [Wed, 21 Dec 2016 22:30:03 +0000 (22:30 +0000)]
Merge changes I7c2ffd66,Ib53b245d,I4862cca3 into nougat-cts-dev
* changes:
Update glslang to d02dc5d
Cherry-pick SPIR-V ClipDistance validation fixes
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
Maciej Jesionowski [Wed, 21 Dec 2016 11:20:28 +0000 (12:20 +0100)]
Correct a typo in blit image test case names
Modified test names:
- dEQP-VK.api.copy_and_blit.blit_image.simple_tests.*
Change-Id: I20b09407101eb3e395d10f324e9f402f5c1c4b77
Maciej Jesionowski [Wed, 21 Dec 2016 11:20:28 +0000 (12:20 +0100)]
Correct a typo in blit image test case names
Modified test names:
- dEQP-VK.api.copy_and_blit.blit_image.simple_tests.*
Change-Id: Ia62b9f616466b919f1e92d0a74714586ccc6e313
Nicolas Boichat [Tue, 20 Dec 2016 18:59:40 +0000 (18:59 +0000)]
GetDevices: Also allow `\.` to be part of the host name am:
dbf9715509
am:
133c610be6
Change-Id: I21054992a16e3e6847a8af086528f4172602d614
Nicolas Boichat [Tue, 20 Dec 2016 18:55:24 +0000 (18:55 +0000)]
GetDevices: Also allow `\.` to be part of the host name
am:
dbf9715509
Change-Id: I659ce579867c7ca0c9b47e3b53a734265e0fbb26
Andres Gomez [Tue, 29 Nov 2016 15:42:16 +0000 (17:42 +0200)]
GL_ARB_arrays_of_arrays: unsized dimension only array's outermost
From the GL_ARB_arrays_of_arrays spec:
"For unsized arrays, only the outermost dimension can be lacking a
size. A type that includes an unknown array size cannot be formed
into an array until it gets an explicit size."
This is later further detailed as per OpenGL® Shading Language 4.40.
From page 3 (page 9 of the PDF) of the GLSL 4.00 v9 spec:
"* Bug 11987: Allow array-of-array constructors and initialized
variables to have any dimension unsized (not just the outer
dimension) and get their size from the content of the constructor
or initializer."
From page 37 (page 43 of the PDF) of the GLSL 4.00 v9 spec:
" vec4 a[][] = { vec4[2](vec4(0.0), vec4(1.0)), // okay, size to
vec4[2](vec4(0.0), vec4(1.0)), // a[3][2]
vec4[2](vec4(0.0), vec4(1.0)) };"
From page 38 (page 44 of the PDF) of the GLSL 4.00 v9 spec:
"For implicitly-sized or run-time-sized arrays, only the outermost
dimension can be lacking a size. A type that includes an unknown
array size cannot be formed into an array until it gets an explicit
size, except for shader storage blocks where the only unsized array
member is the last member of the block."
Hence, in the absence of a constructor/initializer, unsized arrays are
only allowed for the outermost dimension of an AoA.
Fixes #22.
Change-Id: I0ca0488d6fa29f37578df2270d87ee72b4ecb944
Filip Demczewski [Fri, 2 Dec 2016 10:03:09 +0000 (11:03 +0100)]
Moved GL_KHR_blend_equation_advanced tests to common module
Change-Id: Iaa2d4cc117d756db7226641abb20cc4db7cccf0f
Alejandro Piñeiro [Tue, 29 Nov 2016 12:11:59 +0000 (10:11 -0200)]
ImageLoadStoreMultipleUniformsTest: fix reversed bit-field overflow check
This class has a templated Mask struct used to store and access
bit-fields. In includes a specialization that is used if the offset is
bigger that the bitfield, that raises assert.
Without this patch, the check is reversed, so it fails on cases where
the offset is correct.
This patch changes the condition. An alternative would be change the
value of the specialization with asserts. I found this option more
natural.
This fixes the following test:
GL45-CTS.shader_image_load_store.multiple-uniforms
on the Mesa driver for Intel Haswell hw. It makes it goes from
crash to fail on Broadwell/Skylake.
Change-Id: I7341a542ad925e55ab8a6c95373567b4ea58434f
Alexander Galazin [Fri, 16 Dec 2016 09:50:58 +0000 (10:50 +0100)]
Smarter verification of configs to be tested for ES
Change-Id: I153cdd317228574bece32b87525e20acb52e16ab
Alexander Galazin [Fri, 16 Dec 2016 07:39:34 +0000 (08:39 +0100)]
Move GLES mustpass to external/openglcts/data/mustpass/gles
Change-Id: I4d1ec0d32504adb59e513e3bec5445283fb530e9
Alexander Galazin [Thu, 15 Dec 2016 18:36:36 +0000 (19:36 +0100)]
Update GL CTS README
Passing Criteria
* Remove duplicate sub-item in item 4
* Replace spelled numbers with digits
Running the tests on Android
* Enumerate available acitivites
Creating a submission package
* Typos
Change-Id: I76afa20a257ef91357ca0ad0d135964d9fbf94ec
Kalle Raita [Thu, 15 Dec 2016 23:29:39 +0000 (23:29 +0000)]
Merge "Non-compressed copy image target size (64,64,8)"
Alexander Galazin [Thu, 15 Dec 2016 16:49:17 +0000 (17:49 +0100)]
Reformatting glcViewportArrayTests.cpp
Change-Id: Ic5d6ca4dc5a0016592bb5fb492880c6cbb1ea037
Alexander Galazin [Mon, 12 Dec 2016 13:03:36 +0000 (14:03 +0100)]
Documentation updates in preparation for the new release.
README restructuring, more detailed process
of creating a submission package.
Change-Id: Ie20291d3dafdbffda990a010d7fe85a04f6571c3
Alexander Galazin [Wed, 14 Dec 2016 16:35:11 +0000 (17:35 +0100)]
Updates to submission verification script
Change-Id: I4c2a3c897ceeecdcac586fad022a34ca18041b0d
james.glanville [Thu, 15 Dec 2016 09:49:12 +0000 (09:49 +0000)]
Do not run against EGL_EXT_yuv_surface configs
Change-Id: I95750b2318c00d7d47d23076ee812dc33ad6445f
Shane del Solar [Fri, 11 Nov 2016 02:32:05 +0000 (18:32 -0800)]
Fix uninitialized char arrays in ProgramInterfaceQueryTests.
Replicated from OpenGL/CTS Merge Request 432.
This patch initializes all of the char arrays in
the ProgramInterfaceQueryTests in the OpenGL and OpenGL ES versions of
conformance. Since they are char arrays
we should initialize them to the null terminator.
The motivation here is to prevent the verification script from
encountering unparsable tokens in the qpa result files from conformance.
This patch fixesOpengGL OSS-CTS issue 4.
Change-Id: Ia95742db876520d911b91039402dee46bbc6ebfe
Alexander Galazin [Wed, 14 Dec 2016 14:23:02 +0000 (15:23 +0100)]
Avoid double registering of dEQP modules on Android
Change-Id: I0a5fad29f1bb831f891cdae0459779f513c7d282
Pyry Haulos [Thu, 15 Dec 2016 14:42:59 +0000 (06:42 -0800)]
Merge gerrit/vulkan-cts-1.0-dev into gerrit/opengl-cts-dev
Change-Id: I061ec26cc7b0e645a5c226659d051e7e12857d90
Pyry Haulos [Thu, 15 Dec 2016 14:42:56 +0000 (06:42 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0-dev
Change-Id: I92ebeef47df62646fb9fd2743991c43cd8893bda