platform/upstream/VK-GL-CTS.git
8 years agoMerge branch '67-disable-depth-bounds' into 'master'
Pyry Haulos [Wed, 9 Dec 2015 18:38:38 +0000 (13:38 -0500)]
Merge branch '67-disable-depth-bounds' into 'master'

Disable depthBoundsTestEnable by default.

See merge request !122

8 years agoMerge branch 'imageview-layerCount-issue61' into 'master'
Pyry Haulos [Wed, 9 Dec 2015 17:39:12 +0000 (12:39 -0500)]
Merge branch 'imageview-layerCount-issue61' into 'master'

Issue 61: layerCount of 1d and 2d imageView need to be 1

See merge request !117

8 years agoMerge branch '65-binding_model-render_pass_continue' into 'master'
Pyry Haulos [Wed, 9 Dec 2015 17:36:56 +0000 (12:36 -0500)]
Merge branch '65-binding_model-render_pass_continue' into 'master'

65 binding model test: added missing flags switch: VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT

This fixes issue #65

spec: If vkCmdExecuteCommands is being called within a render pass instance, any given element of pCommandBuffers must have been recorded with the VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT

See merge request !119

8 years agoMerge branch '62-queue-priorities-fix' into 'master'
Pyry Haulos [Wed, 9 Dec 2015 17:32:33 +0000 (12:32 -0500)]
Merge branch '62-queue-priorities-fix' into 'master'

Initialize qQueuePriorities with queueCount values.

See merge request !118

8 years agoDisable depthBoundsTestEnable by default.
Dae Kim [Wed, 9 Dec 2015 15:30:34 +0000 (15:30 +0000)]
Disable depthBoundsTestEnable by default.

8 years agoadded missing flags switch: VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
bpkowali [Wed, 9 Dec 2015 14:17:48 +0000 (15:17 +0100)]
added missing flags switch: VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
spec: If vkCmdExecuteCommands is being called within a render pass instance, any given element of pCommandBuffers must have been recorded with the VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT

8 years agoInitialize qQueuePriorities with queueCount values.
Dae Kim [Wed, 9 Dec 2015 10:53:45 +0000 (10:53 +0000)]
Initialize qQueuePriorities with queueCount values.

8 years agoFix spirv-tools build on Android
Pyry Haulos [Wed, 9 Dec 2015 02:48:43 +0000 (18:48 -0800)]
Fix spirv-tools build on Android

spirv-tools main CMakeLists.txt now uses option() for
SPIRV_SKIP_EXECUTABLES. In order to override the default value from deqp
side the value should be set to CACHE.

Change-Id: Ie6c5485351ac6b3590f1dc9ab2bcf55b2e6ca1ae

8 years agoIssue 61: layerCount of 1d and 2d imageView need to be 1
Jeannot Breton [Wed, 9 Dec 2015 01:10:05 +0000 (19:10 -0600)]
Issue 61: layerCount of 1d and 2d imageView need to be 1

8 years agoFix logging of VkExtensionProperties::extensionName
Pyry Haulos [Tue, 8 Dec 2015 21:53:55 +0000 (13:53 -0800)]
Fix logging of VkExtensionProperties::extensionName

Change-Id: Ibcee478082bd64c7c352f47dcf20230d08d9c7dd

8 years agoFix Vulkan library name on Windows
Pyry Haulos [Tue, 8 Dec 2015 21:42:51 +0000 (13:42 -0800)]
Fix Vulkan library name on Windows

Change-Id: Iaee88635dfd3fd463679a98b6f4abab5b0e007e3

8 years agoFix BufferView test build with MSVC
Pyry Haulos [Tue, 8 Dec 2015 21:41:52 +0000 (13:41 -0800)]
Fix BufferView test build with MSVC

Change-Id: Ie7227cf7c2fb89264f07d2e7cb9b5fb91537bdca

8 years agoMerge branch '44-update-spirv-tools' into 'master'
Pyry Haulos [Tue, 8 Dec 2015 21:06:26 +0000 (16:06 -0500)]
Merge branch '44-update-spirv-tools' into 'master'

Update spirv_assembly and spirv-tools to SPIR-V 1.0.2

Updates spirv-tools to latest revision supporting 1.0.2.
Updates spirv_assembly tests to SPIR-V 1.0.2.

See merge request !116

8 years agoUpdate spirv_assembly and spirv-tools to SPIR-V 1.0.2
Andrew Woloszyn [Tue, 8 Dec 2015 19:38:35 +0000 (14:38 -0500)]
Update spirv_assembly and spirv-tools to SPIR-V 1.0.2

