platform/upstream/VK-GL-CTS.git
7 years agoDo not rewrite .inl files if existing content is identical
Pyry Haulos [Wed, 10 Aug 2016 19:28:05 +0000 (12:28 -0700)]
Do not rewrite .inl files if existing content is identical

Change-Id: I4b0df9f5f363f91ba0748ee6f2ba5a680a182ab9

7 years agoMerge "Improvements to sample verification code"
Pyry Haulos [Wed, 10 Aug 2016 19:20:07 +0000 (19:20 +0000)]
Merge "Improvements to sample verification code"

7 years agoMerge "Let linker find libm on unix"
Pyry Haulos [Wed, 10 Aug 2016 18:47:27 +0000 (18:47 +0000)]
Merge "Let linker find libm on unix"

7 years agoMerge "Use 3rd party cflags in zlib"
Treehugger Robot [Wed, 10 Aug 2016 18:38:06 +0000 (18:38 +0000)]
Merge "Use 3rd party cflags in zlib"

7 years agoMerge "Fix deUint64 -> size_t warning in deSha1"
Treehugger Robot [Wed, 10 Aug 2016 18:36:35 +0000 (18:36 +0000)]
Merge "Fix deUint64 -> size_t warning in deSha1"

7 years agoImprovements to sample verification code
Collin Baker [Mon, 25 Jul 2016 21:35:03 +0000 (14:35 -0700)]
Improvements to sample verification code

Refactoring and improvements to code in vktSampleVerifier.cpp;
Moved much functionality into separate functions and cleaned up some
quick fixes I had made previously.

Change-Id: I7a02ee0cbe009946ec1126e1e77141596cf1c028

7 years agoFix deUint64 -> size_t warning in deSha1
Pyry Haulos [Wed, 10 Aug 2016 17:18:02 +0000 (10:18 -0700)]
Fix deUint64 -> size_t warning in deSha1

Change-Id: Iadef8102281454601a39f2b39d5086f2b3e42802

7 years agoLet linker find libm on unix
Pyry Haulos [Wed, 10 Aug 2016 17:22:55 +0000 (10:22 -0700)]
Let linker find libm on unix

Fixes 32-bit builds on 64-bit systems.

Change-Id: Idec88517d7208f1a616cde8c688fa6b5e6e7d2a6

7 years agoUse 3rd party cflags in zlib
Pyry Haulos [Wed, 10 Aug 2016 17:16:57 +0000 (10:16 -0700)]
Use 3rd party cflags in zlib

zlib doesn't build cleanly with default warning flags.

Change-Id: Ie20c7920a5468d07e2b63fb3a78260f87b330195

7 years agoFix clang launch control builds
Pyry Haulos [Wed, 10 Aug 2016 01:19:10 +0000 (18:19 -0700)]
Fix clang launch control builds

Change-Id: Ibefb228e5208922a749027937746183b0dfc1409

7 years agoMerge "Modify deqp install script to accept build-root"
Pyry Haulos [Tue, 9 Aug 2016 23:49:59 +0000 (23:49 +0000)]
Merge "Modify deqp install script to accept build-root"

7 years agoMerge "Enable -Werror in launch control builds"
Pyry Haulos [Tue, 9 Aug 2016 22:23:02 +0000 (22:23 +0000)]
Merge "Enable -Werror in launch control builds"

7 years agoMerge "Merge upstream-vulkan-cts-1.0-dev into master"
Pyry Haulos [Tue, 9 Aug 2016 21:39:11 +0000 (21:39 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master"

7 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 9 Aug 2016 20:02:10 +0000 (13:02 -0700)]
Merge upstream-vulkan-cts-1.0-dev into master

Change-Id: I318218fecd46ac39cc8dd5904d6fae3658bdb771

7 years agoMerge 'github/vulkan-cts-1.0-dev' into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 9 Aug 2016 19:51:19 +0000 (12:51 -0700)]
Merge 'github/vulkan-cts-1.0-dev' into vulkan-cts-1.0-dev

7 years agoQuick fix for warning in vktSampleVerifier.cpp
Collin Baker [Tue, 9 Aug 2016 19:42:15 +0000 (12:42 -0700)]
Quick fix for warning in vktSampleVerifier.cpp

