Mika Isojarvi [Mon, 4 Apr 2016 17:11:33 +0000 (17:11 +0000)]
Merge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev
* changes:
Remove test from mustpass due lod computation issues
Remove array layout location tests due to spec issue.
Remove out of range border clamp tests due to spec issue
Kalle Raita [Fri, 1 Apr 2016 21:56:37 +0000 (14:56 -0700)]
Implement ITestCollector for DeqpTestRunner
Bug:
27614481
Change-Id: I2cc74c953361b85f943394986696d0123baf7b0b
Mika Isojärvi [Thu, 31 Mar 2016 22:23:07 +0000 (15:23 -0700)]
Remove test from mustpass due lod computation issues
Bug:
27535731
Change-Id: I3f12c9ccd42a66d41ca90bff93a40a9dbe0ca645
Mika Isojärvi [Thu, 31 Mar 2016 22:16:38 +0000 (15:16 -0700)]
Remove array layout location tests due to spec issue.
Bug:
27834911
Change-Id: Ibd8fb8f28ae20de1877c13dca35988d0f5cd5e5a
Mika Isojärvi [Thu, 31 Mar 2016 22:05:56 +0000 (15:05 -0700)]
Remove out of range border clamp tests due to spec issue
Bug:
27909189
Change-Id: Ib3c3b93e859ebbccd78752cfacbf72056ebcc356
Mika Isojärvi [Thu, 31 Mar 2016 20:43:52 +0000 (13:43 -0700)]
Use ETC2 format instead of ASTC format in negative texture tests
Bug:
27946727
Change-Id: I1269c354cbec4bb1574b484aaecc42571bb41832
Pyry Haulos [Thu, 31 Mar 2016 07:58:13 +0000 (07:58 +0000)]
Merge "Add utilities for VK_EXT_debug_report" into nyc-dev
Pyry Haulos [Wed, 30 Mar 2016 02:21:04 +0000 (19:21 -0700)]
Fix bugs in de::AppendList
* de::AppendList was not calling destructor for elements in the last
block. This would result in resource leak if elements have non-trivial
destructor.
* de::AppendList::clear() failed to set m_first->next to null resulting
use of freed blocks.
Bug:
27909093
Change-Id: Id012bd6c76eb31058b302d0540891e5280a2d39f
Pyry Haulos [Tue, 29 Mar 2016 00:33:23 +0000 (17:33 -0700)]
Add utilities for VK_EXT_debug_report
Change-Id: Ia884b2dd6688b15d71fa2df4029afe5d3023fa04
Pyry Haulos [Tue, 29 Mar 2016 20:13:53 +0000 (20:13 +0000)]
Merge "Add clear() to de::AppendList" into nyc-dev
Pyry Haulos [Tue, 29 Mar 2016 19:10:26 +0000 (19:10 +0000)]
Merge "Fix typo in vk::getNumShaderStages() return type" into nyc-dev
Pyry Haulos [Tue, 29 Mar 2016 00:39:49 +0000 (17:39 -0700)]
Fix indentation in vktTestCase.cpp
Change-Id: Id10fea013ed21524cb7f854bf225bd9bd935d52f
Pyry Haulos [Tue, 29 Mar 2016 00:38:45 +0000 (17:38 -0700)]
Fix typo in vk::getNumShaderStages() return type
Change-Id: Ic57b8edcafa52117c0ff35b400bdf3caad3a292c
Pyry Haulos [Tue, 29 Mar 2016 00:32:34 +0000 (17:32 -0700)]
Add clear() to de::AppendList
Change-Id: I0a139a7256837f9a85d9cb7353451f13a9022e67
Pyry Haulos [Fri, 25 Mar 2016 19:13:27 +0000 (12:13 -0700)]
Fix unused arg warning
Change-Id: I77bb4993487a077777366c7a223273405a9f5b44
Pyry Haulos [Fri, 25 Mar 2016 19:09:58 +0000 (12:09 -0700)]
Merge nyc-dev into Khronos merge branch
Pyry Haulos [Fri, 25 Mar 2016 19:09:24 +0000 (12:09 -0700)]
Re-build Vulkan mustpass
Change-Id: I4112ac5fa3f0d0b780b5eb6caf76f059c889d56f
Pyry Haulos [Fri, 25 Mar 2016 19:08:53 +0000 (12:08 -0700)]
Add new files to Android.mk
Change-Id: Id5c873a16e8e2c75b00c1ea2f4dde8f41e65e1d0
Pyry Haulos [Fri, 25 Mar 2016 18:48:54 +0000 (11:48 -0700)]
Merge code from Khronos repository
Change-Id: Ifade87d653557106eed18a64636779b667110898
Mika Isojarvi [Fri, 25 Mar 2016 18:23:17 +0000 (18:23 +0000)]
Merge "Allow more alternative forms of scalar reflect function" into nyc-dev
Mika Isojarvi [Fri, 25 Mar 2016 18:22:58 +0000 (18:22 +0000)]
Merge "Use supported number of atomic counters in opaque indexing tests" into nyc-dev
Mika Isojarvi [Fri, 25 Mar 2016 18:22:38 +0000 (18:22 +0000)]
Merge "Create texture in negative CompressedTexSubImage() tests" into nyc-dev
Pyry Haulos [Fri, 25 Mar 2016 18:19:50 +0000 (11:19 -0700)]
Re-build CTS mustpass
Pyry Haulos [Fri, 25 Mar 2016 18:19:36 +0000 (11:19 -0700)]
Fix a trivial warning
Pyry Haulos [Fri, 25 Mar 2016 18:15:55 +0000 (18:15 +0000)]
Merge branch '125-pipeline-cache-tests-rebased' into 'vulkan-cts-1.0-dev'
Add pipeline cache tests
See merge request !470
Mika Isojärvi [Thu, 24 Mar 2016 23:05:56 +0000 (16:05 -0700)]
Allow more alternative forms of scalar reflect function
Bug:
22859221
Change-Id: Iff34d861642b8d4b8a1cdc932529d98ac7c71005
Pyry Haulos [Thu, 24 Mar 2016 21:27:31 +0000 (14:27 -0700)]
resolve merge conflicts of d097869 to nyc-dev
Change-Id: Id5780291dfd79a8256a0d979ce1e6d13a90293e9
Pyry Haulos [Thu, 24 Mar 2016 21:11:38 +0000 (21:11 +0000)]
Use smaller triangles in triangle_vertex.clip_three
am: a19537b
* commit '
a19537b3e25256c673af765612c11f765637dc5e':
Use smaller triangles in triangle_vertex.clip_three
Mika Isojärvi [Thu, 24 Mar 2016 17:55:04 +0000 (10:55 -0700)]
Use supported number of atomic counters in opaque indexing tests
Bug:
27464399
Change-Id: I0c79037903211d9012ff2489317ef16ab5dbf5a2
Pyry Haulos [Thu, 24 Mar 2016 17:51:52 +0000 (17:51 +0000)]
Merge branch '263-sparse-resources-tests' into 'vulkan-cts-1.0-dev'
Sparse Resources Tests
Tests for Sparse Resources:
1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
2. Test fully resident image created with VK_IMAGE_CREATE_SPARSE_BINDING_BIT flag bit
3. Test partially resident buffer created with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT flag bit
4. Test partially resident image created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT flag bit
5. Test partially resident image with mipmaps, put some mipmap levels in mip tail region
6. Test memory aliasing for fully resident buffer objects
See merge request !405
Mika Isojarvi [Thu, 24 Mar 2016 17:34:51 +0000 (17:34 +0000)]
Merge "Set bit in blit mask to settle ambiguity" into nyc-dev
Pyry Haulos [Thu, 24 Mar 2016 17:34:12 +0000 (17:34 +0000)]
Merge branch '125-pipeline-cache-tests-rebased-scygan-fixes' into '125-pipeline-cache-tests-rebased'
Fix device memory use after free in pipeline cache test
See merge request !479
scygan [Thu, 24 Mar 2016 17:30:48 +0000 (18:30 +0100)]
Fix device memory use after free in pipeline cache test
Mika Isojärvi [Thu, 24 Mar 2016 17:28:05 +0000 (10:28 -0700)]
Create texture in negative CompressedTexSubImage() tests
Bug:
23350902
Change-Id: I4b713b535bd299222994c3cafcd02b631e2a35e1
Pyry Haulos [Tue, 22 Mar 2016 18:36:35 +0000 (11:36 -0700)]
Use smaller triangles in triangle_vertex.clip_three
A few tests in clipping.triangle_vertex.clip_three generate triangles
that extend over 2^22 units in NDC outside viewport (something real
content is never expected to contain). Clipping these is not something
older ES2-only GPUs are necessarily expected to do accurately and might
come with prohibitive performance cost. This change limits size of those
triangles to a more reasonable value.
Bug:
27533503
Change-Id: Ic571b9d79db2c40652e96f4fc6a567fcfa7dcee3
Kantoch [Tue, 15 Mar 2016 15:37:31 +0000 (16:37 +0100)]
Added Sparse Resources Tests to Mustpass List
Arkadiusz Sarwa [Wed, 2 Mar 2016 12:55:21 +0000 (13:55 +0100)]
Sparse Buffer Memory Aliasing Test
Kantoch [Fri, 26 Feb 2016 14:51:11 +0000 (15:51 +0100)]
Sparse Mipmaped Image Residency Test
Kantoch [Wed, 24 Feb 2016 09:31:26 +0000 (10:31 +0100)]
Sparse Image Residency Test
Kantoch [Wed, 10 Feb 2016 16:34:06 +0000 (17:34 +0100)]
Sparse Buffer Residency Test
Kantoch [Thu, 4 Feb 2016 12:50:00 +0000 (13:50 +0100)]
Sparse Resources Binding Tests
Kantoch [Mon, 21 Mar 2016 13:05:41 +0000 (14:05 +0100)]
Added getPhysicalDeviceSparseImageFormatProperties to Framework
Pyry Haulos [Wed, 23 Mar 2016 23:10:27 +0000 (16:10 -0700)]
Fix ASTC framework tests
CEMS test mode will generate HDR blocks so trying to validate that it
generates valid LDR blocks will fail.
Change-Id: If9294d429811054e38167ba942f6910ad2545820
Pyry Haulos [Thu, 10 Mar 2016 21:29:49 +0000 (13:29 -0800)]
Fix a few issues in pipeline cache tests
Rocky Shi [Thu, 10 Mar 2016 21:20:06 +0000 (13:20 -0800)]
Add pipeline cache tests
Pyry Haulos [Wed, 23 Mar 2016 21:45:58 +0000 (14:45 -0700)]
Merge branch '167-image-atomic-operations-tests' into 'vulkan-cts-1.0-dev'
Image Atomic Operations Tests
This merge request implements issue #167
Port Image Atomic Operations tests from OpenGL ES 3.1 to Vulkan.
To be precise port BinaryAtomicOperationCase test case from es31fShaderImageLoadStoreTests.cpp
See merge request !254
Pyry Haulos [Wed, 23 Mar 2016 20:06:46 +0000 (13:06 -0700)]
Remove use of bison from glslang build files
Recent glslang revisions contain generated parser files and there is no
longer a need to run bison as part of the build process.
Change-Id: I5b068323245dbcfd1d9286718c165c3b9a0009ab
Mika Isojärvi [Tue, 22 Mar 2016 23:25:53 +0000 (16:25 -0700)]
Set bit in blit mask to settle ambiguity
Bug:
27658048
Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3
David Sodman [Tue, 22 Mar 2016 21:25:24 +0000 (21:25 +0000)]
Merge "Fix memory requiredProperty flags to check for at least rather than exact match" into nyc-dev
Mika Isojärvi [Tue, 22 Mar 2016 19:38:10 +0000 (12:38 -0700)]
Skip matrix transpose tests on non GLES2 implementations
Bug:
27724329
Change-Id: If24d7be2a08e2d7bb8f3c3755e0aaefd7b1ea2b3
Pyry Haulos [Tue, 22 Mar 2016 17:36:34 +0000 (17:36 +0000)]
Merge "Clean up Win32 platform code" into nyc-dev
Pyry Haulos [Tue, 22 Mar 2016 14:54:47 +0000 (07:54 -0700)]
Merge branch 'command-buffers' into 'vulkan-cts-1.0-dev'
Extending command buffers tests
Three new tests are added to the command buffer tests.
See merge request !453
Pyry Haulos [Tue, 22 Mar 2016 14:53:55 +0000 (07:53 -0700)]
Merge branch '284-image-early-fragment-tests' into 'vulkan-cts-1.0-dev'
Early fragment tests
Ported from OpenGL ES 3.1
Some changes wrt the original implementation:
- original test was categorized as "image", but I moved it to "pipeline"
as it seemed more appropriate. (As a result branch name is slightly off now)
- uses SSBO/atomicAdd instead of image/imageAtomicAdd. Image use was an
implementation detail and buffer is more straightforward to use.
- GLES had non-VBO cases which don't translate to Vulkan so were left out.
Fixes #284
See merge request !435
Maciej Jesionowski [Wed, 10 Feb 2016 11:08:05 +0000 (12:08 +0100)]
Early fragment tests
Ported from OpenGL ES 3.1
Some changes wrt the original implementation:
- original test was categorized as "image", but I moved it to "pipeline"
as it seemed more appropriate.
- uses SSBO/atomicAdd instead of image/imageAtomicAdd. Image use was an
implementation detail and buffer is more straightforward to use.
- GLES had non-VBO cases which don't translate to Vulkan so were left out.
David Sodman [Mon, 21 Mar 2016 23:09:31 +0000 (16:09 -0700)]
Fix memory requiredProperty flags to check for at least rather than
exact match
Change-Id: I4afbe9c091fb45bdc02eb4c2778f62989ba28c5e
Pyry Haulos [Mon, 21 Mar 2016 21:11:12 +0000 (21:11 +0000)]
Merge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:04:25 +0000 (21:04 +0000)]
Merge "Fix int to bool conversion warning" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:04:08 +0000 (21:04 +0000)]
Merge "Improve logging in dEQP-VK.api.info.device.memory_properties" into nyc-dev
Mika Isojarvi [Mon, 21 Mar 2016 21:03:15 +0000 (21:03 +0000)]
Merge changes I87bf1147,I1bfc5656 into nyc-dev
* changes:
Enable blending for floating point formats
Always disable blending for 32bit float formats
Pyry Haulos [Mon, 21 Mar 2016 20:01:40 +0000 (20:01 +0000)]
Merge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 19:50:13 +0000 (12:50 -0700)]
Fix int to bool conversion warning
Change-Id: I8518715f690eca6e90732925cfb281f707090afc
Pyry Haulos [Mon, 21 Mar 2016 19:48:50 +0000 (12:48 -0700)]
Improve logging in dEQP-VK.api.info.device.memory_properties
Change-Id: I70927510e3dce6dbc05cc0f49f24f5d331f49412
Mika Isojarvi [Mon, 21 Mar 2016 19:23:58 +0000 (19:23 +0000)]
Merge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 19:00:16 +0000 (12:00 -0700)]
Enable blending for floating point formats
Bug:
27745776
Change-Id: I87bf11473eb45048d6c79d61b2248ac1c07072de
Pyry Haulos [Mon, 21 Mar 2016 19:00:09 +0000 (12:00 -0700)]
Fix VkDeviceSize -> size_t warning in synchronization tests
Change-Id: Ieafc30f1e6bcf9f74f45bf8d0f110c1df5af8948
Pyry Haulos [Mon, 21 Mar 2016 18:58:17 +0000 (11:58 -0700)]
Clean up Win32 platform code
* Move generic Win32 code to "win32" namespace
* Move WGLContextFactory to wgl namespace (tcu::wgl::ContextFactory).
* Move Vulkan platform implementation to tcuWin32VulkanPlatform.(c|h)pp.
Change-Id: Ie5d3945c54d6f696104270150c809638f16e18a1
Mika Isojärvi [Mon, 21 Mar 2016 18:48:44 +0000 (11:48 -0700)]
Always disable blending for 32bit float formats
GLES32 doesn't support blending 32bit float formats.
Change-Id: I1bfc5656f741bcb80c01d0f8620dbf0441891c0a
Peter Siket [Tue, 26 Jan 2016 14:08:16 +0000 (15:08 +0100)]
Command buffer tests are fixed and extended.
Jan Syryczynski [Thu, 7 Jan 2016 09:52:37 +0000 (10:52 +0100)]
Added command buffer tests using semaphores
David Sodman [Mon, 21 Mar 2016 17:16:39 +0000 (10:16 -0700)]
Add check to ensure memory and heap with DEVICE_LOCAL flags are
consistent
Fixes Vulkan-CTS/issues/5
Change-Id: I678fb69082d8c68bfe6ee13387ef64baa21223dc
Pyry Haulos [Mon, 21 Mar 2016 17:36:28 +0000 (10:36 -0700)]
Merge in bugfixes from Khronos repository
Pyry Haulos [Mon, 21 Mar 2016 17:34:57 +0000 (10:34 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Mika Isojarvi [Mon, 21 Mar 2016 17:31:40 +0000 (17:31 +0000)]
Merge "Add image layout transitions to pipeline barrier tests" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 17:28:07 +0000 (10:28 -0700)]
Merge branch 'jbreton-buffer-test-heap-limit' into 'vulkan-cts-1.0'
Fix createBuffer tests to clamp the buffer size based on the size of the selected heap
Right now, those tests clamp the allocation size based on the size of heap 0.
This is incorrect if the allocation is not done on heap 0.
In order to get the first compatible heap, we need to create the buffer and then call getBufferMemoryRequirements to query the requirement.
Then if we detect if the size need to be clamped we will recreate another buffer with the clamped size.
Fixes #326
See merge request !464
Mika Isojärvi [Wed, 9 Mar 2016 21:40:54 +0000 (13:40 -0800)]
Add image layout transitions to pipeline barrier tests
Change-Id: I00008343a16d789a661c12e2ce378421ddb59ba9
Pyry Haulos [Fri, 18 Mar 2016 23:28:17 +0000 (16:28 -0700)]
Add allocation callback tests for WSI
Includes tests for simulating out of host memory.
Change-Id: I9d754654dbae51e5236887761e58fa37a87d8b7a
Mika Isojärvi [Mon, 21 Mar 2016 17:12:16 +0000 (10:12 -0700)]
Fix GLES31 format counts in draw buffers indexed tests
Change-Id: I4d90e82e15aa594d1fcf9de811f41bc2343a9341
Pyry Haulos [Fri, 18 Mar 2016 23:35:39 +0000 (16:35 -0700)]
Add swapchain tests to mustpass
Change-Id: Id1010f7fbe64f38e0ddd17d96d30b2e5fd5d3161
Mika Isojarvi [Fri, 18 Mar 2016 23:09:48 +0000 (23:09 +0000)]
Merge "Remove non-color renderable formats from draw buffer indexed tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 22:59:19 +0000 (22:59 +0000)]
Merge "Fix typo in negative buffer API tests" into nyc-dev
Pyry Haulos [Fri, 18 Mar 2016 22:43:11 +0000 (22:43 +0000)]
Merge "Add basic WSI swapchain tests" into nyc-dev
Mika Isojärvi [Fri, 18 Mar 2016 20:20:27 +0000 (13:20 -0700)]
Remove non-color renderable formats from draw buffer indexed tests
Bug:
27701780
Change-Id: I6e66292d6bd8397d0ae2c1d222b8901659784edf
Mika Isojärvi [Fri, 18 Mar 2016 21:57:34 +0000 (14:57 -0700)]
Fix typo in negative buffer API tests
Bug:
27745437
Change-Id: I32ad04035df3600adf2eb63ce7aff039d2f26084
Pyry Haulos [Tue, 15 Mar 2016 20:46:47 +0000 (13:46 -0700)]
Add basic WSI swapchain tests
Change-Id: Ie8b70325508ccfe9def5ed5a631688db4e354767
Mika Isojarvi [Fri, 18 Mar 2016 16:57:20 +0000 (16:57 +0000)]
Merge "Remove invalid precision macro negative tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 16:56:22 +0000 (16:56 +0000)]
Merge "Make sure invalid programs and shaders are invalid" into nyc-dev
David Sodman [Thu, 17 Mar 2016 22:54:13 +0000 (22:54 +0000)]
Merge "Add support for vulkan synchronization primitives" into nyc-dev
Mika Isojärvi [Thu, 17 Mar 2016 22:27:31 +0000 (15:27 -0700)]
Remove invalid precision macro negative tests
Remove tests that required that using precision as macro name should
make compilation fail.
Bug:
27702614
Change-Id: I3fe4b11c5e0d80e11ca91ceac6d95ee72646e8a4
Mika Isojärvi [Thu, 17 Mar 2016 22:03:38 +0000 (15:03 -0700)]
Make sure invalid programs and shaders are invalid
Change-Id: If840c7bb15c0c531e71cc55a8dfbacccda6bfac9
Mika Isojarvi [Thu, 17 Mar 2016 21:30:09 +0000 (21:30 +0000)]
Merge "Turn on well defined signed integer overflow" into nyc-dev
Mika Isojärvi [Thu, 17 Mar 2016 02:00:59 +0000 (19:00 -0700)]
Turn on well defined signed integer overflow
clang and gcc assume that signed integers never overflow.
This leads to unexpected bugs when optimizer removes bound checks etc.
Bug:
27703278
Bug:
22715185
Change-Id: Iab4c884fa190d05c0ac9236d01eeeb190e765e69
Jeannot Breton [Fri, 4 Mar 2016 19:05:39 +0000 (13:05 -0600)]
clamp allocation size based on heap size
David Sodman [Mon, 14 Mar 2016 22:28:34 +0000 (15:28 -0700)]
Add code to validate memoryType properties reported from
vkGetPhysicalDeviceMemoryProperties()
BUG
27528890
Change-Id: Iede260b1fcd8d98f6db0e0b0829ab631eb219908
Mika Isojarvi [Thu, 17 Mar 2016 01:18:44 +0000 (01:18 +0000)]
Merge "Fix geometry point size extension check" into nyc-dev
Pyry Haulos [Wed, 16 Mar 2016 23:21:51 +0000 (23:21 +0000)]
Merge "Do not require signed zero support in frexp() tests" into nyc-dev
Mika Isojarvi [Wed, 16 Mar 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Fix cube map array extension checks in opaque indexing tests" into nyc-dev
Mika Isojärvi [Wed, 16 Mar 2016 22:05:08 +0000 (15:05 -0700)]
Fix geometry point size extension check
Bug:
27701866
Change-Id: I6870bb32da7d1f1b7fed9e56873eb4eafcdc7057
Pyry Haulos [Wed, 16 Mar 2016 21:49:15 +0000 (14:49 -0700)]
Do not require signed zero support in frexp() tests
Bug:
25933766
Change-Id: Ided7abef00010b97133f79930f6edcd73333c5ed
Mika Isojärvi [Wed, 16 Mar 2016 20:30:22 +0000 (13:30 -0700)]
Fix cube map array extension checks in opaque indexing tests
Bug:
27570992
Change-Id: I7be5792ac51331e171cd6194f2c50e47307210ae
Pyry Haulos [Wed, 16 Mar 2016 18:41:19 +0000 (11:41 -0700)]
Re-build mustpass
Change-Id: Ib949dcff21bbcda78bb07ad28765fe6436ded3ec