platform/upstream/VK-GL-CTS.git
8 years agoFinish the buffer to buffer copies base class
Kristof Kosztyo [Wed, 16 Dec 2015 20:16:22 +0000 (21:16 +0100)]
Finish the buffer to buffer copies base class

8 years agoRename testgroup of the copies and blitting
Kristof Kosztyo [Wed, 16 Dec 2015 18:30:26 +0000 (19:30 +0100)]
Rename testgroup of the copies and blitting

8 years agoImplement copyRegions for the buffer to buffer copies
Kristof Kosztyo [Wed, 16 Dec 2015 18:17:05 +0000 (19:17 +0100)]
Implement copyRegions for the buffer to buffer copies

8 years agoRemove m_regions from the CopiesAndBlitting class
Kristof Kosztyo [Wed, 16 Dec 2015 17:37:46 +0000 (18:37 +0100)]
Remove m_regions from the CopiesAndBlitting class

8 years agoFix the CopyImageToBuffer test
Szilard Ledan [Wed, 16 Dec 2015 18:05:35 +0000 (19:05 +0100)]
Fix the CopyImageToBuffer test

8 years agoAdd WIP version of BufferToBufferTest.
Gabor Abraham [Wed, 16 Dec 2015 15:41:12 +0000 (16:41 +0100)]
Add WIP version of BufferToBufferTest.

8 years agoImprove TestParams in CopiesAndBlittingTests
Szilard Ledan [Wed, 16 Dec 2015 13:56:17 +0000 (14:56 +0100)]
Improve TestParams in CopiesAndBlittingTests

8 years agoSeveral fixes around the readImage and copyImage
Kristof Kosztyo [Wed, 16 Dec 2015 13:49:17 +0000 (14:49 +0100)]
Several fixes around the readImage and copyImage

8 years agoImprove the calculateSize utility function
Szilard Ledan [Wed, 16 Dec 2015 13:00:18 +0000 (14:00 +0100)]
Improve the calculateSize utility function

8 years agoRefactor uploadBuffer and uploadImage.
Gabor Abraham [Wed, 16 Dec 2015 12:48:50 +0000 (13:48 +0100)]
Refactor uploadBuffer and uploadImage.

8 years agoFix the upload image and the ImageToBuffer test
Szilard Ledan [Wed, 16 Dec 2015 10:00:19 +0000 (11:00 +0100)]
Fix the upload image and the ImageToBuffer test

8 years agoRemove BufferType enum, add uploadBuffer.
Gabor Abraham [Wed, 16 Dec 2015 09:49:22 +0000 (10:49 +0100)]
Remove BufferType enum, add uploadBuffer.

8 years agoAdd readImage
Kristof Kosztyo [Tue, 15 Dec 2015 19:54:04 +0000 (20:54 +0100)]
Add readImage

8 years agoImplement uploadImage utility function in CopiesAndBlittingTests
Szilard Ledan [Tue, 15 Dec 2015 15:44:27 +0000 (16:44 +0100)]
Implement uploadImage utility function in CopiesAndBlittingTests

8 years agoRefactor checkResult function
Kristof Kosztyo [Tue, 15 Dec 2015 16:49:24 +0000 (17:49 +0100)]
Refactor checkResult function

8 years agoAdd generateExpectedResult function
Kristof Kosztyo [Tue, 15 Dec 2015 15:59:51 +0000 (16:59 +0100)]
Add generateExpectedResult function

8 years agoImplement generateBuffer function
Gabor Abraham [Tue, 15 Dec 2015 14:53:45 +0000 (15:53 +0100)]
Implement generateBuffer function

8 years agoAdd base of the CopyImageToBuffer test
Szilard Ledan [Tue, 15 Dec 2015 10:44:43 +0000 (11:44 +0100)]
Add base of the CopyImageToBuffer test

8 years agoAdd base of the copy image to image
Kristof Kosztyo [Mon, 14 Dec 2015 18:54:04 +0000 (19:54 +0100)]
Add base of the copy image to image

8 years agoAdd base of Copies And Blitting tests
Szilard Ledan [Mon, 14 Dec 2015 10:25:28 +0000 (11:25 +0100)]
Add base of Copies And Blitting tests

8 years agoCopies and blitting: update the test specification
Kristof Kosztyo [Wed, 9 Dec 2015 17:49:01 +0000 (18:49 +0100)]
Copies and blitting: update the test specification