8 years agoClean up Vulkan test hierarcy
Pyry Haulos [Mon, 7 Dec 2015 23:05:28 +0000 (15:05 -0800)]
Clean up Vulkan test hierarcy

Renamed following groups:

dEQP-VK.api.buffers -> dEQP-VK.api.buffer
dEQP-VK.api.buffersView -> dEQP-VK.api.buffer_view.create
dEQP-VK.api.buffersViewMemory -> dEQP-VK.api.buffer_view.access
dEQP-VK.api.shaderRenderCase.discard -> dEQP-VK.glsl.discard

Change-Id: Ieca71086b2dd78d1d062f3af8ad58451a7c9950b

8 years agoMerge branch '54-renderpass-subpassdep-destsubpass-out-of-range' into 'master'
Pyry Haulos [Tue, 8 Dec 2015 17:34:35 +0000 (12:34 -0500)]
Merge branch '54-renderpass-subpassdep-destsubpass-out-of-range' into 'master'

54 dEQP-VK.renderpass.attachment_allocation: VkSubpassDependency.dstSubpass is out of range

This fixes issue #54

The loop is executed for each of subpasses, adding a dependency from subpassNdx to subpass + 1.  For the last iteration subpass + 1 would point to not existing subpass.
The fix here is to remove last iteration. Hence for N subpasses N-1 dependiences would be made.

See merge request !114

8 years agoMerge branch '55-renderpass-secondary-no-continue-flag' into 'master'
Pyry Haulos [Tue, 8 Dec 2015 17:34:01 +0000 (12:34 -0500)]
Merge branch '55-renderpass-secondary-no-continue-flag' into 'master'

55 dEQP-VK.renderpass.attachment: secondary command buffer is missing VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT usage flag

This fixes issue #55

Spec:
"If vkCmdExecuteCommands is being called within a render pass instance, any given element of pCommandBuffers
 must have been recorded with the VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT"

See merge request !115

8 years agoMerge branch '51-renderpass_fix_membarrier_layouts' into 'master'
Pyry Haulos [Tue, 8 Dec 2015 17:33:32 +0000 (12:33 -0500)]
Merge branch '51-renderpass_fix_membarrier_layouts' into 'master'

dEQP-VK.renderpass: fix barriers -  COLOR layouts were used for DS images and DS ayout were used for COLOR images

This fixes issue #51.

The test randomizes 'initialLayout' and 'finalizeLayout' variables, that are later used as oldLayout and newLayout in image memory barrier.

Given current test design, it is possible to get COLOR-related layout for depth or depth stencil or stencil image, and vice-versa.

The fix changes the contents of the arrays given variables are randomized from.

See merge request !106

8 years agodEQP-VK.renderpass: fix barriers - COLOR layouts were used for DS images and DS...
scygan [Fri, 4 Dec 2015 17:17:27 +0000 (18:17 +0100)]
dEQP-VK.renderpass: fix barriers -  COLOR layouts were used for DS images and DS layout were used for COLOR images

8 years agodEQP-VK.renderpass.attachment: secondary command buffer is missing VK_COMMAND_BUFFER_...
scygan [Tue, 8 Dec 2015 15:28:38 +0000 (16:28 +0100)]
dEQP-VK.renderpass.attachment: secondary command buffer is missing VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT usage flag

Spec:
"If vkCmdExecuteCommands is being called within a render pass instance, any given element of pCommandBuffers
 must have been recorded with the VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT"

(internal ref: renderpass 3, --deqp-caselist=dEQP-VK.renderpass.attachment.*)

8 years agodEQP-VK.renderpass.attachment_allocation: VkSubpassDependency.dstSubpass is out of...
scygan [Tue, 8 Dec 2015 15:22:19 +0000 (16:22 +0100)]
dEQP-VK.renderpass.attachment_allocation: VkSubpassDependency.dstSubpass is out of range

The loop is executed for each of subpasses, adding a dependency from subpassNdx to subpass + 1.  For the last iteration subpass + 1 would point to not existing subpass.
The fix here is to remove last iteration. hence for N subpasses N-1 dependiences would be made

(internal ref: renderpass 2, --deqp-caselist={dEQP-VK{renderpass{attachment_allocation{grow{3}}}}} )

8 years agoFix ShaderLibrary vertex layout for matrices
Pyry Haulos [Mon, 7 Dec 2015 23:24:16 +0000 (15:24 -0800)]
Fix ShaderLibrary vertex layout for matrices

Change-Id: I2b3ad53c81404bf306a82c165496dcb147a52234

