platform/upstream/VK-GL-CTS.git
7 years agoMerge "Enable -Werror in launch control builds" am: 5d3110410c
Pyry Haulos [Tue, 9 Aug 2016 22:36:17 +0000 (22:36 +0000)]
Merge "Enable -Werror in launch control builds" am: 5d3110410c
am: 84d16a0eb4

Change-Id: Id2e3b1407de017ff5a9ffa84e670a09d7b2e6b18

7 years agoMerge "Enable -Werror in launch control builds"
Pyry Haulos [Tue, 9 Aug 2016 22:33:20 +0000 (22:33 +0000)]
Merge "Enable -Werror in launch control builds"
am: 5d3110410c

Change-Id: I69eadb3ec457ccff708f80e1486e10646c2fc0a3

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" am: 553f24edf2
Pyry Haulos [Tue, 9 Aug 2016 21:52:28 +0000 (21:52 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master" am: 553f24edf2
am: ecfd015f05

Change-Id: I07414b170eae876a57cbbe82907690c6fae9841b

7 years agoMerge upstream-vulkan-cts-1.0-dev into master am: fb20fc5f5d
Pyry Haulos [Tue, 9 Aug 2016 21:52:28 +0000 (21:52 +0000)]
Merge upstream-vulkan-cts-1.0-dev into master am: fb20fc5f5d
am: c0d5f3c3bd

Change-Id: I149c4b5d6c44237f92852e3bf6a381c97634de09

7 years agoQuick fix for warning in vktSampleVerifier.cpp am: 5bffef48d5
Collin Baker [Tue, 9 Aug 2016 21:52:27 +0000 (21:52 +0000)]
Quick fix for warning in vktSampleVerifier.cpp am: 5bffef48d5
am: cddd73d649

Change-Id: I18938c7659eb12ca0af12f03afb929df4a04823e

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

Change-Id: I918ba8e7d1b425e3ef0eb84145be70f080e62ac0

7 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 9 Aug 2016 21:49:43 +0000 (21:49 +0000)]
Merge upstream-vulkan-cts-1.0-dev into master
am: fb20fc5f5d

Change-Id: Ibdfcd16a02e4779a3c610b7d50c68b2762802a15

7 years agoQuick fix for warning in vktSampleVerifier.cpp
Collin Baker [Tue, 9 Aug 2016 21:49:38 +0000 (21:49 +0000)]
Quick fix for warning in vktSampleVerifier.cpp
am: 5bffef48d5

Change-Id: Ic359830988218d2402983a6058f446975889d9cd

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 agoAdd support for rendering vertex combined sampled images. am: 5fe6837872
Mika Isojrvi [Mon, 8 Aug 2016 23:40:21 +0000 (23:40 +0000)]
Add support for rendering vertex combined sampled images. am: 5fe6837872
am: 6003e58af4

Change-Id: I5ee08c425b0ac3007a1d0f5e5b8aed6da03a436d

7 years agoAdd support for rendering vertex combined sampled images.
Mika Isojrvi [Mon, 8 Aug 2016 23:37:52 +0000 (23:37 +0000)]
Add support for rendering vertex combined sampled images.
am: 5fe6837872

Change-Id: If1697cc8f1c78fa45859ba6a1cc8e92512c96a05

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 am: 83470b2dcb
Pyry Haulos [Mon, 8 Aug 2016 20:41:51 +0000 (20:41 +0000)]
Fix geometry shader support check am: 83470b2dcb
am: 276e8bac4c

Change-Id: I2f96d85937e2ba6a1668e6188bf0c2dd2e1069db

7 years agoFix geometry shader support check
Pyry Haulos [Mon, 8 Aug 2016 20:39:23 +0000 (20:39 +0000)]
Fix geometry shader support check
am: 83470b2dcb

Change-Id: Ib859cbfe922aa7a4fcd82f0a62a49836d56f2605

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. am: fc145f5198
Mika Isojärvi [Thu, 4 Aug 2016 14:58:26 +0000 (14:58 +0000)]
Update mustpass list. am: fc145f5198
am: de3b7ebf4d

Change-Id: I7212090ffd35e76266ee2220c13f5137e20b85df

7 years agoUpdate mustpass list.
Mika Isojrvi [Thu, 4 Aug 2016 14:55:26 +0000 (14:55 +0000)]
Update mustpass list.
am: fc145f5198

Change-Id: I886dd4ff7029d395490af8d6fd4895816ffbf267

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. am: cb6eb243c9
Mika Isojärvi [Wed, 3 Aug 2016 21:04:49 +0000 (21:04 +0000)]
Add support for rendering vertex storage images. am: cb6eb243c9
am: 62768ad130

Change-Id: I73607321371a831ed8013e8d4180525e86e2f32f

7 years agoAdd support for rendering vertex storage texel buffers. am: b214c63910
Mika Isojärvi [Wed, 3 Aug 2016 21:04:49 +0000 (21:04 +0000)]
Add support for rendering vertex storage texel buffers. am: b214c63910
am: 11d666264a

Change-Id: I45526bd8cfa1c67d9b09e109d9f0be83f0eb5fe7

7 years agoAdd vertex storage buffers to pipeline barrier tests. am: 7da6a1a373
Mika Isojärvi [Wed, 3 Aug 2016 21:04:48 +0000 (21:04 +0000)]
Add vertex storage buffers to pipeline barrier tests. am: 7da6a1a373
am: f59346fb51

Change-Id: Ie2d963bb7393f806351bbd2880ac37ae8626a36e

7 years agoAdd support for rendering vertex storage images.
Mika Isojrvi [Wed, 3 Aug 2016 21:02:27 +0000 (21:02 +0000)]
Add support for rendering vertex storage images.
am: cb6eb243c9

Change-Id: I1e4540beab25d88e2f841491fb40b2b60865a680

7 years agoAdd support for rendering vertex storage texel buffers.
Mika Isojrvi [Wed, 3 Aug 2016 21:02:26 +0000 (21:02 +0000)]
Add support for rendering vertex storage texel buffers.
am: b214c63910

Change-Id: I4b0ce68dd009ceabd56be77acb96c4afca7113ef

7 years agoAdd vertex storage buffers to pipeline barrier tests.
Mika Isojrvi [Wed, 3 Aug 2016 21:02:24 +0000 (21:02 +0000)]
Add vertex storage buffers to pipeline barrier tests.
am: 7da6a1a373

Change-Id: Idd84b7b9c0014d9e6aacbd0d41d7e6a88b77a06d

7 years agoAdd support for rendering vertex uniform texel buffers am: 2e5fc5db2b
Mika Isojärvi [Wed, 3 Aug 2016 20:34:16 +0000 (20:34 +0000)]
Add support for rendering vertex uniform texel buffers am: 2e5fc5db2b
am: d0f428f62a

Change-Id: If4ccb83ac32d261c9aac2994ea34727b773992af

7 years agoAdd support for rendering vertex uniform texel buffers
Mika Isojrvi [Wed, 3 Aug 2016 20:31:50 +0000 (20:31 +0000)]
Add support for rendering vertex uniform texel buffers
am: 2e5fc5db2b

Change-Id: Icaab902793e6eb9393b692f652b321fc55391ad2

7 years agoAdd vertex uniform buffers to pipeline barrier tests. am: da19a054c2
Mika Isojärvi [Wed, 3 Aug 2016 17:23:23 +0000 (17:23 +0000)]
Add vertex uniform buffers to pipeline barrier tests. am: da19a054c2
am: 490d86c2cb

Change-Id: If416553b66f68365287f2b37b45a113fd045e81b

7 years agoAdd vertex uniform buffers to pipeline barrier tests.
Mika Isojrvi [Wed, 3 Aug 2016 17:20:28 +0000 (17:20 +0000)]
Add vertex uniform buffers to pipeline barrier tests.
am: da19a054c2

Change-Id: I8299e07e7391819846497d40d4b17c9d794ee6d7

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." am...
Mika Isojärvi [Wed, 3 Aug 2016 00:48:34 +0000 (00:48 +0000)]
Merge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer." am: 92f15137d6
am: 70554ff097

Change-Id: I76bf7456f124c32730e8ca434cd96d47f84d9d6c

7 years agoSplit RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer. am: 6c7a842e61
Mika Isojärvi [Wed, 3 Aug 2016 00:48:32 +0000 (00:48 +0000)]
Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer. am: 6c7a842e61
am: 230cacdd3a

Change-Id: I133faa59dbc3797136bdc9d3856ea91fbe40223c

7 years agoMerge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer."
Mika Isojärvi [Wed, 3 Aug 2016 00:46:20 +0000 (00:46 +0000)]
Merge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer."
am: 92f15137d6

Change-Id: I6c7e6571e267b6d85f372af6b347d3b0b0c6d284

7 years agoSplit RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer.
Mika Isojrvi [Wed, 3 Aug 2016 00:46:12 +0000 (00:46 +0000)]
Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer.
am: 6c7a842e61

Change-Id: I35f390ac43838b2d6db62daffa651863a309f142

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" am: 083240d0d8
Collin Baker [Tue, 2 Aug 2016 23:22:33 +0000 (23:22 +0000)]
Merge "Fix warnings in texture_filtering tests" am: 083240d0d8
am: 49f5c1f518

Change-Id: Ibc744ee5e1ef7192b8d689565376ec4a795caa16

7 years agoMerge "Fix warnings in texture_filtering tests"
Collin Baker [Tue, 2 Aug 2016 23:20:06 +0000 (23:20 +0000)]
Merge "Fix warnings in texture_filtering tests"
am: 083240d0d8

Change-Id: Iea7544af04d6defc6d670cf5d40c804e13e34b74

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" am: f61183a55c
Mika Isojärvi [Tue, 2 Aug 2016 23:11:51 +0000 (23:11 +0000)]
Merge "Fix image layout in pipeline barrier tests" am: f61183a55c
am: a42dcee85a

Change-Id: I7d50032a9f08023eeec243a314ea0328dde0aa8a

7 years agoMerge "Fix image layout in pipeline barrier tests"
Mika Isojärvi [Tue, 2 Aug 2016 23:09:21 +0000 (23:09 +0000)]
Merge "Fix image layout in pipeline barrier tests"
am: f61183a55c

Change-Id: I00f9fdd4bfb60e3fa3c0afd6e7346ade80da45cf

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. am: bded0f944e
Chih-Hung Hsieh [Tue, 2 Aug 2016 17:59:31 +0000 (17:59 +0000)]
Suppress the google-explicit-constructor warning locally. am: bded0f944e
am: a33c79fccc

Change-Id: If7661502a998c9abb95cde697ddcd0d7cb1a461f

7 years agoSuppress the google-explicit-constructor warning locally.
Chih-Hung Hsieh [Tue, 2 Aug 2016 17:57:04 +0000 (17:57 +0000)]
Suppress the google-explicit-constructor warning locally.
am: bded0f944e

Change-Id: I8b9bb93cb55f2d8d57af19f2123f986e4cba0c62

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 agoMerge \\\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\\" into marshmal...
Daniel Xie [Mon, 1 Aug 2016 19:56:15 +0000 (19:56 +0000)]
Merge \\\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab am: 19de695b8d am: f0e6d6563c  -s ours
am: 17c2446a15

Change-Id: I74429448014134828b925aea1f3c43e527aa5099

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pöyry [Mon, 1 Aug 2016 19:56:13 +0000 (19:56 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67 am: da626715a4 am: 7d47fbfc18  -s ours
am: 20df90f956

Change-Id: I4629c90bb414665ef3f09ed95b63782a9c5b9b00

7 years agoMerge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallo...
Jarkko Pöyry [Mon, 1 Aug 2016 19:50:44 +0000 (19:50 +0000)]
Merge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab am: 19de695b8d
am: f0e6d6563c  -s ours

Change-Id: I5bc855696a7dc32c808761aa1aacd7bbaf9534da

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pyry [Mon, 1 Aug 2016 19:50:42 +0000 (19:50 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67 am: da626715a4
am: 7d47fbfc18  -s ours

Change-Id: Id6c5816b213a5b22a96e991a67bd4f2949624185

7 years agoMerge \\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\" into marshmallow...
Daniel Xie [Mon, 1 Aug 2016 19:48:06 +0000 (19:48 +0000)]
Merge \\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1 am: 3acfedf2ab
am: 19de695b8d

Change-Id: I88fe42c55f28a7e2bb3daa0551e191469a4032a0

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pöyry [Mon, 1 Aug 2016 19:48:06 +0000 (19:48 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f am: 0556e60e67
am: da626715a4

Change-Id: I1ea819ef29479058c52d9238af1b9b234e4bbb94

7 years agoMerge \\\"DO NOT MERGE CP vertex array test and warning fixes\\\" into marshmallow...
Jarkko Pöyry [Mon, 1 Aug 2016 19:45:36 +0000 (19:45 +0000)]
Merge \\\"DO NOT MERGE CP vertex array test and warning fixes\\\" into marshmallow-cts-dev am: b9c3777b77  -s ours am: 7bc41121c1
am: 3acfedf2ab

Change-Id: Iad13015f9b3e5bca530712d578c59ca1312c22e7

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours am: f840c...
Jarkko Pyry [Mon, 1 Aug 2016 19:45:35 +0000 (19:45 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours am: f840c5347f
am: 0556e60e67

Change-Id: Ic7e87a4e2f257670b0d12520a05133f8abd00416

7 years agoMerge \\"DO NOT MERGE CP vertex array test and warning fixes\\" into marshmallow...
Daniel Xie [Mon, 1 Aug 2016 19:43:07 +0000 (19:43 +0000)]
Merge \\"DO NOT MERGE CP vertex array test and warning fixes\\" into marshmallow-cts-dev am: b9c3777b77  -s ours
am: 7bc41121c1

Change-Id: I4174ccb59db2b28655fd46307b9f620833f87316

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours
Jarkko Pöyry [Mon, 1 Aug 2016 19:43:06 +0000 (19:43 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours
am: f840c5347f

Change-Id: Iedc552312320cdd37b65d986a58f2c7e20075d8a

7 years agoMerge \"DO NOT MERGE CP vertex array test and warning fixes\" into marshmallow-cts-dev
Jarkko Pöyry [Mon, 1 Aug 2016 19:40:38 +0000 (19:40 +0000)]
Merge \"DO NOT MERGE CP vertex array test and warning fixes\" into marshmallow-cts-dev
am: b9c3777b77  -s ours

Change-Id: I61fdf061a9d18682387f51d22589794ca2bd2004

7 years agoDO NOT MERGE CP vertex array test and warning fixes
Jarkko Pyry [Mon, 1 Aug 2016 19:40:37 +0000 (19:40 +0000)]
DO NOT MERGE CP vertex array test and warning fixes
am: c63640e53a  -s ours

Change-Id: I006f5d42f1e6e09d50a816b499748431c0970e14

7 years agoMerge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev
Daniel Xie [Mon, 1 Aug 2016 19:36:29 +0000 (19:36 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev

7 years agoFix misc-macro-parentheses warnings in deqp. am: dc795cd4f3
Chih-Hung Hsieh [Mon, 1 Aug 2016 19:33:06 +0000 (19:33 +0000)]
Fix misc-macro-parentheses warnings in deqp. am: dc795cd4f3
am: ca03927b03

Change-Id: Icc94faaa49764ef1ba8849c9bbc64b57fc7d2fb0

7 years agoFix misc-macro-parentheses warnings in deqp.
Chih-Hung Hsieh [Mon, 1 Aug 2016 19:30:08 +0000 (19:30 +0000)]
Fix misc-macro-parentheses warnings in deqp.
am: dc795cd4f3

Change-Id: I42e396cc490048d3b0a76f26bb4dc5c884857154

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