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
Xin Li [Thu, 12 Jan 2017 23:21:25 +0000 (15:21 -0800)]
Skip commit '
302bd7c6b3d468e33b19b693a25d67f2b54b961c' on
nougat-mr1-cts-dev.
BUG:
33090058
Change-Id: Ife934b6694e07b2231070cc5d05865fed78e67c4
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
Xin Li [Thu, 12 Jan 2017 23:09:38 +0000 (15:09 -0800)]
Merge commit '
09e8b66d03077e9a9b310145112cfd0e747e06f3' from
nougat-cts-dev to nougat-cts-mr1-dev.
BUG:
33090058
Change-Id: I7a8bacd16b5d98255987c5632e73dd823d8643be
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
Tapani Plli [Thu, 12 Jan 2017 16:47:39 +0000 (16:47 +0000)]
tcuX11: fix to wait for matching ConfigureNotify am:
0cfa22d49d
am:
0cf2b91e28
Change-Id: I65c6d6b7af787bb34fa7dbb2e0e589170d7fc674
Tapani Plli [Thu, 12 Jan 2017 16:43:39 +0000 (16:43 +0000)]
tcuX11: fix to wait for matching ConfigureNotify
am:
0cfa22d49d
Change-Id: I5b4d57a781ab1179ef8e10fdc538bf128d1d4981
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
Tapani Pälli [Wed, 11 Jan 2017 06:37:54 +0000 (08:37 +0200)]
tcuX11: fix to wait for matching ConfigureNotify
Patch adds a loop to setDimensions that spins until exact
matching ConfigureNotify event is caught. This is done to make
sure X has updated the window size before we get further.
New processEvent method is added so that we can handle possible
WM_DELETE_WINDOW message during the loop as suggested by Pyry.
Test: run dEQP-EGL.functional.resize* on different configurations
Change-Id: Ic32243e9b25ea6cbdb5a7ab6bfccc7a196f1a5b8
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Pyry Haulos [Tue, 10 Jan 2017 22:18:38 +0000 (22:18 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am:
47d74e847e
am:
c7c28e6fa6
Change-Id: Ie15ee5b0dd59291458e17d6d48fd0bd984be316f
Pyry Haulos [Tue, 10 Jan 2017 22:13:08 +0000 (22:13 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
47d74e847e
Change-Id: Idc25bc42a5fd9dd34828348b82265d6adf02229b
Pyry Haulos [Tue, 10 Jan 2017 20:34:46 +0000 (12:34 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I3db5264ca20d64d152a9407fcdd1ac7f7c47b45c
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 [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
Kalle Raita [Mon, 9 Jan 2017 18:49:56 +0000 (18:49 +0000)]
Merge "Remove two read-backs from copy image tests" am:
7c1eed0087
am:
000f76f35b
Change-Id: I3dc4df32ca47ab1d4ea9aad73c52a8a87db50630
Kalle Raita [Mon, 9 Jan 2017 18:44:27 +0000 (18:44 +0000)]
Merge "Remove two read-backs from copy image tests"
am:
7c1eed0087
Change-Id: I7f5dec4e41e0efee7bcb715167165a5af924cb5d
Kalle Raita [Mon, 9 Jan 2017 18:35:10 +0000 (18:35 +0000)]
Merge "Remove two read-backs from copy image tests"
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
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
(cherry picked from commit
2beac9057d9113ac306632d819ded852691a6842)
Change-Id: I19e9c7c8012a82cd12322a733afab961f4c7a1ae
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
Pyry Haulos [Fri, 6 Jan 2017 22:38:23 +0000 (22:38 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am:
dd932ed858
am:
a0b7513d8a
Change-Id: I1b89580c4e8be4993d5d32624d510517689006e2
Pyry Haulos [Fri, 6 Jan 2017 22:34:22 +0000 (22:34 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
dd932ed858
Change-Id: I9f9dc0b846300251f91415f6f36cc94d76860e8b
Pyry Haulos [Fri, 6 Jan 2017 20:45:52 +0000 (12:45 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I650f4ef2c848a0957f652b3bf8b17ee7a7e4319c
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
Kenneth Graunke [Mon, 12 Sep 2016 19:37:08 +0000 (12:37 -0700)]
Fix internal format/type for ES3 3D + depth/stencil negative API tests.
This is a port of commit
ae7f8e0a07730e693b24d3dc7a23d2372319145e from
the ES 3.1 tests to the ES 3.0 tests.
According to the ES 3.2 specification:
"Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
or STENCIL_INDEX are supported by texture image specification commands
only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
Using these formats in conjunction with any other target will result in
an INVALID_OPERATION error."
This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.
We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.
Affects dEQP-GLES3.functional.negative_api.texture.teximage3d.
Bug:
34103293
Change-Id: Ie01e2d130bb1cadc821153487e3e41593e3ca15e
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
Nicolas Boichat [Sun, 18 Dec 2016 16:13:28 +0000 (00:13 +0800)]
Fix eglBindAPI negative test
It is ok for an implementation to not fail eglBindAPI if the current
display does not support the specified client API. However, in that
case, getConfig must not return any configuration for that specific
API.
Bug:
33278378
Affects: dEQP-EGL.functional.negative_api.bind_api
Test: Deploy to elm Chromebook, run with Cherry, test passes.
Change-Id: Idb86971de7a30e1aa78bb0951f971ed2829e2794
Maciej Jesionowski [Thu, 5 Jan 2017 10:21:40 +0000 (11:21 +0100)]
Update zlib and libpng dependencies
Fixes #568
Change-Id: I8ee890a2176bf6d42d3dd8b119b7263034127960
Pyry Haulos [Wed, 4 Jan 2017 20:05:55 +0000 (20:05 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours am:
fb82c2f3ed am:
0ae27e7ebe am:
4f3a58d096
am:
05dbe9e32b -s ours
Change-Id: Ia31e62a497896a9a443b9f66f433cd9e3840c779
Pyry Haulos [Wed, 4 Jan 2017 20:05:52 +0000 (20:05 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours am:
5cdea1cc60 am:
7bc5d2910f am:
d45c6244d5
am:
d4f55ad2fc -s ours
Change-Id: I8491685cb75c84b840ae0a6d1e51be9409c18189
Pyry Haulos [Wed, 4 Jan 2017 19:11:26 +0000 (19:11 +0000)]
Merge "Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master" am:
736c624044
am:
932d0bdeb9
Change-Id: I80685f224ab8f36ffda46d8c1de10d48d75d033f
Pyry Haulos [Wed, 4 Jan 2017 19:11:15 +0000 (19:11 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am:
2d64b0f13c
am:
8777374f40
Change-Id: I7df8be7830c97ff73861706991070532c12ca438
Pyry Haulos [Wed, 4 Jan 2017 19:08:45 +0000 (19:08 +0000)]
Merge "Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master"
am:
736c624044
Change-Id: I2deda8973d9320fa2955bedab4a1f0df91437da8
Pyry Haulos [Wed, 4 Jan 2017 19:08:45 +0000 (19:08 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
2d64b0f13c
Change-Id: I6687c416da26d524ddcf03ff4f9436e5dfd8980e
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 19:01:48 +0000 (19:01 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours am:
6e07797321 -s ours
am:
59cbc8ca5c -s ours
Change-Id: I2cc8d513790fb98a2b25c1cc6fa999334aec9891
Pyry Haulos [Wed, 4 Jan 2017 19:01:46 +0000 (19:01 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours am:
fb82c2f3ed am:
0ae27e7ebe
am:
4f3a58d096
Change-Id: I66e5d609d08b51f52638c7fa9e96f1bbceb983b6
Pyry Haulos [Wed, 4 Jan 2017 19:01:44 +0000 (19:01 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours am:
5cdea1cc60 am:
7bc5d2910f
am:
d45c6244d5
Change-Id: I190fac6a22a3233cdcdf57465eabb271ab85a124
Pyry Haulos [Wed, 4 Jan 2017 19:01:43 +0000 (19:01 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours am:
bea56ac1e8 -s ours
am:
f3191b63b7 -s ours
Change-Id: I2dee48011015af371ac1bd244d0f5b3f72f22932
Pyry Haulos [Wed, 4 Jan 2017 18:59:24 +0000 (18:59 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours
am:
6e07797321 -s ours
Change-Id: I6648789d8233bec4f5f06cf30149aa277af65277
Pyry Haulos [Wed, 4 Jan 2017 18:59:17 +0000 (18:59 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours am:
fb82c2f3ed
am:
0ae27e7ebe
Change-Id: I7fcc1d4237db9ea395b85bcdedc7acf340751c8d
Pyry Haulos [Wed, 4 Jan 2017 18:59:15 +0000 (18:59 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours
am:
bea56ac1e8 -s ours
Change-Id: I022e79b7061b6afe689cf94de6ee6571a0d08ff8
Pyry Haulos [Wed, 4 Jan 2017 18:59:14 +0000 (18:59 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours am:
5cdea1cc60
am:
7bc5d2910f
Change-Id: Id9d584f16b6b43190528aa93945ae479520ada47
Pyry Haulos [Wed, 4 Jan 2017 18:56:50 +0000 (18:56 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours
am:
fb82c2f3ed
Change-Id: Ie61b8831c62b3559950b721707830f3fed3cd5c4
Pyry Haulos [Wed, 4 Jan 2017 18:56:46 +0000 (18:56 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours
am:
5cdea1cc60
Change-Id: Iac6064074cf31d05563b47e90167fde94a641fde
Pyry Haulos [Wed, 4 Jan 2017 18:54:14 +0000 (18:54 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass
am:
302bd7c6b3 -s ours
Change-Id: I452742de754cbfad9bbd8633f7ecbc911c6dc172
Pyry Haulos [Wed, 4 Jan 2017 18:54:12 +0000 (18:54 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass
am:
09e8b66d03 -s ours
Change-Id: Ibf74d17b9c30903c3c9fca20443330ba4f72ae7e
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
Mark Adams [Wed, 4 Jan 2017 18:47:14 +0000 (18:47 +0000)]
Add support for EGL_EXT_pixel_format_float am:
08d24954e0
am:
571b73ee95
Change-Id: I7d56d5a8a4edba4b68aec10d90a2dff7640e17d5
Mark Adams [Wed, 4 Jan 2017 18:45:13 +0000 (18:45 +0000)]
Add support for EGL_EXT_pixel_format_float
am:
08d24954e0
Change-Id: I40b0f3d8ea9630deceb134487903e2379b72d6de
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: Iacfdf6b1c32c86ea0e6f80ca7ebaaeef583d1135
Merged-In: Iadeb0d4a76a06b2be716f3e76a1cc9fb69aff16a
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:42:53 +0000 (16:42 -0800)]
Revert "Add new files to Android.mk"
This reverts commit
4ed5a72717f9dc776f7f63aa21aca2c727524d0f.
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: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, 30 Dec 2016 00:16:25 +0000 (00:16 +0000)]
install.py continues if adb uninstall fails am:
a8253801a6
am:
282854f393
Change-Id: Iaa88aa32f19b9e3114521164d34a4d8f7b00c881
Kalle Raita [Fri, 30 Dec 2016 00:07:54 +0000 (00:07 +0000)]
install.py continues if adb uninstall fails
am:
a8253801a6
Change-Id: Ic67460235787fc21a942287f1c8e5e9cae096b05
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
Xin Li [Wed, 28 Dec 2016 20:50:25 +0000 (20:50 +0000)]
Cherry-pick the following missing commits from nyc-mr1-dev prior to b/
33090058, which was lost as a result of merge
01c922fc267ea41cc1c6cb83cde7ba6da200dc38: am:
77f62518ec
am:
3d11686e0e
Change-Id: I113f3f7c10bd5ce44b0cfd6ce2d1d0ac8102fc5f
Xin Li [Wed, 28 Dec 2016 20:43:51 +0000 (20:43 +0000)]
Cherry-pick the following missing commits from nyc-mr1-dev prior to b/
33090058, which was lost as a result of merge
01c922fc267ea41cc1c6cb83cde7ba6da200dc38:
am:
77f62518ec
Change-Id: I94b4ddb18d2edb47a336ef1d43ad4df00a210afb
Xin Li [Tue, 27 Dec 2016 22:48:38 +0000 (14:48 -0800)]
Cherry-pick the following missing commits from nyc-mr1-dev prior to
b/
33090058, which was lost as a result of merge
01c922fc267ea41cc1c6cb83cde7ba6da200dc38:
ea5589 Kenneth Graunke: Fix sample_mask_in.bit_count_per_two_samples
tests for 2x MSAA.
d2f3b4 Kenneth Graunke: Fix internal format/type for 3D + depth/stencil
negative API tests.
bf0076 Aaron Holden: Add runtime to CtsDeqpTestCases
BUG:
33090058
Change-Id: I88a47ddebd9dff35a3fa65967cca6fe21b739a6e
Aaron Holden [Tue, 15 Nov 2016 01:47:00 +0000 (17:47 -0800)]
Add runtime to CtsDeqpTestCases
Test: cts-tradefed run cts -m CtsDeqpTestCases
Bug:
32843094
Change-Id: I6ea71f0d6658b1f06354374ece54743609472345
(cherry picked from commit
bf0076a42408b330a5117c61a0b0d8d6d2b18660)
Kenneth Graunke [Mon, 12 Sep 2016 19:37:08 +0000 (12:37 -0700)]
Fix internal format/type for 3D + depth/stencil negative API tests.
According to the ES 3.2 specification:
"Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
or STENCIL_INDEX are supported by texture image specification commands
only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
Using these formats in conjunction with any other target will result in
an INVALID_OPERATION error."
This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.
We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.
Change-Id: I44bf607533b59f93fa42415bd6cad8783352582d
(cherry picked from commit
ae7f8e0a07730e693b24d3dc7a23d2372319145e)
(cherry picked from commit
d2f3b468db45e8deb130de84bf194eebe37d5fff)
Kenneth Graunke [Sun, 4 Sep 2016 07:34:47 +0000 (00:34 -0700)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
The dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.
bit_count_per_two_samples.multisample_{texture,renderbuffer}_{1,2}
tests report:
Verifying gl_SampleMaskIn.
Fragment shader may be invoked [ceil(numSamples/2), numSamples] times.
=> gl_SampleMaskIn should have the number of bits set in range
[1, numSamples - ceil(numSamples/2) + 1]:
which suggests that maxBitCount should be ceil(2/2) + 1 = 1 + 1 = 2.
However, it then says:
Setting minBitCount = 1, maxBitCount = 1.
Having two bits should be acceptable for 2x MSAA.
This patch drops the special case for 1x/2x MSAA, making them work
like all the other MSAA levels.
Change-Id: Ie615c82150588dab53226dc46670182a29d85ef5
(cherry picked from commit
724519b8fda9c2a92d646c3dfd1478e0daa282e9)
(cherry picked from commit
ea5589c748c0f399e478a570f9cc3c063fe55bf1)
Tina Zhou [Thu, 22 Dec 2016 05:37:13 +0000 (05:37 +0000)]
Merge "Blacklist match_different_[member_]struct_names SSO validation tests." into nougat-cts-dev am:
4acf725866 am:
22bf0dfa43 am:
2d0cce04d9 am:
8d55e05ba8
am:
6f7af0f1fd
Change-Id: I7bf8a13c1e5e61cf17ee27dad8710ea237af83ac
Kenneth Graunke [Thu, 22 Dec 2016 05:37:01 +0000 (05:37 +0000)]
Blacklist match_different_[member_]struct_names SSO validation tests. am:
b81edb4477 am:
c823e5456f am:
42c0ad1d1b am:
8c2c2894e4
am:
f611e70b3d
Change-Id: I3d4119990149e083882328f7627804d0523d2a5c
Tina Zhou [Thu, 22 Dec 2016 05:31:26 +0000 (05:31 +0000)]
Merge "Blacklist match_different_[member_]struct_names SSO validation tests." into nougat-cts-dev am:
4acf725866 am:
736369667b
am:
53c8574bda
Change-Id: Ib0891de8ee251a83e79fa37f42534adc11eb9274
David Sodman [Thu, 22 Dec 2016 05:31:14 +0000 (05:31 +0000)]
resolve merge conflicts of b81edb4 to master am:
ce5292f584
am:
49ddc6319b
Change-Id: I4b005cc60d389d784325429bf1c0efef4396f8fa
Tina Zhou [Thu, 22 Dec 2016 05:25:58 +0000 (05:25 +0000)]
Merge "Blacklist match_different_[member_]struct_names SSO validation tests." into nougat-cts-dev am:
4acf725866
am:
736369667b
Change-Id: I5ac67d657cfac9a37bfe7723c3fd18650f948ae5
David Sodman [Thu, 22 Dec 2016 05:25:45 +0000 (05:25 +0000)]
resolve merge conflicts of b81edb4 to master
am:
ce5292f584
Change-Id: I0bd3fa65bf2e456829fc609d3cd743c0508f856d
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:51:43 +0000 (02:51 +0000)]
Merge "Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048" into nougat-cts-dev am:
ce7ccaab4a am:
a164d23f5c
am:
490048f2a6
Change-Id: Ib24e240bca32a17c1db996f494c1da247e5e4fea
Pyry Haulos [Thu, 22 Dec 2016 02:51:28 +0000 (02:51 +0000)]
Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048 am:
a42836566d am:
c1e020bec5
am:
5ca19fdb34
Change-Id: If6b0ca58729c2ec8debf3ac52776623114afdef2
Tina Zhou [Thu, 22 Dec 2016 02:50:53 +0000 (02:50 +0000)]
Merge changes I7c2ffd66,Ib53b245d,I4862cca3 into nougat-cts-dev am:
4812d6d47f am:
f2ab59be70
am:
a911a04556
Change-Id: Ia3502fed8bfae8e24843ffedfd1beea34c6553b8
Pyry Haulos [Thu, 22 Dec 2016 02:50:47 +0000 (02:50 +0000)]
Update glslang to d02dc5d am:
b0ce1f083e -s ours am:
ce56d4629c
am:
ad154a3284
Change-Id: I9c503da417e986b7083743a4e3efa08550e729af
Pyry Haulos [Thu, 22 Dec 2016 02:50:41 +0000 (02:50 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes am:
ef29b7735d -s ours am:
6503fc0e0d
am:
835ca88406
Change-Id: I783b240b963ac4d219bbbd00278b3f5fce63cbb3
Pyry Haulos [Thu, 22 Dec 2016 02:50:36 +0000 (02:50 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am:
e71e3bbacd am:
7994095bf2
am:
35fd8bafe2
Change-Id: I5fc7d97ca7391ea8174a08dcfc30ae0c256b5256
Tina Zhou [Thu, 22 Dec 2016 02:46:42 +0000 (02:46 +0000)]
Merge "Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048" into nougat-cts-dev am:
ce7ccaab4a
am:
a164d23f5c
Change-Id: I5d9aeb3c9bdb3861d3fd685d10c13a3c0fc8a204
Pyry Haulos [Thu, 22 Dec 2016 02:46:30 +0000 (02:46 +0000)]
Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048 am:
a42836566d
am:
c1e020bec5
Change-Id: Ib5fdce79a6b3eb6485f6ac8f25816185bebb1797
Tina Zhou [Thu, 22 Dec 2016 02:46:01 +0000 (02:46 +0000)]
Merge changes I7c2ffd66,Ib53b245d,I4862cca3 into nougat-cts-dev am:
4812d6d47f
am:
f2ab59be70
Change-Id: I463700034a673d0a81d93c8072eba4fa99d30523
Pyry Haulos [Thu, 22 Dec 2016 02:45:51 +0000 (02:45 +0000)]
Update glslang to d02dc5d am:
b0ce1f083e -s ours
am:
ce56d4629c
Change-Id: I4ffe104b9b993bbabb841177d7513a0be90c3d6b
Pyry Haulos [Thu, 22 Dec 2016 02:45:43 +0000 (02:45 +0000)]
Cherry-pick SPIR-V ClipDistance validation fixes am:
ef29b7735d -s ours
am:
6503fc0e0d
Change-Id: I2ca2e81043cfe98ea4f7fa75fcf2d5bcc116cf59
Pyry Haulos [Thu, 22 Dec 2016 02:45:35 +0000 (02:45 +0000)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev am:
e71e3bbacd
am:
7994095bf2
Change-Id: Ic8f0aa06f6816a9f26096b2294539ba7a64a2e89
Tina Zhou [Thu, 22 Dec 2016 02:35:42 +0000 (02:35 +0000)]
Merge "Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048" into nougat-cts-dev am:
ce7ccaab4a am:
073e32f72f am:
3e3b90e9d6 am:
9959179887
am:
8ab0548300
Change-Id: I0cb0050b068f24350817c9b9126e8a8c244611fd
Pyry Haulos [Thu, 22 Dec 2016 02:35:31 +0000 (02:35 +0000)]
Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048 am:
a42836566d am:
020b95377e am:
2da2988f32 am:
96f1cc8ba9
am:
d7e6b5159d
Change-Id: I52210ec72e94dab85d770fbeb4e1e671789adfff
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