Gary Sweet [Wed, 26 Jul 2017 09:50:31 +0000 (10:50 +0100)]
Keep buffer memory alive through BufferView creation
The device memory used to create a buffer was going out
of scope and being freed too early. A buffer view was
subsequently made using the buffer. This is invalid.
This change extends the lifetime of the buffer memory to
match the buffer.
Affects:
dEQP-VK.api.buffer_view.create.*
Components: Vulkan
VK-GL-CTS issue: 574
Change-Id: I6605da750d6494587781285447a157ef12018459
Dave Airlie [Thu, 27 Jul 2017 19:43:53 +0000 (05:43 +1000)]
Fix combined depth/stencil clear colors.
This test was clearing depth to 256.0, values > 1.0 are undefined.
This fixes the the combined depth/stencil clears to use valid values
for depth and stencil.
Affects:
dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.depth_stencil.*
VK-GL-CTS Issue: 591
Change-Id: I75fd7e2bf17a84f7a2730f36b4bcdc066af1177c
Oivind Boge [Thu, 10 Aug 2017 10:24:02 +0000 (12:24 +0200)]
Fixed incorrect calculation of GCD
The calculation of greatest common divisor was
implemented incorrect when first added.
The function was using the input parameter instead
of its local copy of the input, which is updated
for each iteration of the calculation.
Affects:
dEQP-VK.api.image_clearing.*
Components: Vulkan
VK-GL-CTS issue: 625
Change-Id: I6619e4a30d89148d2567a725dbd27161fcf29a47
Oivind Boge [Sat, 8 Jul 2017 12:09:12 +0000 (14:09 +0200)]
Fix layout transition for WSI tests
The initial layout of the renderpass can't be
COLOR_ATTACHMENT_OPTIMAL without any transition
happening upfront.
Affects:
dEQP-VK.wsi.android.display_timing.*
dEQP-VK.wsi.android.incremental_present.*
Components: Vulkan
VK-GL-CTS issue: 565
Change-Id: Ie62f7aee21c52145090bf228db7031c0e4afb347
Gary Sweet [Thu, 27 Jul 2017 10:42:40 +0000 (11:42 +0100)]
Respect sampleRateShading availability in interpolate tests
Most of the tests in the dEQP-VK.pipeline.multisample_interpolation
group use one of the interpolatAt*() functions in their shaders.
These are only valid if sampleRateShading is available.
The multisampleStateInfo also blindly sets sampleShadingEnable
to true without checking.
Affects:
dEQP-VK.pipeline.multisample_interpolation.*
Components: Vulkan
VK-GL-CTS issue: 600
Change-Id: I95f91af9a7abb1e55ff2a3da0c0daefb819226f9
Slawomir Cygan [Mon, 31 Jul 2017 12:22:50 +0000 (14:22 +0200)]
Fix regressions in synchronization tests for dedicated allocations
Pass image memory requirements to allocation routine in allocateAndBindMemory.
VK_KHR_get_memory_requirements2 is a device extension (not instance).
Throw NotSupported when external handle requires dedicated allocation,
but 'suballocated' variant of test is being run.
Affects:
dEQP-VK.synchronization.cross_instance.*
Components: Vulkan
VK-GL-CTS issue: 604
Change-Id: I3636779459300f5dee2e22b0a2e04762eb7b0601
Maciej Jesionowski [Wed, 26 Jul 2017 13:33:59 +0000 (15:33 +0200)]
Sparse buffer test: allocate memory in one big chunk
The test made excessive small memory allocations breaking the
maxMemoryAllocationCount limit.
Affects:
dEQP-VK.sparse_resources.buffer.transfer.sparse_binding.buffer_size_2_24
Components: Vulkan
VK-GL-CTS issue: 592
Change-Id: Ic7c1c07db2b805806e2c940d3fd4d96e12043aaf
Daniel Koch [Wed, 26 Jul 2017 17:38:21 +0000 (13:38 -0400)]
Allow VK_KHR_relaxed_block_layout extension
VK-GL-CTS Issue: 596
Affects:
dEQP-VK.api.info.device.extensions
Change-Id: I25395cbc76e2a4a176c74e9d46f16f3e105c4669
Component: Vulkan
Arkadiusz Sarwa [Wed, 15 Mar 2017 15:02:07 +0000 (16:02 +0100)]
Add VK_KHR_relaxed_block_layout
New tests:
dEQP-VK.ssbo.layout.multi_basic_types.*.relaxed_block*
dEQP-VK.ssbo.layout.random.relaxed.*
VK-GL-CTS issue: 117
Components: Vulkan
Change-Id: Ieda2aa291dcbff250b81e0da06c39781800f4af7
(cherry picked from commit
2a11db7c2e23afd4bef2f9a0eab84356d912ff3c)
Arkadiusz Sarwa [Tue, 9 May 2017 14:45:32 +0000 (16:45 +0200)]
Add GlslBuildOptions::FLAG_ALLOW_RELAXED_OFFSETS
Enabling the flag allows GLSL to use layout(offset = N) qualifiers that
follow VK_KHR_relaxed_block_layout rules instead of GLSL std140/std430
rules.
Components: Vulkan
Change-Id: I4f168b04ad0916b740891b603ddde2de0f4bcf50
(cherry picked from commit
4b82e12d3a7bf0947887e0b9d586d0ab63bd4888)
Tony Zlatinski [Wed, 19 Jul 2017 21:21:53 +0000 (16:21 -0500)]
Select correct memory heap index for memory import
When importing memory, the application (CTS) should follow
the spec rules about memory imports. I.e. The application must use the
same memory heap index for the import that has been used for the
exported memory. In addition, the application can't
import a buffer or image to a heap that does not support CPU mapping and
expect the memory to be CPU mappable/accessible.
This change modifies the export memory routines, now, returning the
index of the heap memory used for the export. Then the import routines are
modified to use those indexes for the memory import operations.
Components: Vulkan
Affects:
dEQP-VK.api.external.memory.*
dEQP-VK.synchronization.cross_instance.*
VK-GL-CTS issue: 585
Change-Id: I48ab85b7fd2b67655163f055fb03e8f2a3a42fd6
Alexander Galazin [Fri, 21 Jul 2017 17:51:48 +0000 (19:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ifac39caba5598cbb75d5fb25d271ad0b709140a6
Alexander Galazin [Fri, 21 Jul 2017 17:44:17 +0000 (19:44 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Change-Id: If1266ef43a81d4d015c3f656315ea629acbbd55e
Alexander Galazin [Fri, 21 Jul 2017 16:55:45 +0000 (18:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I65f618365df474653f68d311647f601f91a38e4b
Igor Ostrowski [Tue, 4 Jul 2017 16:01:23 +0000 (18:01 +0200)]
Fix layout transition in blitting tests
Affects:
dEQP-VK.api.copy_and_blit.*.blit_image.*
Components: Vulkan
VK-GL-CTS issue: 571
Change-Id: I780374a8fbff336a7789bd6a745e635ac1202b62
Igor Ostrowski [Wed, 12 Jul 2017 13:15:14 +0000 (15:15 +0200)]
Add metadata bindings in sparse tests
All metadata must be bound prior to device use of the sparse image
Affects:
dEQP-VK.sparse_resources.image_sparse_residency.*
dEQP-VK.sparse_resources.mipmap_sparse_residency.*
dEQP-VK.sparse_resources.shader_intrinsics.*
dEQP-VK.glsl.texture_functions.*sparse*
dEQP-VK.glsl.texture_gather.*sparse*
Components: Vulkan
VK-GL-CTS issue: 572
Change-Id: I4bbf2b74ed7fc0cea000084769cbed0dbe4a802e
JarredDavies [Fri, 14 Jul 2017 14:55:46 +0000 (15:55 +0100)]
Fix incorrect scale in pipeline_barrier tests
The ImageBlitFromImage verfication code incorrectly scales the refrence image it creates.
The test should add 0.5 to the x and y coords before scaling them.
Affects:
dEQP-VK.memory.pipeline_barrier.*
Components: Vulkan
VK-GL-CTS issue: 577
Change-Id: I28d0b4deec0f1837c21cdc2dc68a9169ca8ae96b
Slawomir Cygan [Thu, 6 Jul 2017 17:24:18 +0000 (19:24 +0200)]
copies_and_blitting: fix ambiguous signed normalized 1.0 value
Below tests copy floats to signed normalized 8-bit values.
In that process it happens that 1.0 float value is copied to 8_snorm
elements as: {0x00, 0x00, 0x80, 0x3f}
According to spec, on SNORM values:
"Note that while zero is exactly expressible in this representation,
one value (-128 in the example) is outside the representable range,
and must be clamped before use."
The problem occurs when 0x80 == 128 value is copied to buffer:
as it falls outside of <-1,1> range, it may be clamped to 0x81 (both values
represent -1.0 SNORM value).
The change here processes all result and expected data buffers to remove
all ambiguites by converting to float and back to signed normalized format.
Affects:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.a8b8g8r8_snorm_pack32.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.r8g8b8a8_snorm.*
Components: Vulkan
VK-GL-CTS issue: 563
Change-Id: I175665f39811cf6a80862967ad0a9bb8e13527e9
Yanjun Zhang [Fri, 7 Jul 2017 20:45:59 +0000 (13:45 -0700)]
Relax threshold in cube map filtering tests
Use the same colorThreshold calculation as GLES CTS so Vulkan CTS
has the same behavior as GLES CTS.
Components: Vulkan
Affects:
dEQP-VK.pipeline.sampler.view_type.cube.format.r5g6b5_unorm_pack16.*
VK-GL-CTS issue: 561
Change-Id: I9bd632bb242f653b1f2d8bb50ee9867da926e95b
Slawomir Cygan [Fri, 7 Jul 2017 14:41:30 +0000 (16:41 +0200)]
cross_instance sync: run without VK_KHR_get_memory_requirements2
This extension is used in the test, to check if resource needs dedicated
allocations (to be used created by dependent VK_KHR_dedicated_allocation
extension).
If the extension is not supported assume there is no need for dedicated
allocations.
Affects: dEQP-VK.synchronization.cross_instance.*
VK-GL-CTS issue: 548
Components: Vulkan
Change-Id: Icb4f5a34b98da213d0cb665bcc4e6b048d7b8a3c
gkbldval [Fri, 14 Jul 2017 16:49:26 +0000 (18:49 +0200)]
Refactor synchronization test code to avoid compiler warning
vkt::synchronization::s_resources is unused in recently
added file, causing -Wunused warning (treated as error).
Affects: dEQP-VK.synchronization.*
Components: Vulkan
VK-GL-CTS issue: 578
Change-Id: Ifd8ce0812673e6b2da7c28bacb4384b3c80f65d1
Alexander Galazin [Wed, 5 Jul 2017 15:09:38 +0000 (17:09 +0200)]
Fix gcc 5.4 warnings
gcc 5.4 (default in Ubuntu 16.04) reports conversion to int
warnings/errors for bitwise or and assign operator.
GCC bug: 40752
Components: Framework, Vulkan
Change-Id: Ia857c44cf54d5571d857e1fada0e2aaa8f4b950d
(cherry picked from commit
0bd8828618d95d2a83bc7475179a9227bfd22f5f)
Alexander Galazin [Fri, 14 Jul 2017 07:48:05 +0000 (09:48 +0200)]
Add option to skip fetch external sources
Added option to check_build_sanity.py to skip running
fetch_sources.py. Allows to run multiple concurrent invocations
of check_build_sanity.py using the same source folder.
Components: Framework
Change-Id: I6289920860fb20287c405cefc0213c27f326857b
Boris Zanin [Tue, 11 Jul 2017 12:31:58 +0000 (14:31 +0200)]
Windows build fix. Use deUint types
uint32_t and uint64_t have been replaced with
deUint32 and deUint64 recognizable by Windows.
Components: Vulkan
VK-GL-CTS issue: 358
Change-Id: I5b80d861a63005011f3d0b663d802f97321148f8
Alexander Galazin [Mon, 10 Jul 2017 15:52:41 +0000 (17:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2-confidential-rc into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I328c6582580bf287a02201c200fb4e477c259508
Ehsan Nasiri [Fri, 30 Jun 2017 22:58:19 +0000 (18:58 -0400)]
Fix for variable pointer (writes) in tess.control
Use patch index to avoid multiple increments
VK-GL-CTS issue: 543
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes*tess*
Change-Id: If518fdae084722cc28f19044186dbda07880a50c
Slawomir Cygan [Mon, 3 Jul 2017 13:45:47 +0000 (15:45 +0200)]
cross_instance sync tests: add support for non-KMT Win32 handles
This adds tests for *HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR
handle types.
Affects: dEQP-VK.synchronization.cross_instance.*win32*
VK-GL-CTS issue: 547
Components: Vulkan
Change-Id: I70a577195f5b303c7fd80f88606f35b83a1b2b11
Slawomir Cygan [Mon, 3 Jul 2017 16:50:01 +0000 (18:50 +0200)]
Wrong handle in external fence reset tests
The `importFence()` function resets the passed handle at the end,
so in two consecutive calls the second one is going to use the
wrong handle.
To avoid that the handle is duplicated.
Affects: dEQP-VK.api.external.fence.*reset_*
VK-GL-CTS issue: 549
Components: Vulkan
Change-Id: I2218d2f5ceffe52afe6a2306c3eebac79a24b5a9
Alexander Galazin [Wed, 5 Jul 2017 13:29:21 +0000 (15:29 +0200)]
Fix gcc 6.3 warnings
Components: Vulkan
Change-Id: I0e4f8d09fef5a6d08a7b7db975de4a68879ea3f8
Noah Fredriks [Wed, 31 May 2017 18:01:35 +0000 (14:01 -0400)]
Remove individual 3D slice layout transitions
For VK_KHR_maintenance1 render to 3D slice tests using
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBILITY_BIT_KHR, layout
transitions from undefined would actually affect all
slices in the complete mip level instead of just those
specified in the image view. Therefore, don't use
VK_IMAGE_LAYOUT_UNDEFINED when previous subpasses may
have already rendered to the other slices.
Affects: dEQP-VK.pipeline.render_to_image.3d.*
VK-GL-CTS issue: 476
Components: Vulkan
Change-Id: I0cfde62c03f4400246eef192a382d5593c6997e5
Noah Fredriks [Wed, 31 May 2017 18:01:35 +0000 (14:01 -0400)]
Remove individual 3D slice layout transitions
For VK_KHR_maintenance1 render to 3D slice tests using
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBILITY_BIT_KHR, layout
transitions from undefined would actually affect all
slices in the complete mip level instead of just those
specified in the image view. Therefore, don't use
VK_IMAGE_LAYOUT_UNDEFINED when previous subpasses may
have already rendered to the other slices.
Affects: dEQP-VK.pipeline.render_to_image.3d.*
VK-GL-CTS issue: 476
Components: Vulkan
Change-Id: I4faaaf0d849ad89dd68ef643cfe38730221f8f55
Alexander Galazin [Fri, 30 Jun 2017 11:51:02 +0000 (13:51 +0200)]
Exclude variable pointers tests with stores to SSBOs in tess shaders
VK-GL-CTS issue: 543
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes*tess*
Change-Id: I7f8f2f34dda2534e6dcc1f2e81e4a497741a4bfd
Ehsan Nasiri [Thu, 29 Jun 2017 19:04:52 +0000 (15:04 -0400)]
Add ArrayStride decoration to some pointers.
OpPtrAccessChain needs ArrayStride information on variable pointers.
VK-GL-CTS issue: 123
Components: Vulkan
Affects: dEQP-VK.spirv_assembly.instruction.*.variable_pointers.*
Change-Id: I04aa67814b39937b8eeb6254e341c117bc1fc956
Maciej Jesionowski [Tue, 30 May 2017 08:27:34 +0000 (10:27 +0200)]
Use transfer queue with vkCmdFillBuffer
Due to an error in the condition, the transfer-only queue wasn't
selected for the fill buffer write operation.
Also fixed a validation error with barrier used inside a render pass
in read vertex input operation. This should have no effect on behavior.
Affects:
dEQP-VK.synchronization.op.multi_queue.*fill_buffer*
dEQP-VK.synchronization.op.*read_vertex_input*
Components: Vulkan
VK-GL-CTS issue: 481
Change-Id: Ibed24824532c0e35aba61238809f34717f431b6f
(cherry picked from commit
83af72c04b8723a33855fafc38b3f0a28537a124)
Alexander Galazin [Thu, 29 Jun 2017 19:45:14 +0000 (21:45 +0200)]
Exclude certain tests not inlcuded in 1.0.2.3
- image_clearing.*multiple_layer
- render_to_image mipmap tests and recently added formats
- sync Android and Khronos mustpasses
VK-GL-CTS issue: 542
Components: Vulkan, AOSP
Change-Id: I043680cb93ba7abdfac371f5a3e6f0b578b3af20
Alexander Galazin [Wed, 28 Jun 2017 13:29:13 +0000 (15:29 +0200)]
Exclude render pass multisample resolve tests
Components:Vulkan
Affects: dEQP-VK.renderpass.*.multisample_resolve.*
VK-GL-CTS issue: 538
Change-Id: I21271ceacbc28207b1dba7c09871f1f1871bf556
Maciej Jesionowski [Wed, 28 Jun 2017 09:51:46 +0000 (11:51 +0200)]
Reduce the max number of concurrent pipeline cache objects
Previous maximum of 16k was excessive as these objects are expected to
have a significant size. Estimating their size based on allocation
callbacks may be not representative of the actual memory usage.
Affected tests:
dEQP-VK.api.object_management.max_concurrent.pipeline_cache
Components: Vulkan
VK-GL-CTS issue: 539
Change-Id: I17a868b993a55296417eee80dfa15c5559e4c20e
Maciej Jesionowski [Wed, 28 Jun 2017 09:51:46 +0000 (11:51 +0200)]
Reduce the max number of concurrent pipeline cache objects
Previous maximum of 16k was excessive as these objects are expected to
have a significant size. Estimating their size based on allocation
callbacks may be not representative of the actual memory usage.
Affected tests:
dEQP-VK.api.object_management.max_concurrent.pipeline_cache
Components: Vulkan
VK-GL-CTS issue: 539
Change-Id: I17a868b993a55296417eee80dfa15c5559e4c20e
Maciej Jesionowski [Tue, 30 May 2017 08:27:34 +0000 (10:27 +0200)]
Use transfer queue with vkCmdFillBuffer
Due to an error in the condition, the transfer-only queue wasn't
selected for the fill buffer write operation.
Also fixed a validation error with barrier used inside a render pass
in read vertex input operation. This should have no effect on behavior.
Affects:
dEQP-VK.synchronization.op.multi_queue.*fill_buffer*
dEQP-VK.synchronization.op.*read_vertex_input*
Components: Vulkan
VK-GL-CTS issue: 481
Change-Id: Ibed24824532c0e35aba61238809f34717f431b6f
Ehsan Nasiri [Fri, 26 May 2017 19:06:15 +0000 (15:06 -0400)]
Add new VK_KHR_variable_pointers extension tests
These tests do not write to SSBOs, and therefore do not require the
vertexPipelineStoresAndAtomics and fragmentStoresAndAtomics device
features.
VK-GL-CTS issue: 123
Components: Vulkan
Affects: dEQP-VK.spirv_assembly.instruction.*.variable_pointers.*
Change-Id: I9a5f524a3a7ae7f0ddb295d983ba39bb0b4bcfa9
Ehsan Nasiri [Fri, 31 Mar 2017 20:40:35 +0000 (16:40 -0400)]
Add tests for SPV_KHR_variable_pointers extension
Compute tests and graphics tests are added for the
VK_KHR_variable_pointers
extension.
Components: Vulkan, Framework
VK-GL-CTS issue: 123
New Tests: dEQP-VK.spirv_assembly.instruction.*.variable_pointers.*
Change-Id: If2d01d626428d89a27432e2b1df33778e0b29f3b
Alexander Galazin [Tue, 27 Jun 2017 07:32:01 +0000 (09:32 +0200)]
Exclude multisample renderpass input attachment tests
VK-GL-CTS issue: 536
Components: Vulkan
Affects: dEQP-VK.renderpass.*.multisample.*
Change-Id: I34c7bc3f92141b92e645ce4f3da4029177b93b24
Alexander Galazin [Tue, 27 Jun 2017 07:24:20 +0000 (09:24 +0200)]
Exclude tests for resolving between images of different sizes
VK-GL-CTS issue: 534
Components: Vulkan
Affects: dEQP-VK.api.copy_and_blit.*.resolve_image.diff_image_size.*
Change-Id: Id80c74928d29556336a584c6ae85e261db10f935
Alexander Galazin [Tue, 27 Jun 2017 07:10:41 +0000 (09:10 +0200)]
Applying missing changes from 7e5751
VK-GL-CTS issue: 533
Components: Vulkan
Affects: dEQP-VK.api.external.fence.*
Change-Id: I5578ab58c4839e8b43c6c1a43cd567be40996c12
Alexander Galazin [Fri, 23 Jun 2017 22:50:32 +0000 (00:50 +0200)]
Add VK_KHR_dedicated_allocation to allowed extensions
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ia4a785bc31c4790d73375f01fbeb34d5936f7c80
Boris Zanin [Thu, 18 May 2017 14:49:40 +0000 (16:49 +0200)]
VK_KHR_dedicated_allocation: Image clears
Update tests:
* dEQP-VK.api.image_clearing.*
Rename tests (add .core subgroup):
* dEQP-VK.api.image_clearing.core.*
Add tests:
* dEQP-VK.api.image_clearing.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ia7d7703fb6d9818549d80b031e4e8ea2a9ecf509
Slawomir Cygan [Mon, 29 May 2017 17:23:01 +0000 (19:23 +0200)]
Extend dEQP-VK.api.image_clearing tests to cover layered images
This change adds new variang of image clearing test cases:
- *_multiple_layers
which use arrayed images and layered clears.
In the new tests variant both image views and clear operations
use layerCount smaller than `remaining` layers and non-zero
baseArrayLayer. It is expected that proper subset of layers
are cleared, while other layers are untouched.
All clear command variants (image, attachment), color formats
and image types are tested.
Affects: dEQP-VK.api.image_clearing
Components: Vulkan
VK-GL-CTS issue: 449
Change-Id: Ifedd393b14880697501df450b22740de76b6cd0c
(cherry picked from commit
1198740eef1b624f481d16302a5d311e512ba16b)
Boris Zanin [Mon, 15 May 2017 15:15:27 +0000 (17:15 +0200)]
VK_KHR_dedicated_allocation: Copies and blits
Update tests:
* dEQP-VK.api.copy_and_blit.*
Rename tests (add .core subgroup):
* dEQP-VK.api.copy_and_blit.core.*
Add tests:
* dEQP-VK.api.copy_and_blit.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ic42d141187a6fc0eade9a93f19e9cd9e821725fb
Igor Ostrowski [Mon, 2 Jan 2017 16:41:30 +0000 (17:41 +0100)]
Add copy image to image and blit image tests with various image layouts. Refactor copy and blit tests generation.
Tests took into account only optimal layout cases. Added general and mixed ones.
Structure of all copy and blit tests was too flat. Lowered granularity of test groups.
New tests:
- dEQP-VK.api.copy_and_blit.image_to_image.all_formats.*optimal_optimal*
- dEQP-VK.api.copy_and_blit.image_to_image.all_formats.*optimal_general*
- dEQP-VK.api.copy_and_blit.image_to_image.all_formats.*general_optimal*
- dEQP-VK.api.copy_and_blit.image_to_image.all_formats.*general_general*
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*optimal_optimal*
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*optimal_general*
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*general_optimal*
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*general_general*
Affected tests:
- dEQP-VK.api.copy_and_blit.*
Components: Vulkan
Change-Id: I5724bb7c0a3ccb2e36319a20671761a9b16fe4ed
(cherry picked from commit
78ba8d915b4558376b479833c862c51433cb882e)
Maciej Jesionowski [Tue, 27 Dec 2016 13:15:58 +0000 (14:15 +0100)]
Add NEAREST filtered blitting tests
This fixes a couple of issues with nearest filtered blitting tests
and adds them back to the mustpass.
- Corrected test case names (esp. for D/S formats)
- Modified common code used by linear cases too (shouldn't have
an observable effect on tests)
- Used tcuTexLookupVerifier to sample source image with an offset
that accounts for rounding errors in coordinate calculation
- Enabled nearest cases in mustpass
New tests:
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*_nearest
Modified tests:
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*
Fixes #483, #565
Change-Id: I176c2b50a656268a31f1f35fef1ff90647039727
(cherry picked from commit
396dacd30898c428105bc4f2f72b00240673f3a7)
Gabor Abraham [Fri, 18 Nov 2016 10:22:53 +0000 (11:22 +0100)]
Improve the test generation in the copies and blitting tests
The generateBuffer function didn't handle the integer formats well.
Affected tests:
- dEQP-VK.api.copy_and_blit.image_to_image.all_formats.*int*
- dEQP-VK.api.copy_and_blit.blit_image.all_formats.*int*
Change-Id: I248136606d2535c176432bbc50de45e1e4e55b80
(cherry picked from commit
a8efa9926e55631f2279871a07f3dfa51bf12ba5)
Boris Zanin [Mon, 29 May 2017 14:41:31 +0000 (16:41 +0200)]
VK_KHR_dedicated_allocation: Extend renderpass
Update tests:
* dEQP-VK.renderpass.*
Rename tests (add .suballocation subgroup):
* dEQP-VK.renderpass.suballocation.*
Add tests:
* dEQP-VK.renderpass.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ibe140613592568d4388c4ded6563bc47f43ca552
Mika Isojärvi [Tue, 28 Mar 2017 20:45:01 +0000 (13:45 -0700)]
Add render pass multisample resolve tests
- Check that attachment components are resolved consistently
- Check that attachments are resolved consistently
- Check that integer formats always resolve to one of the samples
- Check that empty sample mask doesn't change values
- Check that all possible sample combinations of 1.0 and 0.0 values
resolve to 0.5 on average.
VK-GL-CTS issues: 96
Components: Vulkan
Change-Id: I18b92ed713175cd935651575f4e48d9fd207ef00
(cherry picked from commit
c8c44388f472dcbb6145b520c4a89e5ef02221b3)
Mika Isojärvi [Tue, 21 Mar 2017 23:12:51 +0000 (16:12 -0700)]
Add multisample renderpass input attachment tests
VK-GL-CTS issues: 96
Components: Vulkan
Change-Id: I9ea87736c82148515da3c2d95301e6302be4257d
(cherry picked from commit
35a2479cfd4c25ae820005254d7c595b0a181599)
Boris Zanin [Mon, 22 May 2017 13:13:23 +0000 (15:13 +0200)]
VK_KHR_dedicated_allocation: Extend render_to_image
Update tests:
* dEQP-VK.pipeline.render_to_image.*
Rename tests (add .core subgroup):
* dEQP-VK.pipeline.render_to_image.core.*
Add tests:
* dEQP-VK.pipeline.render_to_image.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: If4437ea7cf335f083e11d0939894391d34c5b76a
Maciej Jesionowski [Tue, 17 Jan 2017 15:36:33 +0000 (16:36 +0100)]
Add render to mipmaps tests
This test repeatedly draws into the same image using consecutive
mip levels as color and dept/stencil attachments. All mip levels
and array layers are exercised.
Modified tests:
dEQP-VK.pipeline.render_to_image.*
New tests:
dEQP-VK.pipeline.render_to_image.*.mipmap.*
Components: Vulkan
Vulkan CTS issue: 487, 535
Change-Id: I7e4b3c6978d069c0accc377e9ab6e9d05e8e3cc6
(cherry picked from commit
36640c9bfefdb414547c7575ec8adccf2e86263d)
Maciej Jesionowski [Tue, 17 Jan 2017 15:36:33 +0000 (16:36 +0100)]
Add max size attachments tests
This test creates very big color, and depth/stencil attachments
in all possible dimensions and layers.
Original tests in the affected group were moved to *.small.*
subgroup.
Modified tests:
dEQP-VK.pipeline.render_to_image.*.small.*
New tests:
dEQP-VK.pipeline.render_to_image.*.huge.*
Components: Vulkan
Vulkan CTS issue: 451, 535
Change-Id: I1e3bd1f7a657ff837b830bbada539a1240b1fd04
(cherry picked from commit
9c87bf6cfb1b8f99304b493a6846c15819da432a)
Boris Zanin [Sun, 21 May 2017 20:21:49 +0000 (22:21 +0200)]
VK_KHR_dedicated_allocation: Extend pipeline.image
Update tests:
* dEQP-VK.pipeline.image.*
Rename tests (add .suballocation subgroup):
* dEQP-VK.pipeline.image.suballocation.*
Add tests:
* dEQP-VK.pipeline.image.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: I0b25c08b830a44956dd0c26da39124364dbabb89
Marcin Rogucki [Mon, 12 Jun 2017 10:42:41 +0000 (12:42 +0200)]
VK_KHR_dedicated_allocation: Memory Mapping tests
Update tests:
* dEQP-VK.memory.mapping.*
Rename tests (added .suballocation subgroups):
* dEQP-VK.memory.mapping.suballocation.*
Add tests:
* dEQP-VK.memory.mapping.dedicated_alloc.buffer.*
* dEQP-VK.memory.mapping.dedicated_alloc.image.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ia593c099dc6dcd36c1b45f210c48b8bba9600728
Marcin Rogucki [Fri, 12 May 2017 09:04:19 +0000 (11:04 +0200)]
VK_KHR_dedicated_allocation: Buffer tests
Update tests:
* dEQP-VK.api.buffer.create_buffer_*
* dEQP-VK.api.buffer_view.create.*
* dEQP-VK.api.buffer_view.access.*
* dEQP-VK.api.fill_and_update_buffer.*
Rename tests (added .suballocation subgroups):
* dEQP-VK.api.buffer.suballocation.create_buffer_*
* dEQP-VK.api.buffer_view.create.suballocation.create_buffer_view_*
* dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_complete
* dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_partial_offset0
* dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_partial_offset1
* dEQP-VK.api.fill_and_update_buffer.suballocation.*
Add tests:
* dEQP-VK.api.buffer.dedicated_alloc.create_buffer_*
* dEQP-VK.api.buffer_view.create.dedicated_alloc.create_buffer_view_*
* dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_complete_*
* dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset0_*
* dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset1_*
* dEQP-VK.api.fill_and_update_buffer.dedicated_alloc.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: I6f73cd218f9e59a4939adf804764388edaa63279
Maciej Jesionowski [Tue, 10 Jan 2017 12:15:45 +0000 (13:15 +0100)]
Use deAlign64 in api.buffer and sparse_resources
Change-Id: I087d99db106555a806c6864e67c9af12fb5c67b2
(cherry picked from commit
b1d1890c88c14529c145fb9ef20b1046233e4f50)
Maciej Jesionowski [Tue, 10 Jan 2017 12:09:14 +0000 (13:09 +0100)]
Add deInt64 alignment functions to delibs
Change-Id: Icf66e7157ae6e972e0d7ef19486fa5b776da1eb0
(cherry picked from commit
412a848d25e4a97b343904f8beace2c3690267c8)
Boris Zanin [Thu, 18 May 2017 06:45:39 +0000 (08:45 +0200)]
Definitions for VK_KHR_dedicated_allocation
Add definitions for VK_KHR_dedicated_allocation.
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: I062e3eb03edfd4d785d5d93775915541bcd4aa02
Mika Isojärvi [Mon, 15 May 2017 21:58:26 +0000 (14:58 -0700)]
Add API tests for VK_KHR_external_fence* extensions
New Tests:
dEQP-VK.api.external.fence.*
VK-GL-CTS issues: 119
Components: Vulkan
Change-Id: Ie812cd66b7d7aa5731338b050c23bfe805583ef6
Piers Daniell [Wed, 17 May 2017 20:39:05 +0000 (14:39 -0600)]
Test for VK_KHR_win32_keyed_mutex
This test adds coverage for VK_KHR_win32_keyed_mutex. It also depends
on the following extensions:
- VK_KHR_get_physical_device_properties2
- VK_KHR_external_memory_capabilities
- VK_KHR_external_memory
- VK_KHR_external_memory_win32
- VK_KHR_dedicated_allocation
- VK_KHR_get_memory_requirements2
New tests:
dEQP-VK.synchronization.win32_keyed_mutex.*
Components: Vulkan
VK-GL-CTS issue: 358
Change-Id: Ib247f17514f1e64c1fc43918fe033530bb981a05
Pyry Haulos [Wed, 28 Sep 2016 19:46:55 +0000 (12:46 -0700)]
API tests for the VK_KHR_external_* extensions
New tests:
dEQP-VK.api.external.*
dEQP-VK.synchronization.cross_instance.*
VK-GL-CTS issues: 107, 108, 109
Components: Vulkan
Contains the following commits:
08b8e2b72dd89548f9877a8ed5bba7c04c1d9732
9d154edc6a44aaccd0a913a17d44689cfe472ab2
2977726d2eb00edb145418f196e355671ed53ca5
1d626a0d2d66ef34d3caeecb6e5e2f9c81f5e788
a56c487e346192c74fb17f719aad18a71d667478
c918a652c559028f0f4893962e32d3e52970fd4f
Change-Id: I9b2e838c7e7143996f0dc49dabe48346416716ff
Daniel Koch [Wed, 21 Jun 2017 17:14:44 +0000 (13:14 -0400)]
defer device creation until after feature checks
VK-GL-CTS Issue: 523
Component: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.*
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.*
Change-Id: Ife678bf4e70f5d312f9276356bc288f7d31f15f8
(cherry picked from commit
545cb418b912430bce80ae69d06f669114b4211e)
Daniel Koch [Wed, 21 Jun 2017 14:21:04 +0000 (10:21 -0400)]
Fix 16bit_storage out of bounds buffer accesses
VK-GL-CTS Issue: 518
Component: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.push_constant_16_to_32.vector_sint
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.push_constant_16_to_32.vector_uint
Change-Id: I33d3c94388a8eacac78a617ba7711b3688701323
(cherry picked from commit
5bad3cacecc5de4868365cb854f9433c79770c5f)
Alexander Galazin [Thu, 22 Jun 2017 02:28:13 +0000 (04:28 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.0.2-confidential
Change-Id: I842fde2a18d086da72b78b0b3bded26fd2b2de4b
Alexander Galazin [Thu, 22 Jun 2017 02:28:12 +0000 (04:28 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I6400944995d9bcb06801ab0f3ada643ed9d914ed
Alex Walters [Tue, 20 Jun 2017 11:27:11 +0000 (12:27 +0100)]
Check for shaderFloat64 before creating shaders
Shader is using double types for F64 vertex attribute cases without
checking that the shader feature is supported.
The test was eventually making this check, but not until setting up
the vertex attributes themselves. This change also avoid creating some
other resources before determining that the test is unsupported.
Affects:
dEQP-VK.pipeline.vertex_input.single_attribute*64*
Components: Vulkan
VK-GL-CTS issue: 459
Change-Id: I6142af4e1a64aac233d6890285f81db327589800
Iago Toral Quiroga [Mon, 19 Jun 2017 09:50:54 +0000 (11:50 +0200)]
Fix regressions from
38cdcf98c372cb8af8
That commit merged together a number of changes
and it seems that it messed up the spir-v for the
opconstantnull and opundef tests.
Components: Vulkan
Vk-GL-CTS issue: 511
Affects:
dEQP-VK.spirv_assembly.instruction.compute.opconstantnull.*
dEQP-VK.spirv_assembly.instruction.compute.opundef.*
Change-Id: I0810dd9d75aeebb993f2f595e20c90fde10cf899
Boris Zanin [Sun, 7 May 2017 12:21:28 +0000 (14:21 +0200)]
Add test for VK_KHR_get_memory_requirements2
Update tests:
* dEQP-VK.memory.requirements.buffer.*
* dEQP-VK.memory.requirements.image.*
Rename tests (add .core subgroup):
* dEQP-VK.memory.requirements.core.buffer.*
* dEQP-VK.memory.requirements.core.image.*
Add tests:
* dEQP-VK.memory.requirements.extended.buffer.*
* dEQP-VK.memory.requirements.extended.image.*
Components: Vulkan
VK-GL-CTS issue: 391
Change-Id: I307bbf361d36d5f277ff70ce3204d67f8eb59871
(cherry picked from commit
140028f310bf6116a2c9063a5565fae6bf5152bb)
Lei Zhang [Wed, 1 Mar 2017 17:30:20 +0000 (12:30 -0500)]
Add tests for the VK_KHR_16bit_storage extension
* Four capabilities
* StorageUniform16
* StorageUniformBufferBlock16
* StorageInputOutput16
* StoragePushConstant16
* 16bit -> 32bit and 32bit -> 16bit
* integers and floats
* vectors and matrices of integers and floats
Component: Vulkan
(cherry picked from commit
e62c7b595cbf79617555faf46eb9085bb7d11cb1)
Contains following two follow-up patches:
*
d41f0578749db200124a933a0bc6ace35881d02d (check against linea/optimalTilingFeatures)
*
a24bed1ac5b06e6ef87da3b6f9bc103f5cdf463f (allow flusing denormals)
*
ff75accb8c0634ddfa920462d864a58f12a76198 (add missing extensions)
Change-Id: I51f59d9a7d984f5190c8d60752454b963a039c2e
Pyry Haulos [Wed, 3 May 2017 22:08:12 +0000 (15:08 -0700)]
Add tests for VK_KHR_storage_buffer_storage_class
This change extends following groups to cover the new StorageBuffer
decoration:
* dEQP-VK.glsl.opaque_type_indexing
* dEQP-VK.spirv_assembly.compute.opatomic
VK-GL-CTS issue: 357
Components: Vulkan
Change-Id: I283a39f4e92f1be6597d843c67debc3ae28c9f22
(cherry picked from commit
9e31538412fb6ce1773e8cfda5b7e5f7fd081e87)
Pyry Haulos [Thu, 4 May 2017 22:29:08 +0000 (15:29 -0700)]
Improve GLSL source program support
Old GLSL source program support in Vulkan framework was built on top
of glu::ProgramSources. This had two problems:
1) There was no obvious way to extend/annotate sources with SPIR-V
-specific information such as target SPIR-V version.
2) Most of glu::ProgramSources, such as attribute bindings or TF
configuration, was completely ignored.
This change introduces new vk::GlslSource type that replaces
glu::ProgramSources in vk::SourceCollections. vk::GlslSource contains
shader source strings as well as build options (vk::GlslBuildOptions).
vk::GlslBuildOptions doesn't currently contain anything useful but can
be later extended to support selecting target SPIR-V version for
example.
The change is mostly transparent to existing code, except:
* vkSpirvProgram.hpp was somewhat unnecessarily including
tcuTestLog.hpp and changing that to a forward declaration required
fixing includes in several test code files.
* vktShaderExecutor.cpp has been extended to allow specifying build
options.
Components: Vulkan
Change-Id: I69a6cd55ea91215585515b9d41860d818cbc97ae
(cherry picked from commit
fa7a45c9bcb909be38ffd55549beb6db5115a65b)
Pyry Haulos [Wed, 14 Jun 2017 18:54:31 +0000 (11:54 -0700)]
Lei Zhang [Mon, 20 Mar 2017 19:40:54 +0000 (15:40 -0400)]
Add 32 to 16 bit float conversion w.r.t rounding mode
Component: Framework
Change-Id: I9428f0dc725484b8a2f213157100326a69754cd8
(cherry picked from commit
7c0f5bea1da74f70e549e9a735c9d702c9396084)
Mika Isojärvi [Wed, 8 Feb 2017 00:37:51 +0000 (16:37 -0800)]
Add create functions for common Vulkan types.
These functions simplify creating the Vulkan objects by taking the
arguments directly instead of passing through struct. Multiple test
cases already reimplement these functions.
VK-GL-CTS issue: 465
Components: Vulkan
Change-Id: I09f6b0163b5aa2198617230767cd072185afe45c
(cherry picked from commit
da03200a87f51bed33b3c3030ecbb6df06ff4f60)
Alexander Galazin [Sun, 18 Jun 2017 13:43:55 +0000 (15:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ibc2a0e06a379886958c3c45f8153b2271251dc1f
Pyry Haulos [Wed, 7 Jun 2017 22:58:05 +0000 (15:58 -0700)]
Touch watchdog before freeing objs in max_concurrent
Affects:
dEQP-VK.api.object_management.max_concurrent.*
Components: Vulkan
Google bug:
37515046
VK-GL-CTS issue: 507
Change-Id: I57eb68764a55b5dceeb3e2676b8b1b298c0ff67e
(cherry picked from commit
252fb76fec02af6e2281da3bc9eea4e0d7972f12)
(cherry picked from commit
815781b7774af1aad0e9e2e60cd59ae575a81cf4)
Gary Sweet [Fri, 9 Jun 2017 07:43:45 +0000 (08:43 +0100)]
Add missing flush for opaque_type_indexing tests
Buffers were being mapped and written, but not flushed
before use.
Affects:
dEQP-VK.glsl.opaque_type_indexing.sampler.*
Components: Vulkan
VK-GL-CTS issue: 487
Change-Id: I9d6b694cebdff1785cbff303f4873628ca902d51
Boris Zanin [Tue, 6 Jun 2017 06:42:14 +0000 (08:42 +0200)]
Return back transient attachments tests
Update tests:
* dEQP-VK.renderpass.attachment.*
* dEQP-VK.renderpass.attachment_allocation.*
Components: Vulkan
VK-GL-CTS issue 464
Change-Id: I11006ef75ee7fbeb6674d1876a535101edb2a667
Slawomir Cygan [Wed, 7 Jun 2017 17:55:09 +0000 (19:55 +0200)]
Slightly increase threshold in dEQP-VK.draw.basic_draw.draw_indirect
The test draws a lot of intersecting lines and compare them to reference
renderer output.
Unfortunately, the test does not account for strictLines capability (hence
ignores that they are two line rasterization algorithms in Vulkan). On the
other hand it usess fuzzy compare, which somehow obfuscates that fact.
However, there is an issue where many (around 8) lines intersect in area covered
by one fuzzy 'kernel' invocation, where small difference results in false negative
comparison.
This change slightly increases the threshold.
Affects: dEQP-VK.draw
Components: Vulkan
VK-GL-CTS issue: 495
Change-Id: I2dab225516b8a3dea937efe6c4fb042bc267481b
Marcin Kańtoch [Thu, 8 Jun 2017 16:28:20 +0000 (18:28 +0200)]
Sampling precision issues - mustpass removal
Affects:
dEQP-VK.glsl.texture_functions.textureoffset.isampler2darray_vertex
dEQP-VK.glsl.texture_functions.textureoffset.usampler2darray_vertex
dEQP-VK.glsl.texture_functions.textureoffset.usampler3d_vertex
dEQP-VK.glsl.texture_functions.texturegradoffset.usampler2darray_vertex
Components: Vulkan
VK-GL-CTS issue: 448
Change-Id: Id895783e75a5b779ead5d396d2953a5c07f20f52
Gary Sweet [Wed, 7 Jun 2017 09:31:14 +0000 (10:31 +0100)]
Add missing flushes for buffer view access tests
Buffers were being mapped and written, but not flushed
before use.
Affects:
dEQP-VK.api.buffer_view.access.buffer_view_memory_test_*
Components: Vulkan
VK-GL-CTS issue: 474
Change-Id: I5874f56da87d3857b0c2c840805f932f56e8ff49
Alexander Galazin [Thu, 1 Jun 2017 06:59:16 +0000 (08:59 +0200)]
Atomic counter tests rely on stores to SSBOs
Stores to SSBOs are supported if
vertexPipelineStoresAndAtomics/fragmentStoresAndAtomics
are advertised.
VK-GL-CTS issue: 458
Components: Vulkan
Affects:
dEQP-VK.glsl.opaque_type_indexing.atomic_counter.*
Change-Id: I8bd3617522221e646526112978b8d13069f88ec3
Pyry Haulos [Tue, 30 May 2017 01:56:32 +0000 (18:56 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ib63e665cb64989f8c5f0c53c9d229e5f17172d62
Boris Zanin [Tue, 16 May 2017 12:32:06 +0000 (14:32 +0200)]
Allow pop-free clipping for lines
Following test checks has been relaxed:
* dEQP-VK.rasterization.primitives.lines_wide
* dEQP-VK.rasterization.primitives.line_strip_wide
* dEQP-VK.rasterization.primitives_multisample_2_bit.lines_wide
* dEQP-VK.rasterization.primitives_multisample_4_bit.lines_wide
* dEQP-VK.rasterization.primitives_multisample_8_bit.lines_wide
Components: Vulkan
VK-GL-CTS issue: 421
Change-Id: I21c04015d36ae55c20ef1c1dda8e2d1fee471221
Yanjun Zhang [Thu, 11 May 2017 22:51:37 +0000 (15:51 -0700)]
Check 'drawIndirectFirstInstance' feature to run indirect draw tests
Component: Vulkan
VK-GL-CTS issue: 413
Change-Id: I13a86721ec76ac50af55e0730fd50e3d7ce159d8
Jason Ekstrand [Fri, 19 May 2017 04:36:15 +0000 (21:36 -0700)]
dEQP-VK: Fix an incorrect layout transition
The tests upload data to the resolve destination using CopyImageToBuffer
prior to doing a resolve to a chunk out of the middle of the image. This
lets the test validate the resolve to a subarea works correctly.
However, they were also transitioning the destination from UNDEFINED to
TRANSFER_DST_OPTIMAL between uploading the data and doing the resolve.
This transition destroys the contents of the image making verifying that
contents incorrect. The correct transition is from TRANSFER_DST_OPTIMAL
to TRANSFER_DST_OPTIMAL.
This affects the following tests:
- dEQP-VK.api.copy_and_blit.resolve_image.partial*
- dEQP-VK.api.copy_and_blit.resolve_image.with_regions*
Change-Id: I9336195d7977d7dd2ffb057525134846b10e8010
Oivind Boge [Tue, 16 May 2017 14:04:01 +0000 (16:04 +0200)]
Fixed invalid usage of VkBufferImageCopy struct
The offset member of VkBufferImageCopy was violating the
valid usage. The offset is now calculated using lowest
common denominator between the pixelSize and 4.
Affects:
dEQP-VK.api.image_clearing.*
Components: Vulkan
VK-GL-CTS issue: 422
Change-Id: I1ef07e06f790a9ed403941b1d94c7840485cec3e
Slawomir Cygan [Wed, 11 Jan 2017 16:17:11 +0000 (17:17 +0100)]
Refactor X11 and wayland platforms to run alongside each other
This adds a capability for running Vulkan WSI ane EGL tests on both
X11 and wayland compositors from one binary built in 'default' target.
The change replaces X11 & wayland tcu::Platform-s with one common
'linux' platform, that is parametrized by DEQP_SUPPORT_
(X11|GLX|XCB|WAYLAND) at compile time.
This new platform supports creating WSI displays and EGL contexts
for each of compositors enabled at build-time. To choose EGL compositor
use --deqp-egl-display-type=x11 or Wayland.
No functional change is made to 'wayland' target: it is still possible
to build Wayland-only binary using that target.
VK-GL-CTS issue: 83
Components: Framework
Affects: dEQP-VK.wsi.* and all tests using EGL.
Change-Id: I1d8725d1329e1071ac545f765c374d2d7d5a29df
Pyry Haulos [Thu, 18 May 2017 22:42:53 +0000 (15:42 -0700)]
Fix Vulkan null driver
Vulkan platform was changed to use vkGetInstanceProcAddr(NULL, pName)
for loading all platform-level functions, except vkGetInstanceProcAddr
itself, in commit
bbd3dce44fafaa4b1952b63564022f19b3a65ca3. Null
driver was not adjusted for that change and that resulted calling into
null function pointer early in the initialization code.
Additionally, null driver now advertises HOST_COHERENT memory.
Change-Id: I65c8b37722950de08e337d7df95aa46a0e826c7b
Pyry Haulos [Wed, 10 May 2017 16:54:23 +0000 (09:54 -0700)]
Update vulkan.h.in to 1.0.49 and strip unused exts
This change updates vulkan.h.in to match header version 49.
Vendor-specific extensions and KHX extensions that are not covered by CTS
are removed.
gen_framework.py now auto-detects function class from its first argument,
except for vkGet*ProcAddr, which require special handling.
Components: Vulkan
Change-Id: If6e1d959091a9064585bf29ef9983d03649ce513
Pyry Haulos [Fri, 12 May 2017 20:26:36 +0000 (13:26 -0700)]
Import fixes from Android Vulkan CTS 1.0.2 branch
* Android copy of mustpass is updated to exclude waived tests.
* Add missing file to Android.mk
* Add -fwrapv and -Wno-delete-non-virtual-dtor to Android.mk
Change-Id: I9cdb0b0490dbad4134ad085216c3969cda40747a
Pyry Haulos [Fri, 12 May 2017 17:31:29 +0000 (10:31 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I11828b81ea4c9e67dc879dd98a9cbf91341de2c9
Pyry Haulos [Fri, 12 May 2017 17:31:26 +0000 (10:31 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Change-Id: I6245604cf5ce44a2c4d9c064efb65b058d8f24eb
Iago Toral Quiroga [Fri, 5 May 2017 06:30:15 +0000 (08:30 +0200)]
Add more alternatives to reflect() precision tests
Intel/Mesa started to generate these in some scenarios recently.
Components: Vulkan
Vk-GL-CTS Issue: 392
Affects:
dEQP-VK.glsl.builtin.precision.reflect.*
Change-Id: Ic943cf14d531e392c03adf18605e6330267be4a1
Yanjun Zhang [Mon, 24 Apr 2017 08:59:26 +0000 (01:59 -0700)]
Check sampler_mirror_clamp_to_edge extension in tex filter tests
Components: Vulkan
VK-GL-CTS issue: 384
Affects:
dEQP-VK.texture.filtering.*.combinations.*_mirror_clamp_to_edge_*
Change-Id: Ie829b9247cd374e6c34ac70885e9e4421d284d1e