Change-Id: I5deb847a65c95939492af54b2ceb9b1e29929f95

7 years agoEnable -Werror in launch control builds
Pyry Haulos [Tue, 9 Aug 2016 18:31:34 +0000 (11:31 -0700)]
Enable -Werror in launch control builds

Change-Id: If9fe40a3d845e1081f9a433dae13d90ca5354f83

7 years agoUpdate Android CTS mustpass
Pyry Haulos [Mon, 8 Aug 2016 21:58:56 +0000 (14:58 -0700)]
Update Android CTS mustpass

This brings Android CTS mustpass files up-to-date with latest test case
renames.

Change-Id: I436bf70fb685d538b79fb0cb86e9fc1883ee929c

7 years agoHarmonize test case names
Pyry Haulos [Mon, 8 Aug 2016 21:39:54 +0000 (14:39 -0700)]
Harmonize test case names

 * Avoid camel case and uppercase
 * Use more common abbreviations

Change-Id: Ica9a3936be96a72ec410d3673d5c6a2dd9e32c44

7 years agoRemove mustpass XML files not used by Vulkan CTS
Pyry Haulos [Mon, 8 Aug 2016 21:37:48 +0000 (14:37 -0700)]
Remove mustpass XML files not used by Vulkan CTS

Change-Id: I48e43f604c296baebdad5a25c3d7a723bfddb0f0

7 years agoAdd support for rendering vertex combined sampled images.
Mika Isojärvi [Thu, 4 Aug 2016 22:14:04 +0000 (15:14 -0700)]
Add support for rendering vertex combined sampled images.

Change-Id: Id71043ac38aae99668899cc72ddd8c55e11364fe

7 years agoFix geometry shader support check
Pyry Haulos [Mon, 8 Aug 2016 19:34:35 +0000 (12:34 -0700)]
Fix geometry shader support check

Bug: 30738286
Change-Id: I976d76cd417e1c0b456d252f50a8979f30d5be3f

7 years agoMerge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1
Pyry Haulos [Mon, 8 Aug 2016 18:58:59 +0000 (14:58 -0400)]
Merge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1

7 years agoFix VkDeviceSize -> size_t implicit conversion warning
Pyry Haulos [Mon, 8 Aug 2016 18:12:18 +0000 (11:12 -0700)]
Fix VkDeviceSize -> size_t implicit conversion warning

Change-Id: Id1742b7830e12799948bf635412974df17b9bce4

7 years agoCheck and enable VK_KHR_sampler_mirror_clamp_to_edge
Pyry Haulos [Mon, 8 Aug 2016 18:08:47 +0000 (11:08 -0700)]
Check and enable VK_KHR_sampler_mirror_clamp_to_edge

Several tests in dEQP-VK.pipeline group assume that
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE mode is supported. Spec
actually requires that VK_KHR_sampler_mirror_clamp_to_edge is enabled if
that mode is used.

This change enables VK_KHR_sampler_mirror_clamp_to_edge in default
device, if supported, and adds relevant checks in the test code.

In the future we'll want to clean this up by giving test cases more
control about the device configuration they need.

Fixes #339

Change-Id: Ib264c4f2fb147271c9c09d6286f4a26dd175f493

7 years agoFix api.buffer.* tests to use sparse capable queue instead the default.
Gabor Abraham [Mon, 25 Jul 2016 15:28:05 +0000 (17:28 +0200)]
Fix api.buffer.* tests to use sparse capable queue instead the default.

7 years agoFix accidental disabling of ASTC decoding internal test
Pyry Haulos [Thu, 4 Aug 2016 19:47:26 +0000 (12:47 -0700)]
Fix accidental disabling of ASTC decoding internal test

7 years agoDo not allocate large objects unnecessarily in static memory
Pyry Haulos [Thu, 4 Aug 2016 18:36:15 +0000 (11:36 -0700)]
Do not allocate large objects unnecessarily in static memory

7 years agoFix memory leaks in pipeline cache tests
Pyry Haulos [Thu, 4 Aug 2016 18:35:33 +0000 (11:35 -0700)]
Fix memory leaks in pipeline cache tests

7 years agoFix tcu::Resource leak in draw and dynamic_state tests
Pyry Haulos [Thu, 4 Aug 2016 18:34:52 +0000 (11:34 -0700)]
Fix tcu::Resource leak in draw and dynamic_state tests

