Pyry Haulos [Tue, 5 Jan 2016 19:12:36 +0000 (11:12 -0800)]
Clean up test hierarchy and case naming
Affects following test groups:
* dEQP-VK.glsl.ShaderExecutor
* dEQP-VK.spirv_assembly.instruction.graphics
Change-Id: Ia14ee2deb112670d0a222380b5e0ddf6e03daffd
Pyry Haulos [Tue, 5 Jan 2016 18:57:31 +0000 (13:57 -0500)]
Merge branch 'jbolz_pipeline_barrier_fixes' into 'master'
pipeline_barrier fixes
- Try to use the full (power of two) buffer size. Not doing so tickles several issues to do with not writing all bytes of the buffer or image.
- Fix FillBuffer::verify byte selection.
- Use R8G8 rather than R8G8B8 for the vertex format. The third component is out of bounds for the last vertex, which makes the entire attribute undefined (i.e. substituted with zero on some implementations).
- Subtract out epsilon in vertex shader math to avoid points on the frustum boundary which may be culled.
See merge request !227
Pyry Haulos [Tue, 5 Jan 2016 16:41:18 +0000 (11:41 -0500)]
Merge branch '144-145-fix-assembly' into 'master'
Fixes for assembly in opMemoryAccess and opQuantize tests.
Fixes #144
Fixes #145
See merge request !241
Pyry Haulos [Tue, 5 Jan 2016 16:40:46 +0000 (11:40 -0500)]
Merge branch '141-fix-android-build-win-64' into 'master'
Fix Android build script on Windows 64 bit (NDK r10e)
- Correct Host OS name on Windows 64 bit in common.py
- Add the missing Host OS in toolchain file for NDK r10e
- Downgrade to LLVM 3.5 in NDK r10e because the prebuilt version 3.6 is
missing the llvm-ar utility which is needed by the build script.
See merge request !236
Andrew Woloszyn [Tue, 5 Jan 2016 14:52:28 +0000 (09:52 -0500)]
Fixes for assembly in opMemoryAccess and opQuantize tests.
Fixes #144
Fixes #145
Maciej Jesionowski [Mon, 4 Jan 2016 09:45:10 +0000 (10:45 +0100)]
Fix Android build script on Windows 64 bit (NDK r10e)
- Correct Host OS name on Windows 64 bit in common.py
- Add the missing Host OS in toolchain file for NDK r10e
- Downgrade to LLVM 3.5 when using Windows NDK r10e,
because the prebuilt version 3.6 is missing the llvm-ar
utility which is needed by the build script.
Pyry Haulos [Mon, 4 Jan 2016 22:00:05 +0000 (17:00 -0500)]
Merge branch 'bug137-fix-spirv_assembly.instruction.graphics.module-geom-var-decls' into 'master'
Fix 137: bad geom entry point I/O var declarations
Fix declarations of Input and Output declarations in test
dEQP-VK.spirv_assembly.instruction.graphics.module.*
They were missing "geom_" prefices.
Changed:
OpEntryPoint Geometry %geom_main "main" %out_gl_position %gl_in
%out_color %in_color
To the following, to match usage in the function bodies:
OpEntryPoint Geometry %geom_main "main" %geom_out_gl_position
%geom_gl_in %geom_out_color %geom_in_color
Also fix associated OpDecorate instructions.
Fixes #137
See merge request !238
Pyry Haulos [Mon, 4 Jan 2016 21:54:03 +0000 (13:54 -0800)]
Fix implicit VkDeviceSize -> size_t conversion warnings
Change-Id: Ibb4b63cf0651ddec66a62e39cc1ab1b155cedd13
Pyry Haulos [Mon, 4 Jan 2016 21:25:50 +0000 (13:25 -0800)]
Fix a few warnings
Change-Id: Icc60dcf8f72c1b9140c76bb1568af37b0b3b1843
Pyry Haulos [Mon, 4 Jan 2016 20:56:21 +0000 (12:56 -0800)]
Merge in changes from Khronos repository
Pyry Haulos [Mon, 4 Jan 2016 19:16:02 +0000 (14:16 -0500)]
Merge branch 'shaderExecutor-imageLayout' into 'master'
ShaderExecutor: fixed FragmentOutExecutor that used Images in UNDEFINED layout
Added proper transitions and fixed layout used for cmdCopyImageToBuffer
See merge request !224
Pyry Haulos [Mon, 4 Jan 2016 19:14:37 +0000 (14:14 -0500)]
Merge branch 'scygan_image_reinterpret_snorm_magic_0x80' into 'master'
dEQP-VK.image.reinterpret: bad handling of -128 SNORM value
Some tests in reintepret group create images of R32I type, than issue an imageLoad()-ed in shader, reinterpreting the image as RGBA8_SNORM. Than the value is imageStore()-ed again as RGBA8_SNORM.
Effectively each channel undergoes SNORM8 -> float -> SNORM8 conversion.
The problem is test requires the stored image to match exactly the loaded one, while the loaded image contains bytes of -128 value.
-128 (same as 127) converts to -1.0 float, however according to following equation in spec, the -1.0 float value can convert only to 0x81, what makes test fail.
```
f′=convertFloatToInt(f*(2^(b−1)−1),b)
```
The proposed fix here is to replace all 0x80 values in loaded image - same it is already done for NaNs and Infs for float format.
See merge request !233
David Neto [Mon, 4 Jan 2016 15:33:32 +0000 (10:33 -0500)]
Fix 137: bad geom entry point I/O var declarations
Fix declarations of Input and Output variable declarations and
the gl_PerVertex type declaration in test
dEQP-VK.spirv_assembly.instruction.graphics.module.*
They were missing "geom_" prefices.
Changed:
OpEntryPoint Geometry %geom_main "main" %out_gl_position %gl_in
%out_color %in_color
To the following, to match usage in the function bodies:
OpEntryPoint Geometry %geom_main "main" %geom_out_gl_position
%geom_gl_in %geom_out_color %geom_in_color
Also fix associated OpDecorate instructions.
Should fix https://gitlab.khronos.org/vulkan/vulkancts/issues/137
scygan [Mon, 28 Dec 2015 19:11:56 +0000 (20:11 +0100)]
ShaderExecutor: fixed FragmentOutExecutor that used Images in UNDEFINED layout
Added proper transitions and fixed layout used for cmdCopyImageToBuffer
mchomicz [Wed, 30 Dec 2015 13:08:19 +0000 (14:08 +0100)]
replace problematic values 0x80 (-128) for snorm formats
Pyry Haulos [Sun, 3 Jan 2016 22:03:43 +0000 (17:03 -0500)]
Merge branch '134-fix-spirv-graphics-loop' into 'master'
Fixed invalid spirv in dEQP-VK.spirv_assembly.instruction.graphics.loop.*
Fix for #134
See merge request !232
Pyry Haulos [Sun, 3 Jan 2016 22:03:23 +0000 (17:03 -0500)]
Merge branch '136-fix-opMemoryAccess' into 'master'
Fixed invalid SPIR-V in spirv_assembly.instruction.graphics.opMemoryAccess.*
For issue #136
See merge request !231
Pyry Haulos [Sun, 3 Jan 2016 22:02:38 +0000 (17:02 -0500)]
Merge branch '133-fix-opfrem' into 'master'
Fix invalid SPIR-V in dEQP-VK.spirv_assembly.instruction.graphics.frem.*
See merge request !229
Pyry Haulos [Sun, 3 Jan 2016 22:01:03 +0000 (17:01 -0500)]
Merge branch '132-push-constant-fix' into 'master'
Fix bugs for vertex attribute count in push constant tests.
Fix issue #132 : set wrong vertex attribute count in pipeline
See merge request !226
Pyry Haulos [Sun, 3 Jan 2016 21:58:23 +0000 (16:58 -0500)]
Merge branch 'shaderExecutor-imageView' into 'master'
ShaderExecutor: fixed FragmentOutExecutor that used imageView with mipLevels == 0
VkImageViewCreateInfo.mipLevels should equal to 1 to render anything
See merge request !222
Pyry Haulos [Sun, 3 Jan 2016 21:57:50 +0000 (16:57 -0500)]
Merge branch 'jbolz_ssbo_fix' into 'master'
Fix descriptors for SSBO tests.
This is the same fix as in !187, just for SSBO tests.
See merge request !220
Pyry Haulos [Sun, 3 Jan 2016 21:56:17 +0000 (16:56 -0500)]
Merge branch 'api-copiesAndBlitting-bufferUsage' into 'master'
copies_and_blitting test: fix case 'buffer_to_image' - changed src buffer usage flags
There is a buffer in 'buffer_to_image' test, that is used as a source of a copy command, however it's usage is set to DST.
See merge request !219
Pyry Haulos [Sun, 3 Jan 2016 21:55:54 +0000 (16:55 -0500)]
Merge branch 'jbolz_fix_floatbitstouint' into 'master'
Fix floatbitstouint shaderexecutor test copy/paste bug
See merge request !217
Pyry Haulos [Sun, 3 Jan 2016 21:55:28 +0000 (16:55 -0500)]
Merge branch 'jbolz_draw_instance_index' into 'master'
Change instanceID shader to use InstanceIndex
Change gl_InstanceID to gl_InstanceIndex. Add location qualifier on fragment input. Increase size of rendertarget to reduce likelihood of false success due to fuzzy compare.
Fixes #123.
See merge request !216
Pyry Haulos [Sun, 3 Jan 2016 21:54:36 +0000 (16:54 -0500)]
Merge branch 'dynamic-state-fixes' into 'master'
Various fixes for dynamic state tests.
* Added location qualifier to vertex output variables.
* Added missing initialization of flags in some CreateInfo structures.
* Check if depth bounds test is supported.
* Check if multi-viewport is supported.
* Check if geometry shaders are supported.
* Fixed reference image in lineWidth test.
See merge request !215
Pyry Haulos [Sun, 3 Jan 2016 21:53:44 +0000 (16:53 -0500)]
Merge branch '122-fix-timestamp-tests-typo' into 'master'
Fix timestamp tests typo (issue #122)
Fix a typo and some assertions to make timestamp basic compute tests work.
See merge request !214
Pyry Haulos [Sun, 3 Jan 2016 21:51:46 +0000 (16:51 -0500)]
Merge branch 'jbolz_fix_cmdbuf' into 'master'
Fix command buffer tests.
Fix number of command buffers for secondary_execute_twice test. Fix result buffer memory binding for order_bind_pipeline test. Fix comments for CommandBufferAllocateInfo structs.
See merge request !213
Pyry Haulos [Sun, 3 Jan 2016 21:50:12 +0000 (16:50 -0500)]
Merge branch 'jbolz_push_constants' into 'master'
Push constants fixes
Push Constant fixes: add location=0 on color I/O. Replace 'size 40' test with 'size 48', replacing two push constant blocks with one and using proper std140 alignment.
See merge request !206
Pyry Haulos [Sun, 3 Jan 2016 21:49:39 +0000 (16:49 -0500)]
Merge branch 'jbolz_ubo_align' into 'master'
Fix 'ubo' tests to lay out data satisfying the min ubo alignment
Fixes #114.
I didn't see any way to get the alignment during the init() function, so I just made a copy of it before download.
See merge request !205
Pyry Haulos [Sun, 3 Jan 2016 21:49:10 +0000 (16:49 -0500)]
Merge branch 'jbolz_glsl_matrix2' into 'master'
Fix glsl.matrix.outerproduct tests
Using 'getPtr' selected a template instantiation that downloaded the pointer value rather than the vector.
See merge request !204
Andrew Woloszyn [Wed, 30 Dec 2015 22:51:51 +0000 (17:51 -0500)]
Fixed invalid spirv in dEQP-VK.spirv_assembly.instruction.graphics.loop.*
Andrew Woloszyn [Wed, 30 Dec 2015 22:40:35 +0000 (17:40 -0500)]
Fixed invalid SPIR-V in spirv_assembly.instruction.graphics.opMemoryAccess.*
Andrew Woloszyn [Wed, 30 Dec 2015 22:23:04 +0000 (17:23 -0500)]
Fix invalid SPIR-V in dEQP-VK.spirv_assembly.instruction.graphics.frem.*
Jeff Bolz [Wed, 30 Dec 2015 09:07:50 +0000 (09:07 +0000)]
pipeline_barrier fixes
Fei Yang [Wed, 30 Dec 2015 00:52:18 +0000 (08:52 +0800)]
Fix bugs for vertex attribute count in push constant tests.
Change-Id: Iccacad6b3a787feedbb0b4df7f8689226fa64a7a
Pyry Haulos [Tue, 29 Dec 2015 22:07:28 +0000 (22:07 +0000)]
Remove few tests affected by a HW limitation am:
3f71117a2f am:
58213c37ff am:
8f5b937334 -s ours
am:
e2eb2f509b
* commit '
e2eb2f509bd1a6a041d6e39fcbe4844708e83336':
Remove few tests affected by a HW limitation
Pyry Haulos [Tue, 29 Dec 2015 21:59:53 +0000 (21:59 +0000)]
Remove few tests affected by a HW limitation am:
3f71117a2f am:
58213c37ff
am:
8f5b937334 -s ours
* commit '
8f5b937334b80c4961fe4119984e23279d911c0a':
Remove few tests affected by a HW limitation
Pyry Haulos [Tue, 29 Dec 2015 21:38:06 +0000 (21:38 +0000)]
Remove few tests affected by a HW limitation am:
3f71117a2f
am:
58213c37ff
* commit '
58213c37ff819fce0572fb0e65b3b9fe3e19b398':
Remove few tests affected by a HW limitation
Pyry Haulos [Tue, 29 Dec 2015 21:29:08 +0000 (21:29 +0000)]
Remove few tests affected by a HW limitation
am:
3f71117a2f
* commit '
3f71117a2f57d08ef9a5efe2f211ba515268af60':
Remove few tests affected by a HW limitation
pflisiko [Mon, 28 Dec 2015 14:40:22 +0000 (15:40 +0100)]
fix case 'buffer_to_image' - changed src buffer usage flags
Dae Kim [Tue, 29 Dec 2015 10:41:20 +0000 (10:41 +0000)]
Various fixes for dynamic state tests.
* Added location qualifier to vertex output variables.
* Added missing initialization of flags in some CreateInfo structures.
* Check if depth bounds test is supported.
* Check if multi-viewport is supported.
* Check if geometry shaders are supported.
* Fixed reference image in lineWidth test.
Kenneth Russell [Mon, 28 Dec 2015 23:45:36 +0000 (23:45 +0000)]
Added test case for conditional assignments to matrix elements.
am:
cbf84e3898
* commit '
cbf84e38987721d18994470b5ecabd0c2f812590':
Added test case for conditional assignments to matrix elements.
Jeff Bolz [Sun, 27 Dec 2015 20:53:46 +0000 (20:53 +0000)]
Change gl_InstanceID to gl_InstanceIndex. Increase width/height to avoid false positives in fuzzy compare.
scygan [Mon, 28 Dec 2015 19:04:07 +0000 (20:04 +0100)]
ShaderExecutor: fixed FragmentOutExecutor that used imageView with mipLevels == 0
VkImageViewCreateInfo.mipLevels should equal to 1 to render anything
Jeff Bolz [Mon, 28 Dec 2015 19:08:28 +0000 (19:08 +0000)]
Fix descriptors for SSBO tests.
Jeff Bolz [Mon, 28 Dec 2015 07:36:55 +0000 (07:36 +0000)]
Fix floatbitstouint shaderexecutor test copy/paste bug
Rocky Shi [Mon, 28 Dec 2015 03:33:05 +0000 (11:33 +0800)]
Fix issues after code review.
Jeff Bolz [Sun, 27 Dec 2015 21:07:49 +0000 (21:07 +0000)]
Merge branch 'master' into jbolz_push_constants
Pyry Haulos [Sun, 27 Dec 2015 03:48:33 +0000 (16:48 +1300)]
Fix warnings in copies and blit tests
Pyry Haulos [Sun, 27 Dec 2015 03:44:57 +0000 (16:44 +1300)]
Merge 70-copies-and-blitting
Pyry Haulos [Sun, 27 Dec 2015 03:33:17 +0000 (22:33 -0500)]
Merge branch 'dkoch_mv_draw_shaders' into 'master'
Move draw shaders to correct location
The draw/ tests are expecting the path vulkan/draw/ instead of just draw/.
See merge request !212
Pyry Haulos [Sun, 27 Dec 2015 03:30:07 +0000 (22:30 -0500)]
Merge branch 'imageLoadStore-too-small-descriptorPool' into 'master'
vktImageLoadStoreTests: fix *__layer test cases - fix too small descriptor pool
In dEQP-VK.image.store.1d_array.r32g32b32a32_sfloat_single_layer test case, there are 8 descriptor sets allocated from descriptor pool that has space only for one.
See merge request !210
Pyry Haulos [Sun, 27 Dec 2015 03:29:17 +0000 (22:29 -0500)]
Merge branch 'renderpass-proper-aspect-for-cmdClearAttachments' into 'master'
Renderpass test: use proper aspect for cmdClearAttachments
dEQP-VK.renderpass.attachment.3.206 tests uses this chunk of code to clear D32 image, so VK_IMAGE_ASPECT_STENCIL_BIT is invalid.
See merge request !209
Pyry Haulos [Sun, 27 Dec 2015 03:28:09 +0000 (22:28 -0500)]
Merge branch '80-ApiObjectManagement-desriptorPool-size' into 'master'
Fix descriptor pool size in api.object_management.multiple_shared_resources.descriptor_set
Fixes issue #80
- there are multiple sets allocated, so desciptor VkDescriptorPoolSize.descriptorCount must be multipled by number
of sets
See merge request !208
Pyry Haulos [Sun, 27 Dec 2015 03:27:28 +0000 (22:27 -0500)]
Merge branch 'api-bufferView-image-layout' into 'master'
vktApiBufferViewAccessTests: image cannot be created with COLOR_ATTACHMENT_OPTIMAL layout.
- According to spec, the only valid layouts in vkCreateImage are UNDEFINED and PREINITIALIZED
- This changes the test so image is cratead with valid layout, than transitioned to COLOR_ATTACHMENT_OPTIMAL using additional barrier
See merge request !207
Pyry Haulos [Sun, 27 Dec 2015 03:25:23 +0000 (22:25 -0500)]
Merge branch '117-push-constant-wrong-glsl' into 'master'
Fix bugs of the shaders in push constant tests
This fix issue #117 and #118
-fix the offset of the uniform block member to align with it's size
-modify the shader to fix wrong expected value for dEQP-VK.pipeline.push_constant.graphics_pipeline.data_update_partial_1
See merge request !199
Pyry Haulos [Sun, 27 Dec 2015 03:24:28 +0000 (22:24 -0500)]
Merge branch 'jekstrand-fix-timestamp-c++11' into 'master'
PipelineTimestampTests: Stop relying on C++11 features
The cbegin and cend functions weren't added to std::vector until c++11.
They also aren't really serving a purpose here given that there's no
automatic type inference going on, just a regular for loop. This fixes the
build on Fedora 23 when using clang and default dEQP build flags.
See merge request !198
Pyry Haulos [Sun, 27 Dec 2015 03:23:55 +0000 (22:23 -0500)]
Merge branch '76-fix-commandbuffer-params' into 'master'
fix VkCommandBufferBeginInfo struct values, fixes #76
just a short fix to change those two mixed struct values
See merge request !190
Pyry Haulos [Sun, 27 Dec 2015 03:22:03 +0000 (22:22 -0500)]
Merge branch 'jbolz_fix_ubo' into 'master'
Fix ubo.per_block_buffer tests
See merge request !187
Pyry Haulos [Sun, 27 Dec 2015 03:20:59 +0000 (22:20 -0500)]
Merge branch 'jekstrand-binding-model-hang-fix' into 'master'
api.binding_model: Wait for idle before throwing NotSupportedError
If we don't, then the GPU could be busy and some of the objects destroyed
by the exception propagation could be in-use. This is something of a
stop-gap measure; the problem of exceptions and the GPU being busy is
something that needs to be solved in general. However, it does fix GPU
hangs on some drivers.
This is related to #20.
See merge request !185
Jason Ekstrand [Fri, 18 Dec 2015 18:09:41 +0000 (10:09 -0800)]
api.binding_model: Wait for idle before throwing NotSupportedError
If we don't, then the GPU could be busy and some of the objects destroyed
by the exception propagation could be in-use. This is something of a
stop-gap measure; the problem of exceptions and the GPU being busy is
something that needs to be solved in general. However, it does fix GPU
hangs on some drivers.
This is related to #20.
Rocky Shi [Thu, 24 Dec 2015 04:13:43 +0000 (12:13 +0800)]
Fix typo in compute shader and assertion when creating buffers.
Jeff Bolz [Thu, 24 Dec 2015 00:09:26 +0000 (00:09 +0000)]
Fix number of command buffers for secondary_execut_twice test. Fix result buffer memory binding for order_bind_pipeline test. Fix comments for CommandBufferAllocateInfo structs.
Daniel Koch [Wed, 23 Dec 2015 19:42:40 +0000 (14:42 -0500)]
Move draw shaders to correct location
The draw/ tests are expecting the path vulkan/draw/ instead of just draw/.
Kristof Kosztyo [Fri, 18 Dec 2015 14:34:13 +0000 (15:34 +0100)]
Style fixes for the Copy and blitting
Gabor Abraham [Thu, 17 Dec 2015 16:47:22 +0000 (17:47 +0100)]
Add copy BufferToBuffer tests.
Kristof Kosztyo [Thu, 17 Dec 2015 16:37:28 +0000 (17:37 +0100)]
Add Image to image copies
Szilard Ledan [Thu, 17 Dec 2015 16:36:53 +0000 (17:36 +0100)]
Fix the wrong bufferSize in CopiesAndBlitting
Szilard Ledan [Thu, 17 Dec 2015 14:38:43 +0000 (15:38 +0100)]
Set queueFamilyIndices in CopiesAndBlitting
Kristof Kosztyo [Thu, 17 Dec 2015 12:33:53 +0000 (13:33 +0100)]
Rename ImageToImageCopies to CopyImageToImage
Szilard Ledan [Wed, 16 Dec 2015 22:11:37 +0000 (23:11 +0100)]
Fix warnings in the CopiesAndBlitting
Kristof Kosztyo [Wed, 16 Dec 2015 21:28:47 +0000 (22:28 +0100)]
Remove leftover comment
Szilard Ledan [Wed, 16 Dec 2015 20:16:44 +0000 (21:16 +0100)]
Add CopyBufferToImage test
Kristof Kosztyo [Wed, 16 Dec 2015 21:16:17 +0000 (22:16 +0100)]
Add image to image test
Kristof Kosztyo [Wed, 16 Dec 2015 20:16:22 +0000 (21:16 +0100)]
Finish the buffer to buffer copies base class
Kristof Kosztyo [Wed, 16 Dec 2015 18:30:26 +0000 (19:30 +0100)]
Rename testgroup of the copies and blitting
Kristof Kosztyo [Wed, 16 Dec 2015 18:17:05 +0000 (19:17 +0100)]
Implement copyRegions for the buffer to buffer copies
Kristof Kosztyo [Wed, 16 Dec 2015 17:37:46 +0000 (18:37 +0100)]
Remove m_regions from the CopiesAndBlitting class
Szilard Ledan [Wed, 16 Dec 2015 18:05:35 +0000 (19:05 +0100)]
Fix the CopyImageToBuffer test
Gabor Abraham [Wed, 16 Dec 2015 15:41:12 +0000 (16:41 +0100)]
Add WIP version of BufferToBufferTest.
Szilard Ledan [Wed, 16 Dec 2015 13:56:17 +0000 (14:56 +0100)]
Improve TestParams in CopiesAndBlittingTests
Kristof Kosztyo [Wed, 16 Dec 2015 13:49:17 +0000 (14:49 +0100)]
Several fixes around the readImage and copyImage
Szilard Ledan [Wed, 16 Dec 2015 13:00:18 +0000 (14:00 +0100)]
Improve the calculateSize utility function
Gabor Abraham [Wed, 16 Dec 2015 12:48:50 +0000 (13:48 +0100)]
Refactor uploadBuffer and uploadImage.
Szilard Ledan [Wed, 16 Dec 2015 10:00:19 +0000 (11:00 +0100)]
Fix the upload image and the ImageToBuffer test
Gabor Abraham [Wed, 16 Dec 2015 09:49:22 +0000 (10:49 +0100)]
Remove BufferType enum, add uploadBuffer.
Kristof Kosztyo [Tue, 15 Dec 2015 19:54:04 +0000 (20:54 +0100)]
Add readImage
Szilard Ledan [Tue, 15 Dec 2015 15:44:27 +0000 (16:44 +0100)]
Implement uploadImage utility function in CopiesAndBlittingTests
Kristof Kosztyo [Tue, 15 Dec 2015 16:49:24 +0000 (17:49 +0100)]
Refactor checkResult function
Kristof Kosztyo [Tue, 15 Dec 2015 15:59:51 +0000 (16:59 +0100)]
Add generateExpectedResult function
Gabor Abraham [Tue, 15 Dec 2015 14:53:45 +0000 (15:53 +0100)]
Implement generateBuffer function
Szilard Ledan [Tue, 15 Dec 2015 10:44:43 +0000 (11:44 +0100)]
Add base of the CopyImageToBuffer test
Kristof Kosztyo [Mon, 14 Dec 2015 18:54:04 +0000 (19:54 +0100)]
Add base of the copy image to image
Szilard Ledan [Mon, 14 Dec 2015 10:25:28 +0000 (11:25 +0100)]
Add base of Copies And Blitting tests
Kristof Kosztyo [Wed, 9 Dec 2015 17:49:01 +0000 (18:49 +0100)]
Copies and blitting: update the test specification
scygan [Wed, 23 Dec 2015 16:48:28 +0000 (17:48 +0100)]
vktImageLoadStoreTests: fix *__layer test cases - fix too small descriptor pool
In dEQP-VK.image.store.1d_array.r32g32b32a32_sfloat_single_layer test case, there are 8 descriptor sets allocated from descriptor pool that has space only for one.
scygan [Wed, 23 Dec 2015 16:03:57 +0000 (17:03 +0100)]
Renderpass test: use proper aspect for cmdClearAttachments
dEQP-VK.renderpass.attachment.3.206 tests uses this chunk of code to clear D32 image, so VK_IMAGE_ASPECT_STENCIL_BIT is invalid.
scygan [Wed, 23 Dec 2015 14:54:09 +0000 (15:54 +0100)]
Fix descriptor pool size in api.object_management.multiple_shared_resources.descriptor_set
- there are multiple sets allocated, so desciptor VkDescriptorPoolSize.descriptorCount must be multipled by number of sets
scygan [Wed, 23 Dec 2015 14:28:48 +0000 (15:28 +0100)]
vktApiBufferViewAccessTests: image cannot be created with COLOR_ATTACHMENT_OPTIMAL layout.
- According to spec, the only valid layouts in vkCreateImage are UNDEFINED and PREINITIALIZED
- This changes the test so image is cratead with valid layout, than transitioned to COLOR_ATTACHMENT_OPTIMAL using additional barrier
Pyry Haulos [Wed, 23 Dec 2015 07:11:00 +0000 (16:11 +0900)]
Fix couple of invalid VkBufferCreateInfos and ws violations in command buffer tests