Pyry Haulos [Thu, 21 Apr 2016 22:09:17 +0000 (15:09 -0700)]
Remove use of non-standard strnlen()
(cherry picked from commit
febb0bbd97bc3004df7e81f90e9a5ddb49504aac)
Maciej Jesionowski [Tue, 10 May 2016 09:40:39 +0000 (11:40 +0200)]
Validation fix dEQP-VK.binding_model
- Add srcStageMask to barriers
(cherry picked from commit
f2e4f11a0803db89f7c7d8f9a9038a79e27a65ea)
Maciej Jesionowski [Mon, 25 Apr 2016 11:43:37 +0000 (13:43 +0200)]
Validation fix for dEQP-VK.ssbo
Fixed an issue where descriptor set bindings were updated incorrectly
(array of descriptors vs a few bindings of a single descriptor).
(cherry picked from commit
517e989710e57ac0008c0ea26bafb67418e52610)
Maciej Jesionowski [Fri, 22 Apr 2016 12:44:19 +0000 (14:44 +0200)]
Remove dEQP-VK.glsl.linkage.varying.rules.fragment_declare
Test removed because it used the API incorrectly.
(cherry picked from commit
077398babe16b80a3934ec970932a3c80ae02bc1)
Maciej Jesionowski [Thu, 21 Apr 2016 14:20:12 +0000 (16:20 +0200)]
Validation fixes for dEQP-VK.renderpass
- Correct access flags in layout barriers
- Remove duplicate barrier
- Fix minDepthBounds value
(cherry picked from commit
ba01feddc2c4b2cafba566462732ac2f3e813c83)
Maciej Jesionowski [Tue, 19 Apr 2016 13:21:12 +0000 (15:21 +0200)]
Validation fixes for dEQP-VK.glsl
- Use uint type for booleans to match attribute format
- Don't bind descriptor set when it's not updated
- Use correct number of vertex input bindings
- Use correct color attachment format and layout
- Use correct access flags and layout in image barriers
(cherry picked from commit
5533f025bb144cdeee813ebabba2885e14b33b2e)
Maciej Jesionowski [Tue, 19 Apr 2016 09:12:28 +0000 (11:12 +0200)]
dEQP-VK.binding_model validation fixes
- Add image layout transition barrier flags
- Fix shader interface mismatch
- Add fence after command submission
- Remove buffer barrier from render pass
(cherry picked from commit
ad5e2b6869cdbe14bd7f9847b2eef498f7a41a8c)
Arkadiusz Sarwa [Mon, 18 Apr 2016 08:27:34 +0000 (10:27 +0200)]
Removed not needed reading of image
(cherry picked from commit
908d6bebb1e8149a8ec877853fc4a84641923425)
Arkadiusz Sarwa [Wed, 13 Apr 2016 12:43:17 +0000 (14:43 +0200)]
Bug Fix: Corrected barriers in the tests dEQP-VK.query_pool
(cherry picked from commit
0319b008a20f6c61504d39c118c0dc271e015c25)
Maciej Jesionowski [Tue, 12 Apr 2016 12:18:45 +0000 (14:18 +0200)]
Validation fixes for dEQP-VK.api
- Correct minDepthBounds value
- api.copy_and_blit: corrected image layout barriers usage
(cherry picked from commit
ed9d438ecd49d41e86247421c253692b92bcef63)
Maciej Jesionowski [Fri, 15 Apr 2016 08:53:41 +0000 (10:53 +0200)]
dEQP-VK.api.info.device.properties struct offsets
Use correct offsets and comparison algorithm when checking
VkPhysicalDeviceProperties structure.
(cherry picked from commit
33878d45346dddf85669f610783939cad0d32817)
Arkadiusz Sarwa [Mon, 11 Apr 2016 13:30:40 +0000 (15:30 +0200)]
Bug Fix: Corrected barriers in the tests dEQP-VK.dynamic_state.
(cherry picked from commit
188341def51b4a425163576ce1cd1c8931c45df8)
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
(cherry picked from commit
ae6c306e39080de59a8535cf1797b27951dcaa6c)
Pyry Haulos [Tue, 15 Mar 2016 20:47:53 +0000 (13:47 -0700)]
Add Android NDK r11 toolchain as new default
New NDK r11 toolchain fixes libc++ on x86 enabling glslang support in
Android builds.
Change-Id: I5141b97f3152cfb1420a116cae40d671477ed254
(cherry picked from commit
de7fb14fc30a8dd60e0215c333950b6a996c825a)
scygan [Tue, 10 May 2016 15:38:13 +0000 (17:38 +0200)]
Update glslang to (7b3096a) to include bitfield functions precision fix
This fixes issue #385
scygan [Fri, 6 May 2016 15:46:29 +0000 (17:46 +0200)]
Update glslang to (af4592) - include proper RelaxedPrecision handling
Without this all build-in functions get RelaxedPrecision decoration in fragment shader, making _many_ tests fail.
Pyry Haulos [Wed, 6 Apr 2016 22:44:14 +0000 (15:44 -0700)]
Remove instances of pDynamicState->dynamicStateCount = 0
Specification explicitly disallows using
VkPipelineDynamicStateCreateInfo with dynamicStateCount = 0 when
creating pipelines. Instead pDynamicState must be set to NULL.
Change-Id: Iff9e2f10e0080ffae0f6698aff342132f148b41d
(cherry picked from commit
86a8ae9e0d61bbfe1f1e273fdbb026369bdb5f29)
scygan [Fri, 22 Apr 2016 18:18:07 +0000 (20:18 +0200)]
ShaderRender tests: do not use images in UNDEFINED layout
Just transition them at the beginning of renderpass
(cherry picked from commit
9f60392d15906ca26e0ae2ec97fe3e2c40f69a1f)
Pyry Haulos [Tue, 26 Apr 2016 12:11:01 +0000 (12:11 +0000)]
Merge branch '357-ports-to-release-1.0' into 'vulkan-cts-1.0'
Check existing tests with validation layers - partial port to 1.0 branch
This is a port of subset of MRs listed in #357 - the ones that fix usage of images in UNDEFINED layout.
We need this one because of implementation change on our side.
The contents of this MR equals !526 + !516 + !510, all of these are in MERGED state.
See merge request !534
Pyry Haulos [Thu, 21 Apr 2016 18:12:14 +0000 (11:12 -0700)]
Revert to original boilerplate in Vulkan CTS license appendix
Maciej Jesionowski [Fri, 8 Apr 2016 09:17:04 +0000 (11:17 +0200)]
Validation fixes in dEQP-VK.pipeline
- Corrected out of range minDepthBounds value
- Added missing image layout transitions
- timestamp, cache tests: pass data through geometry shader
- cache test: use correct initialLayout in attachment when starting
a second render pass
(cherry picked from commit
1d3585c5ec71cf90d6519913db6a01ef2c0f840c)
Conflicts:
external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp
Arkadiusz Sarwa [Tue, 12 Apr 2016 08:54:01 +0000 (10:54 +0200)]
Bug Fix: Corrected barriers in the tests dEQP-VK.compute
(cherry picked from commit
9b3e984f996ac8d7cc18c16e466a149eef2397e3)
Arkadiusz Sarwa [Tue, 19 Apr 2016 07:24:23 +0000 (09:24 +0200)]
Bug Fix: Corrected barrier in the tests dEQP-VK.ubo
(cherry picked from commit
ee29316060b9858e85c5aabb2a6c563c6d34826a)
Pyry Haulos [Tue, 19 Apr 2016 19:46:56 +0000 (12:46 -0700)]
Fix unused parameter warning in vktDrawIndirectTest.cpp
Pyry Haulos [Tue, 19 Apr 2016 19:31:27 +0000 (19:31 +0000)]
Merge branch '355-fix-tesc-tese-executors' into 'vulkan-cts-1.0'
Fix a few issues in tessellation shader executors
* Off-by-one buffer overflow in TessEvaluationExecutor
* Set patchControlPoints to sensible values
Fixes #355
See merge request !519
Pyry Haulos [Tue, 19 Apr 2016 19:27:17 +0000 (19:27 +0000)]
Merge branch 'scygan-draw-tests-split-firstInstance-1.0' into 'vulkan-cts-1.0'
deqp-vk-draw: split indirect_draw tests into groups depending on `drawIndirectFirstInstance` optional feature
Fixes #337 on 1.0 branch, as an alternative to !507
See merge request !512
scygan [Fri, 8 Apr 2016 16:10:18 +0000 (18:10 +0200)]
deqp-vk-draw: split indirect_draw tests into groups depending on `drawIndirectFirstInstance` optional feature
Pyry Haulos [Fri, 15 Apr 2016 15:20:31 +0000 (08:20 -0700)]
Remove initialization check for deviceName
Initialization checking code doesn't currently handle null-terminated
strings correctly. Implementation is not required to initialize bytes
following the terminator 0 byte in string fields.
Pyry Haulos [Thu, 14 Apr 2016 17:51:45 +0000 (10:51 -0700)]
Fix VkPhysicalDeviceProperties init validation
dEQP-VK.api.info.device.properties was using incorrect member offset
table to verify initialization of VkPhysicalDeviceProperties.
Fixes #367
Pyry Haulos [Fri, 8 Apr 2016 00:10:27 +0000 (17:10 -0700)]
Improve VK_MAKE_VERSION and VK_BIT macros
VK_MAKE_VERSION was causing int->uint conversion warnings.
Put arguments inside parenthesis to make evaluation unambiguous.
Change-Id: Ia47efdf77789905f4c45a551c08eb0ff3496c556
(cherry picked from commit
dd99172aee72493b3e508dc8990e7eac95a40f8f)
Pyry Haulos [Tue, 12 Apr 2016 21:10:00 +0000 (21:10 +0000)]
Merge branch '361-memory-properties' into 'vulkan-cts-1.0'
Fix dEQP-VK.api.info.device.memory_properties
Includes both fix for missing propertyFlags 0 as well as improved logging.
Fixes #361
See merge request !518
Pyry Haulos [Tue, 12 Apr 2016 17:47:55 +0000 (10:47 -0700)]
Fix a few issues in tessellation shader executors
* Off-by-one buffer overflow in TessEvaluationExecutor
* Set patchControlPoints to sensible values
Change-Id: Ie94cf02c2fccd5e018a0e4de02c956f0d2abc6b0
Pyry Haulos [Tue, 12 Apr 2016 16:53:04 +0000 (09:53 -0700)]
Add 0 to list of valid memory property flags
Fixes #361
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
(cherry picked from commit
cdf80ba37ef186bb2d8fc5a3a97dd633e6a67d85)
Pyry Haulos [Sun, 10 Apr 2016 00:02:31 +0000 (00:02 +0000)]
Merge branch 'extend-query-validation' into 'vulkan-cts-1.0'
Extend feature and limit query validation
Manual cherry-pick of extended validation code in `vktApiFeatureInfo.cpp` from the development to the release branch.
Includes framework API update to 1.0.5 as the new code requires `VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT`
See merge request !499
Pyry Haulos [Tue, 5 Apr 2016 22:32:41 +0000 (15:32 -0700)]
Extend feature and limit query validation
This change manually cherry-picks extended feature and limit query
validation code from development branch to the release branch.
Pyry Haulos [Thu, 7 Apr 2016 20:47:36 +0000 (20:47 +0000)]
Merge branch '340-cube-corner-mustpass' into 'vulkan-cts-1.0'
Remove test affected by cube corner texel selection issue
See #340
See merge request !505
Pyry Haulos [Thu, 7 Apr 2016 20:46:55 +0000 (20:46 +0000)]
Merge branch '352-missed-pipeline-barrier' into 'vulkan-cts-1.0'
Add missing memory barrier to draw tests
Fixes #352
See merge request !493
Pyry Haulos [Thu, 7 Apr 2016 20:46:25 +0000 (20:46 +0000)]
Merge branch '350-LOD-precision-for-snorm-cts-1.0' into 'vulkan-cts-1.0'
Use larger threshold for EAC formats in sampler tests
Fixes #350
See merge request !490
zeppelin [Fri, 1 Apr 2016 23:09:55 +0000 (16:09 -0700)]
Add missing memory barrier to draw tests.
Fixes #352
zeppelin [Fri, 1 Apr 2016 01:43:50 +0000 (18:43 -0700)]
Use larger threshold for EAC formats in sampler tests
Fixes #350
Pyry Haulos [Thu, 7 Apr 2016 20:12:15 +0000 (13:12 -0700)]
Remove test affected by cube corner texel selection issue
Pyry Haulos [Wed, 9 Mar 2016 21:10:47 +0000 (13:10 -0800)]
Fix int->float conversion warning
Change-Id: I3a8c01a9223b1b261b2cf162ab0ef9babb8bbb45
(cherry picked from commit
de443fdd0e0f38f5fd8bd02aa27e6931063a39e3)
Pyry Haulos [Tue, 16 Feb 2016 10:05:17 +0000 (12:05 +0200)]
Update Vulkan framework to API 1.0.5
Change-Id: I4e469b9384701303f96826c25a51e623316719dc
(cherry picked from commit
931d1df9bc5ac16200e2e63dfce17dcbbbb35d36)
Pyry Haulos [Mon, 4 Apr 2016 19:14:31 +0000 (19:14 +0000)]
Merge branch 'change-license-rel' into 'vulkan-cts-1.0'
Change license in release branch
See merge request !481
Pyry Haulos [Tue, 29 Mar 2016 20:47:06 +0000 (13:47 -0700)]
Change Vulkan CTS license to Apache 2
Pyry Haulos [Tue, 29 Mar 2016 20:40:06 +0000 (13:40 -0700)]
Fix malformed copyright boxes
Pyry Haulos [Tue, 29 Mar 2016 19:36:22 +0000 (19:36 +0000)]
Merge branch '341-fix-invocations' into 'vulkan-cts-1.0'
Remove invalid Invocations=0 from geometry shaders.
All of these geometry shaders are default, so they do not need any
Invocations decoration.
Fixeds #341
See merge request !477
Andrew Woloszyn [Tue, 22 Mar 2016 15:57:04 +0000 (11:57 -0400)]
Remove invalid Invocations=0 from geometry shaders.
All of these geometry shaders are default, so they do not need any
Invocations decoration.
Pyry Haulos [Tue, 22 Mar 2016 14:53:04 +0000 (07:53 -0700)]
Merge branch 'side-effect-of-322_api-patch-version-test' into 'vulkan-cts-1.0'
Add a test for checking random values of PATCH component of VKApplicationInfo.apiVersion
This is a continuation of #322, where negative test for checking random patch versions is removed.
Here, a positive test is added instead to ensure that vkCreateInstande does NOT fail if PATCH version is unrecognized, weird or just 0.
See merge request !462
Pyry Haulos [Tue, 22 Mar 2016 14:52:27 +0000 (07:52 -0700)]
Merge branch '329-fix-undef-tests' into 'vulkan-cts-1.0'
Fix createOpUndef tests.
If we get a Nan from the OpFMul %f32 %undef %c_f32_0 then zero that
out as well.
Fixes #329
See merge request !473
saniola [Thu, 3 Mar 2016 15:34:07 +0000 (16:34 +0100)]
vktApiDeviceInitializationTests patch iteration added
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
Jeannot Breton [Fri, 4 Mar 2016 19:05:39 +0000 (13:05 -0600)]
clamp allocation size based on heap size
Andrew Woloszyn [Wed, 16 Mar 2016 20:06:16 +0000 (16:06 -0400)]
Fix createOpUndef tests.
If we get a Nan from the OpFMul %f32 %undef %c_f32_0 then zero that
out as well.
Pyry Haulos [Thu, 10 Mar 2016 21:35:18 +0000 (16:35 -0500)]
Merge branch '325-spirv-assembly-avoid-rounding' into 'vulkan-cts-1.0'
dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding
Avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.
See merge request !461
Pyry Haulos [Thu, 10 Mar 2016 16:18:03 +0000 (11:18 -0500)]
Merge branch 'issue-307' into 'vulkan-cts-1.0'
Issue 307: Add new --deqp-log-flush command line option
Fixes issue #307
It defaults to enabled. When disabled it skips calling fflush() for every XML token and line of log.
See merge request !441
Dae Kim [Wed, 9 Mar 2016 15:16:25 +0000 (15:16 +0000)]
dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.
Pyry Haulos [Mon, 7 Mar 2016 23:21:49 +0000 (18:21 -0500)]
Merge branch '323_timestamp_buffer_overflow_fix' into 'vulkan-cts-1.0'
Fixes buffer overflow in pipeline timestamp tests
Fixes #323
See merge request !459
Pyry Haulos [Mon, 7 Mar 2016 23:20:44 +0000 (18:20 -0500)]
Merge branch '310-update-glslang' into 'vulkan-cts-1.0'
Update glslang to include "SPV: Use heuristic to avoid geometry multi-streams"
Fixes issue #310
See merge request !463
Pyry Haulos [Mon, 7 Mar 2016 23:20:13 +0000 (18:20 -0500)]
Merge branch '308-fix-opaque-type-indexing-array-descriptors' into 'vulkan-cts-1.0'
ShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the…
… shader code. Another partial solution to #308.
See merge request !455
Pyry Haulos [Mon, 7 Mar 2016 23:19:48 +0000 (18:19 -0500)]
Merge branch 'spec-176-api-remove-patch-version-check' into 'vulkan-cts-1.0'
Issue 322: dEQP-VK.api.device_init.create_instance_invalid_api_version - remove patch version check
In the spirit of spec bug #176, the implementation should not emit error on unrecognized PATCH component of VkApplicationInfo.apiVersion.
This makes implementation compatible with all header patch versions that may be used by the application.
This fixes #322
See merge request !454
Jason Ekstrand [Mon, 29 Feb 2016 23:51:51 +0000 (15:51 -0800)]
binding_model: Respect the StoresAndAtomics feature bits
This takes care of #320 for the binding_model tests
scygan [Fri, 4 Mar 2016 17:44:39 +0000 (18:44 +0100)]
Update glslang to include "SPV: Use heuristic to avoid geometry multi-streams"
mnetsch [Thu, 3 Mar 2016 18:19:22 +0000 (13:19 -0500)]
Fixes buffer overflow in pipeline timestamp tests
Fixes #323
Pyry Haulos [Thu, 3 Mar 2016 18:00:41 +0000 (13:00 -0500)]
Merge branch '319_memory_blit_scale_fix' into 'vulkan-cts-1.0'
Fixes ImageBlitFromImage tests scaling blit verification code
Fixes #319
See merge request !456
mnetsch [Tue, 1 Mar 2016 20:48:28 +0000 (15:48 -0500)]
Fixes ImageBlitFromImage tests scaling blit verification code
Fixes #319
Pyry Haulos [Wed, 2 Mar 2016 20:38:40 +0000 (15:38 -0500)]
Merge branch 'update-glslang' into 'vulkan-cts-1.0'
Update glslang
See merge request !460
Pyry Haulos [Wed, 2 Mar 2016 18:48:17 +0000 (10:48 -0800)]
Update glslang
Pyry Haulos [Wed, 2 Mar 2016 18:28:38 +0000 (13:28 -0500)]
Merge branch '316-dEQP-VK.api-system-memory-limitations' into 'vulkan-cts-1.0'
316-dEQP-VK.api-system-memory-limitations
Reducing the number of command buffers allocated due to system memory limitations on 32-bit systems.
This would allow us to pass these tests on 32-bit systems, which offer less system memory to the driver causing out-of-memory issues. The following are the affected tests:
* dEQP-VK.api.object_management.max_concurrent.command_buffer_primary
* dEQP-VK.api.object_management.max_concurrent.command_buffer_secondary
* dEQP-VK.api.command_buffers.allocate_many_primary
* dEQP-VK.api.command_buffers.allocate_many_secondary
Ultimately, we need to modify the test to factor in the system memory available or let a test pass if the driver reports out-of-memory errors gracefully.
See merge request !457
Mais Alnasser [Wed, 2 Mar 2016 04:25:54 +0000 (23:25 -0500)]
Reducing the number of command buffers allocated due to system memory limitations of 32-bit systems
Akos Dirner [Tue, 1 Mar 2016 18:35:04 +0000 (19:35 +0100)]
ShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the shader code. Another partial solution to #308.
Slawomir Cygan [Tue, 1 Mar 2016 17:54:08 +0000 (18:54 +0100)]
Issue 322: dEQP-VK.api.device_init.create_instance_invalid_api_version - remove patch version check
In the spirit of spec bug #176, the implementation should not emit error on
unrecognized PATCH component of VkApplicationInfo.apiVersion.
This makes implementation compatible with all header patch versions
that may be used by the application.
Pyry Haulos [Fri, 26 Feb 2016 23:12:12 +0000 (18:12 -0500)]
Merge branch 'update-glslang' into 'vulkan-cts-1.0'
Update glslang to latest revision
See merge request !448
Pyry Haulos [Fri, 26 Feb 2016 21:17:18 +0000 (16:17 -0500)]
Merge branch 'fix-missing-capabilities' into 'vulkan-cts-1.0'
Add missing capabilities in assembly tests
Add 'OpCapability ClipDistance' and 'OpCapability CullDistance' when
they are required.
See merge request !449
Qining Lu [Fri, 26 Feb 2016 19:17:12 +0000 (14:17 -0500)]
Add missing capabilities in assembly tests
Add 'OpCapability ClipDistance' and 'OpCapability CullDistance' when
they are required.
Pyry Haulos [Fri, 26 Feb 2016 19:07:06 +0000 (11:07 -0800)]
Update glslang to latest revision
Pyry Haulos [Fri, 26 Feb 2016 19:05:27 +0000 (11:05 -0800)]
Fix compiler warning in render pass tests
Pyry Haulos [Fri, 26 Feb 2016 18:31:34 +0000 (13:31 -0500)]
Merge branch '306_use_transfer_dst' into 'vulkan-cts-1.0'
Images used in dynamic tests need TRANSFER_DST usage flags
Fixes #306
See merge request !442
Pyry Haulos [Fri, 26 Feb 2016 18:30:43 +0000 (13:30 -0500)]
Merge branch '294_format_properties_fix' into 'vulkan-cts-1.0'
Fixes format_properties test with required formats from Vulkan 1.0 spec
Fixes #294
See merge request !446
mnetsch [Thu, 25 Feb 2016 21:50:01 +0000 (16:50 -0500)]
Fixes format_properties test with required formats from Vulkan 1.0 spec
Related to issue #294
Pyry Haulos [Thu, 25 Feb 2016 18:18:25 +0000 (13:18 -0500)]
Merge branch '308-fix-ssbo-array-descriptors' into 'vulkan-cts-1.0'
Fix ssbo array descriptors
This is a partial solution to #308. It fixes the ssbo tests to properly use array descriptors.
See merge request !443
Jason Ekstrand [Sun, 21 Feb 2016 02:32:43 +0000 (18:32 -0800)]
SSBOLayoutCase: Make proper use of array descriptors
Previously, the SSBO tests were using arrays of blocks in the shader but
declaring them as individual descriptors in the descriptor set layout.
This is in violation of the spec and was causing issues on some
implementations.
As a side-effect of this change, we now update most of the bindings in a
single update. The Vulkan spec allows descriptor writes that go over the
bounds of the current binding to spill into the next as long as the
bindings have the same type. This makes updating substantially simpler
especially when we have bindings with different numbers of descriptors.
Pyry Haulos [Thu, 25 Feb 2016 18:04:21 +0000 (13:04 -0500)]
Merge branch 'jekstrand-linux-lib-name' into 'vulkan-cts-1.0'
Use the correct library name on Linux
Shortly before release, the official library name was changed from libvulkan-1.so to libvulkan.so.1. We should be loading the right one.
See merge request !444
Pyry Haulos [Thu, 25 Feb 2016 18:03:05 +0000 (13:03 -0500)]
Merge branch '304-disable-robust-buffer-access' into 'vulkan-cts-1.0'
Disable robustBufferAccess in the default VkDevice to avoid performance issues on some HW
Addresses #304
See merge request !437
Jason Ekstrand [Wed, 24 Feb 2016 05:48:40 +0000 (21:48 -0800)]
Use the correct library name on Linux
Pyry Haulos [Tue, 23 Feb 2016 18:29:20 +0000 (13:29 -0500)]
Merge branch 'fix-memory-barrier-tests' into 'vulkan-cts-1.0'
Pipeline barrier test fixes
- Set image layout to undefined after memory has been written by host
or through buffer.
- Fix CacheState transitivity by removing bit not operation.
- Require bound buffer for render operations.
Change-Id: I7c44f5be51ef5e23cc3304fc90f8970ebe135a52
See merge request !431
Mika Isojärvi [Tue, 9 Feb 2016 00:29:49 +0000 (16:29 -0800)]
Pipeline barrier test fixes.
- Set image layout to undefined after memory has been written by host
or through buffer.
- Fix CacheState transitivity by removing bit not operation.
- Require bound buffer for render operations.
- Skip correct stages in CacheState::barrier.
Change-Id: I7c44f5be51ef5e23cc3304fc90f8970ebe135a52
Piers Daniell [Thu, 18 Feb 2016 18:54:23 +0000 (11:54 -0700)]
Add new --deqp-log-flush command line option
It defaults to enabled. When disabled it skips calling fflush() for
every XML token and line of log.
Pyry Haulos [Mon, 22 Feb 2016 17:35:10 +0000 (12:35 -0500)]
Merge branch 'memory-barrier-fix' into 'vulkan-cts-1.0'
Fix issues with memory barrier tests.
There are multiple issues currently in the dEQP-VK.memory.pipeline_barrier.* tests.
I found 3 ocasions where the values provided to srcAccessMask and dstAccessMask are the other way around.
In particular, after a transfer operation the barrier responsible for flushing the output of the transfer writes uses srcAccessMask=0 and dstAccessMask=VK_ACCESS_TRANSFER_WRITE_BIT, when actually VK_ACCESS_TRANSFER_WRITE_BIT should have been set in srcAccessMask not in dstAccessMask.
See merge request !421
Joerg Wagner [Fri, 19 Feb 2016 09:11:36 +0000 (10:11 +0100)]
Issue #306
Images used in dynamic tests need TRANSFER_DST usage flags.
Change-Id: I74581d038a56914582c79084d0ccec9d06c67d87
aqnuep [Wed, 17 Feb 2016 14:06:56 +0000 (15:06 +0100)]
Fix issues with memory barrier tests.
Pyry Haulos [Mon, 15 Feb 2016 12:36:29 +0000 (04:36 -0800)]
Fix type conversion warnings
Csaba Osztrogonác [Fri, 12 Feb 2016 15:15:45 +0000 (16:15 +0100)]
Bump #version to 310 in vktApiSmokeTests.cpp
fixes #272
Pyry Haulos [Tue, 16 Feb 2016 15:16:56 +0000 (17:16 +0200)]
Update glslang and spirv-tools in fetch_sources.py to public versions
Dae Kim [Sat, 13 Feb 2016 16:03:38 +0000 (16:03 +0000)]
Disable robustBufferAccess in the default VkDevice to avoid performance issues on some HW
Pyry Haulos [Fri, 12 Feb 2016 17:44:04 +0000 (12:44 -0500)]
Merge branch 'aosp-copyright' into 'vulkan-cts-1.0'
Add AOSP copyright to tests ported from dEQP GLES tests
See merge request !436
Pyry Haulos [Fri, 12 Feb 2016 17:24:48 +0000 (12:24 -0500)]
Merge branch '305-fix-access-flags' into 'vulkan-cts-1.0'
Fix for dEQP-VK.image.load_store* lacks setting access flags for image memory barrier
Fixes #305
See merge request !438
Kantoch [Fri, 12 Feb 2016 14:22:33 +0000 (15:22 +0100)]
dEQP-VK.image.load_store* lacks setting access flags for image memory barrier
Pyry Haulos [Thu, 11 Feb 2016 21:39:09 +0000 (13:39 -0800)]
Add AOSP copyright to tests ported from dEQP GLES tests