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.
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
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
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
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.
scygan [Fri, 18 Dec 2015 15:58:48 +0000 (16:58 +0100)]
query_pool test: address review comments
Daniel Hegedus [Fri, 18 Dec 2015 13:31:15 +0000 (14:31 +0100)]
fix for-loop limit on api buffer test generation, fixes #88
bpkowali [Fri, 18 Dec 2015 08:24:10 +0000 (09:24 +0100)]
variable life time issue - removed unnecessary reference
Peter Gal [Fri, 18 Dec 2015 09:27:39 +0000 (10:27 +0100)]
SSBO: Improve test case generation and size calculations
Peter Gal [Fri, 18 Dec 2015 08:41:47 +0000 (09:41 +0100)]
SSBO: add std430 layout parts
Peter Gal [Thu, 17 Dec 2015 17:04:33 +0000 (18:04 +0100)]
SSBO: add test cases and result validation
Peter Gal [Wed, 9 Dec 2015 17:59:52 +0000 (18:59 +0100)]
SSBO: add storage buffer descriptors
Peter Gal [Wed, 9 Dec 2015 14:35:55 +0000 (15:35 +0100)]
SSBO: add pipeline
Peter Gal [Thu, 3 Dec 2015 13:44:37 +0000 (14:44 +0100)]
SSBO: make it buildable and add a dummy testcase
Peter Gal [Wed, 2 Dec 2015 15:10:21 +0000 (16:10 +0100)]
SSBO: add initial base
Pyry Haulos [Thu, 17 Dec 2015 23:41:19 +0000 (15:41 -0800)]
Fix few warnings
Change-Id: I481b6033303fd6936f21ff1009cc049c99d57aa6
Pyry Haulos [Thu, 17 Dec 2015 23:38:18 +0000 (15:38 -0800)]
Merge 42-ubo
Pyry Haulos [Thu, 17 Dec 2015 23:37:17 +0000 (15:37 -0800)]
Merge 97-spirv-assembly-tests
Jason Ekstrand [Thu, 17 Dec 2015 23:04:45 +0000 (15:04 -0800)]
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
Pyry Haulos [Thu, 17 Dec 2015 23:07:19 +0000 (15:07 -0800)]
Fix warnings reported by GCC
Change-Id: Ie5de5794fc7ed53e1f3c4cb7b7fe38a756dab2eb
Pyry Haulos [Thu, 17 Dec 2015 23:01:34 +0000 (15:01 -0800)]
Merge Khronos repository
Pyry Haulos [Thu, 17 Dec 2015 22:48:42 +0000 (22:48 +0000)]
Merge "Add basic coverage for allocation callbacks to obj mgmt tests" into vulkan
Pyry Haulos [Thu, 17 Dec 2015 22:48:22 +0000 (22:48 +0000)]
Merge "Add Vulkan memory allocation callback utilities" into vulkan
Pyry Haulos [Thu, 17 Dec 2015 22:47:51 +0000 (22:47 +0000)]
Merge "Add very basic support for allocation callbacks to null driver" into vulkan
Pyry Haulos [Thu, 17 Dec 2015 22:47:06 +0000 (17:47 -0500)]
Merge branch 'jekstrand-bufferview-create-fixes' into 'master'
buffer_view.create test fixes
This MR fixes a bug in the buffer_view.create tests where they don't properly query the driver for supported formats.
See merge request !177
Pyry Haulos [Fri, 11 Dec 2015 22:25:55 +0000 (14:25 -0800)]
Add basic coverage for allocation callbacks to obj mgmt tests
* Allocation callbacks that always succeed
* Failure after increasing number of callbacks until object creation
succeeds
Change-Id: I26742ebe910505b91a78bae4549a484fa6cd77ae
Pyry Haulos [Fri, 11 Dec 2015 22:20:04 +0000 (14:20 -0800)]
Add Vulkan memory allocation callback utilities
Change-Id: I3b81ee1f02825585c5bdcdf90f705d392dd7157b
Jason Ekstrand [Thu, 17 Dec 2015 21:58:35 +0000 (13:58 -0800)]
buffer_view.create: Separate usage and features bits
In the Vulkan API, VkFormatFeatureFlags and VkBufferUsageFlags are separate
bitfields. The tests were comparing BufferUsageFlags to the
FormatFeatureFlags that it got from the driver so it would try and create
invalid buffer views. This commit splits these apart so the tests are now
properly querying the driver.
This fixes #108
Pyry Haulos [Thu, 17 Dec 2015 22:09:13 +0000 (14:09 -0800)]
Merge in changes from Khronos repository
Pyry Haulos [Thu, 17 Dec 2015 21:42:34 +0000 (13:42 -0800)]
Improve aligned alloc utilities further
am:
fc353a7ad4
* commit '
fc353a7ad4383948ac52ffab646ba82d302168fe':
Improve aligned alloc utilities further
Pyry Haulos [Thu, 17 Dec 2015 21:24:32 +0000 (16:24 -0500)]
Merge branch 'buffer_size_gt_zero' into 'master'
Buffer size of zero is not valid - replace test with a size of 1 byte
The spec says: "The value of pname:size must: be greater than `0`".
See merge request !166
Akos Dirner [Thu, 17 Dec 2015 20:48:23 +0000 (21:48 +0100)]
ShaderExecutor: improve uniform support, code cleanup.
Pyry Haulos [Thu, 17 Dec 2015 04:31:40 +0000 (20:31 -0800)]
Improve aligned alloc utilities further
* Add deAlignedRealloc()
* Clean up implementation
* Add basic tests
* Add deIsAlignedSize() to deInt32.h
Change-Id: I139b82d568fbbaccf6c820459f268a1b32a98c56
Andrew Woloszyn [Thu, 17 Dec 2015 20:27:55 +0000 (15:27 -0500)]
Moved OpSpecConstantOp outside of function and into constants section
Lei Zhang [Mon, 14 Dec 2015 15:34:53 +0000 (10:34 -0500)]
Add SPIR-V graphics assembly tests for decoration group.
Lei Zhang [Fri, 11 Dec 2015 16:30:53 +0000 (11:30 -0500)]
Add SPIR-V assembly graphics tests for NoContraction.
Andrew Woloszyn [Tue, 15 Dec 2015 19:21:21 +0000 (14:21 -0500)]
Added OpQuantize Graphics tests for OpSpecConstantOp.
Pyry Haulos [Thu, 17 Dec 2015 18:49:34 +0000 (13:49 -0500)]
Merge branch 'jbolz_glslang_flags' into 'master'
Set glslang SPV/Vulkan flags
cc @johnk who I briefly discussed this over email with.
The new push_constant tests require vulkan to be "enabled" in glslang, which happens by means of EShMsgSpvRules.
See merge request !170
Pyry Haulos [Thu, 17 Dec 2015 18:26:26 +0000 (13:26 -0500)]
Merge branch 'issue_72' into 'master'
Several fixes for pipeline.sampler.image_view tests
Fix mapping of VK filter modes to Sampler::filter modes. Fix LOD calculation for VK_SAMPLER_MIPMAP_MODE_BASE. Adjust texcoords to avoid tiebreaking rules. Clamp lodMid to .01 for minfilter tests. Disable linear filtering tests for integer formats.
See #72 and #74.
See merge request !142
Pyry Haulos [Thu, 17 Dec 2015 18:19:04 +0000 (13:19 -0500)]
Merge branch 'jbolz_renderpass' into 'master'
VK.renderpass fixes
WIP to allow review time.
Includes fix for #38
See merge request !155
Dejan Mircevski [Wed, 16 Dec 2015 22:10:06 +0000 (17:10 -0500)]
Barrier in loop.
Pyry Haulos [Thu, 17 Dec 2015 18:09:53 +0000 (10:09 -0800)]
Add deIsPowerOfTwoSize() to deInt32.h
am:
437140ef29
* commit '
437140ef2907de33b815c4313e14a2946253b390':
Add deIsPowerOfTwoSize() to deInt32.h
Daniel Hegedus [Thu, 17 Dec 2015 16:55:41 +0000 (17:55 +0100)]
Ubo: add missing multisample params
Pyry Haulos [Thu, 17 Dec 2015 16:40:39 +0000 (11:40 -0500)]
Merge branch '47-fix-multisample-state' into 'master'
Added multisampeStateParams to graphics pipeline creation, fixes #47
Set a valid VkPipelineMultisampleStateCreateInfo structure to pMultisampleState as declared in api spec.
See merge request !171
Pyry Haulos [Thu, 17 Dec 2015 16:33:42 +0000 (11:33 -0500)]
Merge branch '94-builtin-precision-speedup' into 'master'
ShaderExecutor builtin precision tests: Move input generation from TestCase to TestInstance
Fixes #94
This fix speeded up getting testlist from 100 secs to 2 secs.
See merge request !165
Pyry Haulos [Thu, 17 Dec 2015 16:29:12 +0000 (11:29 -0500)]
Merge branch '79-bufferview-sparse_binding' into 'master'
79 BufferView test: check if sparseBinding feature is enabled
This fixes issue #79
See merge request !130
Lei Zhang [Tue, 15 Dec 2015 20:13:54 +0000 (15:13 -0500)]
Unify initialization of entry point names.
Lei Zhang [Tue, 15 Dec 2015 19:57:05 +0000 (14:57 -0500)]
Add SPIR-V assembly compute spec constant tests for OpQuantizeToF16.
Csaba Osztrogonác [Thu, 17 Dec 2015 15:28:23 +0000 (16:28 +0100)]
Use minUniformBufferOffsetAlignment sized alignment in Uniform Buffer Object tests.
Andrew Woloszyn [Thu, 10 Dec 2015 19:48:14 +0000 (14:48 -0500)]
Added additional graphics tests.
OpQuantizeF16
OpSpecConstantOp
Loop tests
Csaba Osztrogonác [Thu, 17 Dec 2015 15:22:42 +0000 (16:22 +0100)]
Remove unsupported packed and shared block layout test cases from Uniform Buffer Object tests.
pflisiko [Thu, 10 Dec 2015 14:56:55 +0000 (15:56 +0100)]
BufferView test: check if sparseBinding feature is enabled
Daniel Hegedus [Thu, 17 Dec 2015 12:10:40 +0000 (13:10 +0100)]
Added multisampeStateParams to graphics pipeline creation, fixes #47
Csaba Osztrogonác [Thu, 17 Dec 2015 10:10:29 +0000 (11:10 +0100)]
ShaderExecutor builtin precision tests: Add back virtual getSamplings() for possible future use
Jeff Bolz [Thu, 17 Dec 2015 06:20:27 +0000 (06:20 +0000)]
Set glslang SPV/Vulkan flags
Pyry Haulos [Thu, 17 Dec 2015 04:29:57 +0000 (20:29 -0800)]
Add deIsPowerOfTwoSize() to deInt32.h
Change-Id: Idb2b0d6d3d89deefbc83daf0a7f0511cfb5ebda3
Pyry Haulos [Thu, 17 Dec 2015 00:35:48 +0000 (16:35 -0800)]
Remove unused function and fix conversion warning
Change-Id: I93c9cb5c53deb8961c88f74aec2431d28da4d81a
Pyry Haulos [Thu, 17 Dec 2015 00:29:16 +0000 (16:29 -0800)]
Merge 30-vertex-input-tests
Change-Id: Ieae77cd894e451a3adc3c5ad1ac30cb6ed3beb84
Pyry Haulos [Thu, 17 Dec 2015 00:19:52 +0000 (00:19 +0000)]
Merge "Add de::AppendList<T>"
am:
b5146e0adf
* commit '
b5146e0adf1b80f2000f9d9e80c625d4d6e21c08':
Add de::AppendList<T>
Pyry Haulos [Thu, 17 Dec 2015 00:13:07 +0000 (00:13 +0000)]
Merge "Add de::AppendList<T>"
Pyry Haulos [Fri, 11 Dec 2015 22:19:16 +0000 (14:19 -0800)]
Add very basic support for allocation callbacks to null driver
Change-Id: I174ce7df5099e5f79db88556008641ca54fdaaae
Andrew Woloszyn [Mon, 23 Nov 2015 15:34:54 +0000 (10:34 -0500)]
Added spirv-assembly graphics tests.
This includes
OpSource, OpConstantNull, OpLine, OpNoLine, OpConstantComposite,
OpSourceContinued, OpUndef, OpPhi instruction tests.
It also tests:
Selection block ordering
Multiple shaders in a single module
Jeff Bolz [Wed, 16 Dec 2015 19:54:52 +0000 (19:54 +0000)]
Buffer size of zero is not valid - replace test with a size of 1 byte
Pyry Haulos [Wed, 16 Dec 2015 19:27:10 +0000 (11:27 -0800)]
Fix a few warnings
Pyry Haulos [Wed, 16 Dec 2015 19:16:02 +0000 (11:16 -0800)]
Merge 31-input-assembly-tests
Change-Id: I6eb494409b85a5fc74b6087a7398f187e244ff3b
Pyry Haulos [Wed, 16 Dec 2015 19:13:08 +0000 (11:13 -0800)]
Merge 78-multisample-tests
Change-Id: I0d2a4fdb49a34bfe3657f52b8e82f111061227e1
Pyry Haulos [Wed, 16 Dec 2015 19:09:15 +0000 (11:09 -0800)]
Merge 28-push-constant-tests
Change-Id: I781593486ced28860e5aff2649505ad4060b4b6d
Pyry Haulos [Wed, 16 Dec 2015 19:04:47 +0000 (11:04 -0800)]
Merge 25-spirv-assembly-compute-tests
Pyry Haulos [Wed, 16 Dec 2015 18:59:12 +0000 (13:59 -0500)]
Merge branch 'mcw_fixes' into 'master'
Fix test that sets pQueuePriorities to NULL.
Fix for dEQP-VK.api.device_init.create_device_various_queue_counts
Ensure there is an array of floats at least big enough for each
queuefamily.
See merge request !163
Michael Worcester [Wed, 16 Dec 2015 18:58:05 +0000 (18:58 +0000)]
Use de::max explicitly instead of max
Pyry Haulos [Wed, 16 Dec 2015 18:44:35 +0000 (10:44 -0800)]
Merge in changes from Khronos repository
Csaba Osztrogonác [Wed, 16 Dec 2015 18:39:02 +0000 (19:39 +0100)]
ShaderExecutor builtin precision tests: Move input generation from TestCase to TestInstance
Fixes #94
Akos Dirner [Wed, 16 Dec 2015 18:00:46 +0000 (19:00 +0100)]
ShaderExecutor tests: Add Opaque type indexing tests and uniform support for shader executor
Pyry Haulos [Wed, 16 Dec 2015 18:35:26 +0000 (18:35 +0000)]
Improve deAlignedMalloc()
am:
9f87d22b4b
* commit '
9f87d22b4b05cfae3eb2760d71d0833d5cd1113c':
Improve deAlignedMalloc()
Pyry Haulos [Wed, 16 Dec 2015 18:31:14 +0000 (13:31 -0500)]
Merge branch '93-fix-shading-language-version-in-glsl.matrix.determinant-tests' into 'master'
Fix shading language version in dEQP-VK.glsl.matrix.determinant tests
Fixes #93
See merge request !162
scygan [Wed, 16 Dec 2015 18:14:34 +0000 (19:14 +0100)]
Fixup review comments
scygan [Wed, 16 Dec 2015 16:22:05 +0000 (17:22 +0100)]
dynamic_state tests: update the bundled shaders
scygan [Wed, 16 Dec 2015 16:21:12 +0000 (17:21 +0100)]
dynamic_state test: fix the link problem
Michael Worcester [Wed, 16 Dec 2015 16:16:57 +0000 (16:16 +0000)]
Fix test that sets pQueuePriorities to NULL.
Fix for dEQP-VK.api.device_init.create_device_various_queue_counts
Ensure there is an array of floats at least big enough for each
queuefamily.
Csaba Osztrogonác [Wed, 16 Dec 2015 11:37:35 +0000 (12:37 +0100)]
Fix shading language version in dEQP-VK.glsl.matrix.determinant tests
Fixes #93
Dae Kim [Wed, 16 Dec 2015 11:35:29 +0000 (11:35 +0000)]
Added pipeline vertex input state tests.