8 years agoMerge branch '44-spirv-assembly-framework' into 'master'
Pyry Haulos [Mon, 7 Dec 2015 22:01:01 +0000 (17:01 -0500)]
Merge branch '44-spirv-assembly-framework' into 'master'

Eliminate per_vertex_out from geometry boilerplate.

See merge request !102

8 years agoMerge branch '52-pipeline-image_view-sampler-fix-glsl' into 'master'
Pyry Haulos [Mon, 7 Dec 2015 21:30:24 +0000 (16:30 -0500)]
Merge branch '52-pipeline-image_view-sampler-fix-glsl' into 'master'

52 pipeline image & sampler tests: fix precision streaming of streaming of lookupScale variable to GLSL

This fixes issue #52 by configuring stringstream to properly stream very small float values.

See merge request !112

8 years agoMerge branch '48-pipeline-image_view-copybufferimage-compressed' into 'master'
Pyry Haulos [Mon, 7 Dec 2015 21:29:33 +0000 (16:29 -0500)]
Merge branch '48-pipeline-image_view-copybufferimage-compressed' into 'master'

dEQP-VK.pipeline.image.view_type wrong parameters to vkCmdCopyBufferToImage on compressed images

This fixes issue #48

See merge request !113

8 years agodEQP-VK.pipeline.image.view_type wrong parameters to vkCmdCopyBufferToImage on compre...
scygan [Mon, 7 Dec 2015 20:25:41 +0000 (21:25 +0100)]
dEQP-VK.pipeline.image.view_type wrong parameters to vkCmdCopyBufferToImage on compressed images

8 years agopipeline image & sampler tests: fix precision streaming of streaming of lookupScale...
scygan [Mon, 7 Dec 2015 20:05:39 +0000 (21:05 +0100)]
pipeline image & sampler tests: fix precision streaming of streaming of lookupScale variable to GLSL

8 years agoUpdate glslang revision and remove cherry-pick
Pyry Haulos [Mon, 7 Dec 2015 14:57:30 +0000 (06:57 -0800)]
Update glslang revision and remove cherry-pick

Cherry-picking build fix is no longer needed with the latest revision.

8 years agoFix whitespace and include guards
Pyry Haulos [Sat, 5 Dec 2015 20:50:27 +0000 (12:50 -0800)]
Fix whitespace and include guards

Change-Id: I580f26ff447fcba8a685850cf5ac15a14af41d60

8 years agoUpdate dEQP-VK.api.smoke.asm_triangle to SPIR-V 1.0Rev2
Dae Kim [Thu, 3 Dec 2015 15:24:37 +0000 (15:24 +0000)]
Update dEQP-VK.api.smoke.asm_triangle to SPIR-V 1.0Rev2

OpSource should be right before OpName.

8 years agoUpdate pipeline tests to API version 0.210.1.
Dae Kim [Wed, 2 Dec 2015 16:07:54 +0000 (16:07 +0000)]
Update pipeline tests to API version 0.210.1.

8 years agoMerge "Update glslang revision" into vulkan
Pyry Haulos [Sat, 5 Dec 2015 20:34:55 +0000 (20:34 +0000)]
Merge "Update glslang revision" into vulkan

8 years agoImprove Vulkan null driver
Pyry Haulos [Wed, 25 Nov 2015 17:48:14 +0000 (09:48 -0800)]
Improve Vulkan null driver

 * Calling vkFreeDescriptorSet() on descriptor sets allocated from
pool without FREE_DESCRIPTOR_SET_BIT is a common mistake and thus
worth checking for in null driver.

 * Report sensible memory requirements for images in case test uses
linear-layout images to transfer pixel data.

Change-Id: Ief296977f83679b3b87601b1a08a2a96674d68ef

8 years agoUpdate API version to 0.210.1
Pyry Haulos [Wed, 18 Nov 2015 21:15:13 +0000 (13:15 -0800)]
Update API version to 0.210.1

Change-Id: Ifc8134b430aaa0a602cbf68f2ee23c7bc6a185ba

8 years agoRemove the builtin-interface TODO.
Dejan Mircevski [Fri, 4 Dec 2015 15:11:00 +0000 (10:11 -0500)]
Remove the builtin-interface TODO.

This branch takes care of it.

8 years agoMerge "Fix vulkan memory mapping test bugs" into vulkan
Mika Isojarvi [Thu, 3 Dec 2015 22:10:29 +0000 (22:10 +0000)]
Merge "Fix vulkan memory mapping test bugs" into vulkan

8 years agoUpdate glslang revision
Pyry Haulos [Tue, 1 Dec 2015 23:35:07 +0000 (15:35 -0800)]
Update glslang revision

Change-Id: I4035385be1efa8137a29cab25f08a97990f20af4

