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
Pyry Haulos [Thu, 11 Feb 2016 20:21:42 +0000 (15:21 -0500)]
Merge branch '259-fix-arm-gcc-issue' into 'vulkan-cts-1.0'
Image load/store: remove DynArray
As per description in #259 this code posed a problem in some situations, so this is an attempt to sidestep an issue altogether.
Fixes #259
See merge request !419
Pyry Haulos [Thu, 11 Feb 2016 17:46:17 +0000 (12:46 -0500)]
Merge branch 'fix-290-291-ds-advanced' into 'vulkan-cts-1.0'
Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced #290, #291
- Add missing barriers to ensure fragment loads wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations
Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c
See merge request !432
Pyry Haulos [Thu, 11 Feb 2016 17:45:17 +0000 (12:45 -0500)]
Merge branch '289-renderpass-formats' into 'vulkan-cts-1.0'
Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.
Round the (-0.5,-0.5) - (0.5,0.5) quad coordinates to pixel edges, to fix #289.
See merge request !430
Michael Stokes [Tue, 9 Feb 2016 13:50:40 +0000 (14:50 +0100)]
Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.
Fixes #289
Pyry Haulos [Thu, 11 Feb 2016 17:39:25 +0000 (12:39 -0500)]
Merge branch '295-fix-glsl-discard-missing-barriers' into 'vulkan-cts-1.0'
Fix for dEQP-VK.glsl.discard.* missing barriers
ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer
See merge request !434
Joerg Wagner [Tue, 9 Feb 2016 19:57:17 +0000 (20:57 +0100)]
Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced
- Add missing barriers to ensure fragment loads for color and ds wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations
Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c
Pyry Haulos [Wed, 10 Feb 2016 21:49:16 +0000 (13:49 -0800)]
Remove header snippets from Vulkan API test plan
Mais Alnasser [Wed, 10 Feb 2016 20:08:15 +0000 (15:08 -0500)]
ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer
Pyry Haulos [Wed, 10 Feb 2016 20:45:07 +0000 (12:45 -0800)]
Add top-level README
Pyry Haulos [Wed, 10 Feb 2016 18:18:02 +0000 (13:18 -0500)]
Merge branch 'remove-confidentiality-clause' into 'vulkan-cts-1.0'
Remove confidentiality clause from Vulkan CTS license
See merge request !433
Pyry Haulos [Tue, 9 Feb 2016 20:49:00 +0000 (12:49 -0800)]
Remove confidentiality clause from Vulkan CTS license
Pyry Haulos [Tue, 9 Feb 2016 18:30:47 +0000 (13:30 -0500)]
Merge branch '274-remove-round-mustpass' into 'vulkan-cts-1.0'
Remove rounding tests from the mustpass list
See merge request !429
Pyry Haulos [Tue, 9 Feb 2016 18:29:53 +0000 (13:29 -0500)]
Merge branch '283-reset-query-pool-before-use' into 'vulkan-cts-1.0'
Add missing commands for reseting queryPool prior to use
Fixes #283
See merge request !428
Pyry Haulos [Tue, 9 Feb 2016 18:29:06 +0000 (13:29 -0500)]
Merge branch 'origin/280-move_vkCmdCopyQueryPoolResults_outside_renderpass' into 'vulkan-cts-1.0'
#280: End the renderpass before trying to copy the query results
End the renderpass before trying to copy the query results,
as vkCmdCopyQueryPoolResults is only allowed outside.
Fixes #280.
See merge request !424
Peter Gal [Tue, 9 Feb 2016 10:58:49 +0000 (11:58 +0100)]
Remove rounding tests from the mustpass list
Maciej Jesionowski [Fri, 5 Feb 2016 10:34:18 +0000 (11:34 +0100)]
Compute, image: remove DynArray
Pyry Haulos [Mon, 8 Feb 2016 19:09:06 +0000 (14:09 -0500)]
Merge branch '287-puniq' into 'vulkan-cts-1.0'
Make buffer-pointer types unique. Fixes #287
See merge request !425
Szilard Ledan [Mon, 8 Feb 2016 16:08:27 +0000 (17:08 +0100)]
Add missing commands for reseting queryPool prior to use
Dejan Mircevski [Sun, 7 Feb 2016 22:32:27 +0000 (17:32 -0500)]
Make buffer-pointer types unique.
Joerg Wagner [Sun, 7 Feb 2016 12:54:37 +0000 (13:54 +0100)]
End the renderpass before trying to copy the query results, as
vkCmdCopyQueryPoolResults is only allowed outside.
Change-Id: I07cdd6c056017418f5080bdabb56746daeea73e7
Pyry Haulos [Fri, 5 Feb 2016 16:33:29 +0000 (11:33 -0500)]
Merge branch '277-log-original-assembly-of-SPIRV-assembly-tests' into 'master'
Add original assembly of the SPIR-V assembly tests to the log
fixes #277
Old MR: !416 (I had to create a new MR one because of renaming the branch.)
See merge request !420
Csaba Osztrogonác [Fri, 5 Feb 2016 11:03:45 +0000 (12:03 +0100)]
Add original assembly of the SPIR-V assembly tests to the log
fixes #277
Pyry Haulos [Thu, 4 Feb 2016 21:26:18 +0000 (16:26 -0500)]
Merge branch '278-proposed_texcoord_offset_is_too_low_fix' into 'vulkan-cts-1.0'
Fixes #278
Pyry Haulos [Thu, 4 Feb 2016 21:24:33 +0000 (16:24 -0500)]
Merge branch '276-fix-incorrect-buffer-usage-flag' into 'vulkan-cts-1.0'
dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag
Fixes #276
See merge request !418
Maciej Jesionowski [Thu, 4 Feb 2016 17:24:18 +0000 (18:24 +0100)]
dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag
Dominik Witczak [Thu, 4 Feb 2016 12:32:05 +0000 (13:32 +0100)]
Increase texcoord offset used by pipeline.sampler conformance tests from 0.001 to 0.002
Pyry Haulos [Wed, 3 Feb 2016 18:25:17 +0000 (13:25 -0500)]
Merge branch 'gstrm' into 'vulkan-cts-1.0'
Eliminate Stream decorations.
They require the `GeometryStreams` capability, which I'm not sure we should require of every implementation.
See merge request !406
Pyry Haulos [Wed, 3 Feb 2016 18:24:05 +0000 (13:24 -0500)]
Merge branch 'jbolz_createBuffer_memoryType' into 'vulkan-cts-1.0'
Change buffer tests to use queried memory type index
Previously this test assumed/required that memory type 0 was capable of sparse.
See merge request !407
Pyry Haulos [Wed, 3 Feb 2016 18:15:13 +0000 (13:15 -0500)]
Merge branch '266-dEQP-VK.renderpass-Test-Fixes' into 'vulkan-cts-1.0'
dEQP-VK.renderpass-Test-Fixes
* cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero.
* Adding code to initialize image attachment usage.
Fixes issue #266
See merge request !408
Pyry Haulos [Wed, 3 Feb 2016 18:09:54 +0000 (13:09 -0500)]
Merge branch '271-uninitialized-size' into 'vulkan-cts-1.0'
Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image
The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.
Fixes #271
See merge request !414
Pyry Haulos [Wed, 3 Feb 2016 18:09:02 +0000 (13:09 -0500)]
Merge branch '273-vertex-input-stride-fix' into 'vulkan-cts-1.0'
dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.
Consecutive strides did not result in aligned accesses to the vertex
attributes.
See merge request !415
Dae Kim [Wed, 3 Feb 2016 11:23:56 +0000 (11:23 +0000)]
dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.
Consecutive strides did not result in aligned accesses to the vertex
attributes.
Mais Alnasser [Tue, 2 Feb 2016 07:32:45 +0000 (02:32 -0500)]
Get sampled and storage usage flags from format properties.
Kristian Høgsberg Kristensen [Mon, 1 Feb 2016 23:14:25 +0000 (15:14 -0800)]
Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image
The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.
Pyry Haulos [Mon, 1 Feb 2016 18:55:23 +0000 (13:55 -0500)]
Merge branch '268-command-buffers-memory-leak-fix' into 'master'
268 dEQP-VK.api.command_buffers test fix.
Fixes the memory leaks in the CommandBuffers tests. (vulkan/vulkancts#268)
See merge request !412
Pyry Haulos [Mon, 1 Feb 2016 18:54:39 +0000 (13:54 -0500)]
Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'
267 spirv assembly.instruction fixes
1- missing ArrayStride: Array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost. Affects:
spirv_assembly.instruction.compute.opcopymemory.*
2- OpSelect's condition operand doesn't follow spec:
OpSelect's condition operand should have same component number as OpSelect's result type.
SPIR-V spec p110:
OpSelect
...
Condition must be a scalar or vector of Boolean type. It must have the same number of components as Result Type.
This addresses issue #267
See merge request !410
Mais Alnasser [Mon, 1 Feb 2016 15:44:37 +0000 (10:44 -0500)]
Removed correct code by mistake, adding that back and back out the originally intended code.
Peter Siket [Mon, 1 Feb 2016 12:07:29 +0000 (13:07 +0100)]
CommandPool creations in some tests are fixed.
Mais Alnasser [Sun, 31 Jan 2016 00:25:30 +0000 (19:25 -0500)]
Apply formating fixes
Remove ArrayStride code.
Mais Alnasser [Sat, 30 Jan 2016 19:33:27 +0000 (14:33 -0500)]
OpSelect's condition operand didn't follow spec
OpSelect's condition operand should have same component number as OpSelect's result type.
SPIR-V spec p110:
OpSelect
...
Condition must be a scalar or vector of Boolean type. It must have the
same number of components as Result Type.
Mais Alnasser [Thu, 28 Jan 2016 21:57:04 +0000 (16:57 -0500)]
spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.
Mais Alnasser [Fri, 29 Jan 2016 19:59:41 +0000 (14:59 -0500)]
Fix Renderpass tests cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero. Adding code to initialize image attachment usage.
Jeff Bolz [Sat, 30 Jan 2016 18:24:22 +0000 (18:24 +0000)]
Change buffer tests to use queried memory type index
Dejan Mircevski [Fri, 29 Jan 2016 19:35:03 +0000 (14:35 -0500)]
Eliminate Stream decorations.
Dejan Mircevski [Thu, 28 Jan 2016 20:42:50 +0000 (15:42 -0500)]
Fix capability for Stream decorations.
Pyry Haulos [Thu, 28 Jan 2016 00:35:03 +0000 (16:35 -0800)]
Add CTS submission package verification script
Pyry Haulos [Wed, 27 Jan 2016 21:51:09 +0000 (13:51 -0800)]
Minor formatting fixes
Pyry Haulos [Wed, 27 Jan 2016 21:46:27 +0000 (13:46 -0800)]
Remove cmdline prefixes to make copy-pasting commands easier
Pyry Haulos [Wed, 27 Jan 2016 20:06:43 +0000 (12:06 -0800)]
Clarify submission package contents
Pyry Haulos [Wed, 27 Jan 2016 20:00:58 +0000 (12:00 -0800)]
Fix some formatting, document how to include multiple products
Pyry Haulos [Wed, 27 Jan 2016 18:54:24 +0000 (10:54 -0800)]
Fix Vulkan README.md formatting issues
Pyry Haulos [Wed, 27 Jan 2016 18:27:30 +0000 (13:27 -0500)]
Merge branch 'issue_260' into 'vulkan-cts-1.0'
Improvements to submission package documentation
Fixes #260
- documentation and waiver requirement for non-porting changes
- describe waiver process
- describe the submission package
See merge request !404
Pyry Haulos [Wed, 27 Jan 2016 17:26:39 +0000 (12:26 -0500)]
Merge branch '242-blend-mustpass-exclusion' into 'vulkan-cts-1.0'
Excluded blend tests where propagated errors may be large
Addresses issue #242
See merge request !403
Daniel Koch [Wed, 27 Jan 2016 17:19:31 +0000 (12:19 -0500)]
Fix typo
Daniel Koch [Wed, 27 Jan 2016 07:38:09 +0000 (02:38 -0500)]
Improvements to submission package documentation
Fixes !260
- documentation and waiver requirement for non-porting changes
- describe waiver process
- describe the submission package
Dae Kim [Tue, 26 Jan 2016 19:32:53 +0000 (19:32 +0000)]
mustpass: Issue 242: Excluded blend tests where propagated errors may be large
Pyry Haulos [Tue, 26 Jan 2016 17:16:57 +0000 (12:16 -0500)]
Merge branch 'fix-undefined-trailing-data' into 'vulkan-cts-1.0'
Fix undefined trailing data in pipeline barrier tests.
Set memory properly undefined when memory layout is changed and set image
contents undefined when buffer is written.
See merge request !402
Pyry Haulos [Tue, 26 Jan 2016 17:16:33 +0000 (12:16 -0500)]
Merge branch '258-required-format-support' into 'vulkan-cts-1.0'
Adjust Vulkan format feature support requirements
Fixes #258
See merge request !401
Pyry Haulos [Tue, 26 Jan 2016 17:15:56 +0000 (12:15 -0500)]
Merge branch '250-limit-pipeline-count' into 'vulkan-cts-1.0'
Limit number of pipelines in object_management.max_concurrent
See #250
See merge request !400
Pyry Haulos [Tue, 26 Jan 2016 17:15:25 +0000 (12:15 -0500)]
Merge branch 'jekstrand_fix_blend_test_swizzling' into 'vulkan-cts-1.0'
Blend Test: Do not swizzle the ImageView
Some formats are weird. The A2R10G10B10_UNORM_PACK32 format, for example, is
stored out of order with respect to the name. From 29.3.1 Format definitions of
the spec:
A four-component, 32-bit packed unsigned normalized format that has a
2-bit A component in bits 30..31, a 10-bit R component in bits 20..29, a
10-bit G component in bits 10..19, and a 10-bit B component in bits
0..9.
The existing code will use this fact to determine that the underlying
organization for the format is BGRA, and as such will introduce swizzles in the
view. However, this swizzling is not the desired effect used by the reference
renderer, and this resulted in a miscompare (reverse RED AND BLUE channels) for
potentially any format who underlying storage order is reverse of its logical
order, AND, whose underlying storage order is not in RGBA (swizzle free) order.
If you switch the format to A2G10B10R10, the underlying organization is
RGBA and the resulting swizzle is the identity swizzle, it still works.
Also, if you add B8G8R8A8_UNORM to the list of formats, the newly added
tests all fail.
See merge request !398
Pyry Haulos [Tue, 26 Jan 2016 17:14:37 +0000 (12:14 -0500)]
Merge branch 'awoloszyn-fix-block-decoration' into 'vulkan-cts-1.0'
Fixes block order and decoration group tests.
Fixes #257
Round the input values to integer numbers so that the computations
never have to round.
The tests in question only perform addition and subtraction, and all
well within the representable range of a float. (-1500 -> 1500)
See merge request !397
Pyry Haulos [Tue, 26 Jan 2016 01:38:34 +0000 (20:38 -0500)]
Merge branch '255-limit-mem-allocs' into 'vulkan-cts-1.0'
Limit number of memory allocations to 4000.
Limit memory allocation count to 4000 in vulkan memory
allocation tests. Fixes #255
See merge request !399
Pyry Haulos [Tue, 26 Jan 2016 01:35:59 +0000 (20:35 -0500)]
Merge branch 'tzlatinski_memory_allocaiton_size_fix' into 'master'
CTS Memory tests fix invalid allocation sizes
allocateRandom() routine sometime requests enormous sizes
because of incorrect random size calculation logic.
Within the following formula:
m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1ull
If m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage is "0"
the result is negative, but since the number is unsigned
max takes the max of 1 and the (unsigned long long)-1.
The change, makes the comparison signed and also introduces
explicit test checks on the allocation sizes.
See merge request !389
Mika Isojärvi [Tue, 26 Jan 2016 00:54:10 +0000 (16:54 -0800)]
Fix undefined trailing data in pipeline barrier tests.
Set memory properly undefined when memory layout is changed and set image
contents undefined when buffer is written.
Change-Id: I688c014244f5ba5d9c602d9cdcad8a63c66b5357
Pyry Haulos [Tue, 26 Jan 2016 00:02:21 +0000 (16:02 -0800)]
Improve Vulkan CTS README
* Add details how to select Android ABI at install time
* Add note about using git cherry-pick -x when cherry-picking bugfixes.
* Add initial conformance criteria section
Pyry Haulos [Mon, 25 Jan 2016 21:50:48 +0000 (13:50 -0800)]
Adjust Vulkan format feature support requirements
Fixes #258
Pyry Haulos [Mon, 25 Jan 2016 20:15:35 +0000 (12:15 -0800)]
Limit number of pipelines in object_management.max_concurrent
See #250
Mika Isojärvi [Mon, 25 Jan 2016 19:01:27 +0000 (11:01 -0800)]
Limit number of memory allocations to 4000.
Limit memory allocation count to 4000 in vulkan memory
allocation tests. Fixes issue #255.
Change-Id: I9a1bc129556ce44e1d3e3e8c474c6dc668cea814
Andrew Woloszyn [Mon, 25 Jan 2016 16:57:34 +0000 (11:57 -0500)]
Fixes block order and decoration group tests.
Fixes #257
Round the input values to integer numbers so that the computations
never have to round.
The tests in question only perform addition and subtraction, and all
well within the representable range of a float.
Pyry Haulos [Mon, 25 Jan 2016 18:59:50 +0000 (13:59 -0500)]
Merge branch '249-fix-draw-mapped-memory-flushes' into 'vulkan-cts-1.0'
Fix flushing of index and indirect command bufs in draw tests
Fixes #249
See merge request !393
Pyry Haulos [Mon, 25 Jan 2016 18:57:50 +0000 (13:57 -0500)]
Merge branch '252-fix-imageformatproperties-validation' into 'vulkan-cts-1.0'
Fix VkImageFormatProperties validation
Fixes #252
See merge request !391
Pyry Haulos [Mon, 25 Jan 2016 18:56:31 +0000 (13:56 -0500)]
Merge branch '254-fix-shaderrendercase-format-check' into 'vulkan-cts-1.0'
Fix format support check in ShaderRenderCase
Fixes #254
See merge request !392
Pyry Haulos [Mon, 25 Jan 2016 18:55:32 +0000 (13:55 -0500)]
Merge branch '256-fix-renderpass-build-warnings' into 'vulkan-cts-1.0'
fix renderpass test's build warnings, fixes #256
See merge request !394
Ben Widawsky [Sun, 24 Jan 2016 22:59:48 +0000 (14:59 -0800)]
Blend Test: Do not swizzle the ImageView
Some formats are weird. The A2R10G10B10_UNORM_PACK32 format, for example, is
stored out of order with respect to the name. From 29.3.1 Format definitions of
the spec:
A four-component, 32-bit packed unsigned normalized format that has a
2-bit A component in bits 30..31, a 10-bit R component in bits 20..29, a
10-bit G component in bits 10..19, and a 10-bit B component in bits
0..9.
The existing code will use this fact to determine that the underlying
organization for the format is BGRA, and as such will introduce swizzles in the
view. However, this swizzling is not the desired effect used by the reference
renderer, and this resulted in a miscompare (reverse RED AND BLUE channels) for
potentially any format who underlying storage order is reverse of its logical
order, AND, whose underlying storage order is not in RGBA (swizzle free) order.
If you switch the format to A2G10B10R10, the underlying organization is
RGBA and the resulting swizzle is the identity swizzle, it still works.
Also, if you add B8G8R8A8_UNORM to the list of formats, the newly added
tests all fail.
Daniel Hegedus [Mon, 25 Jan 2016 10:38:28 +0000 (11:38 +0100)]
fix renderpass test's build warnings, fixes #256
Tony Zlatinski [Sun, 24 Jan 2016 20:50:51 +0000 (14:50 -0600)]
CTS Memory tests fix invalid allocation sizes
allocateRandom() routine sometime requests enormous sizes
because of incorrect random size calculation logic.
Within the following formula:
m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1ull
If m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage is "0"
the result is negative, but since the number is unsigned
max takes the max of 1 and the (unsigned long long)-1.
The change, makes the comparison signed and also introduces
explicit test checks on the allocation sizes.
Pyry Haulos [Mon, 25 Jan 2016 01:04:49 +0000 (17:04 -0800)]
Fix flushing of index and indirect command bufs in draw tests
Fixes #249
Pyry Haulos [Mon, 25 Jan 2016 01:03:08 +0000 (17:03 -0800)]
Drop a few checks from VkImageFormatProperties validation
The spec around vkGetPhysicalDeviceImageFormatProperties() has to be clarified
before these checks can be made in the test.
Fixes #252
Pyry Haulos [Mon, 25 Jan 2016 00:59:50 +0000 (16:59 -0800)]
Fix format support check in ShaderRenderCase
Fixes #254
Pyry Haulos [Fri, 22 Jan 2016 23:32:21 +0000 (15:32 -0800)]
Add first draft of conformance submission package description
Change-Id: If6581ee5ae7b497f5f7cec7bce0e42598860a5bc
Pyry Haulos [Fri, 22 Jan 2016 22:56:29 +0000 (14:56 -0800)]
Check in Vulkan CTS 1.0.0 RC mustpass
Pyry Haulos [Fri, 22 Jan 2016 22:48:56 +0000 (14:48 -0800)]
Merge in changes from Khronos repository
Pyry Haulos [Fri, 22 Jan 2016 22:48:11 +0000 (14:48 -0800)]
Fix accidental library name change
Pyry Haulos [Fri, 22 Jan 2016 22:44:30 +0000 (17:44 -0500)]
Merge branch '238-fix-compressed-sliced-3d' into 'master'
Check for sliced 3D compressed texture support in pipeline.{image,image_view,sampler} tests
This MR also enables sliced 3D ASTC cases as some implementations may support that. There are no real 3D ASTC formats in core Vulkan currently.
See merge request !374