8 years agoFix couple of invalid VkBufferCreateInfos and ws violations in command buffer tests
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

8 years agoMerge 90-command-buffers
Pyry Haulos [Wed, 23 Dec 2015 07:06:20 +0000 (16:06 +0900)]
Merge 90-command-buffers

8 years agoMerge 41-image-load-store-tests
Pyry Haulos [Wed, 23 Dec 2015 07:04:59 +0000 (16:04 +0900)]
Merge 41-image-load-store-tests

8 years agoFix whitespace violations
Pyry Haulos [Wed, 23 Dec 2015 06:54:58 +0000 (15:54 +0900)]
Fix whitespace violations

8 years agoFix VkCommandPoolCreateInfo in compute test utils.
Pyry Haulos [Wed, 23 Dec 2015 06:53:38 +0000 (15:53 +0900)]
Fix VkCommandPoolCreateInfo in compute test utils.

8 years agoMerge 24-compute-shader-tests
Pyry Haulos [Wed, 23 Dec 2015 06:47:57 +0000 (15:47 +0900)]
Merge 24-compute-shader-tests

8 years agoMerge branch '119-fix-buffer-size' into 'master'
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

8 years agoMerge branch 'jbolz_glsl_matrix1' into 'master'
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

8 years agoMerge branch 'shaderRenderLoopTest-fix-getFloatFractionUniformType' into 'master'
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

8 years agoMerge branch 'draw-tests-indexed-instanced' into 'master'
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

8 years agoMerge branch 'clean-up-mr-189' into 'master'
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

8 years agoMerge branch 'pipeline-input_assembly-pointSize' into 'master'
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

8 years agoMerge branch 'ssbo-initialize-acBuffer' into 'master'
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

8 years agoMerge branch 'buffer_view_alloc_first' into 'master'
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

8 years agoReview comments and clang error fixes
Maciej Jesionowski [Tue, 22 Dec 2015 14:25:56 +0000 (15:25 +0100)]
Review comments and clang error fixes

8 years agoImage tests
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

8 years agoSSBO: fix buffer size when creating a buffer descriptor
Peter Gal [Tue, 22 Dec 2015 15:09:11 +0000 (16:09 +0100)]
SSBO: fix buffer size when creating a buffer descriptor

Fixes #119

8 years agovktShaderRenderLoopTests: fix getFloatFractionUniformType function
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.

8 years agodraw tests: make draw_instanced_indexed_* test use instancing (test case list bug)
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)

8 years agoFix clang compilation errors
Maciej Jesionowski [Tue, 22 Dec 2015 11:44:32 +0000 (12:44 +0100)]
Fix clang compilation errors

8 years agoUpdated compute tests to API version 210
Maciej Jesionowski [Fri, 18 Dec 2015 11:25:43 +0000 (12:25 +0100)]
Updated compute tests to API version 210

8 years agoAdd compute shader tests
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?

8 years agoFix dEQP-VK.ssbo tests: initialize the contents of the result atomic counter buffer
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

8 years agoInputAssemblyTests: fixed point list test
Sokolowski, Aleksy [Tue, 22 Dec 2015 07:49:59 +0000 (08:49 +0100)]
InputAssemblyTests: fixed point list test

8 years ago1. Updated the test spec according to the new Vulkan spec.
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

8 years agoWe need to allocate memory before we can create a buffer view
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

8 years agoConvert indentation to tabs in timestamp tests
Pyry Haulos [Mon, 21 Dec 2015 22:39:12 +0000 (07:39 +0900)]
Convert indentation to tabs in timestamp tests

8 years agoFix a few warnings in timestamp tests
Pyry Haulos [Mon, 21 Dec 2015 22:37:14 +0000 (07:37 +0900)]
Fix a few warnings in timestamp tests

8 years agoMerge 29-timestamp-tests
Pyry Haulos [Mon, 21 Dec 2015 22:35:49 +0000 (07:35 +0900)]
Merge 29-timestamp-tests

8 years agoRemove unused code in opaque type indexing tests
Pyry Haulos [Mon, 21 Dec 2015 22:28:55 +0000 (07:28 +0900)]
Remove unused code in opaque type indexing tests

See !189

8 years agoFix invalid include guards and ws violations in pipeline barrier tests
Pyry Haulos [Mon, 21 Dec 2015 22:26:34 +0000 (07:26 +0900)]
Fix invalid include guards and ws violations in pipeline barrier tests