8 years agoFix vulkan memory mapping test bugs
Mika Isojärvi [Thu, 3 Dec 2015 19:45:43 +0000 (11:45 -0800)]
Fix vulkan memory mapping test bugs

Change-Id: Ie157577b3453964e415fc120791855ff76976c32

8 years agoMerge fixes from Khronos repository
Pyry Haulos [Thu, 3 Dec 2015 21:31:54 +0000 (13:31 -0800)]
Merge fixes from Khronos repository

8 years agoMerge branch '45-pipeline-image-fix-glsl' into 'master'
Pyry Haulos [Thu, 3 Dec 2015 20:37:49 +0000 (15:37 -0500)]
Merge branch '45-pipeline-image-fix-glsl' into 'master'

vktPipelineImageTests : fix wrongly streamed values, when constructing GLSL code

This fixes issue #45 by configuring stringstream to properly stream very small values.

See merge request !103

8 years agovktPipelineImageTests : fix missed datawhen construct shader code
mchomicz [Thu, 3 Dec 2015 20:18:19 +0000 (21:18 +0100)]
vktPipelineImageTests : fix missed datawhen construct shader code

8 years agoEliminate per_vertex_out from geometry boilerplate.
Dejan Mircevski [Thu, 3 Dec 2015 19:33:06 +0000 (14:33 -0500)]
Eliminate per_vertex_out from geometry boilerplate.

8 years agoMerge changes from Khronos repository
Pyry Haulos [Thu, 3 Dec 2015 19:12:36 +0000 (11:12 -0800)]
Merge changes from Khronos repository

8 years agoMerge branch '16-buffers' into 'master'
Pyry Haulos [Thu, 3 Dec 2015 19:04:42 +0000 (14:04 -0500)]
Merge branch '16-buffers' into 'master'

Add buffers tests

See merge request !52

8 years agoMerge "Add support for UNORM_SHORT_1555 format; fix bugs"
Pyry Haulos [Thu, 3 Dec 2015 18:33:37 +0000 (18:33 +0000)]
Merge "Add support for UNORM_SHORT_1555 format; fix bugs"
am: afd8128a69

* commit 'afd8128a69cc390a7e7c5f227e0720b0e0e064f9':
  Add support for UNORM_SHORT_1555 format; fix bugs

8 years agoMerge "Add support for UNORM_SHORT_1555 format; fix bugs"
Pyry Haulos [Thu, 3 Dec 2015 18:29:11 +0000 (18:29 +0000)]
Merge "Add support for UNORM_SHORT_1555 format; fix bugs"

8 years agoMerge branch 'renderpass-fixes' into 'master'
Pyry Haulos [Thu, 3 Dec 2015 18:08:53 +0000 (13:08 -0500)]
Merge branch 'renderpass-fixes' into 'master'

Fix: renderpass does not set proper usage flags on color attachment images

See merge request !46

8 years agoFixup codestyle after changes in vktRenderPassTests.cpp
scygan [Thu, 3 Dec 2015 16:58:27 +0000 (17:58 +0100)]
Fixup codestyle after changes in vktRenderPassTests.cpp

8 years agoAdd api tests for vkCreateBuffer and vkCreateBufferView function
Szilard Ledan [Mon, 5 Oct 2015 08:34:11 +0000 (10:34 +0200)]
Add api tests for vkCreateBuffer and vkCreateBufferView function

8 years agoMerge "Change MSAA sample-count error to warning" into marshmallow-cts-dev am: 0727d2...
Daniel Xie [Thu, 3 Dec 2015 01:46:55 +0000 (01:46 +0000)]
Merge "Change MSAA sample-count error to warning" into marshmallow-cts-dev am: 0727d29796 am: 0c59f7b7d6 am: aa6d7b3918
am: 32bede34df

* commit '32bede34df1b2c8002cad6ce2f610fbf32f513d3':
  Change MSAA sample-count error to warning

8 years agoRemove GLES2.functional.dither.disable.gradient.* tests from mustpass am: 9a42bb8be3...
David Sodman [Thu, 3 Dec 2015 01:46:50 +0000 (01:46 +0000)]
Remove GLES2.functional.dither.disable.gradient.* tests from mustpass am: 9a42bb8be3 am: 0711fc152c am: ba2499b2c4
am: 574a67708c

* commit '574a67708c85b92224f8f08eb8ee0b132c334498':
  Remove GLES2.functional.dither.disable.gradient.* tests from mustpass