7 years agoFix failing assert in copies and blitting tests
Pyry Haulos [Thu, 4 Aug 2016 18:34:25 +0000 (11:34 -0700)]
Fix failing assert in copies and blitting tests

7 years agoAdd note why command buffers are not freed individually
Pyry Haulos [Thu, 4 Aug 2016 18:34:01 +0000 (11:34 -0700)]
Add note why command buffers are not freed individually

7 years agoSkip testing int lookups for fp32/fp64 formats in internal tests
Pyry Haulos [Thu, 4 Aug 2016 18:32:59 +0000 (11:32 -0700)]
Skip testing int lookups for fp32/fp64 formats in internal tests

Overflow in float->int conversion is undefined and results vary between
tested CPUs.

7 years agoDisallow decoding ASTC sRGB formats in HDR mode
Pyry Haulos [Thu, 4 Aug 2016 18:29:52 +0000 (11:29 -0700)]
Disallow decoding ASTC sRGB formats in HDR mode

sRGB is not supported in HDR mode

7 years agoFix out-of-bounds memory accesses in ASTC decoder
Pyry Haulos [Thu, 4 Aug 2016 18:28:13 +0000 (11:28 -0700)]
Fix out-of-bounds memory accesses in ASTC decoder

interpolateWeights() was accessing weights outside weight grid bounds.
This resulted in valgrind errors even though values did not contribute
to result colors due to having zero-valued weights.

7 years agoImprove Vulkan null driver
Pyry Haulos [Thu, 4 Aug 2016 18:25:51 +0000 (11:25 -0700)]
Improve Vulkan null driver

 * Implement VkCommandPool/VkCommandBuffer lifetime management
correctly.

 * Return sensible values for device feature and limit queries to allow
more tests to run.

7 years agoUpdate mustpass list.
Mika Isojärvi [Wed, 3 Aug 2016 21:23:21 +0000 (14:23 -0700)]
Update mustpass list.

Change-Id: I67f58940caec80ec5ef5e0dff5cc8bc71f7d9643

7 years agoAdd support for rendering vertex storage images.
Mika Isojärvi [Tue, 2 Aug 2016 17:24:39 +0000 (10:24 -0700)]
Add support for rendering vertex storage images.

Change-Id: I1f5bdcf947f89504721e63ea59f7c80d18026246

7 years agoAdd support for rendering vertex storage texel buffers.
Mika Isojärvi [Mon, 1 Aug 2016 21:58:28 +0000 (14:58 -0700)]
Add support for rendering vertex storage texel buffers.

Change-Id: I309591dec0947a584fc7cbed2cd54d38570fa8d9

7 years agoAdd vertex storage buffers to pipeline barrier tests.
Mika Isojärvi [Thu, 28 Jul 2016 23:09:28 +0000 (16:09 -0700)]
Add vertex storage buffers to pipeline barrier tests.

Change-Id: Iced693511e086408ff8d5fd2158fb1e6a36934a5

7 years agoAdd support for rendering vertex uniform texel buffers
Mika Isojärvi [Thu, 30 Jun 2016 19:27:52 +0000 (12:27 -0700)]
Add support for rendering vertex uniform texel buffers

Change-Id: I6d3d29fb745711a6fd649b93e125d9304a8c29ba

7 years agoAdd vertex uniform buffers to pipeline barrier tests.
Mika Isojärvi [Thu, 30 Jun 2016 00:33:37 +0000 (17:33 -0700)]
Add vertex uniform buffers to pipeline barrier tests.

Change-Id: Iaf1b5b5d033c5076afffe84574bb462f58d92bc4

7 years agoMerge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer."
Treehugger Robot [Wed, 3 Aug 2016 00:40:34 +0000 (00:40 +0000)]
Merge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer."

7 years agoMerge "Fix warnings in texture_filtering tests"
Treehugger Robot [Tue, 2 Aug 2016 23:16:45 +0000 (23:16 +0000)]
Merge "Fix warnings in texture_filtering tests"

7 years agoMerge "Fix image layout in pipeline barrier tests"
Treehugger Robot [Tue, 2 Aug 2016 23:02:21 +0000 (23:02 +0000)]
Merge "Fix image layout in pipeline barrier tests"