8 years agoEnable draw tests and fix a few warnings
Pyry Haulos [Mon, 21 Dec 2015 22:24:02 +0000 (07:24 +0900)]
Enable draw tests and fix a few warnings

8 years agoMerge 77-draw-tests
Pyry Haulos [Mon, 21 Dec 2015 22:23:36 +0000 (07:23 +0900)]
Merge 77-draw-tests

8 years agoMerge 110-OpFRem-spirv-assembly
Pyry Haulos [Mon, 21 Dec 2015 22:14:51 +0000 (07:14 +0900)]
Merge 110-OpFRem-spirv-assembly

8 years agoMerge branch 'push-constants-bufferCreateInfo' into 'master'
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

8 years agoMerge branch 'jbolz_shader_executor_misc2' into 'master'
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

8 years agoMerge branch 'api-createBuffer-usage0' into 'master'
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

8 years agofix matrix download in glsl.matrix tests
Jeff Bolz [Mon, 21 Dec 2015 20:48:34 +0000 (20:48 +0000)]
fix matrix download in glsl.matrix tests

8 years agopipeline.push_constant test: fix wrong ordering of BufferCreateInfo structure parameters
scygan [Mon, 21 Dec 2015 17:07:48 +0000 (18:07 +0100)]
pipeline.push_constant test: fix wrong ordering of BufferCreateInfo structure parameters

8 years agodraw tests: fix review comments
scygan [Wed, 16 Dec 2015 18:45:58 +0000 (19:45 +0100)]
draw tests: fix review comments

8 years agofix commented type for bufferCount
Jeff Bolz [Mon, 21 Dec 2015 15:49:24 +0000 (15:49 +0000)]
fix commented type for bufferCount

8 years agoapi.buffer.createBuffer: buffer usage cannot be 0.
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

8 years ago# This is a combination of 3 commits.
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.

8 years agoDraft of test spec for Command Buffers.
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.

8 years agoFix binding issues with opaque_type_indexing tests. Descriptor layout must go through...
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.

8 years agoFix a bug and some coding style issues after 2nd code review.
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.

8 years agoAdd Context::getDeviceProperties. Fix a couple tessellation issues
Jeff Bolz [Mon, 21 Dec 2015 07:33:43 +0000 (07:33 +0000)]
Add Context::getDeviceProperties. Fix a couple tessellation issues

8 years agoFix compute pipeline layout
Jeff Bolz [Mon, 21 Dec 2015 01:44:20 +0000 (01:44 +0000)]
Fix compute pipeline layout

8 years agoMerge branch 'jbolz_shader_executor1' into jbolz_shader_executor_misc2
Jeff Bolz [Mon, 21 Dec 2015 01:37:48 +0000 (01:37 +0000)]
Merge branch 'jbolz_shader_executor1' into jbolz_shader_executor_misc2

8 years agomerge master
Jeff Bolz [Mon, 21 Dec 2015 01:33:54 +0000 (01:33 +0000)]
merge master

8 years agoFix a few warnings
Pyry Haulos [Mon, 21 Dec 2015 01:00:36 +0000 (10:00 +0900)]
Fix a few warnings

8 years agoShaderExecutor: fix zero-sized buffer and copy command buffer submission
Jeff Bolz [Mon, 21 Dec 2015 00:47:09 +0000 (00:47 +0000)]
ShaderExecutor: fix zero-sized buffer and copy command buffer submission

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Mon, 21 Dec 2015 00:40:31 +0000 (16:40 -0800)]
Merge in changes from Khronos repository

8 years agoMerge "Initial pipeline barrier tests." into vulkan
Pyry Haulos [Mon, 21 Dec 2015 00:38:05 +0000 (00:38 +0000)]
Merge "Initial pipeline barrier tests." into vulkan

8 years agoFix warnings and whitespace errors in occlusion query tests
Pyry Haulos [Mon, 21 Dec 2015 00:36:43 +0000 (09:36 +0900)]
Fix warnings and whitespace errors in occlusion query tests

8 years agoMerge 43-occlusion_query_tests
Pyry Haulos [Mon, 21 Dec 2015 00:36:28 +0000 (09:36 +0900)]
Merge 43-occlusion_query_tests