8 years agoMerge "Change MSAA sample-count error to warning" into marshmallow-cts-dev am: 0727d2...
Daniel Xie [Thu, 3 Dec 2015 01:42:56 +0000 (01:42 +0000)]
Merge "Change MSAA sample-count error to warning" into marshmallow-cts-dev am: 0727d29796 am: 0c59f7b7d6
am: aa6d7b3918

* commit 'aa6d7b39180d5e0a2fd4f4ab4153db12a3394592':
  Change MSAA sample-count error to warning

8 years agoRemove GLES2.functional.dither.disable.gradient.* tests from mustpass am: 9a42bb8be3...
David Sodman [Thu, 3 Dec 2015 01:42:52 +0000 (01:42 +0000)]
Remove GLES2.functional.dither.disable.gradient.* tests from mustpass am: 9a42bb8be3 am: 0711fc152c
am: ba2499b2c4

* commit 'ba2499b2c4aa2695c1e1aef8b063ecc832619bbf':
  Remove GLES2.functional.dither.disable.gradient.* tests from mustpass

8 years agoMerge "Change MSAA sample-count error to warning" into marshmallow-cts-dev am: 0727d29796
Daniel Xie [Thu, 3 Dec 2015 01:38:47 +0000 (01:38 +0000)]
Merge "Change MSAA sample-count error to warning" into marshmallow-cts-dev am: 0727d29796
am: 0c59f7b7d6

* commit '0c59f7b7d672633e931af3538c59b5a982747997':
  Change MSAA sample-count error to warning

8 years agoRemove GLES2.functional.dither.disable.gradient.* tests from mustpass am: 9a42bb8be3
David Sodman [Thu, 3 Dec 2015 01:38:41 +0000 (01:38 +0000)]
Remove GLES2.functional.dither.disable.gradient.* tests from mustpass am: 9a42bb8be3
am: 0711fc152c

* commit '0711fc152ccdea34bf24fc3c7cbe89dbd773e67d':
  Remove GLES2.functional.dither.disable.gradient.* tests from mustpass

8 years agoMerge "Change MSAA sample-count error to warning" into marshmallow-cts-dev
Daniel Xie [Thu, 3 Dec 2015 01:20:13 +0000 (01:20 +0000)]
Merge "Change MSAA sample-count error to warning" into marshmallow-cts-dev
am: 0727d29796

* commit '0727d29796e35bbeb403cac3939ddedc5cd877f5':
  Change MSAA sample-count error to warning

8 years agoRemove GLES2.functional.dither.disable.gradient.* tests from mustpass
David Sodman [Thu, 3 Dec 2015 01:18:55 +0000 (01:18 +0000)]
Remove GLES2.functional.dither.disable.gradient.* tests from mustpass
am: 9a42bb8be3

* commit '9a42bb8be31ce85305bc21c3e05b0e52010d06aa':
  Remove GLES2.functional.dither.disable.gradient.* tests from mustpass

8 years agoMerge "Change MSAA sample-count error to warning" into marshmallow-cts-dev
Daniel Xie [Thu, 3 Dec 2015 01:15:16 +0000 (01:15 +0000)]
Merge "Change MSAA sample-count error to warning" into marshmallow-cts-dev

8 years agoMerge "Add MIRRORED_ONCE wrap mode"
Pyry Haulos [Thu, 3 Dec 2015 00:41:32 +0000 (00:41 +0000)]
Merge "Add MIRRORED_ONCE wrap mode"
am: bae4868b85

* commit 'bae4868b85518830de0f721873b01a6858bab62d':
  Add MIRRORED_ONCE wrap mode

8 years agoCherry-pick a few tcu::StringTemplate fixes to master
Pyry Haulos [Thu, 3 Dec 2015 00:41:26 +0000 (00:41 +0000)]
Cherry-pick a few tcu::StringTemplate fixes to master
am: a0495cdca8

* commit 'a0495cdca8cc9bc2cbfaa14f5bb9324bf4176374':
  Cherry-pick a few tcu::StringTemplate fixes to master

8 years agoAdd support for UNORM_SHORT_1555 format; fix bugs
Pyry Haulos [Thu, 3 Dec 2015 00:37:01 +0000 (16:37 -0800)]
Add support for UNORM_SHORT_1555 format; fix bugs

Change-Id: Ia1a5354872fb355c27f312cc320357079810ea6f

8 years agoMerge "Add MIRRORED_ONCE wrap mode"
Pyry Haulos [Thu, 3 Dec 2015 00:39:52 +0000 (00:39 +0000)]
Merge "Add MIRRORED_ONCE wrap mode"

8 years agoAdd MIRRORED_ONCE wrap mode
Pyry Haulos [Thu, 3 Dec 2015 00:35:38 +0000 (16:35 -0800)]
Add MIRRORED_ONCE wrap mode