7 years agoFix warnings in texture_filtering tests
Collin Baker [Tue, 2 Aug 2016 21:09:57 +0000 (14:09 -0700)]
Fix warnings in texture_filtering tests

Bug: 30598679
Change-Id: Ida1e666dc5bb3783cc3cfd8e2982b8a368f88e36

7 years agoUpdate framework to match vulkan.h at 15aa048
Pyry Haulos [Tue, 2 Aug 2016 18:11:49 +0000 (11:11 -0700)]
Update framework to match vulkan.h at 15aa048

7 years agoSuppress the google-explicit-constructor warning locally.
Chih-Hung Hsieh [Tue, 2 Aug 2016 05:33:13 +0000 (22:33 -0700)]
Suppress the google-explicit-constructor warning locally.

* Too many source files and constructors to fix now.

Bug: 28341362
Change-Id: I65c30df6e376cd77a43b80642354ff01d2c0b8df
Test: build with WITH_TIDY=1

7 years agoMerge pull request #21 from elongbug/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 2 Aug 2016 15:51:52 +0000 (08:51 -0700)]
Merge pull request #21 from elongbug/vulkan-cts-1.0-dev

Add support for wayland platform

7 years agoFix continue target in graphics block order tests
David Neto [Fri, 29 Jul 2016 20:35:12 +0000 (16:35 -0400)]
Fix continue target in graphics block order tests

Fixes validation of shaders in:
    dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_vert
    dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_tessc
    dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_tesse
    dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_geom
    dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_frag
    dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order_vert
    dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order_tessc
    dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order_tesse
    dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order_geom
    dEQP-VK.spirv_assembly.instruction.graphics.switch_block_order.out_of_order_frag
    dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order_vert
    dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order_tessc
    dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order_tesse
    dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order_geom
    dEQP-VK.spirv_assembly.instruction.graphics.opphi.out_of_order_frag

Fixes https://gitlab.khronos.org/vulkan/vulkancts/issues/443

7 years agoFix block order vs. dominance
David Neto [Fri, 29 Jul 2016 20:00:22 +0000 (16:00 -0400)]
Fix block order vs. dominance

The OpSwitch must dominate its merge block.  It also must dominate
%case1.

Fixes https://gitlab.khronos.org/vulkan/vulkancts/issues/442

7 years agoFix SPIR-V continue construct dominance
David Neto [Fri, 29 Jul 2016 16:11:33 +0000 (12:11 -0400)]
Fix SPIR-V continue construct dominance

Fix structured control flow validation problems in
dEQP-VK.spirv_assembly.instruction.compute.loop_control.*

Fixes https://gitlab.khronos.org/vulkan/vulkancts/issues/441

7 years agoSplit RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer.
Mika Isojärvi [Tue, 21 Jun 2016 17:42:52 +0000 (10:42 -0700)]
Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer.

- Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer.
- Move shared code to separate function for future reuse.

Change-Id: I0be6611b40615fc158e45dcae8b2159860139c69

7 years agoFix image layout in pipeline barrier tests
Mika Isojärvi [Wed, 15 Jun 2016 18:42:36 +0000 (11:42 -0700)]
Fix image layout in pipeline barrier tests

Change-Id: I8862b728cb9e59d3a115a339badb45fdc0f94067

7 years agoFix misc-macro-parentheses warnings in deqp.
Chih-Hung Hsieh [Thu, 9 Jun 2016 00:45:40 +0000 (17:45 -0700)]
Fix misc-macro-parentheses warnings in deqp.

* Add parentheses around macro parameters beside binary operators.
* Add NOLINT to suppress wrong clang-tidy warnings.

Bug: 28705665
Change-Id: I8cab8cf2df6edb50806d9fd2324dfea31b127916

7 years agoShaderRender tests: do not use copyBufferToImage on MS Images
Slawomir Cygan [Fri, 22 Jul 2016 15:05:53 +0000 (17:05 +0200)]
ShaderRender tests: do not use copyBufferToImage on MS Images

This is forbidden by spec:

```
dstImage must have a sample count equal to VK_SAMPLE_COUNT_1_BIT
```

Instead image is cleared, and provided `textureData` ignored.