8 years agoMerge 107-ssbo
Pyry Haulos [Mon, 21 Dec 2015 00:28:36 +0000 (09:28 +0900)]
Merge 107-ssbo

8 years agoChange MIN value of MaxComputeWorkgroupCount to 65535
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

8 years agoMerge branch '88-fix-api-buffer-test-permutations' into 'master'
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

8 years agoMerge 12-shader-executor-uniforms
Pyry Haulos [Sun, 20 Dec 2015 22:05:58 +0000 (07:05 +0900)]
Merge 12-shader-executor-uniforms

8 years agoFix warnings and whitespace issues in dynamic state tests
Pyry Haulos [Sun, 20 Dec 2015 22:01:16 +0000 (07:01 +0900)]
Fix warnings and whitespace issues in dynamic state tests

8 years agoMerge dynamic_state_tests
Pyry Haulos [Sun, 20 Dec 2015 22:01:01 +0000 (07:01 +0900)]
Merge dynamic_state_tests

8 years agoFix few include guards and whitespace violations
Pyry Haulos [Sun, 20 Dec 2015 21:40:52 +0000 (06:40 +0900)]
Fix few include guards and whitespace violations

8 years agoFix few deAtomic.h warnings
Pyry Haulos [Sun, 20 Dec 2015 21:12:07 +0000 (06:12 +0900)]
Fix few deAtomic.h warnings

8 years agoShaderExecutor: Remove call to setTestContextResult. Switch layout to std430.
Jeff Bolz [Sat, 19 Dec 2015 20:50:37 +0000 (20:50 +0000)]
ShaderExecutor: Remove call to setTestContextResult. Switch layout to std430.

8 years agoInitial pipeline barrier tests.
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

8 years agoLoop with return.
Dejan Mircevski [Fri, 18 Dec 2015 21:52:27 +0000 (16:52 -0500)]
Loop with return.

8 years agoLoop with break.
Dejan Mircevski [Fri, 18 Dec 2015 21:40:32 +0000 (16:40 -0500)]
Loop with break.

8 years agoLoop with continue.
Dejan Mircevski [Fri, 18 Dec 2015 21:22:47 +0000 (16:22 -0500)]
Loop with continue.

8 years agoDedupe OpConstant %f32 -1.
Dejan Mircevski [Fri, 18 Dec 2015 20:45:58 +0000 (15:45 -0500)]
Dedupe OpConstant %f32 -1.

8 years agoAdd compute OpFRem tests.
Lei Zhang [Fri, 18 Dec 2015 16:21:44 +0000 (11:21 -0500)]
Add compute OpFRem tests.

8 years agoRemove inaccurate comments.
Dejan Mircevski [Fri, 18 Dec 2015 17:13:10 +0000 (12:13 -0500)]
Remove inaccurate comments.

8 years agoAdded FRem graphics tests.
Andrew Woloszyn [Thu, 17 Dec 2015 21:38:08 +0000 (16:38 -0500)]
Added FRem graphics tests.

8 years agoMerge branch 'jekstrand-bufferview-create-fixes2' into 'master'
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

8 years agoMerge branch 'binding_model-num_workgroups_ref' into 'master'
Pyry Haulos [Fri, 18 Dec 2015 17:16:55 +0000 (12:16 -0500)]
Merge branch 'binding_model-num_workgroups_ref' into 'master'

binding_model test - variable life time issue: removed unnecessary reference

Seems `m_numWorkGroups` is used as a reference to a variable, that is removed.

See merge request !179

8 years agoquery_pool test: always wait for vkCmdCopyQueryResults to complete
scygan [Fri, 18 Dec 2015 16:14:15 +0000 (17:14 +0100)]
query_pool test: always wait for vkCmdCopyQueryResults to complete

- otherwise buffer contents can be undefined.

8 years agoquery_pool test: address review comments
scygan [Fri, 18 Dec 2015 15:58:48 +0000 (16:58 +0100)]
query_pool test: address review comments

8 years agofix for-loop limit on api buffer test generation, fixes #88
Daniel Hegedus [Fri, 18 Dec 2015 13:31:15 +0000 (14:31 +0100)]
fix for-loop limit on api buffer test generation, fixes #88

8 years agovariable life time issue - removed unnecessary reference
bpkowali [Fri, 18 Dec 2015 08:24:10 +0000 (09:24 +0100)]
variable life time issue - removed unnecessary reference