Change-Id: Ie81aeef27df0630d1a348fb3fe373bdc3c61e17e

8 years agoCherry-pick a few tcu::StringTemplate fixes to master
Pyry Haulos [Thu, 3 Dec 2015 00:34:06 +0000 (16:34 -0800)]
Cherry-pick a few tcu::StringTemplate fixes to master

Change-Id: I5a2d88b78b2fe40e62a510c68c58ecc39d033a9f

8 years agoFix include order in vkSpirVProgram.hpp
Pyry Haulos [Wed, 2 Dec 2015 20:59:25 +0000 (12:59 -0800)]
Fix include order in vkSpirVProgram.hpp

8 years agoMerge branch '26-update-assembly-framework' into 'master'
Pyry Haulos [Wed, 2 Dec 2015 20:51:28 +0000 (15:51 -0500)]
Merge branch '26-update-assembly-framework' into 'master'

Add framework for graphics-pipeline tests in spirv_assembly.

This allows single test code to be exercised in all shader kinds (except
for compute shader).

Implement assembly boilerplate as a StringTemplate with parameters in
certain sections that can be specialized.

Extend `StringTemplate` to accept optional parameter expansions, where a
missing parameter isn't an error.

Make `SpirVAsmSource::operator<<()` work on any parameter type.

See merge request !76

8 years agoChanged array initializers to fix android build.
Andrew Woloszyn [Mon, 30 Nov 2015 15:47:46 +0000 (10:47 -0500)]
Changed array initializers to fix android build.

8 years agoResponded to more feedback
Andrew Woloszyn [Wed, 25 Nov 2015 14:50:41 +0000 (09:50 -0500)]
Responded to more feedback

8 years agoResponded to formatting feedback.
Andrew Woloszyn [Mon, 23 Nov 2015 19:12:10 +0000 (14:12 -0500)]
Responded to formatting feedback.

8 years agoAddress review feedback.
Dejan Mircevski [Mon, 23 Nov 2015 16:54:07 +0000 (11:54 -0500)]
Address review feedback.

Rename TYPES/CONSTANTS/ARRAYS macros.

Avoid static initialization of StringTemplates.

Use copy constructors instead of memcpy().

Sprinkle const.

8 years agoRename TessLevel IDs.
Dejan Mircevski [Fri, 20 Nov 2015 19:56:35 +0000 (14:56 -0500)]
Rename TessLevel IDs.

8 years agoAdd framework for graphics-pipeline tests in spirv_assembly.
Dejan Mircevski [Thu, 19 Nov 2015 18:35:33 +0000 (13:35 -0500)]
Add framework for graphics-pipeline tests in spirv_assembly.

This allows single test code to be exercised in all shader kinds (except
for compute shader).

Implement assembly boilerplate as a StringTemplate with parameters in
certain sections that can be specialized.

Extend StringTemplate to accept optional parameter expansions, where a
missing parameter isn't an error.

Make SpirVAsmSource::operator<<() work on any parameter type.

8 years agoMerge branch '25-spirv-special-instruction-tests' into 'master'
Pyry Haulos [Wed, 2 Dec 2015 18:57:24 +0000 (13:57 -0500)]
Merge branch '25-spirv-special-instruction-tests' into 'master'

25 SPIR-V assembly tests based on compute shader

- OpConstantNull
- OpConstantComposite
- OpLine
- OpNoLine
- OpSource
- OpSourceContinued
- OpUndef
- OpUnreachable
- Loop control
- Selection control
- Function control
- Block order
- OpSourceExtension
- OpPhi
- decoration group

Also change input to random numbers for the OpNop test.

See merge request !44

8 years agoInitial simple Vulkan memory mapping tests
Mika Isojärvi [Tue, 15 Sep 2015 23:25:32 +0000 (16:25 -0700)]
Initial simple Vulkan memory mapping tests

Change-Id: Id14b17a289d7acf1a091bab0c2c11aa279fde7f3

8 years agoAdd initial Vulkan memory allocation tests.
Mika Isojärvi [Fri, 28 Aug 2015 17:56:46 +0000 (10:56 -0700)]
Add initial Vulkan memory allocation tests.

Change-Id: I3698d94e2cbd67419e8cbc5f689de34960458cbd

8 years agoRemove unnecessary cast in DeqpTestRunner
Kalle Raita [Thu, 26 Nov 2015 00:06:35 +0000 (00:06 +0000)]
Remove unnecessary cast in DeqpTestRunner
am: 4dcb823b0f