This fixes:
```
dEQP-VK.glsl.texture_functions.query.texturesamples.isampler2dms_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.isampler2dms_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.isampler2dmsarray_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.isampler2dmsarray_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dms_fixed_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dms_fixed_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dms_float_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dms_float_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dmsarray_fixed_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dmsarray_fixed_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dmsarray_float_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.sampler2dmsarray_float_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.usampler2dms_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.usampler2dms_vertex
dEQP-VK.glsl.texture_functions.query.texturesamples.usampler2dmsarray_fragment
dEQP-VK.glsl.texture_functions.query.texturesamples.usampler2dmsarray_vertex
```

Fixes issue #430

7 years agodEQP-VK.image: group some test cases together
Maciej Jesionowski [Mon, 25 Jul 2016 11:55:33 +0000 (13:55 +0200)]
dEQP-VK.image: group some test cases together

7 years agoStrip debug info from SPIR-V binaries
Pyry Haulos [Thu, 21 Jul 2016 21:38:04 +0000 (14:38 -0700)]
Strip debug info from SPIR-V binaries

This requires updating glslang to fix ID remapping problem in SPIR-V
remapper.

Fixes #391

7 years agoValidation fix in dEQP-VK.api.command_buffers.*
Maciej Jesionowski [Fri, 22 Jul 2016 14:58:28 +0000 (16:58 +0200)]
Validation fix in dEQP-VK.api.command_buffers.*

- use correct stage masks with vkCmdWaitEvents
- set reserved flags to 0 in VkQueryPoolCreateInfo
- use non-zero srcStageMask with vkCmdPipelineBarrier

7 years agoUse pipeline cache to speed up synchronization.op tests
Pyry Haulos [Tue, 19 Jul 2016 22:02:02 +0000 (15:02 -0700)]
Use pipeline cache to speed up synchronization.op tests

7 years agoSparse resources fixes
Kantoch [Tue, 19 Jul 2016 11:37:33 +0000 (13:37 +0200)]
Sparse resources fixes

1. Do not allow to request more queues than available
2. Allow to reuse queue if it supports more than one type of operations

7 years agodEQP-VK.draw: fix minor issues
Mais Alnasser [Mon, 20 Jun 2016 19:14:33 +0000 (15:14 -0400)]
dEQP-VK.draw: fix minor issues

- colorWriteMask validation error
- minDepthBounds

7 years agoTexture filtering tests in Vulkan
Collin Baker [Mon, 25 Jul 2016 21:32:02 +0000 (14:32 -0700)]
Texture filtering tests in Vulkan

This is a framework for testing image sampling with explicit LOD in vulkan.

Change-Id: I36ea968d9e4624a76b9a918f5ab7e3d5a9039a55

7 years agoMerge "Don't rely on framebuffer contents after eglSwapBuffers"
Pablo Ceballos [Wed, 27 Jul 2016 17:46:20 +0000 (17:46 +0000)]
Merge "Don't rely on framebuffer contents after eglSwapBuffers"

7 years agoUpdate Android CTS mustpass
Pyry Haulos [Wed, 27 Jul 2016 15:42:16 +0000 (08:42 -0700)]
Update Android CTS mustpass

Change-Id: Icb869468a701a7ef664087ff401f80344719134f

7 years agoDon't rely on framebuffer contents after eglSwapBuffers
Pablo Ceballos [Thu, 16 Jun 2016 18:58:18 +0000 (11:58 -0700)]
Don't rely on framebuffer contents after eglSwapBuffers

Bug 27129258

Change-Id: Ic1c58d37c665dc9c35daa2b05ca40ecb969ad5dc

7 years agoMerge upstream vulkan-cts-1.0-dev into AOSP master
Pyry Haulos [Mon, 25 Jul 2016 22:23:26 +0000 (15:23 -0700)]
Merge upstream vulkan-cts-1.0-dev into AOSP master

7 years agoDO NOT MERGE revert CTS integration build changes
Pyry Haulos [Tue, 26 Jul 2016 23:26:54 +0000 (16:26 -0700)]
DO NOT MERGE revert CTS integration build changes

Reverts CTS integration makefiles to match marshmallow-cts-dev

Change-Id: I2b99024cee587bc823003df5aef0b555c265e381

7 years agoModify deqp install script to accept build-root
Mukul Sati [Mon, 25 Jul 2016 22:28:58 +0000 (15:28 -0700)]
Modify deqp install script to accept build-root

