Treehugger Robot [Tue, 13 Sep 2016 19:04:35 +0000 (19:04 +0000)]
Merge "Remove use of varargs.h from deString.c."
Daniel Xie [Tue, 13 Sep 2016 18:59:03 +0000 (18:59 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
am:
84173082ee
Change-Id: I766949543602454bff23742a314d00c4532f41d5
Pyry Haulos [Tue, 13 Sep 2016 18:59:02 +0000 (18:59 +0000)]
CP: Require 'master' config to be supported in Android CTS
am:
03d217bb53
Change-Id: Ic330a2d7eb30081a3f7642b1e804f6ad3adfe83f
Daniel Xie [Tue, 13 Sep 2016 18:59:00 +0000 (18:59 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
am:
1ad2703e25
Change-Id: I30672a8055d06a2fabaa57ac6b27af29d5a1f786
Pyry Haulos [Tue, 13 Sep 2016 18:58:59 +0000 (18:58 +0000)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
am:
521bb16575
Change-Id: Ic1cbab12b8439e65790c3f0c9bf10f1bae2e7ebb
Daniel Xie [Tue, 13 Sep 2016 18:58:56 +0000 (18:58 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
am:
451fa7c581
Change-Id: If88bb8b4171508813a0127bbaf27867a4510a01e
Pyry Haulos [Tue, 13 Sep 2016 18:55:40 +0000 (11:55 -0700)]
resolve merge conflicts of 3ffc2f2 to master
Change-Id: I07d298ed07bd4ddf30742317bab83b660df76fb9
Daniel Xie [Tue, 13 Sep 2016 18:48:41 +0000 (18:48 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
am:
a268fcbaff
Change-Id: Ic3fe280bfa845811e3331b787c5b3ce0e82d3416
Pyry Haulos [Tue, 13 Sep 2016 18:48:40 +0000 (18:48 +0000)]
CP: Reduce max iter count in alloc_callback_fail.device
am:
ef5688dda6
Change-Id: I6d9a12724828b96cbb9f7ecc74f36d3a9419d167
Daniel Xie [Tue, 13 Sep 2016 18:48:35 +0000 (18:48 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev
am:
83683a367f
Change-Id: Id16aa41cac62e174574184d9deb00550dbd507a1
Pyry Haulos [Tue, 13 Sep 2016 18:48:34 +0000 (18:48 +0000)]
DO NOT MERGE Allow old behavior in image format property tests
am:
0825a289c0 -s ours
Change-Id: I3a0eb1f790ddfb0ca10bba0717e964d1139513bf
Nanley Chery [Tue, 13 Sep 2016 18:48:27 +0000 (18:48 +0000)]
CP: Fix required sample count tests
am:
f6a815214a
Change-Id: I7e697e19ac7f1648fffc123a3e28ea0766fe5d9b
Daniel Xie [Tue, 13 Sep 2016 18:48:23 +0000 (18:48 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev
am:
f594c550af
Change-Id: I1d972e7094a87100847b822413e59914333832fd
Pyry Haulos [Tue, 13 Sep 2016 18:48:21 +0000 (18:48 +0000)]
CP: Fix ext check in EXT_draw_buffers_indexed negative tests
am:
3962010752
Change-Id: Ia83f5bf6db8579d21e99781883ee59501760e52c
Daniel Xie [Tue, 13 Sep 2016 18:47:30 +0000 (18:47 +0000)]
Merge "CP: Fix geometry shader support check" into nougat-cts-dev
am:
54d4c9f476
Change-Id: I16f170e6a8b1814353473dd382da85aee2508e15
Pyry Haulos [Tue, 13 Sep 2016 18:47:30 +0000 (18:47 +0000)]
CP: Fix geometry shader support check
am:
0da63cfe1d
Change-Id: Id94fa9a3eaa0bab514bd68f70e4a418565b17a74
Daniel Xie [Tue, 13 Sep 2016 18:47:29 +0000 (18:47 +0000)]
Merge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
am:
b03302d214
Change-Id: I7279affd1f20795fa61292c05656615fa71f4ae5
Pyry Haulos [Tue, 13 Sep 2016 18:47:28 +0000 (18:47 +0000)]
CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
am:
66ee615c37
Change-Id: Ic654aff622dc4c0e2e2b59627bf6a081f805d590
Daniel Xie [Tue, 13 Sep 2016 18:47:26 +0000 (18:47 +0000)]
Merge changes I85492417,I93389a2c into nougat-cts-dev
am:
37eaa88ac2
Change-Id: I6d02e17f212b826c62ca711317450214b4a87e71
Pyry Haulos [Tue, 13 Sep 2016 18:47:26 +0000 (18:47 +0000)]
CP: Limit VkInstance count in object_management.multithreaded*
am:
1735b7bcaa
Change-Id: If043d3065cb9fecc87e1a012bef49af5ef1fd8b5
Pyry Haulos [Tue, 13 Sep 2016 18:47:23 +0000 (18:47 +0000)]
CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
am:
80ddee1f9b
Change-Id: If775ead51e363bfd90a49cca10df6f55a3f598f3
Unsuk Jung [Tue, 13 Sep 2016 18:47:21 +0000 (18:47 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am:
3aa5258338
am:
9ebe97f0a6
Change-Id: I3774107d42492442ffdcda985f90b706d55a0eff
Haixia Shi [Tue, 13 Sep 2016 18:47:21 +0000 (18:47 +0000)]
Don't require supported binary formats in negative tests. am:
7cd59a4409
am:
635f454667
Change-Id: Id987cef0666752e9237ef4433892c5accd3f8379
Daniel Xie [Tue, 13 Sep 2016 18:46:55 +0000 (18:46 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev am:
b9c3777b77 -s ours
am:
245bd3ffc4 -s ours
Change-Id: I96c93068b1bb4040ffbac15bd3cef9ae2340d2f1
Jarkko Pyry [Tue, 13 Sep 2016 18:46:55 +0000 (18:46 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am:
c63640e53a -s ours
am:
b136cc9a59 -s ours
Change-Id: Ie181e39e7e799eed5ec5f817fda809e86c082800
Daniel Xie [Tue, 13 Sep 2016 18:46:54 +0000 (18:46 +0000)]
Merge "Fix GLES2 format mismatch" into marshmallow-cts-dev am:
98dd6ac745
am:
5dee7d519c
Change-Id: I7fbf4c4a02279fe743a1b088d484acbd948ce604
Stphane Marchesin [Tue, 13 Sep 2016 18:46:54 +0000 (18:46 +0000)]
Fix GLES2 format mismatch am:
4b80682693
am:
9a9c641a84
Change-Id: Ic24eba3990aa9fb563e1501e749dd3f29d99f75b
Haixia Shi [Tue, 13 Sep 2016 18:46:52 +0000 (18:46 +0000)]
Increase no-data timeout to 5 seconds. am:
d00b71cbc3
am:
a7afa30111
Change-Id: Ice660fcf10955047eac6b2ef1c60114d2fb97b0e
Jamie Madill [Thu, 4 Aug 2016 14:06:52 +0000 (10:06 -0400)]
Remove use of varargs.h from deString.c.
This file is no longer necessary for MSVS, and messes up the Clang
Windows build.
Treehugger Robot [Tue, 13 Sep 2016 17:13:08 +0000 (17:13 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA."
Daniel Xie [Tue, 13 Sep 2016 16:43:43 +0000 (16:43 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:39 +0000 (16:43 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:35 +0000 (16:43 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:30 +0000 (16:43 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:20 +0000 (16:43 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev
* changes:
DO NOT MERGE Allow old behavior in image format property tests
CP: Fix required sample count tests
Daniel Xie [Tue, 13 Sep 2016 16:43:15 +0000 (16:43 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:11 +0000 (16:43 +0000)]
Merge "CP: Fix geometry shader support check" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:06 +0000 (16:43 +0000)]
Merge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:42:54 +0000 (16:42 +0000)]
Merge changes I85492417,I93389a2c into nougat-cts-dev
* changes:
CP: Limit VkInstance count in object_management.multithreaded*
CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
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.
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.
Dan Albert [Thu, 8 Sep 2016 23:07:20 +0000 (16:07 -0700)]
Bump libdeqp to android-22.
The tests and APK are built with android-22.
Test: mm
Bug: None
Change-Id: I34a677c55443f8750098db1335919704b8b16010
Pyry Haulos [Wed, 24 Aug 2016 22:19:40 +0000 (15:19 -0700)]
Remove XML mustpass lists
Android CTS no longer uses per-package XML test lists.
Change-Id: I5e0ed6f71b0ba36b9d9cefc563154a4768a40a3f
Pyry Haulos [Thu, 8 Sep 2016 20:15:50 +0000 (13:15 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I093c350e439e256a070c1bd7d199fafdb46bd2d8
Pyry Haulos [Thu, 8 Sep 2016 20:14:06 +0000 (13:14 -0700)]
Add new files to Android.mk
Change-Id: I45a16aba19e12533de3c60eb4a3c75f117c1410e
Pyry Haulos [Thu, 8 Sep 2016 18:31:12 +0000 (14:31 -0400)]
Merge "Add tests for dynamic indexing of push constants" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:20:57 +0000 (14:20 -0400)]
Merge "Add tests for simultaneous use of secondary command buffer" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:20:37 +0000 (14:20 -0400)]
Merge "Add scissoring tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:48 +0000 (14:19 -0400)]
Merge "Add new pipeline barrier tests to mustpass" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:32 +0000 (14:19 -0400)]
Merge "Fix wrong test in copies and blitting testcases" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:10 +0000 (14:19 -0400)]
Merge "dEQP-VK.pipeline.image.*: added test cases for 3D images with NPOT sizes." into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:36 +0000 (14:18 -0400)]
Merge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:14 +0000 (14:18 -0400)]
Merge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:17:49 +0000 (14:17 -0400)]
Merge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev
Maciej Jesionowski [Thu, 28 Jul 2016 12:20:15 +0000 (14:20 +0200)]
Add multisampled storage image load/store on a rendered image
New test:
- dEQP-VK.pipeline.multisample.storage_image.*
Fixes #439
Change-Id: If4d6d9511db5d1c6aa9e6d54ce04dcba8e1de5cd
Maciej Jesionowski [Wed, 20 Jul 2016 10:51:49 +0000 (12:51 +0200)]
Add multisampled image texel fetch test
New test:
- dEQP-VK.pipeline.multisample.sampled_image.*
Fixes #428
Change-Id: I947053c5fc48f7d479fab80a6fc31823da3e5c1a
Pyry Haulos [Thu, 8 Sep 2016 17:59:43 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 17:59:17 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 17:38:24 +0000 (13:38 -0400)]
Merge "Build scripts: add support for NMake project generator" into vulkan-cts-1.0-dev
Slawomir Cygan [Thu, 11 Aug 2016 14:02:19 +0000 (16:02 +0200)]
Build scripts: add support for NMake project generator
Requires nmake.exe in PATH (try running from Visual Studio Command
Prompt, or use vcvars*.bat).
Change-Id: I2bfcfa46a5529066000745209673804b1863f1fc
Pyry Haulos [Mon, 29 Aug 2016 22:02:15 +0000 (15:02 -0700)]
Add new pipeline barrier tests to mustpass
Change-Id: Ibc499ad78c5a5d1268096d14033447192cc44552
Tobin Ehlis [Wed, 31 Aug 2016 18:49:07 +0000 (12:49 -0600)]
Add tests for simultaneous use of secondary command buffer
Fixes #335
Add simultaneousUseSecondaryBufferOnePrimaryBufferTest() test. This test
creates a single secondary command with SIMULTANEOUS_USE flag set and add
two instances of it to the same primary command buffer. Then verify that
each instance executes correctly.
Also add simultaneousUseSecondaryBufferTwoPrimaryBuffersTest(). Similar to
above test but same secondary command buffer is bound into two different
primary comman buffers that are then executed simultaneously.
In both cases the secondary command buffers are each atomically
incrementing a count from within a compute shader.
Update the mustpass lists.
Also made a few minor infrastructure additions:
Add a generic createDataBuffer() function to create a single buffer that
isn't built around a vec4 of color data.
Add a simpler createDescriptorSet() function that binds a results buffer
to binding 0 and an input uniform to binding 1.
Provide the compute result buffer initialization value in a parameter
which defaults to -1.0f. This allows flexibility for other tests that may
want a different default value, such as the new test mentioned above.
Change-Id: Icf6ebbac0e1975e1cf49f60e5aa8afb32f9885de
Cody Northrop [Wed, 31 Aug 2016 01:52:59 +0000 (19:52 -0600)]
Add tests for dynamic indexing of push constants
Fixes #465
Change-Id: Ia20d7a9906db300ec79be82c2c936e40e699d452
Kantoch [Thu, 28 Jul 2016 14:39:48 +0000 (16:39 +0200)]
dEQP-VK.pipeline: multisample interpolation tests
New test:
- dEQP-VK.pipeline.multisample_interpolation.*
Fixes #427
Change-Id: I235dc4781dff92e89ea645778e046d61b3909b32
Pyry Haulos [Thu, 1 Sep 2016 17:50:53 +0000 (10:50 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: Ic526d403eb9f9134d62c43476860ef0ad9e044d1
Cody Northrop [Thu, 1 Sep 2016 16:49:59 +0000 (10:49 -0600)]
CMake: Use find_package to ensure getting python 2.7 instead of 3.x
Change-Id: I0be171e0579acb99428378fa847e619a0d858d55
Maciej Jesionowski [Thu, 4 Aug 2016 13:07:25 +0000 (15:07 +0200)]
Add scissoring tests
Scissoring tests based on GLES 2.0.
New test:
- dEQP-VK.fragment_operations.scissor.*
Fixes #452
Change-Id: I8bd7cb1dfc0889249d1f7bfb159f51defdf55a2d
Pyry Haulos [Wed, 31 Aug 2016 16:45:39 +0000 (09:45 -0700)]
DO NOT MERGE Allow old behavior in image format property tests
Vulkan API specification has changed in respect to what sample counts
vkGetPhysicalDeviceImageFormatProperties() should report. The change has
been made after initial Android Nougat drivers were frozen. For NYC CTS
we need to tolerate the old behavior and issue compatibility warning
instead.
Bug:
30739954
Change-Id: I212a8bc2b948760d3bf457e1c0e1199e0a8cc31e
Nanley Chery [Tue, 19 Apr 2016 19:13:58 +0000 (12:13 -0700)]
CP: Fix required sample count tests
According to,
Table 11.1. Image and image view parameter compatibility requirements
Only non-cube images with type VK_IMAGE_TYPE_2D can have sample counts
greater than one.
In addition, the following properties should hold for multisampled
images: the formats must support being used in a color or depth/stencil
attachment, or in a storage image when shaderStorageImageMultisample is
supported. Images not fitting the above descriptions may have a sample
count of one or zero (in error conditions). Align tests for sample
counts to this behavior.
Bug:
30739954
(cherry picked from commit
dc4227d5ec87080f5dad810b5e33ae3b3fa014a4)
Change-Id: I476b6586c351bddfb9f0b92cd7ec45fb9cc297c8
Unsuk Jung [Tue, 30 Aug 2016 20:44:03 +0000 (20:44 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev
am:
3aa5258338
Change-Id: I8cb9cdf8f87cacaa2cb4c586953f884a3cfee098
Haixia Shi [Tue, 30 Aug 2016 20:44:02 +0000 (20:44 +0000)]
Don't require supported binary formats in negative tests.
am:
7cd59a4409
Change-Id: If08ea28912fe10ddc570841c8862d0918b1c224d
Unsuk Jung [Tue, 30 Aug 2016 20:39:55 +0000 (20:39 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev
Kalle Raita [Tue, 30 Aug 2016 20:09:31 +0000 (20:09 +0000)]
Merge "Use empty region when buffer age is not supported"
Pyry Haulos [Tue, 30 Aug 2016 18:17:28 +0000 (11:17 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Change-Id: Id91a7898a30bf08bf992e89b597f73e336494252
Gabor Abraham [Tue, 19 Jul 2016 14:07:10 +0000 (16:07 +0200)]
Add tests for initialized and uninitialized cases.
Change-Id: I0eaddc7d5ebafc4532536d810bf4b30b38985d19
Pyry Haulos [Mon, 8 Aug 2016 18:08:47 +0000 (11:08 -0700)]
CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
Several tests in dEQP-VK.pipeline group assume that
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE mode is supported. Spec
actually requires that VK_KHR_sampler_mirror_clamp_to_edge is enabled if
that mode is used.
This change enables VK_KHR_sampler_mirror_clamp_to_edge in default
device, if supported, and adds relevant checks in the test code.
In the future we'll want to clean this up by giving test cases more
control about the device configuration they need.
Fixes #339
Bug:
29996742
(cherry picked from commit
ed8561a07cdb1bb7730eccf9025b738838392464)
Change-Id: I12312f0e48d20724c082f31c4ab03792dbb44826
Pyry Haulos [Mon, 8 Aug 2016 19:34:35 +0000 (12:34 -0700)]
CP: Fix geometry shader support check
Bug:
30738286
(cherry picked from commit
83470b2dcbff396773f94d7a1448c12362ad3380)
Change-Id: Ife07ebd21f115114441ac8dc794a8d9e12c8acae
Pyry Haulos [Thu, 11 Aug 2016 20:32:47 +0000 (13:32 -0700)]
CP: Fix ext check in EXT_draw_buffers_indexed negative tests
Bug:
30738817
(cherry picked from commit
cdfbadd0238044279cbc928bac9d895b002bcca6)
Change-Id: Iab592f4f97896995b6fb5a0f3a7ce0d885f9b834
Pyry Haulos [Tue, 30 Aug 2016 16:02:18 +0000 (12:02 -0400)]
Merge "Fixes sparse_resources.shader_intrinsics.* tests to check for device feature support." into vulkan-cts-1.0.1
Pyry Haulos [Tue, 30 Aug 2016 16:01:59 +0000 (12:01 -0400)]
Merge "Run the memory tests ahead of all other tests" into vulkan-cts-1.0.1
Pyry Haulos [Mon, 22 Aug 2016 22:56:52 +0000 (15:56 -0700)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
Includes various small code fixes to related utilities.
Bug:
30909517
(cherry picked from commit
baea2158190b91fcf5d1aa78628dbad01d52a3ce)
Change-Id: I6f8c992daf81fafe796308a3e02c792096f2ae9f
Pyry Haulos [Tue, 30 Aug 2016 15:47:19 +0000 (15:47 +0000)]
Merge "Handle EGL_EXT_yuv_surface in eglChooseConfig() tests"
Petros Bantolas [Fri, 26 Aug 2016 14:25:45 +0000 (15:25 +0100)]
Fixes sparse_resources.shader_intrinsics.* tests to check for device feature support.
Change-Id: Ie3461ae4ec32b1f431b21ba7c6f453bde70834c7
Pyry Haulos [Tue, 23 Aug 2016 22:37:44 +0000 (15:37 -0700)]
CP: Require 'master' config to be supported in Android CTS
All Android devices should support rgba8888d24s8 for compatiblity and
test coverage.
Bug:
30938718
(cherry picked from commit
e232a6e83c482b219ee1e7678c8ccf91c64b3086)
Change-Id: Ia924a13e5e62b3b8e51981b200314b911aa57bc4
Pyry Haulos [Thu, 18 Aug 2016 14:29:04 +0000 (15:29 +0100)]
CP: Reduce max iter count in alloc_callback_fail.device
Creating VkDevice can be costly operation so we need to limit number of
tries to a pretty low value. Other tests already use per-thread limit of
20.
Additionally, this patch adds a way to override the limit by specifying
--deqp-test-iteration-count=N command line parameter. This is useful for
full OOM testing.
Bug:
30811856
(cherry picked from commit
3b17fd4c4e2d450f34f68989ff786939032cdcb9)
Change-Id: Ib3aaeff24d7753d52a6a444abfbecf863803c9ec
Pyry Haulos [Thu, 11 Aug 2016 21:14:23 +0000 (14:14 -0700)]
CP: Limit VkInstance count in object_management.multithreaded*
Bug:
30811856
(cherry picked from commit
fe2c3850aa70fd4ad253856de08e49f241e0fc90)
Change-Id: I854924178a7732eae44fd140340490c453fe3a03
Pyry Haulos [Thu, 18 Aug 2016 14:22:00 +0000 (15:22 +0100)]
CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
VkInstance and VkDevice creation OOM simulation is done already in
dEQP-VK.api.object_management.alloc_callback fail and repeating testing
in WSI tests just wastes time.
Since we want to trigger OOM even if implementation calls into instance-
or device-level callbacks, this is done by setting a mode in
DeterministicFailAllocator that stops alloc counting and failure
simulation.
Bug:
30811856
(cherry picked from commit
2dd2c2dc560092c80b636551237758b62fae78d7)
Change-Id: I93389a2c6b85f2dd8407824afb25d68770d4e6bd
Pyry Haulos [Mon, 29 Aug 2016 21:35:51 +0000 (14:35 -0700)]
Update Android build dependencies in README.md
Change-Id: If159d4b4312183063a0d55483c1383197807eac1
Pyry Haulos [Mon, 22 Aug 2016 22:56:52 +0000 (15:56 -0700)]
Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
Includes various small code fixes to related utilities.
Bug:
30909517
Change-Id: Ib0142d89832be4226406238800ebeab84b59c599
Mais Alnasser [Mon, 29 Aug 2016 16:54:16 +0000 (12:54 -0400)]
Run the memory tests ahead of all other tests
Other tests don't attempt to allocate that much memory and probably
don't care about fragmentation as much. This would reduce the
possibility of running into out-of-memory 32-bit issues at a later
point in the development of the CTS.
This change also updates the mustpass lists.
Change-Id: I4484e5a775fcf7efa39149f1e53eb049024a77da
Pyry Haulos [Fri, 26 Aug 2016 21:43:57 +0000 (14:43 -0700)]
Fix MSC exception handling flag
Apparently /EHc is not recognized but instead /EHsc has to be used.
Change-Id: I70492583b31bca307af70367b3c5ff29ba86720c
Mika Isojärvi [Fri, 26 Aug 2016 20:05:38 +0000 (13:05 -0700)]
Fix layer prefix printing in validation callback
Change-Id: I233af15f3a5acb7cf353840c769d1718bdb9140f
Maciej Jesionowski [Mon, 11 Jul 2016 15:37:00 +0000 (17:37 +0200)]
Multisampled depth/stencil attachment test
Fixes #425
Change-Id: I7b65ff249cc7fd6516db8e9882455ac26edb0946
Maciej Jesionowski [Wed, 3 Aug 2016 12:17:08 +0000 (14:17 +0200)]
dEQP-VK.pipeline.vertex_input: sequential attributes test
Add a test for vertex input attributes with data arranged as a long sequence
rather than interleaved.
New test:
- dEQP-VK.pipeline.vertex_input.multiple_attributes.binding_one_to_many.attributes_sequential.*
Fixes #455
Change-Id: If6f774978ff2bd9c34c82363cebb8e1d7b8df7a7
Peter Siket [Thu, 4 Aug 2016 22:21:14 +0000 (15:21 -0700)]
Extend shader built-in variable tests
This branch extends the shader builtin tests, with additional tests
ported from the GLES2 tests.
These test are ported:
dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_xyz
dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_w
dEQP-GLES2.functional.shaders.builtin_variable.pointcoord
Besides this additional test group
(dEQP-VK.glsl.builtin_var.input_variations) is added for testing
combinations of different shader input types. (#300)
Change-Id: I8cb6f2197f87b28c1e13335b9ab55ab59e92d665
Dae Kim [Wed, 6 Jul 2016 15:17:42 +0000 (16:17 +0100)]
dEQP-VK.pipeline.image.*: added test cases for 3D images with NPOT sizes.
An epsilon needs to be subtracted from texture coordinate Z to avoid
floating-point errors at the boundaries between slices.
Change-Id: Id5bc1d3c2cd0b2c67476cbfc83dbfec3f8282b14
Kalle Raita [Thu, 25 Aug 2016 21:52:52 +0000 (14:52 -0700)]
Use empty region when buffer age is not supported
In the dEQP-EGL.functional.partial_update.* tests the damage region
needs to set to empty instead of implicit full screen for frame that do
not draw when the EGL_KHR_buffer_age is not supported. Otherwise the
contents become invalid and cannot be verified.
Bug:
30735352
Test: Local run of dEQP-EGL.functional.partial_update.* on various Nexus devices
Change-Id: I75306f1adee56cb7d6de68d59b4c7962b9d1a8f5
Haixia Shi [Thu, 25 Aug 2016 21:24:06 +0000 (14:24 -0700)]
Don't require supported binary formats in negative tests.
Bug:
26906411
Change-Id: Ic1b50096695fbcd64d6af312d56f12c4381a5b7a
Piers Daniell [Thu, 25 Aug 2016 18:10:01 +0000 (12:10 -0600)]
Add /LARGEADDDRESSAWARE linker flag for MSVC
This allows 32-bit CTS to run to the end on Windows 32-bit platforms.
Change-Id: Iaec4efcddeb5e1248651fc2d1a1401dbb94bbaf7
Daniel Xie [Thu, 25 Aug 2016 20:52:41 +0000 (20:52 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev
am:
b9c3777b77 -s ours
Change-Id: I08bbe10aebbbd22e20b7fc98307be51f7629a353