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
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
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
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
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.
Fei Yang [Wed, 16 Dec 2015 06:40:05 +0000 (14:40 +0800)]
Add offset into the push constant block in the shaders
Change-Id: I2b1b36dbbd23c35d89f4a5eaf0e64b55d32aea58
Pyry Haulos [Wed, 16 Dec 2015 01:25:15 +0000 (17:25 -0800)]
Improve deAlignedMalloc()
Use native call (posix_memalign or _aligned_malloc) if possible.
Change-Id: I087e6d51f2c6de7e75d7f3faabfd0600d1a1c09c
Jeff Bolz [Wed, 16 Dec 2015 01:13:04 +0000 (01:13 +0000)]
style fixes
Pyry Haulos [Fri, 11 Dec 2015 22:24:21 +0000 (14:24 -0800)]
Add de::AppendList<T>
AppendList provides fast append-only data structure that can be updated
from multiple threads simultaneously. Suitable for logging for example.
Change-Id: I4f6ee5f0e040695ffcd2006330dab1a4de81e9e4
Pyry Haulos [Wed, 16 Dec 2015 00:04:55 +0000 (16:04 -0800)]
Add de::alignOf<T>() to deDefs.hpp
am:
ebc1b42afd
* commit '
ebc1b42afdf320138df8a033d13221a811e891b4':
Add de::alignOf<T>() to deDefs.hpp
Pyry Haulos [Wed, 16 Dec 2015 00:04:50 +0000 (16:04 -0800)]
Fix doxygen comment tags in few deDefs.hpp functions
am:
e7f7cbd477
* commit '
e7f7cbd477d5282c88f88ad9722e1c15a3f0f9ff':
Fix doxygen comment tags in few deDefs.hpp functions
Pyry Haulos [Tue, 15 Dec 2015 23:42:33 +0000 (15:42 -0800)]
Add de::alignOf<T>() to deDefs.hpp
Change-Id: I639b7e509521116f3b0f77233c9a2457403dd230
Pyry Haulos [Tue, 15 Dec 2015 23:42:02 +0000 (15:42 -0800)]
Fix doxygen comment tags in few deDefs.hpp functions
Change-Id: I4e32d2f91e285c5adf46707db1973237b75b21eb
Pyry Haulos [Tue, 15 Dec 2015 23:36:17 +0000 (15:36 -0800)]
Merge in changes from Khronos repository
Pyry Haulos [Tue, 15 Dec 2015 23:35:03 +0000 (23:35 +0000)]
Merge "Update glslang revision" into vulkan
Pyry Haulos [Mon, 14 Dec 2015 18:57:29 +0000 (10:57 -0800)]
Update glslang revision
Change-Id: Iad3db5ed9787e77eb0bb76da60dbd833b58efbbe
Pyry Haulos [Tue, 15 Dec 2015 21:36:21 +0000 (16:36 -0500)]
Merge branch 'issue_81' into 'master'
issue 81: Change descriptor type from UBO -> uniform texel buffer, since UBOs do…
…n't use views. Change fragment shader to match. Change buffer contents to a vector of uint32 to match the R32_UINT view format. Update reference value selection to match. Remove 'offset' which was just added into elementOffset, and just cause alignment problems.
WIP to allow time for review.
See #81 and #57.
See merge request !141
Pyry Haulos [Tue, 15 Dec 2015 20:57:19 +0000 (15:57 -0500)]
Merge branch 'jbolz_pipeline_image_view_fixes' into 'master'
Fixes for pipeline.image_view tests
Fix swizzle for integer formats. The "1.0f" needs to be swizzled in before scaling.
Fix 3D texture subresource creation, for lod_base_mip_level tests.
See merge request !145
Pyry Haulos [Tue, 15 Dec 2015 20:56:35 +0000 (15:56 -0500)]
Merge branch 'jbolz_blend_threshold' into 'master'
Fix thresholds for blend tests
See merge request !146
Pyry Haulos [Tue, 15 Dec 2015 20:55:54 +0000 (15:55 -0500)]
Merge branch '95-hack_padding' into 'master'
Remove hack_padding from ShaderRenderer
See merge request !156
Andrew Woloszyn [Fri, 11 Dec 2015 18:20:17 +0000 (13:20 -0500)]
Added OpQuantizeToF16 tests to compute shaders.
Jeff Bolz [Tue, 15 Dec 2015 19:58:19 +0000 (19:58 +0000)]
Add functions to get depth/stencil format in buffer memory
David Sodman [Fri, 11 Dec 2015 18:23:29 +0000 (10:23 -0800)]
Update Feature Query tests
1. Move to be part of API tests
2. Add check for buffer overflow on the getXXX functions
3. Add check to ensure getXXX update all fields of the structure
4. Validate device limits
Change-Id: I1bdc893bd4c28d564bbfa9d6b05333b1f7d7dcbb
Lei Zhang [Thu, 3 Dec 2015 16:50:51 +0000 (11:50 -0500)]
Two more test cases for OpPhi in compute pipeline.
Lei Zhang [Fri, 20 Nov 2015 15:44:30 +0000 (10:44 -0500)]
Add more SPIR-V assembly tests based on compute shader.
- Multiple shaders in the same module.
- Memory access bits.
- OpCopyMemory.
- OpCopyObject.
- Decoration: NoContraction.
- OpSpecConstantOp.
Dae Kim [Tue, 15 Dec 2015 15:15:29 +0000 (15:15 +0000)]
Added pipeline input assembly tests.
Peter Gal [Tue, 17 Nov 2015 15:32:43 +0000 (16:32 +0100)]
Add Uniform Buffer Object tests
Dae Kim [Tue, 15 Dec 2015 11:11:10 +0000 (11:11 +0000)]
Added pipeline multisample state tests.
Gabor Abraham [Tue, 15 Dec 2015 10:05:11 +0000 (11:05 +0100)]
Remove hack_padding from ShaderRenderer
Jeff Bolz [Mon, 14 Dec 2015 23:57:44 +0000 (23:57 +0000)]
adjust the stride rather than the format
Pyry Haulos [Mon, 14 Dec 2015 23:24:43 +0000 (15:24 -0800)]
Fix calling conventions in Vulkan null driver
Change-Id: Ic7157e0c25c3ca99cc9f60bee0c5c2be859c2697
Pyry Haulos [Mon, 14 Dec 2015 23:14:51 +0000 (15:14 -0800)]
Merge in fixes from Khronos repository
Jeff Bolz [Mon, 14 Dec 2015 23:05:57 +0000 (23:05 +0000)]
Fix stencil clear. Add threshold for image comparison (needed or RGB565)
Jeff Bolz [Mon, 14 Dec 2015 21:13:56 +0000 (21:13 +0000)]
fixes for renderpass.simple tests
Pyry Haulos [Mon, 14 Dec 2015 21:43:46 +0000 (16:43 -0500)]
Merge branch 'fix-spirv-assembly-opphi' into 'master'
Remove unreachable and the same block as parents from OpPhi.
See merge request !137
Pyry Haulos [Mon, 14 Dec 2015 21:43:28 +0000 (16:43 -0500)]
Merge branch 'fix-spirv-assembly-opconstantcomposite' into 'master'
Add missing <type-id>s in OpConstantComposite tests.
See merge request !136
Kalle Raita [Mon, 14 Dec 2015 21:42:05 +0000 (13:42 -0800)]
DO NOT MERGE Refresh GLES 3.1 must-pass XML am:
d8e85a9be9 -s ours am:
ba3d0b4eb3 -s ours am:
34df1a22c9 am:
a5829acab3 -s ours
am:
51238b6c80 -s ours
* commit '
51238b6c8098470805a655d29aa32b6df43c16a2':
DO NOT MERGE Refresh GLES 3.1 must-pass XML
Kalle Raita [Mon, 14 Dec 2015 21:42:01 +0000 (13:42 -0800)]
DO NOT MERGE Remove MSAA wide line derivate tests am:
0fb14e82f6 -s ours am:
ba10fd03cf -s ours am:
d7770da76b am:
dccbfad72c -s ours
am:
441d511993 -s ours
* commit '
441d51199390a5d7c43c6ffc48a0a5eeafb22dd3':
DO NOT MERGE Remove MSAA wide line derivate tests
Daniel Xie [Mon, 14 Dec 2015 21:41:54 +0000 (13:41 -0800)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass" into lollipop-mr1-cts-dev am:
06627c74b4 -s ours am:
8d3eeada70 -s ours am:
01e0351f91 am:
7f454ca9ca -s ours
am:
708cb687fd -s ours
* commit '
708cb687fde3d2aa89791b71f96a19206b22832c':