* commit '4dcb823b0f2baf50c1da8efcc43dedada179453b':
  Remove unnecessary cast in DeqpTestRunner

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Wed, 25 Nov 2015 23:41:10 +0000 (15:41 -0800)]
Merge in changes from Khronos repository

8 years agoImprove prebuilt SPIR-V binary storage
Pyry Haulos [Thu, 12 Nov 2015 22:41:16 +0000 (14:41 -0800)]
Improve prebuilt SPIR-V binary storage

This change improves storage usage of pre-built SPIR-V binary registry
by eliminating duplicate binaries. With the current test set the size of
binary registry drops from almost 400MiB down to 25MiB.

A binary index file (trie) is used to map from binary identifiers to
actual binary files.

Change-Id: I09b015c00bd30df00e7cf96a39549ddbb66ece61

8 years agoMerge branch 'cts_mlentine' into 'master'
Pyry Haulos [Wed, 25 Nov 2015 01:57:43 +0000 (20:57 -0500)]
Merge branch 'cts_mlentine' into 'master'

Fix sType for vertex assembly in object management tests.

See merge request !77

8 years agoMerge branch 'fix-bgr-channel-mapping' into 'master'
Pyry Haulos [Wed, 25 Nov 2015 01:56:52 +0000 (20:56 -0500)]
Merge branch 'fix-bgr-channel-mapping' into 'master'

Added missing channel mapping for BGR formats.

Somehow I managed not to include the channel mapping for BGR formats. This should fix any of image, image view or sampler tests using BGR.

See merge request !74

8 years agoMerge "Fix a few null driver bugs" into vulkan
Pyry Haulos [Tue, 24 Nov 2015 21:19:04 +0000 (21:19 +0000)]
Merge "Fix a few null driver bugs" into vulkan

8 years agoFix a few null driver bugs
Pyry Haulos [Tue, 24 Nov 2015 21:11:34 +0000 (13:11 -0800)]
Fix a few null driver bugs

 * vkAllocDescriptorSets() still had pCounts return variable that was
supposed to be removed in latest API update.

 * vkGetPhysicalDeviceFormatFeatures() didn't return sensible properties
leading to several tests unnecessarily reporting NotSupported.

Change-Id: I515422dbd7fc76bf409212d816fe5ab23b937efd

8 years agoRemove use of std::random_shuffle
Pyry Haulos [Tue, 24 Nov 2015 20:41:46 +0000 (12:41 -0800)]
Remove use of std::random_shuffle

std::random_shuffle algorithm is implementation-defined,
de::Random::shuffle() must be used instead.

This was causing pipeline blend and stencil test groups to be different
depending on platform.

Change-Id: I21ee6d9cf78ea0466c63d6e9498a6f485edd4d8b

8 years agoChange iterator names and inject more necessary empty lines.
Lei Zhang [Tue, 24 Nov 2015 20:08:29 +0000 (15:08 -0500)]
Change iterator names and inject more necessary empty lines.

8 years agoRemove unnecessary cast in DeqpTestRunner
Kalle Raita [Tue, 24 Nov 2015 20:05:38 +0000 (12:05 -0800)]
Remove unnecessary cast in DeqpTestRunner

Also fix the run_tests.sh script with 'CtsDeqp' -> 'CtsDeqpTestCases'

Tested with DeqpTestRunner unit tests.

Change-Id: Iadcb36b0a3bf435d590a7a3b9ed3129fdf3f01bd

8 years agoRemove GLES2.functional.dither.disable.gradient.* tests from mustpass
David Sodman [Tue, 24 Nov 2015 00:23:59 +0000 (16:23 -0800)]
Remove GLES2.functional.dither.disable.gradient.* tests from mustpass

Change-Id: I982b71397a3792f2cd0107cc394763a1d0acc4f5

8 years agoDO NOT MERGE add running time hints for dEQP packages am: 75da7d236c -s ours am...
Jed Estep [Mon, 23 Nov 2015 23:32:58 +0000 (23:32 +0000)]
DO NOT MERGE add running time hints for dEQP packages am: 75da7d236c  -s ours am: 01680109b8 am: e22743284f  -s ours
am: 53df280acd  -s ours

* commit '53df280acd735efdf58d120f6e61e02269ca6bcc':
  DO NOT MERGE add running time hints for dEQP packages

8 years agoDO NOT MERGE add running time hints for dEQP packages am: 75da7d236c -s ours am...
Jed Estep [Mon, 23 Nov 2015 23:28:36 +0000 (23:28 +0000)]
DO NOT MERGE add running time hints for dEQP packages am: 75da7d236c  -s ours am: 01680109b8
am: e22743284f  -s ours