Change install script in a manner similar to the build script to accept
a build-root directory relative to which the apk will be pulled from the host.

Change-Id: I6a59c2eb98c9a1b420f282d92eb8fbeca340f871

7 years agoAdd new files to Android.mk
Pyry Haulos [Mon, 25 Jul 2016 22:17:36 +0000 (15:17 -0700)]
Add new files to Android.mk

7 years agoFix device mismatch bug by creating allocator for the sparse context too
Peter Siket [Mon, 25 Jul 2016 14:29:00 +0000 (16:29 +0200)]
Fix device mismatch bug by creating allocator for the sparse context too

8 years agoOnly use single-mipped MS images when testing textureSamples()
Dominik Witczak [Fri, 15 Jul 2016 07:15:01 +0000 (09:15 +0200)]
Only use single-mipped MS images when testing textureSamples()

This MR changes two aspects of the
dEQP-VK.glsl.texture_functions.query.texturesamples tests:

 * Only MS images are now bound to sampled image bindings.
 * As per recent spec clarification, MS images should always be
single-mipped.

Fixes #432

8 years agopipeline.spec_constant: Remove the data_size tests
Jason Ekstrand [Tue, 14 Jun 2016 17:04:08 +0000 (10:04 -0700)]
pipeline.spec_constant: Remove the data_size tests

These tests are invalid.  The size of the provided data *must* match the
size of the constant being specialized in the SPIR-V.

See also: https://gitlab.khronos.org/vulkan/vulkan/issues/345

8 years agoFix another set of warnings reported by GCC
Pyry Haulos [Thu, 21 Jul 2016 21:12:26 +0000 (14:12 -0700)]
Fix another set of warnings reported by GCC

8 years agoframework/platform: GH20, Add support for wayland platform.
Mun Gwan-gyeong [Mon, 11 Jul 2016 23:14:13 +0000 (08:14 +0900)]
framework/platform: GH20, Add support for wayland platform.

This change adds wayland platform with wl_shell protocol.

Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
8 years agoFix required sample count tests
Nanley Chery [Tue, 19 Apr 2016 19:13:58 +0000 (12:13 -0700)]
Fix required sample count tests

According to,

   Table 11.1. Image and image view parameter compatibility requirements

Only non-cube images with type VK_IMAGE_TYPE_2D can have sample counts
greater than one.

In addition, the following properties should hold for multisampled
images: the formats must support being used in a color or depth/stencil
attachment, or in a storage image when shaderStorageImageMultisample is
supported. Images not fitting the above descriptions may have a sample
count of one or zero (in error conditions). Align tests for sample
counts to this behavior.

8 years agoFix a few warnings
Pyry Haulos [Tue, 19 Jul 2016 22:17:06 +0000 (15:17 -0700)]
Fix a few warnings

8 years agoMerge "Add mipmap.2d.projected tests back to mustpass"
Pyry Haulos [Mon, 18 Jul 2016 22:11:14 +0000 (22:11 +0000)]
Merge "Add mipmap.2d.projected tests back to mustpass"

8 years agoAdded tests for internally synchronized objects
Arkadiusz Sarwa [Wed, 15 Jun 2016 14:52:29 +0000 (16:52 +0200)]
Added tests for internally synchronized objects

8 years agoSynchronization tests
Maciej Jesionowski [Thu, 9 Jun 2016 10:30:55 +0000 (12:30 +0200)]
Synchronization tests

Test fences, semaphores, barriers and events with various API functions
and pipeline stages.

8 years agovktPipelineCacheTests: improved pipeline cache tests
asokolow [Tue, 17 May 2016 05:05:23 +0000 (07:05 +0200)]
vktPipelineCacheTests: improved pipeline cache tests

8 years agoimage_clearing test: lower the threshold for clear validation
scygan [Wed, 1 Jun 2016 13:06:58 +0000 (15:06 +0200)]
image_clearing test: lower the threshold for clear validation

8 years agoSPIR-V Shader Intrinsics for Sparse Images Test
Kantoch [Tue, 12 Apr 2016 08:47:10 +0000 (10:47 +0200)]
SPIR-V Shader Intrinsics for Sparse Images Test

