Pyry Haulos [Fri, 12 Feb 2016 17:44:04 +0000 (12:44 -0500)]
Merge branch 'aosp-copyright' into 'vulkan-cts-1.0'
Add AOSP copyright to tests ported from dEQP GLES tests
See merge request !436
Csaba Osztrogonác [Fri, 12 Feb 2016 17:43:40 +0000 (18:43 +0100)]
Update glslang
Mika Isojärvi [Thu, 4 Feb 2016 23:35:09 +0000 (15:35 -0800)]
Add Vulkan support to DeqpTestRunner and mustpass script.
Change-Id: Ib578fce85c8a817543816c07681d0bc4e15c4489
Pyry Haulos [Fri, 12 Feb 2016 17:24:48 +0000 (12:24 -0500)]
Merge branch '305-fix-access-flags' into 'vulkan-cts-1.0'
Fix for dEQP-VK.image.load_store* lacks setting access flags for image memory barrier
Fixes #305
See merge request !438
Mika Isojarvi [Fri, 12 Feb 2016 16:42:15 +0000 (16:42 +0000)]
Merge "Remove extension cache from glu::ContextInfo." into nyc-dev
Mika Isojarvi [Fri, 12 Feb 2016 16:42:03 +0000 (16:42 +0000)]
Merge "Remove native pixmap matching rule since it can't be queried." into nyc-dev
Csaba Osztrogonác [Fri, 12 Feb 2016 15:15:45 +0000 (16:15 +0100)]
Bump #version to 310 in vktApiSmokeTests.cpp
fixes #272
Kantoch [Fri, 12 Feb 2016 14:22:33 +0000 (15:22 +0100)]
dEQP-VK.image.load_store* lacks setting access flags for image memory barrier
Mika Isojärvi [Fri, 12 Feb 2016 00:19:58 +0000 (16:19 -0800)]
Remove extension cache from glu::ContextInfo.
Bug:
27127958
Change-Id: Ia1765b7617023bc3bc3235183ce09675e2c9583a
Mika Isojärvi [Fri, 12 Feb 2016 00:06:17 +0000 (16:06 -0800)]
Remove native pixmap matching rule since it can't be queried.
Bug:
27124527
Change-Id: I9210d0eee2356a592f75e5f7cdeb61285823b061
Mika Isojärvi [Thu, 11 Feb 2016 23:35:19 +0000 (15:35 -0800)]
Add version 0.3.4 parsing support to xeTestResultParser.
Change-Id: I9bb025d6e9b435d9d6fc36a88f5822cdbb458ce0
Mika Isojärvi [Thu, 11 Feb 2016 21:59:46 +0000 (13:59 -0800)]
Add Vulkan assets to apk when building for Android CTS.
Change-Id: Ib8c757b3e01444ef5e112dadc0c2ff835bbbd46f
Pyry Haulos [Thu, 11 Feb 2016 21:39:09 +0000 (13:39 -0800)]
Add AOSP copyright to tests ported from dEQP GLES tests
Pyry Haulos [Thu, 11 Feb 2016 20:21:42 +0000 (15:21 -0500)]
Merge branch '259-fix-arm-gcc-issue' into 'vulkan-cts-1.0'
Image load/store: remove DynArray
As per description in #259 this code posed a problem in some situations, so this is an attempt to sidestep an issue altogether.
Fixes #259
See merge request !419
Pyry Haulos [Thu, 11 Feb 2016 17:46:17 +0000 (12:46 -0500)]
Merge branch 'fix-290-291-ds-advanced' into 'vulkan-cts-1.0'
Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced #290, #291
- Add missing barriers to ensure fragment loads wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations
Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c
See merge request !432
Pyry Haulos [Thu, 11 Feb 2016 17:45:17 +0000 (12:45 -0500)]
Merge branch '289-renderpass-formats' into 'vulkan-cts-1.0'
Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.
Round the (-0.5,-0.5) - (0.5,0.5) quad coordinates to pixel edges, to fix #289.
See merge request !430
Michael Stokes [Tue, 9 Feb 2016 13:50:40 +0000 (14:50 +0100)]
Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.
Fixes #289
Pyry Haulos [Thu, 11 Feb 2016 17:39:25 +0000 (12:39 -0500)]
Merge branch '295-fix-glsl-discard-missing-barriers' into 'vulkan-cts-1.0'
Fix for dEQP-VK.glsl.discard.* missing barriers
ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer
See merge request !434
Joerg Wagner [Tue, 9 Feb 2016 19:57:17 +0000 (20:57 +0100)]
Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced
- Add missing barriers to ensure fragment loads for color and ds wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations
Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c
Pyry Haulos [Wed, 10 Feb 2016 21:49:16 +0000 (13:49 -0800)]
Remove header snippets from Vulkan API test plan
Mais Alnasser [Wed, 10 Feb 2016 20:08:15 +0000 (15:08 -0500)]
ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer
Pyry Haulos [Wed, 10 Feb 2016 20:45:07 +0000 (12:45 -0800)]
Add top-level README
Pyry Haulos [Wed, 10 Feb 2016 18:45:26 +0000 (10:45 -0800)]
Merge master into nyc-dev
Pyry Haulos [Wed, 10 Feb 2016 18:18:02 +0000 (13:18 -0500)]
Merge branch 'remove-confidentiality-clause' into 'vulkan-cts-1.0'
Remove confidentiality clause from Vulkan CTS license
See merge request !433
Pyry Haulos [Tue, 9 Feb 2016 20:49:00 +0000 (12:49 -0800)]
Remove confidentiality clause from Vulkan CTS license
Pyry Haulos [Fri, 5 Feb 2016 22:06:44 +0000 (14:06 -0800)]
Extend device feature and limit validation in dEQP-VK.api.info
Fixes #286
Pyry Haulos [Tue, 9 Feb 2016 18:49:14 +0000 (10:49 -0800)]
Fix deUint32 -> deUint8 conversion warning
Change-Id: I7a5c9570781edc07299f66ac8c1be08266731ea1
Pyry Haulos [Tue, 9 Feb 2016 18:40:59 +0000 (10:40 -0800)]
Merge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Tue, 9 Feb 2016 18:30:47 +0000 (13:30 -0500)]
Merge branch '274-remove-round-mustpass' into 'vulkan-cts-1.0'
Remove rounding tests from the mustpass list
See merge request !429
Pyry Haulos [Tue, 9 Feb 2016 18:29:53 +0000 (13:29 -0500)]
Merge branch '283-reset-query-pool-before-use' into 'vulkan-cts-1.0'
Add missing commands for reseting queryPool prior to use
Fixes #283
See merge request !428
Pyry Haulos [Tue, 9 Feb 2016 18:29:06 +0000 (13:29 -0500)]
Merge branch 'origin/280-move_vkCmdCopyQueryPoolResults_outside_renderpass' into 'vulkan-cts-1.0'
#280: End the renderpass before trying to copy the query results
End the renderpass before trying to copy the query results,
as vkCmdCopyQueryPoolResults is only allowed outside.
Fixes #280.
See merge request !424
Peter Gal [Tue, 9 Feb 2016 10:58:49 +0000 (11:58 +0100)]
Remove rounding tests from the mustpass list
Maciej Jesionowski [Fri, 5 Feb 2016 10:34:18 +0000 (11:34 +0100)]
Compute, image: remove DynArray
Pyry Haulos [Mon, 8 Feb 2016 23:07:48 +0000 (15:07 -0800)]
Merge in code from gles32-dev
Change-Id: Id3b56b345c8062ca0a79e01f7e2d943dd53672bb
Pyry Haulos [Mon, 8 Feb 2016 23:06:23 +0000 (23:06 +0000)]
Merge "Select shader version appropriate for context." into gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 23:05:48 +0000 (23:05 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 19:09:06 +0000 (14:09 -0500)]
Merge branch '287-puniq' into 'vulkan-cts-1.0'
Make buffer-pointer types unique. Fixes #287
See merge request !425
Dejan Mircevski [Mon, 8 Feb 2016 18:50:51 +0000 (18:50 +0000)]
Merge "Log SPIR-V assembly source."
Dejan Mircevski [Mon, 8 Feb 2016 15:23:49 +0000 (10:23 -0500)]
Log SPIR-V assembly source.
We weren't previously logging the source of a SPIR-V module, which made
it hard to debug compilation errors.
Extend executor to handle the new XML element.
Bump the log-format version to 0.3.4.
Change-Id: I4ace0a88820d08febd0500c60d1f2fe97b635635
Szilard Ledan [Mon, 8 Feb 2016 16:08:27 +0000 (17:08 +0100)]
Add missing commands for reseting queryPool prior to use
Dejan Mircevski [Sun, 7 Feb 2016 22:32:27 +0000 (17:32 -0500)]
Make buffer-pointer types unique.
Joerg Wagner [Sun, 7 Feb 2016 12:54:37 +0000 (13:54 +0100)]
End the renderpass before trying to copy the query results, as
vkCmdCopyQueryPoolResults is only allowed outside.
Change-Id: I07cdd6c056017418f5080bdabb56746daeea73e7
Daniel Andrade Groppe [Fri, 5 Feb 2016 18:56:45 +0000 (12:56 -0600)]
Select shader version appropriate for context.
Change-Id: I42552ac8487eab0d0c2ea9c744a972c97cc4c3a5
Daniel Andrade Groppe [Fri, 5 Feb 2016 18:49:54 +0000 (12:49 -0600)]
Add support for OpenGL ES 3.2 features.
- Increase range to GLSL_VERSION_320_ES.
- Add new types:
- {i u}samplerBuffer
- {i u}sampler2DMSArray
- {i u}imageBuffer
Change-Id: Idd4a3a6ea19fc7ce4e3efef5b018b5072b219553
Daniel Andrade Groppe [Fri, 5 Feb 2016 19:24:18 +0000 (13:24 -0600)]
Add support for OpenGL ES 3.2 features.
- Specialize shaders for context version.
- Check context version along with extension support.
Change-Id: I16c57def58fe92cae9d4b8a20dafd73c3d63aace
Mika Isojärvi [Fri, 5 Feb 2016 18:57:39 +0000 (10:57 -0800)]
Update Android mustpass build script copyright header.
Change-Id: I8c7ab0b2054e32f1efc92281db850fa1bee3a629
Pyry Haulos [Fri, 5 Feb 2016 16:33:29 +0000 (11:33 -0500)]
Merge branch '277-log-original-assembly-of-SPIRV-assembly-tests' into 'master'
Add original assembly of the SPIR-V assembly tests to the log
fixes #277
Old MR: !416 (I had to create a new MR one because of renaming the branch.)
See merge request !420
Peter Gal [Fri, 5 Feb 2016 15:23:49 +0000 (16:23 +0100)]
Remove rounding test
Fixes #274
Csaba Osztrogonác [Fri, 5 Feb 2016 11:03:45 +0000 (12:03 +0100)]
Add original assembly of the SPIR-V assembly tests to the log
fixes #277
Pyry Haulos [Thu, 4 Feb 2016 21:26:18 +0000 (16:26 -0500)]
Merge branch '278-proposed_texcoord_offset_is_too_low_fix' into 'vulkan-cts-1.0'
Fixes #278
Pyry Haulos [Thu, 4 Feb 2016 21:24:33 +0000 (16:24 -0500)]
Merge branch '276-fix-incorrect-buffer-usage-flag' into 'vulkan-cts-1.0'
dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag
Fixes #276
See merge request !418
Mika Isojarvi [Thu, 4 Feb 2016 19:09:37 +0000 (19:09 +0000)]
Merge "Don't require surfaceless context in negative partial update tests."
Mika Isojarvi [Thu, 4 Feb 2016 19:09:27 +0000 (19:09 +0000)]
Merge "Fix uniform precision qualifier mismatch in GLES3 conditional tests."
Mika Isojärvi [Thu, 4 Feb 2016 18:25:32 +0000 (10:25 -0800)]
Don't require surfaceless context in negative partial update tests.
Split tests requiring surfaceless context to three different cases
with surfaceless context, no surface and no context and different
surface.
Bug:
26978632
Change-Id: I313891236b2c8af7d97bc277e7a6f45ea51dfdc5
Maciej Jesionowski [Thu, 4 Feb 2016 17:24:18 +0000 (18:24 +0100)]
dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag
Dominik Witczak [Thu, 4 Feb 2016 12:32:05 +0000 (13:32 +0100)]
Increase texcoord offset used by pipeline.sampler conformance tests from 0.001 to 0.002
Mika Isojarvi [Thu, 4 Feb 2016 01:05:13 +0000 (01:05 +0000)]
Merge "Fix compiler warnings when converting png_uint_32 to deUint32."
Mika Isojarvi [Thu, 4 Feb 2016 00:15:17 +0000 (00:15 +0000)]
Merge "Don't require gpu_shader5 in const expression indexing tests."
Mika Isojärvi [Wed, 3 Feb 2016 23:57:10 +0000 (15:57 -0800)]
Fix compiler warnings when converting png_uint_32 to deUint32.
Change-Id: I761396d59e68e2c0d215a479b4e9b36178221b9f
Mika Isojärvi [Wed, 3 Feb 2016 23:33:44 +0000 (15:33 -0800)]
Don't require gpu_shader5 in const expression indexing tests.
GL_EXT_gpu_shader5 should not be required to be able to index opaque
types with constant expressions.
Bug:
22949820
Change-Id: Ifa60eb95e23a55b615a31c1cffb941aea0d8a1b7
Mika Isojärvi [Wed, 3 Feb 2016 23:17:14 +0000 (15:17 -0800)]
Remove GLES2 texture unit tests from the mustpass.
Add back the texture unit tests defined in gles2-failures.txt and
remove all of the texture unit GLES2 tests in gles2-tests-issues.txt.
Bug:
26906226
Change-Id: Ib3611daa2c89eff9ca34121dd5ec9d7baf53fc9c
Mika Isojärvi [Wed, 3 Feb 2016 22:43:58 +0000 (14:43 -0800)]
Don't require supported binary formats in negative tests.
Bug:
26906411
Change-Id: I4dd1bcbdd43a85e320767fa0160db24f5b84ad74
Mika Isojärvi [Wed, 3 Feb 2016 21:34:42 +0000 (13:34 -0800)]
Use compatible texture formats in negative blit tests.
The tests were using incompatible texture formats when testing that
linear filtering with integer source format produces INVALID_OPERATION.
This might have led to false positives since both cases produce same error
code.
Bug:
26666090
Change-Id: I7e7b6c0dab9c5cc70a51c427d83b8c4ac5515844
Mika Isojärvi [Wed, 3 Feb 2016 18:43:20 +0000 (10:43 -0800)]
Remove multiwindow EGL tests from mustpass.
Bug:
26953953
Change-Id: Ie2a8712f0f28cc390a97bd5fe7ef5fa10db03c5a
Pyry Haulos [Wed, 3 Feb 2016 20:58:36 +0000 (12:58 -0800)]
Rebuild CTS mustpass
Change-Id: I48d76bd5fdf0b133ff0bd019fa87cb5bdb32fc26
Pyry Haulos [Tue, 2 Feb 2016 15:46:12 +0000 (07:46 -0800)]
Add new files to Android.mk
Change-Id: Ia6e203be42be9e7beb00b2776b177b6c658a5692
Pyry Haulos [Wed, 3 Feb 2016 18:47:51 +0000 (10:47 -0800)]
Merge in first OpenGL ES 3.2 tests
Change-Id: I5c6f8bc63da6203e36504cc868a746d7a90cf5e6
Pyry Haulos [Wed, 3 Feb 2016 18:25:17 +0000 (13:25 -0500)]
Merge branch 'gstrm' into 'vulkan-cts-1.0'
Eliminate Stream decorations.
They require the `GeometryStreams` capability, which I'm not sure we should require of every implementation.
See merge request !406
Pyry Haulos [Wed, 3 Feb 2016 18:24:05 +0000 (13:24 -0500)]
Merge branch 'jbolz_createBuffer_memoryType' into 'vulkan-cts-1.0'
Change buffer tests to use queried memory type index
Previously this test assumed/required that memory type 0 was capable of sparse.
See merge request !407
Pyry Haulos [Wed, 3 Feb 2016 18:15:13 +0000 (13:15 -0500)]
Merge branch '266-dEQP-VK.renderpass-Test-Fixes' into 'vulkan-cts-1.0'
dEQP-VK.renderpass-Test-Fixes
* cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero.
* Adding code to initialize image attachment usage.
Fixes issue #266
See merge request !408
Mika Isojärvi [Mon, 1 Feb 2016 22:52:00 +0000 (14:52 -0800)]
Update geometry and tessellation shader limits.
Bug:
22542263
Change-Id: I88b91f5d53598431c9b6ba31e77cbb7914353699
Mika Isojärvi [Tue, 2 Feb 2016 00:08:58 +0000 (16:08 -0800)]
Remove tests cases and checks assuming native handles to be invalid.
Bug:
25850892
Change-Id: I8de0ce317bfd1bd9ddd609f0d47c71cf1084472f
Pyry Haulos [Wed, 3 Feb 2016 18:09:54 +0000 (13:09 -0500)]
Merge branch '271-uninitialized-size' into 'vulkan-cts-1.0'
Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image
The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.
Fixes #271
See merge request !414
Pyry Haulos [Wed, 3 Feb 2016 18:09:02 +0000 (13:09 -0500)]
Merge branch '273-vertex-input-stride-fix' into 'vulkan-cts-1.0'
dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.
Consecutive strides did not result in aligned accesses to the vertex
attributes.
See merge request !415
Mika Isojärvi [Wed, 3 Feb 2016 00:02:21 +0000 (16:02 -0800)]
Allow helper invocations inside primitive.
Test required that helper invocations would only happen on primitive
edges, which produced false negatives if wide lines are rendered as
two triangles. This change allows helper invocations anywhere inside
the primitive.
Bug:
22180525
Change-Id: Iee7b50e7a46e4b172c3a61298a7f737d00b29750
Mika Isojärvi [Tue, 2 Feb 2016 23:22:45 +0000 (15:22 -0800)]
Allow color to change once in dithering disabled gradient tests.
Instead of requiring that each row or column to have only single color
allow color to change in dithering disabled tests to allow small
discontinuity on edge between triangles.
Bug:
23219552
Change-Id: I8e353187b37ab22fe8ea53985e36d1c9ba53dbc3
Mika Isojarvi [Wed, 3 Feb 2016 17:57:21 +0000 (17:57 +0000)]
Merge "Load libui.so lazily in android_native EGLImage tests."
Pyry Haulos [Wed, 3 Feb 2016 17:54:45 +0000 (17:54 +0000)]
Merge "cmake: look for png.h, not libpng.h"
Dae Kim [Wed, 3 Feb 2016 11:23:56 +0000 (11:23 +0000)]
dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.
Consecutive strides did not result in aligned accesses to the vertex
attributes.
Mika Isojärvi [Tue, 2 Feb 2016 21:13:48 +0000 (13:13 -0800)]
Load libui.so lazily in android_native EGLImage tests.
Avoid loading libui.so during test hierarchy inflation by loading it
lazily when it's used for the first time instead.
Bug:
26929325
Change-Id: I22348d91d415beae37016ed654e36774bbb5a504
Mika Isojarvi [Tue, 2 Feb 2016 18:21:48 +0000 (18:21 +0000)]
Merge "Check extension support before queries in texture size tests."
Mika Isojärvi [Tue, 2 Feb 2016 18:01:05 +0000 (10:01 -0800)]
Remove tests using internal Android APIs from EGL mustpass
Change-Id: I39d156909ba0b38788acb2e1d7a52db727264378
Pyry Haulos [Tue, 2 Feb 2016 15:43:14 +0000 (15:43 +0000)]
Merge changes I61bcc949,I64c54ee4,I4d984d4c,I6186cd17,I953d0264, ...
* changes:
Merge in changes from Khronos Vulkan CTS repository
Merge branch '268-command-buffers-memory-leak-fix' into 'master'
Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'
Removed correct code by mistake, adding that back and back out the originally intended code.
CommandPool creations in some tests are fixed.
Apply formating fixes Remove ArrayStride code.
OpSelect's condition operand didn't follow spec OpSelect's condition operand should have same component number as OpSelect's result type.
spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.
Mais Alnasser [Tue, 2 Feb 2016 07:32:45 +0000 (02:32 -0500)]
Get sampled and storage usage flags from format properties.
Mika Isojärvi [Mon, 1 Feb 2016 23:33:17 +0000 (15:33 -0800)]
Check extension support before queries in texture size tests.
Bug:
25928364
Change-Id: I987931f7bf1ee96f782b536af2529aa1a3282f5a
Mika Isojärvi [Mon, 1 Feb 2016 23:19:54 +0000 (15:19 -0800)]
Fix uniform precision qualifier mismatch in GLES3 conditional tests.
Bug:
26908304
Change-Id: Ic77b7d49ca7e7602aca24a5245b8a55d3195a0fa
Mika Isojärvi [Mon, 1 Feb 2016 23:05:59 +0000 (15:05 -0800)]
Fix custom loop test missing declarations and outputs.
Bug:
26907509
Change-Id: I77e1a54ca3ea92f9632cbf3200ca36c2f0e9b771
Kristian Høgsberg Kristensen [Mon, 1 Feb 2016 23:14:25 +0000 (15:14 -0800)]
Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image
The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.
Pyry Haulos [Mon, 1 Feb 2016 22:47:34 +0000 (14:47 -0800)]
Merge in changes from Khronos Vulkan CTS repository
Change-Id: I61bcc9495e67a98227292ab354b63152df79193c
Mika Isojärvi [Mon, 1 Feb 2016 22:21:28 +0000 (14:21 -0800)]
Add copy image snorm tests back to mustpass.
Bug:
20302019
Change-Id: I89c4bfacec53896c9c5b72fc6bf546245928ee33
Pyry Haulos [Mon, 1 Feb 2016 22:18:22 +0000 (22:18 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Mon, 1 Feb 2016 18:55:23 +0000 (13:55 -0500)]
Merge branch '268-command-buffers-memory-leak-fix' into 'master'
268 dEQP-VK.api.command_buffers test fix.
Fixes the memory leaks in the CommandBuffers tests. (vulkan/vulkancts#268)
See merge request !412
Pyry Haulos [Mon, 1 Feb 2016 18:54:39 +0000 (13:54 -0500)]
Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'
267 spirv assembly.instruction fixes
1- missing ArrayStride: Array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost. Affects:
spirv_assembly.instruction.compute.opcopymemory.*
2- OpSelect's condition operand doesn't follow spec:
OpSelect's condition operand should have same component number as OpSelect's result type.
SPIR-V spec p110:
OpSelect
...
Condition must be a scalar or vector of Boolean type. It must have the same number of components as Result Type.
This addresses issue #267
See merge request !410
Mais Alnasser [Mon, 1 Feb 2016 15:44:37 +0000 (10:44 -0500)]
Removed correct code by mistake, adding that back and back out the originally intended code.
Peter Siket [Mon, 1 Feb 2016 12:07:29 +0000 (13:07 +0100)]
CommandPool creations in some tests are fixed.
Mais Alnasser [Sun, 31 Jan 2016 00:25:30 +0000 (19:25 -0500)]
Apply formating fixes
Remove ArrayStride code.
Mais Alnasser [Sat, 30 Jan 2016 19:33:27 +0000 (14:33 -0500)]
OpSelect's condition operand didn't follow spec
OpSelect's condition operand should have same component number as OpSelect's result type.
SPIR-V spec p110:
OpSelect
...
Condition must be a scalar or vector of Boolean type. It must have the
same number of components as Result Type.
Mais Alnasser [Thu, 28 Jan 2016 21:57:04 +0000 (16:57 -0500)]
spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.
Mais Alnasser [Fri, 29 Jan 2016 19:59:41 +0000 (14:59 -0500)]
Fix Renderpass tests cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero. Adding code to initialize image attachment usage.
Jeff Bolz [Sat, 30 Jan 2016 18:24:22 +0000 (18:24 +0000)]
Change buffer tests to use queried memory type index