* commit 'e22743284f0ab65a27301b87b33daef994b2f6b7':
  DO NOT MERGE add running time hints for dEQP packages

8 years agoDO NOT MERGE add running time hints for dEQP packages am: 75da7d236c -s ours
Jed Estep [Mon, 23 Nov 2015 23:25:22 +0000 (23:25 +0000)]
DO NOT MERGE add running time hints for dEQP packages am: 75da7d236c  -s ours
am: 01680109b8

* commit '01680109b81948f78fe5b69da44635a8facd2d12':
  DO NOT MERGE add running time hints for dEQP packages

8 years agoMerge changes from Khronos repository
Pyry Haulos [Mon, 23 Nov 2015 23:23:52 +0000 (15:23 -0800)]
Merge changes from Khronos repository

8 years agoDO NOT MERGE add running time hints for dEQP packages
Jed Estep [Mon, 23 Nov 2015 23:05:27 +0000 (23:05 +0000)]
DO NOT MERGE add running time hints for dEQP packages
am: 75da7d236c  -s ours

* commit '75da7d236c608d6e1020e21d59325feb7dcbe711':
  DO NOT MERGE add running time hints for dEQP packages

8 years agoFix a few warnings
Pyry Haulos [Mon, 23 Nov 2015 22:36:25 +0000 (14:36 -0800)]
Fix a few warnings

Change-Id: I2cf5d4f070b8b438e25fb50b88b7123a6e47a593

8 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev...
Daniel Xie [Mon, 23 Nov 2015 15:56:55 +0000 (15:56 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev am: a3571bc9c9  -s ours am: 4e2092b555 am: 2239f84a37  -s ours
am: c3fef93d97  -s ours

* commit 'c3fef93d9715ac6419542cfded8362923a6a7bec':
  DO NOT MERGE Restore accidentally commented line

8 years agoExclude RGB565 blending cases from the must-pass am: 494bb5a472 am: c6d365645f am...
Kalle Raita [Mon, 23 Nov 2015 15:56:51 +0000 (15:56 +0000)]
Exclude RGB565 blending cases from the must-pass am: 494bb5a472 am: c6d365645f am: 770c827918
am: bdc383d45d

* commit 'bdc383d45d7ce4066f1505ed7692f4d6ade3454a':
  Exclude RGB565 blending cases from the must-pass

8 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev...
Daniel Xie [Mon, 23 Nov 2015 15:52:57 +0000 (15:52 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev am: a3571bc9c9  -s ours am: 4e2092b555
am: 2239f84a37  -s ours

* commit '2239f84a37e3288e49523e98d5bb964ba62143b6':
  DO NOT MERGE Restore accidentally commented line

8 years agoExclude RGB565 blending cases from the must-pass am: 494bb5a472 am: c6d365645f
Kalle Raita [Mon, 23 Nov 2015 15:52:52 +0000 (15:52 +0000)]
Exclude RGB565 blending cases from the must-pass am: 494bb5a472 am: c6d365645f
am: 770c827918

* commit '770c8279183d6cc310f9ddc6b123255ff2836a94':
  Exclude RGB565 blending cases from the must-pass

8 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev...
Daniel Xie [Sun, 22 Nov 2015 02:58:30 +0000 (02:58 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev am: a3571bc9c9  -s ours
am: 4e2092b555

* commit '4e2092b555b3ef3e5ea6e3eb798bca4b21e33dce':
  DO NOT MERGE Restore accidentally commented line

8 years agoExclude RGB565 blending cases from the must-pass am: 494bb5a472
Kalle Raita [Sun, 22 Nov 2015 02:58:21 +0000 (02:58 +0000)]
Exclude RGB565 blending cases from the must-pass am: 494bb5a472
am: c6d365645f

* commit 'c6d365645f8315dc84f1e3253e575f454be460db':
  Exclude RGB565 blending cases from the must-pass

8 years agoDO NOT MERGE add running time hints for dEQP packages
Jed Estep [Tue, 27 Oct 2015 18:17:13 +0000 (11:17 -0700)]
DO NOT MERGE add running time hints for dEQP packages

Change-Id: Iac61edd175714ffb5901925ac81c16e9a3a18d81

8 years agoMerge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev
Daniel Xie [Fri, 20 Nov 2015 18:57:29 +0000 (18:57 +0000)]
Merge "DO NOT MERGE Restore accidentally commented line" into marshmallow-cts-dev
am: a3571bc9c9  -s ours

* commit 'a3571bc9c9f16c58a49cbb080da97223c807b2f5':
  DO NOT MERGE Restore accidentally commented line