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
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
Pyry Haulos [Wed, 23 Dec 2015 07:06:20 +0000 (16:06 +0900)]
Merge 90-command-buffers
Pyry Haulos [Wed, 23 Dec 2015 07:04:59 +0000 (16:04 +0900)]
Merge 41-image-load-store-tests
Pyry Haulos [Wed, 23 Dec 2015 06:54:58 +0000 (15:54 +0900)]
Fix whitespace violations
Pyry Haulos [Wed, 23 Dec 2015 06:53:38 +0000 (15:53 +0900)]
Fix VkCommandPoolCreateInfo in compute test utils.
Pyry Haulos [Wed, 23 Dec 2015 06:47:57 +0000 (15:47 +0900)]
Merge 24-compute-shader-tests
Pyry Haulos [Wed, 23 Dec 2015 06:10:51 +0000 (01:10 -0500)]
Merge branch '119-fix-buffer-size' into 'master'
SSBO: fix buffer size when creating a buffer descriptor
Fixes #119
See merge request !203
Pyry Haulos [Wed, 23 Dec 2015 06:10:14 +0000 (01:10 -0500)]
Merge branch 'jbolz_glsl_matrix1' into 'master'
fix matrix download in glsl.matrix tests
See merge request !195
Pyry Haulos [Wed, 23 Dec 2015 06:09:26 +0000 (01:09 -0500)]
Merge branch 'shaderRenderLoopTest-fix-getFloatFractionUniformType' into 'master'
Shader render loop test: fix getFloatFractionUniformType function
It seems getFloatFractionUniformType should return fraction "uniform types", not integral values.
it is used to generate uniform values used in test - which, according to shader sources, should be fractions.
See merge request !202
Pyry Haulos [Wed, 23 Dec 2015 06:08:35 +0000 (01:08 -0500)]
Merge branch 'draw-tests-indexed-instanced' into 'master'
draw tests: make draw_instanced_indexed_* test use instancing (test case list bug)
See merge request !201
Pyry Haulos [Wed, 23 Dec 2015 06:07:43 +0000 (01:07 -0500)]
Merge branch 'clean-up-mr-189' into 'master'
Remove unused code in opaque type indexing tests
See !189
See merge request !196
Pyry Haulos [Wed, 23 Dec 2015 06:07:08 +0000 (01:07 -0500)]
Merge branch 'pipeline-input_assembly-pointSize' into 'master'
InputAssemblyTests: fix point list test
The test compares image generated by Vulkan to image rendered by reference renderer.
As Vulkan path sets gl_PointSize to 3, same must be done in ref renderer to make test pass.
See merge request !200
Pyry Haulos [Wed, 23 Dec 2015 06:06:26 +0000 (01:06 -0500)]
Merge branch 'ssbo-initialize-acBuffer' into 'master'
Fix dEQP-VK.ssbo tests: initialize the contents of the result atomic counter buffer
The atomic counter buffer used for storing test results is not initialized - as shaders are only incrementing atomit counters, the results may be undefined, thus making the test randomly fail.
See merge request !194
Pyry Haulos [Wed, 23 Dec 2015 06:04:44 +0000 (01:04 -0500)]
Merge branch 'buffer_view_alloc_first' into 'master'
We need to allocate memory before we can create a buffer view - issue wth the dEQP-VK.api.buffer_view
There were issues with the dEQP-VK.api.buffer_view test group that Jeannot has addressed with this patch. Please merge.
See merge request !197
Maciej Jesionowski [Tue, 22 Dec 2015 14:25:56 +0000 (15:25 +0100)]
Review comments and clang error fixes
Maciej Jesionowski [Thu, 26 Nov 2015 09:57:02 +0000 (10:57 +0100)]
Image tests
Issue #41
- store, load/store
- format reinterpret
- memory qualifiers
- imageSize
Peter Gal [Tue, 22 Dec 2015 15:09:11 +0000 (16:09 +0100)]
SSBO: fix buffer size when creating a buffer descriptor
Fixes #119
scygan [Tue, 22 Dec 2015 14:57:25 +0000 (15:57 +0100)]
vktShaderRenderLoopTests: fix getFloatFractionUniformType function
it seems getFloatFractionUniformType should return fraction "uniform types", not integral values.
scygan [Tue, 22 Dec 2015 14:37:08 +0000 (15:37 +0100)]
draw tests: make draw_instanced_indexed_* test use instancing (test case list bug)
Maciej Jesionowski [Tue, 22 Dec 2015 11:44:32 +0000 (12:44 +0100)]
Fix clang compilation errors
Maciej Jesionowski [Fri, 18 Dec 2015 11:25:43 +0000 (12:25 +0100)]
Updated compute tests to API version 210
Maciej Jesionowski [Wed, 9 Dec 2015 08:30:04 +0000 (09:30 +0100)]
Add compute shader tests
Basic compute shader tests
Reference implementation:
modules/gles31/functional/es31fBasicComputeShaderTests.cpp
- empty shader
- UBO to SSBO invert
- SSBO to SSBO invert
- invert SSBO in-place
- write to multiple SSBO's
- SSBO local barrier
- shared var
- shared var atomic operation
- copy image to SSBO
- copy SSBO to image
- SSBO barrier
- image barrier
- image atomic operation
Indirect Compute Dispatch Tests
Ported indirect compute dispatch tests from OpenGLES 3.1 to Vulkan.
Reference implementation:
modules/gles31/functional/es31fIndirectComputeDispatchTests.cpp
Compute Shader Built-in variable tests
Tests that check if compute shader build in variables store correct
values. Tests ported from OpenGLES 3.1
Reference file:
modules\gles31\functional\es31fComputeShaderBuiltinVarTests.cpp
NOTE:
The tests were changed from the original to use std430 ssbo data
alignment. In the original tests the alignment of ssbo data structures was
queried via a call to
const Glenum queryParam = GL_ARRAY_STRIDE;
getProgramResourceiv(program, GL_BUFFER_VARIABLE, index, 1, &queryParam, 1, DE_NULL, (int*)&value);
We do not see an equivalent vkGet function in Vulkan. Does it mean that
packed and shared layouts are not supported by Vulkan?
scygan [Mon, 21 Dec 2015 20:28:04 +0000 (21:28 +0100)]
Fix dEQP-VK.ssbo tests: initialize the contents of the result atomic counter buffer
Sokolowski, Aleksy [Tue, 22 Dec 2015 07:49:59 +0000 (08:49 +0100)]
InputAssemblyTests: fixed point list test
Piotr Łebski [Thu, 17 Dec 2015 13:39:11 +0000 (14:39 +0100)]
1. Updated the test spec according to the new Vulkan spec.
2. Added all test cases from test spec to the list. The ones that are not yet implemented or don't work properly are commented out.
TODO: Dummy tests for all missing cases.
moved order of execution test to new api
1. Created simple tests for Command Pool management.
2. Removed free command buffers tests as there's not way to check the result
Removed incorrect tests related to improper recording of buffers.
Implemented a simple memory allocator and the pool_create_non_null_allocator test.
fixed merge request 149 problems
1. Implemented recording with active queries tests.
2. Removed two test cases for end recording as this command is covered extensively by all other tests.
1. Removed invalid buffer reset tests.
2. Fixed formatting.
Removed stubs of tests what won't be implemented.
Removed vktSimpleAllocator.hpp and replaced it with the framework allocation utility.
changed vktApiComputeInstanceResultBuffer to ComputeInstanceResultBuffer
Jeannot Breton [Mon, 21 Dec 2015 22:42:32 +0000 (16:42 -0600)]
We need to allocate memory before we can create a buffer view
Pyry Haulos [Mon, 21 Dec 2015 22:39:12 +0000 (07:39 +0900)]
Convert indentation to tabs in timestamp tests
Pyry Haulos [Mon, 21 Dec 2015 22:37:14 +0000 (07:37 +0900)]
Fix a few warnings in timestamp tests
Pyry Haulos [Mon, 21 Dec 2015 22:35:49 +0000 (07:35 +0900)]
Merge 29-timestamp-tests
Pyry Haulos [Mon, 21 Dec 2015 22:28:55 +0000 (07:28 +0900)]
Remove unused code in opaque type indexing tests
See !189
Pyry Haulos [Mon, 21 Dec 2015 22:26:34 +0000 (07:26 +0900)]
Fix invalid include guards and ws violations in pipeline barrier tests
Pyry Haulos [Mon, 21 Dec 2015 22:24:02 +0000 (07:24 +0900)]
Enable draw tests and fix a few warnings
Pyry Haulos [Mon, 21 Dec 2015 22:23:36 +0000 (07:23 +0900)]
Merge 77-draw-tests
Pyry Haulos [Mon, 21 Dec 2015 22:14:51 +0000 (07:14 +0900)]
Merge 110-OpFRem-spirv-assembly
Pyry Haulos [Mon, 21 Dec 2015 21:52:15 +0000 (16:52 -0500)]
Merge branch 'push-constants-bufferCreateInfo' into 'master'
pipeline.push_constant test: fix wrong ordering of BufferCreateInfo structure parameters
Parameters for BufferCreateInfo structure are given in wrong order
See merge request !193
Pyry Haulos [Mon, 21 Dec 2015 21:51:43 +0000 (16:51 -0500)]
Merge branch 'jbolz_shader_executor_misc2' into 'master'
ShaderExecutor: fix zero-sized buffer and copy command buffer submission
See merge request !189
Pyry Haulos [Mon, 21 Dec 2015 21:42:26 +0000 (16:42 -0500)]
Merge branch 'api-createBuffer-usage0' into 'master'
api.buffer.createBuffer: buffer usage cannot be 0.
Spec: (Valid Usage for VkBufferCreateInfo): "usage must not be 0"
See merge request !191
Jeff Bolz [Mon, 21 Dec 2015 20:48:34 +0000 (20:48 +0000)]
fix matrix download in glsl.matrix tests
scygan [Mon, 21 Dec 2015 17:07:48 +0000 (18:07 +0100)]
pipeline.push_constant test: fix wrong ordering of BufferCreateInfo structure parameters
scygan [Wed, 16 Dec 2015 18:45:58 +0000 (19:45 +0100)]
draw tests: fix review comments
Jeff Bolz [Mon, 21 Dec 2015 15:49:24 +0000 (15:49 +0000)]
fix commented type for bufferCount
scygan [Mon, 21 Dec 2015 12:49:31 +0000 (13:49 +0100)]
api.buffer.createBuffer: buffer usage cannot be 0.
Spec: (Valid Usage for VkBufferCreateInfo): usage must not be 0
Jan Syryczynski [Fri, 11 Dec 2015 15:49:10 +0000 (16:49 +0100)]
# This is a combination of 3 commits.
# The first commit's message is:
update to test spec
Command buffer submission tests.
Updated the part of test spec relevant to command buffer submission.
Updated the part of the test spec relevant to Command Pools
A minor fix in spec formatting
Removed three irrelevant testcases from the part of the test spec related to secondary command buffers.
Removed three irrelevant testcases from the part of the spec related to FrameBuffers.
1. Removed unused #include statements
2. Fixed formatting
fixed the formatting problem in four files
more fixes to formatting
even more whitespace fixes
removed unnecessary includes, added google to copyright
removed resetting buffers that should not take place
added test for secondary commnad buffers execution - currently crashing
order of execution test - first
Updated the test spec according to API v170.2
Updated the part of test spec relevant to command buffer submission.
A minor fix in spec formatting
Removed three irrelevant testcases from the part of the test spec related to secondary command buffers.
Removed three irrelevant testcases from the part of the spec related to FrameBuffers.
removed unnecessary includes, added google to copyright
removed resetting buffers that should not take place
command buffers recording tests
added first command buffer test, fix to nexus compilation
added test for secondary commnad buffers execution - currently crashing
Updated the test spec according to API v170.2
order of execution test - first
Updated the part of test spec relevant to command buffer submission.
A minor fix in spec formatting
Removed three irrelevant testcases from the part of the test spec related to secondary command buffers.
Removed three irrelevant testcases from the part of the spec related to FrameBuffers.
removed unnecessary includes, added google to copyright
1. Removed all compilation errors:
- fixed all testcases barring order_of_execution
- commented out order_of_execution and related code in ComputeInstanceResultBuffer.cpp
# This is the 2nd commit message:
Commented out the one test that caused a segfault.
# This is the 3rd commit message:
Reverted several unintended changes.
Piotr Łebski [Tue, 10 Nov 2015 17:33:15 +0000 (18:33 +0100)]
Draft of test spec for Command Buffers.
Fixed two typos pointed out in the merge request review.
Minor updates and fixes for Command Buffers test spec:
1. Split that one big table into several smaller ones, corresponding to chapters in Vulkan's spec.
2. Added placeholders for missing testspecs - allowed commands and render pass
Fixed colum width in Command Buffer testspec
First part of Render Pass test spec.
1. Replaced repeating parts of lengthy descriptions fir ellipses for the sake of clarity.
2. Added three more test case descriptions.
Added the remaining validity tests for structures used while creating render passes.
Added testcases for Render Pass destruction. This concludes the test spec for Render Pass.
Framebuffer testcases covered.
Fixed an error with numbering testcases for Framebuffers
Fixed command buffer test spec according to Alon's pointers.
1. Removed A LOT of testcases that would result in undefined behaviour.
2. Added a number of testcases to better cover possible uses of the command buffer API
3. Cleaned up the section of the document related to command buffers
added first command buffer test, fix to nexus compilation
added test for secondary commnad buffers execution - currently crashing
1. Command Buffer lifetime tests
- explicit reset
- implicit reset
- bulk reset
2. Pulled the timeout variable out and made it a global (did not modify code in first two test cases)
Updated the test spec according to API v170.2
Fixed style errors in test cases related to resetting command buffers.
order of execution test - first
1. Added CK_CHECK whenever possible
2. Minor formatting fixes
3. Removed several redundance vk:: uses
4. Switched from using wrapper methods to direct calls to DeviceInterface's methods when more than one buffer and event are needed.
Jeff Bolz [Mon, 21 Dec 2015 08:31:44 +0000 (08:31 +0000)]
Fix binding issues with opaque_type_indexing tests. Descriptor layout must go through builder, fix binding number for UBO array.
Rocky Shi [Mon, 21 Dec 2015 04:11:42 +0000 (12:11 +0800)]
Fix a bug and some coding style issues after 2nd code review.
Jeff Bolz [Mon, 21 Dec 2015 07:33:43 +0000 (07:33 +0000)]
Add Context::getDeviceProperties. Fix a couple tessellation issues
Jeff Bolz [Mon, 21 Dec 2015 01:44:20 +0000 (01:44 +0000)]
Fix compute pipeline layout
Jeff Bolz [Mon, 21 Dec 2015 01:37:48 +0000 (01:37 +0000)]
Merge branch 'jbolz_shader_executor1' into jbolz_shader_executor_misc2
Jeff Bolz [Mon, 21 Dec 2015 01:33:54 +0000 (01:33 +0000)]
merge master
Pyry Haulos [Mon, 21 Dec 2015 01:00:36 +0000 (10:00 +0900)]
Fix a few warnings
Jeff Bolz [Mon, 21 Dec 2015 00:47:09 +0000 (00:47 +0000)]
ShaderExecutor: fix zero-sized buffer and copy command buffer submission
Pyry Haulos [Mon, 21 Dec 2015 00:40:31 +0000 (16:40 -0800)]
Merge in changes from Khronos repository
Pyry Haulos [Mon, 21 Dec 2015 00:38:05 +0000 (00:38 +0000)]
Merge "Initial pipeline barrier tests." into vulkan
Pyry Haulos [Mon, 21 Dec 2015 00:36:43 +0000 (09:36 +0900)]
Fix warnings and whitespace errors in occlusion query tests
Pyry Haulos [Mon, 21 Dec 2015 00:36:28 +0000 (09:36 +0900)]
Merge 43-occlusion_query_tests
Pyry Haulos [Mon, 21 Dec 2015 00:28:36 +0000 (09:28 +0900)]
Merge 107-ssbo
David Sodman [Sun, 20 Dec 2015 23:33:49 +0000 (15:33 -0800)]
Change MIN value of MaxComputeWorkgroupCount to 65535
This is requested in
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15350
Change-Id: Idad4bb83cea445769c6d88b0367a7bb9f1b6de9d
Pyry Haulos [Sun, 20 Dec 2015 22:17:32 +0000 (17:17 -0500)]
Merge branch '88-fix-api-buffer-test-permutations' into 'master'
fix for-loop limit on api buffer test generation, fixes #88
See merge request !180
Pyry Haulos [Sun, 20 Dec 2015 22:05:58 +0000 (07:05 +0900)]
Merge 12-shader-executor-uniforms
Pyry Haulos [Sun, 20 Dec 2015 22:01:16 +0000 (07:01 +0900)]
Fix warnings and whitespace issues in dynamic state tests
Pyry Haulos [Sun, 20 Dec 2015 22:01:01 +0000 (07:01 +0900)]
Merge dynamic_state_tests
Pyry Haulos [Sun, 20 Dec 2015 21:40:52 +0000 (06:40 +0900)]
Fix few include guards and whitespace violations
Pyry Haulos [Sun, 20 Dec 2015 21:12:07 +0000 (06:12 +0900)]
Fix few deAtomic.h warnings
Jeff Bolz [Sat, 19 Dec 2015 20:50:37 +0000 (20:50 +0000)]
ShaderExecutor: Remove call to setTestContextResult. Switch layout to std430.
Mika Isojärvi [Wed, 16 Dec 2015 18:06:23 +0000 (10:06 -0800)]
Initial pipeline barrier tests.
Supports all image and buffer transfer operations and rendering buffers
as index or vertex buffer.
Change-Id: If73af50d5e85bccc04fbeaae55c390df5ce5c016
Dejan Mircevski [Fri, 18 Dec 2015 21:52:27 +0000 (16:52 -0500)]
Loop with return.
Dejan Mircevski [Fri, 18 Dec 2015 21:40:32 +0000 (16:40 -0500)]
Loop with break.
Dejan Mircevski [Fri, 18 Dec 2015 21:22:47 +0000 (16:22 -0500)]
Loop with continue.
Dejan Mircevski [Fri, 18 Dec 2015 20:45:58 +0000 (15:45 -0500)]
Dedupe OpConstant %f32 -1.
Lei Zhang [Fri, 18 Dec 2015 16:21:44 +0000 (11:21 -0500)]
Add compute OpFRem tests.
Dejan Mircevski [Fri, 18 Dec 2015 17:13:10 +0000 (12:13 -0500)]
Remove inaccurate comments.
Andrew Woloszyn [Thu, 17 Dec 2015 21:38:08 +0000 (16:38 -0500)]
Added FRem graphics tests.
Pyry Haulos [Fri, 18 Dec 2015 17:17:37 +0000 (12:17 -0500)]
Merge branch 'jekstrand-bufferview-create-fixes2' into 'master'
buffer_view.create: Only create views after binding memory
The only time the Vulkan API allows you to create a view after binding
memory is if you are using sparse memory. However, sparse memory requires
a different binding paradigm. Since we don't actually support sparse
binding in this test, we're probably better off just not claiming to for
now and fixing the binding problem.
This fixes #84
See merge request !178