8 years agoUpdate Vulkan CTS mustpass
Kristof Kosztyo [Fri, 15 Jul 2016 16:29:41 +0000 (09:29 -0700)]
Update Vulkan CTS mustpass

8 years agoExtend copyImage tests with all compatible formats
Szilard Ledan [Fri, 15 Jul 2016 16:20:05 +0000 (09:20 -0700)]
Extend copyImage tests with all compatible formats

8 years agoExtend tcu::scale with sRGB conversion
Szilard Ledan [Fri, 15 Jul 2016 16:16:00 +0000 (09:16 -0700)]
Extend tcu::scale with sRGB conversion

8 years agoRemove vk::getFormatComponentMapping()
Pyry Haulos [Thu, 14 Jul 2016 23:51:42 +0000 (16:51 -0700)]
Remove vk::getFormatComponentMapping()

This function is highly misleading and often misused.

As as result image view component mapping is normalized to RGBA in
following tests:

 * pipeline.image
 * pipeline.image_view
 * pipeline.sampler

8 years agoUpdate mustpass and exclude problematic tests
Maciej Jesionowski [Fri, 1 Jul 2016 09:00:47 +0000 (11:00 +0200)]
Update mustpass and exclude problematic tests

8 years agoAdd clipping tests
Maciej Jesionowski [Wed, 29 Jun 2016 10:31:07 +0000 (12:31 +0200)]
Add clipping tests

- primitive clipping against the clip volume
  - depth clipping
  - depthClampEnable
  - large point and wide line clipping
- user-defined clipping planes ClipDistance
  - static and dynamic indexing
  - interaction with CullDistance
  - complementarity criterion

8 years agoEnable all textureproj* tests.
Akos Dirner [Wed, 15 Jun 2016 13:47:36 +0000 (15:47 +0200)]
Enable all textureproj* tests.

8 years agoMerge "switch to default Trade Federation ABI class"
Julius D'souza [Wed, 13 Jul 2016 18:57:05 +0000 (18:57 +0000)]
Merge "switch to default Trade Federation ABI class"

8 years agoUpdate Vulkan CTS mustpass
Pyry Haulos [Wed, 13 Jul 2016 17:24:24 +0000 (10:24 -0700)]
Update Vulkan CTS mustpass

8 years agoMerge in changes from upstream dEQP repository
Pyry Haulos [Wed, 13 Jul 2016 17:19:09 +0000 (10:19 -0700)]
Merge in changes from upstream dEQP repository

8 years agoMerge changes I219c2b3a,I7af6fe67
Pyry Haulos [Wed, 13 Jul 2016 17:18:10 +0000 (17:18 +0000)]
Merge changes I219c2b3a,I7af6fe67

* changes:
  Improve memory tracking in vulkan memory mapping tests
  Optimize random memory mapping tests reference memory

8 years agoImage memory barrier and resolved image load operation fixes.
Peter Siket [Tue, 28 Jun 2016 12:36:28 +0000 (14:36 +0200)]
Image memory barrier and resolved image load operation fixes.

8 years agoFix license header in testlog.xls
Pyry Haulos [Tue, 12 Jul 2016 18:55:17 +0000 (11:55 -0700)]
Fix license header in testlog.xls

Change-Id: I167e3240539e4cdafa5afb86bd2a43d2e79b8576

8 years agoAdd OpImageSparse* instruction tests
Gabor Abraham [Wed, 25 May 2016 15:15:44 +0000 (17:15 +0200)]
Add OpImageSparse* instruction tests

8 years agoClean up code in texture gather tests
Pyry Haulos [Fri, 8 Jul 2016 23:06:54 +0000 (16:06 -0700)]
Clean up code in texture gather tests

Removes use of multiple inheritance and virtual base classes.

8 years agoChange tes/geom shaders in timestamp tests use 310 es
Pyry Haulos [Thu, 7 Jul 2016 21:01:50 +0000 (14:01 -0700)]
Change tes/geom shaders in timestamp tests use 310 es

Vertex and fragment shaders were already using that GLSL version.

8 years agoExplicitly declare gl_PerVertex in push constant tests
Pyry Haulos [Thu, 7 Jul 2016 21:01:30 +0000 (14:01 -0700)]
Explicitly declare gl_PerVertex in push constant tests