platform/upstream/VK-GL-CTS.git
6 years agoCP: Add triangle edge guardband for Tex2D lookup diff
Kalle Raita [Mon, 31 Jul 2017 23:14:42 +0000 (23:14 +0000)]
CP: Add triangle edge guardband for Tex2D lookup diff
am: e345d7b6ba

Change-Id: Id0012f02a2559040289ec8da7834c70f4f49b457

6 years agoCP: Add triangle edge guardband for Tex2D lookup diff
Kalle Raita [Mon, 31 Jul 2017 23:14:15 +0000 (23:14 +0000)]
CP: Add triangle edge guardband for Tex2D lookup diff
am: e345d7b6ba

Change-Id: Id65ad23c5b3b0a7a0afecac8161a3f832d062363

6 years agoCP: Add triangle edge guardband for Tex2D lookup diff
Kalle Raita [Tue, 18 Jul 2017 21:52:15 +0000 (14:52 -0700)]
CP: Add triangle edge guardband for Tex2D lookup diff

Cherry-pick AOSP Change: dcb5991811ed287fc4a72126663136a94eb7dc39

Previously 3D and cube textures allowed pixels along the seam of
triangles to use data from either triangle. This change copies that
allowance to the 2D texture computeTextureLookupDiff. The projection
values chosen for the mipmap.2d.projected group make the data
discontinous over the edge, making it sensitive to tie-breaker
resolution. This change resolves the issue.

Affects: framework

Test: Executed mipmap.2d.projected group with failing result images
Bug: 63335787
Change-Id: Ibaed590fb5e1bc9eb837c9027ddadcea2081f629

6 years agoAllow VK_KHR_relaxed_block_layout extension
Daniel Koch [Wed, 26 Jul 2017 17:38:21 +0000 (13:38 -0400)]
Allow VK_KHR_relaxed_block_layout extension

VK-GL-CTS Issue: 596

Affects:
dEQP-VK.api.info.device.extensions

Change-Id: I25395cbc76e2a4a176c74e9d46f16f3e105c4669
Component: Vulkan

6 years agoAdd VK_KHR_relaxed_block_layout
Arkadiusz Sarwa [Wed, 15 Mar 2017 15:02:07 +0000 (16:02 +0100)]
Add VK_KHR_relaxed_block_layout

New tests:

dEQP-VK.ssbo.layout.multi_basic_types.*.relaxed_block*
dEQP-VK.ssbo.layout.random.relaxed.*

VK-GL-CTS issue: 117
Components: Vulkan

Change-Id: Ieda2aa291dcbff250b81e0da06c39781800f4af7
(cherry picked from commit 2a11db7c2e23afd4bef2f9a0eab84356d912ff3c)

6 years agoAdd GlslBuildOptions::FLAG_ALLOW_RELAXED_OFFSETS
Arkadiusz Sarwa [Tue, 9 May 2017 14:45:32 +0000 (16:45 +0200)]
Add GlslBuildOptions::FLAG_ALLOW_RELAXED_OFFSETS

Enabling the flag allows GLSL to use layout(offset = N) qualifiers that
follow VK_KHR_relaxed_block_layout rules instead of GLSL std140/std430
rules.

Components: Vulkan

Change-Id: I4f168b04ad0916b740891b603ddde2de0f4bcf50
(cherry picked from commit 4b82e12d3a7bf0947887e0b9d586d0ab63bd4888)

6 years agoSelect correct memory heap index for memory import
Tony Zlatinski [Wed, 19 Jul 2017 21:21:53 +0000 (16:21 -0500)]
Select correct memory heap index for memory import

When importing memory, the application (CTS) should follow
the spec rules about memory imports. I.e. The application must use the
same memory heap index for the import that has been used for the
exported memory. In addition, the application can't
import a buffer or image to a heap that does not support CPU mapping and
expect the memory to be CPU mappable/accessible.

This change modifies the export memory routines, now, returning the
index of the heap memory used for the export. Then the import routines are
modified to use those indexes for the memory import operations.

Components: Vulkan

Affects:
    dEQP-VK.api.external.memory.*
    dEQP-VK.synchronization.cross_instance.*

VK-GL-CTS issue: 585

Change-Id: I48ab85b7fd2b67655163f055fb03e8f2a3a42fd6

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Alexander Galazin [Fri, 21 Jul 2017 17:51:48 +0000 (19:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: Ifac39caba5598cbb75d5fb25d271ad0b709140a6

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Alexander Galazin [Fri, 21 Jul 2017 17:44:17 +0000 (19:44 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1

Change-Id: If1266ef43a81d4d015c3f656315ea629acbbd55e

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Alexander Galazin [Fri, 21 Jul 2017 16:55:45 +0000 (18:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I65f618365df474653f68d311647f601f91a38e4b

6 years agoFix layout transition in blitting tests
Igor Ostrowski [Tue, 4 Jul 2017 16:01:23 +0000 (18:01 +0200)]
Fix layout transition in blitting tests

Affects:
dEQP-VK.api.copy_and_blit.*.blit_image.*

Components: Vulkan
VK-GL-CTS issue: 571

Change-Id: I780374a8fbff336a7789bd6a745e635ac1202b62

6 years agoAdd metadata bindings in sparse tests
Igor Ostrowski [Wed, 12 Jul 2017 13:15:14 +0000 (15:15 +0200)]
Add metadata bindings in sparse tests

All metadata must be bound prior to device use of the sparse image

Affects:
dEQP-VK.sparse_resources.image_sparse_residency.*
dEQP-VK.sparse_resources.mipmap_sparse_residency.*
dEQP-VK.sparse_resources.shader_intrinsics.*

dEQP-VK.glsl.texture_functions.*sparse*
dEQP-VK.glsl.texture_gather.*sparse*

Components: Vulkan
VK-GL-CTS issue: 572

Change-Id: I4bbf2b74ed7fc0cea000084769cbed0dbe4a802e

6 years agoMerge "Add triangle edge guardband for Tex2D lookup diff" am: da231f19ab am: e609b77e0b
Kalle Raita [Thu, 20 Jul 2017 19:53:12 +0000 (19:53 +0000)]
Merge "Add triangle edge guardband for Tex2D lookup diff" am: da231f19ab am: e609b77e0b
am: 4cc6a34527

Change-Id: Ice5ca10df6f5063067f69580559eacef5f2c530b

6 years agoMerge "Add triangle edge guardband for Tex2D lookup diff" am: da231f19ab
Kalle Raita [Thu, 20 Jul 2017 19:48:11 +0000 (19:48 +0000)]
Merge "Add triangle edge guardband for Tex2D lookup diff" am: da231f19ab
am: e609b77e0b

Change-Id: Ie4572cea5032ace438efdd10788238296c842f1d

6 years agoMerge "Add triangle edge guardband for Tex2D lookup diff"
Kalle Raita [Thu, 20 Jul 2017 19:42:12 +0000 (19:42 +0000)]
Merge "Add triangle edge guardband for Tex2D lookup diff"
am: da231f19ab

Change-Id: I5162ef3b9e6d763e55b7e6a9049ae80523cafdb3

6 years agoMerge "Add triangle edge guardband for Tex2D lookup diff"
Kalle Raita [Thu, 20 Jul 2017 19:30:15 +0000 (19:30 +0000)]
Merge "Add triangle edge guardband for Tex2D lookup diff"

6 years agoMerge "Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am:...
Android Build Merger (Role) [Wed, 19 Jul 2017 18:32:14 +0000 (18:32 +0000)]
Merge "Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341 am: e3939224e7 am: 495df8aec0 am: 271d2c56f9 am: a0032b68e0" into oc-dr1-dev-plus-aosp

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:32:06 +0000 (18:32 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341 am: e3939224e7 am: 495df8aec0 am: 271d2c56f9
am: a0032b68e0

Change-Id: Iaaf44383f7e289bb5e839d43af6caf28b124577b

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:32:05 +0000 (18:32 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341 am: e3939224e7 am: 495df8aec0 am: 271d2c56f9
am: 881c104c75

Change-Id: If305f62a83c98694abd69948f0c62b2f93123415

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:29:07 +0000 (18:29 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341 am: e3939224e7 am: 495df8aec0
am: 271d2c56f9

Change-Id: If5dc3290f59f738ac33158af236c27f81ba53ee8

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:29:03 +0000 (18:29 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341 am: e3939224e7 am: 495df8aec0
am: 271d2c56f9

Change-Id: I8ef1c1e35bffc9bdec7c2f4bc8d7a304a15feb9c

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:26:35 +0000 (18:26 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341 am: e3939224e7
am: 495df8aec0

Change-Id: Ie22789b44c3ae1b00aedeaa9df52e24488993ed2

6 years agoMerge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am:...
Android Build Merger (Role) [Wed, 19 Jul 2017 18:24:15 +0000 (18:24 +0000)]
Merge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192 am: d422ad8111 am: a8804ca914 am: 802854925b am: 6a5fc7c79f" into oc-dr1-dev-plus-aosp

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac...
Mika Isojrvi [Wed, 19 Jul 2017 18:24:08 +0000 (18:24 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192 am: d422ad8111 am: a8804ca914 am: 802854925b
am: 6a5fc7c79f

Change-Id: Ie2d3027224a79b21afffa979c23b5e757a926977

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac...
Mika Isojrvi [Wed, 19 Jul 2017 18:24:03 +0000 (18:24 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192 am: d422ad8111 am: a8804ca914 am: 802854925b
am: 420bd1a216

Change-Id: I5b5b8c3087e639b678e25f046ecf560775bcf114

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:24:02 +0000 (18:24 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd am: 088fbbc341
am: e3939224e7

Change-Id: Ib71adcb75609cafc2133ec1804411213466f0446

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac...
Mika Isojrvi [Wed, 19 Jul 2017 18:21:37 +0000 (18:21 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192 am: d422ad8111 am: a8804ca914
am: 802854925b

Change-Id: Ieed057aced478e34026ee629beedaab974bec975

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac...
Mika Isojrvi [Wed, 19 Jul 2017 18:21:31 +0000 (18:21 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192 am: d422ad8111 am: a8804ca914
am: 802854925b

Change-Id: Ic7a3d3ae871b69a8bb5d8a9642697e27ea957d7d

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:21:30 +0000 (18:21 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035 am: 68d441aedd
am: 088fbbc341

Change-Id: I3468636282d98362d3f35be92a8cd86aefd14bb4

6 years agoMerge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am:...
Android Build Merger (Role) [Wed, 19 Jul 2017 18:19:42 +0000 (18:19 +0000)]
Merge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817 am: c06d76b076 am: 5e5d57c9d9 am: fc2383f879" into oc-dr1-dev-plus-aosp

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813...
Mika Isojrvi [Wed, 19 Jul 2017 18:19:34 +0000 (18:19 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817 am: c06d76b076 am: 5e5d57c9d9
am: fc2383f879

Change-Id: I0d8e30c663198dcc8bf0b2ebccb981233952a257

6 years agoMerge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am:...
Mika Isojrvi [Wed, 19 Jul 2017 18:19:26 +0000 (18:19 +0000)]
Merge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: 674ba44413 am: b209b899a4" into oc-dev-plus-aosp
am: 1690f31ac9

Change-Id: Id122ed094759ecf6b28f8344e36da55ca1383a0b

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813...
Mika Isojrvi [Wed, 19 Jul 2017 18:19:12 +0000 (18:19 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817 am: c06d76b076 am: 5e5d57c9d9
am: 8353126534

Change-Id: I7478906e94f8a905658d2d69e1c6047bcc282911

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac...
Mika Isojrvi [Wed, 19 Jul 2017 18:19:03 +0000 (18:19 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192 am: d422ad8111
am: a8804ca914

Change-Id: I6518e6abcc83b89b14d187e2d16fec2754337298

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:18:59 +0000 (18:18 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f am: 1b81ecf035
am: 68d441aedd

Change-Id: I0987771e5baa7f39cdecfcfa12dec7bf03c627a8

6 years agoMerge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am:...
Android Build Merger (Role) [Wed, 19 Jul 2017 18:16:36 +0000 (18:16 +0000)]
Merge "Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: 674ba44413 am: b209b899a4" into oc-dev-plus-aosp

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: 674ba44413
Mika Isojrvi [Wed, 19 Jul 2017 18:16:14 +0000 (18:16 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: 674ba44413
am: b209b899a4

Change-Id: I08dbc49e34529930082cee3e37ccfba75e4432fa

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813...
Mika Isojrvi [Wed, 19 Jul 2017 18:16:05 +0000 (18:16 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817 am: c06d76b076
am: 5e5d57c9d9

Change-Id: I2abac035e7e8a3597223e4771a5400d6413e55bd

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813...
Mika Isojrvi [Wed, 19 Jul 2017 18:16:01 +0000 (18:16 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817 am: c06d76b076
am: 5e5d57c9d9

Change-Id: If758e2c96e127074b17b85053062098ce659f903

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e...
Mika Isojrvi [Wed, 19 Jul 2017 18:16:00 +0000 (18:16 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e am: 550064261f
am: 1b81ecf035

Change-Id: Ib2b42f6a400417daa850bd107b56373475058840

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac...
Mika Isojrvi [Wed, 19 Jul 2017 18:16:00 +0000 (18:16 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac am: 754e8f0192
am: d422ad8111

Change-Id: I6046d017e6528f4e80282ba82c58344c9d51085b

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3
Mika Isojrvi [Wed, 19 Jul 2017 18:13:49 +0000 (18:13 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3
am: 674ba44413

Change-Id: I182f8ee0b409eaa2000f3d18aa9c7d10b076b578

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813...
Mika Isojrvi [Wed, 19 Jul 2017 18:13:34 +0000 (18:13 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813 am: 66bd71c817
am: c06d76b076

Change-Id: I8c4a4123d2258dd3bd577ce309204141a3a20d7e

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e
Mika Isojrvi [Wed, 19 Jul 2017 18:13:31 +0000 (18:13 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209 am: 73a16f417e
am: 550064261f

Change-Id: I9cd9791970b8a466b1a3a31adae45d9375ab5321

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac
Mika Isojrvi [Wed, 19 Jul 2017 18:13:30 +0000 (18:13 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20 am: cae1fe52ac
am: 754e8f0192

Change-Id: I8dfffa1cad4108bf3fd6f9cc8136cf5215d61ad6

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20
Mika Isojrvi [Wed, 19 Jul 2017 18:10:30 +0000 (18:10 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: 6e80057a20
am: cae1fe52ac

Change-Id: Iad44b21021d6f24b0d6c126cf81cf24632a0aaab

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813
Mika Isojrvi [Wed, 19 Jul 2017 18:10:29 +0000 (18:10 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3 am: d20475d813
am: 66bd71c817

Change-Id: If7fb06d8679a3de6238cad0b726b5fe96bddd036

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209
Mika Isojrvi [Wed, 19 Jul 2017 18:10:29 +0000 (18:10 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad am: 580f143209
am: 73a16f417e

Change-Id: I28d74629adfb6ebb7898c1fc7c9bd831ca4562ae

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
Mika Isojrvi [Wed, 19 Jul 2017 18:07:01 +0000 (18:07 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
am: 6e80057a20

Change-Id: I85568945b0bb02c5b82dbba6ba449cd851358694

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3
Mika Isojrvi [Wed, 19 Jul 2017 18:07:00 +0000 (18:07 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501 am: d4c01761d3
am: d20475d813

Change-Id: Ib23d8a8b67847c4444f7c1e2e05af16c023f9cb4

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad
Mika Isojrvi [Wed, 19 Jul 2017 18:07:00 +0000 (18:07 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: b426d8bfad
am: 580f143209

Change-Id: Ib4610c6afd22db3a464e3079ddca088aefaed271

6 years agoFix atomic ssbo xor test am: f0fa05e898
Mika Isojrvi [Wed, 19 Jul 2017 18:04:31 +0000 (18:04 +0000)]
Fix atomic ssbo xor test am: f0fa05e898
am: 14cd264501

Change-Id: Ide39036c1f956b64464d21eced9a16c0a2022f2b

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
Mika Isojrvi [Wed, 19 Jul 2017 18:04:31 +0000 (18:04 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
am: d4c01761d3

Change-Id: I3fe580bed5dcdb5f41742c0e6e0ee1db05eae572

6 years agoFix atomic ssbo xor test am: f0fa05e898
Mika Isojrvi [Wed, 19 Jul 2017 18:04:29 +0000 (18:04 +0000)]
Fix atomic ssbo xor test am: f0fa05e898
am: b426d8bfad

Change-Id: I98bcc7054eeca8fb9621694f0b628727bdcdec2c

6 years agoFix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
Mika Isojrvi [Wed, 19 Jul 2017 18:03:03 +0000 (18:03 +0000)]
Fix atomic ssbo xor test am: f0fa05e898 am: 14cd264501
am: d4c01761d3

Change-Id: I32a66d488ccd7f1544f23b299eaf4d0642cebc4a

6 years agoFix atomic ssbo xor test
Mika Isojrvi [Wed, 19 Jul 2017 18:02:00 +0000 (18:02 +0000)]
Fix atomic ssbo xor test
am: f0fa05e898

Change-Id: I593778e49374ab84b2b5b0b3fca57f36adf18684

6 years agoFix atomic ssbo xor test am: f0fa05e898
Mika Isojrvi [Wed, 19 Jul 2017 18:00:27 +0000 (18:00 +0000)]
Fix atomic ssbo xor test am: f0fa05e898
am: 14cd264501

Change-Id: Ib554d7464534203cbcde53f0ebd6931082900a82

6 years agoFix atomic ssbo xor test
Mika Isojrvi [Wed, 19 Jul 2017 17:57:28 +0000 (17:57 +0000)]
Fix atomic ssbo xor test
am: f0fa05e898

Change-Id: Ibc16a0ff1a6b1dbe764d4beafa5d9b63d9c090e9

6 years agoAdd triangle edge guardband for Tex2D lookup diff
Kalle Raita [Tue, 18 Jul 2017 21:52:15 +0000 (14:52 -0700)]
Add triangle edge guardband for Tex2D lookup diff

Previously 3D and cube textures allowed pixels along the seam of
triangles to use data from either triangle. This change copies that
allowance to the 2D texture computeTextureLookupDiff. The projection
values chosen for the mipmap.2d.projected group make the data
discontinous over the edge, making it sensitive to tie-breaker
resolution. This change resolves the issue.

Affects: framework

Test: Executed mipmap.2d.projected group with failing result images
Bug: 63335787
Change-Id: Ibaed590fb5e1bc9eb837c9027ddadcea2081f629

6 years agoEGL: Add wide-color tests am: 6a26fb1fd0 am: 14dd0253a4
Courtney Goeltzenleuchter [Tue, 18 Jul 2017 20:37:26 +0000 (20:37 +0000)]
EGL: Add wide-color tests am: 6a26fb1fd0 am: 14dd0253a4
am: e25eb186e2

Change-Id: Ib85549f04544a3e3760a1227eb3e8cc3c3b28a84

6 years agoEGL: Add wide-color tests am: 6a26fb1fd0
Courtney Goeltzenleuchter [Tue, 18 Jul 2017 20:34:22 +0000 (20:34 +0000)]
EGL: Add wide-color tests am: 6a26fb1fd0
am: 14dd0253a4

Change-Id: Ic9cd93f08fbf94af466c46e9c51fdda1385310c1

6 years agoEGL: Add wide-color tests
Courtney Goeltzenleuchter [Tue, 18 Jul 2017 20:25:01 +0000 (20:25 +0000)]
EGL: Add wide-color tests
am: 6a26fb1fd0

Change-Id: Ib496be50b20bce758c441f08a34b0e10998b2e98

6 years agoFix atomic ssbo xor test
Mika Isojärvi [Thu, 14 Apr 2016 17:28:16 +0000 (10:28 -0700)]
Fix atomic ssbo xor test

Allow any values in high order bits in xor tests when using uint types.

Bug: 28144118
Change-Id: I0670aa12642882a329cb923487198fdf045b912b

6 years agoEGL: Add wide-color tests
Courtney Goeltzenleuchter [Mon, 19 Jun 2017 16:35:01 +0000 (10:35 -0600)]
EGL: Add wide-color tests

Verify necessary extensions and functionality
is present to support wide-color. Specifically, pixel formats
FP16 and 10:10:10:2 and Display-P3 color space.

Test: adb -d shell \
      am start -n com.drawelements.deqp/android.app.NativeActivity \
      -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
      --deqp-log-filename=/sdcard/dEQP-Log.qpa"'

TODO:
- Do we need test for EGL_EXT_gl_colorspace_scrgb_linear?
  That should be no-op for driver.

Change-Id: I537a04b1680e33e46215c4bb583f6987d20f0b4a

6 years agoMerge "Merge Vulkan CTS 1.0.2.4 into aosp/master" am: 0f5658c72b am: 0419094593
Mika Isojarvi [Mon, 17 Jul 2017 20:25:15 +0000 (20:25 +0000)]
Merge "Merge Vulkan CTS 1.0.2.4 into aosp/master" am: 0f5658c72b am: 0419094593
am: 2c693491c2

Change-Id: I461ee9e7248692cb9b8c64232d8d88542ae4ffa6

6 years agoMerge "Merge Vulkan CTS 1.0.2.4 into aosp/master" am: 0f5658c72b
Mika Isojarvi [Mon, 17 Jul 2017 20:22:15 +0000 (20:22 +0000)]
Merge "Merge Vulkan CTS 1.0.2.4 into aosp/master" am: 0f5658c72b
am: 0419094593

Change-Id: I639549484f0f0300cd6a961bf5fe4fbb8a09f922

6 years agoMerge "Merge Vulkan CTS 1.0.2.4 into aosp/master"
Mika Isojarvi [Mon, 17 Jul 2017 20:19:45 +0000 (20:19 +0000)]
Merge "Merge Vulkan CTS 1.0.2.4 into aosp/master"
am: 0f5658c72b

Change-Id: Id028fbdc5b596d55e044fb80ad34ecc95d0563a4

6 years agoMerge "Merge Vulkan CTS 1.0.2.4 into aosp/master"
Mika Isojarvi [Mon, 17 Jul 2017 20:13:57 +0000 (20:13 +0000)]
Merge "Merge Vulkan CTS 1.0.2.4 into aosp/master"

6 years agoFix incorrect scale in pipeline_barrier tests
JarredDavies [Fri, 14 Jul 2017 14:55:46 +0000 (15:55 +0100)]
Fix incorrect scale in pipeline_barrier tests

The ImageBlitFromImage verfication code incorrectly scales the refrence image it creates.
The test should add 0.5 to the x and y coords before scaling them.

Affects:
dEQP-VK.memory.pipeline_barrier.*

Components: Vulkan

VK-GL-CTS issue: 577

Change-Id: I28d0b4deec0f1837c21cdc2dc68a9169ca8ae96b

6 years agocopies_and_blitting: fix ambiguous signed normalized 1.0 value
Slawomir Cygan [Thu, 6 Jul 2017 17:24:18 +0000 (19:24 +0200)]
copies_and_blitting: fix ambiguous signed normalized 1.0 value

Below tests copy floats to signed normalized 8-bit values.
In that process it happens that 1.0 float value is copied to 8_snorm
elements as: {0x00, 0x00, 0x80, 0x3f}

According to spec, on SNORM values:

"Note that while zero is exactly expressible in this representation,
one value (-128 in the example) is outside the representable range,
and must be clamped before use."

The problem occurs when 0x80 == 128 value is copied to buffer:
as it falls outside of <-1,1> range, it may be clamped to 0x81 (both values
represent -1.0 SNORM value).

The change here processes all result and expected data buffers to remove
all ambiguites by converting to float and back to signed normalized format.

Affects:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.a8b8g8r8_snorm_pack32.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.r8g8b8a8_snorm.*

Components: Vulkan

VK-GL-CTS issue: 563

Change-Id: I175665f39811cf6a80862967ad0a9bb8e13527e9

6 years agoRelax threshold in cube map filtering tests
Yanjun Zhang [Fri, 7 Jul 2017 20:45:59 +0000 (13:45 -0700)]
Relax threshold in cube map filtering tests

Use the same colorThreshold calculation as GLES CTS so Vulkan CTS
has the same behavior as GLES CTS.

Components: Vulkan

Affects:
dEQP-VK.pipeline.sampler.view_type.cube.format.r5g6b5_unorm_pack16.*

VK-GL-CTS issue: 561

Change-Id: I9bd632bb242f653b1f2d8bb50ee9867da926e95b

6 years agocross_instance sync: run without VK_KHR_get_memory_requirements2
Slawomir Cygan [Fri, 7 Jul 2017 14:41:30 +0000 (16:41 +0200)]
cross_instance sync: run without VK_KHR_get_memory_requirements2

This extension is used in the test, to check if resource needs dedicated
allocations (to be used created by dependent VK_KHR_dedicated_allocation
extension).

If the extension is not supported assume there is no need for dedicated
allocations.

Affects: dEQP-VK.synchronization.cross_instance.*

VK-GL-CTS issue: 548
Components: Vulkan

Change-Id: Icb4f5a34b98da213d0cb665bcc4e6b048d7b8a3c

6 years agoRefactor synchronization test code to avoid compiler warning
gkbldval [Fri, 14 Jul 2017 16:49:26 +0000 (18:49 +0200)]
Refactor synchronization test code to avoid compiler warning

vkt::synchronization::s_resources is unused in recently
added file, causing -Wunused warning (treated as error).

Affects: dEQP-VK.synchronization.*

Components: Vulkan

VK-GL-CTS issue: 578

Change-Id: Ifd8ce0812673e6b2da7c28bacb4384b3c80f65d1

6 years agoFix gcc 5.4 warnings
Alexander Galazin [Wed, 5 Jul 2017 15:09:38 +0000 (17:09 +0200)]
Fix gcc 5.4 warnings

gcc 5.4 (default in Ubuntu 16.04) reports conversion to int
warnings/errors for bitwise or and assign operator.

GCC bug: 40752

Components: Framework, Vulkan

Change-Id: Ia857c44cf54d5571d857e1fada0e2aaa8f4b950d
(cherry picked from commit 0bd8828618d95d2a83bc7475179a9227bfd22f5f)

6 years agoAdd option to skip fetch external sources
Alexander Galazin [Fri, 14 Jul 2017 07:48:05 +0000 (09:48 +0200)]
Add option to skip fetch external sources

Added option to check_build_sanity.py to skip running
fetch_sources.py. Allows to run multiple concurrent invocations
of check_build_sanity.py using the same source folder.

Components: Framework

Change-Id: I6289920860fb20287c405cefc0213c27f326857b

6 years agoMerge "Report Android extension pack tests as not supported" am: 03c395c60f am: 714fd...
Mika Isojarvi [Fri, 14 Jul 2017 22:26:56 +0000 (22:26 +0000)]
Merge "Report Android extension pack tests as not supported" am: 03c395c60f am: 714fd7ab4d
am: 8f99dd7ea9

Change-Id: I7dc1de5b9f0616468f010ba01a01b909a888bf0f

6 years agoMerge "Report Android extension pack tests as not supported" am: 03c395c60f
Mika Isojarvi [Fri, 14 Jul 2017 22:23:27 +0000 (22:23 +0000)]
Merge "Report Android extension pack tests as not supported" am: 03c395c60f
am: 714fd7ab4d

Change-Id: I2c442f9206d045669d4c369930d74a12de5fc217

6 years agoMerge Vulkan CTS 1.0.2.4 into aosp/master
Mika Isojärvi [Fri, 14 Jul 2017 22:20:31 +0000 (15:20 -0700)]
Merge Vulkan CTS 1.0.2.4 into aosp/master

Bug: 62712168
Change-Id: Ib5dcdc7645193825171cb93c5a3b8a0820cbc5a1

6 years agoMerge "Report Android extension pack tests as not supported"
Mika Isojarvi [Fri, 14 Jul 2017 22:19:32 +0000 (22:19 +0000)]
Merge "Report Android extension pack tests as not supported"
am: 03c395c60f

Change-Id: Ic6936c264bacfc1868aa4cd98fb941459315d141

6 years agoMerge "Report Android extension pack tests as not supported"
Mika Isojarvi [Fri, 14 Jul 2017 22:11:54 +0000 (22:11 +0000)]
Merge "Report Android extension pack tests as not supported"

6 years agoUpdate GL wrapper to newest API. am: 7782ec5bab am: 62ec47fdc6
Mika Isojrvi [Fri, 14 Jul 2017 18:15:41 +0000 (18:15 +0000)]
Update GL wrapper to newest API. am: 7782ec5bab am: 62ec47fdc6
am: 38368fc2b0

Change-Id: I50c6e841fceb61dff1c6b38272362d569841f759

6 years agoFetch gl.xml, egl.xml from Github repos am: ae3759c7c9 am: 18976166cc
Alexander Galazin [Fri, 14 Jul 2017 18:15:38 +0000 (18:15 +0000)]
Fetch gl.xml, egl.xml from Github repos am: ae3759c7c9 am: 18976166cc
am: 980ae79a52

Change-Id: Id4fcaefe0040dbf2f7252268ada7601dc5c223f2

6 years agoUpdate GL wrapper to newest API. am: 7782ec5bab
Mika Isojrvi [Fri, 14 Jul 2017 18:12:13 +0000 (18:12 +0000)]
Update GL wrapper to newest API. am: 7782ec5bab
am: 62ec47fdc6

Change-Id: Ief1b6af3f2f28ed203b048df35d149e9d3141666

6 years agoFetch gl.xml, egl.xml from Github repos am: ae3759c7c9
Alexander Galazin [Fri, 14 Jul 2017 18:12:09 +0000 (18:12 +0000)]
Fetch gl.xml, egl.xml from Github repos am: ae3759c7c9
am: 18976166cc

Change-Id: Ic9ab071b1676acb8007f98d7bd924c6a70d8fc0c

6 years agoUpdate GL wrapper to newest API.
Mika Isojrvi [Fri, 14 Jul 2017 18:08:57 +0000 (18:08 +0000)]
Update GL wrapper to newest API.
am: 7782ec5bab

Change-Id: I2fc3226b845464a631fba0088b37b2b52740ae58

6 years agoFetch gl.xml, egl.xml from Github repos
Alexander Galazin [Fri, 14 Jul 2017 18:08:53 +0000 (18:08 +0000)]
Fetch gl.xml, egl.xml from Github repos
am: ae3759c7c9

Change-Id: I5f2986afdfe687525e5b21284b5358e915d9c3f1

6 years agoUpdate GL wrapper to newest API.
Mika Isojärvi [Thu, 13 Jul 2017 17:55:43 +0000 (10:55 -0700)]
Update GL wrapper to newest API.

Components: Framework
Affects: headers generation
Test: Run some of the functional deqp GLES tests on couple of Pixel
      and Nexus devices
Bug: 63669033

Change-Id: Id5e8924a1cec9bc72156efa51625d566ed2681ca

6 years agoFetch gl.xml, egl.xml from Github repos
Alexander Galazin [Fri, 24 Feb 2017 20:47:42 +0000 (21:47 +0100)]
Fetch gl.xml, egl.xml from Github repos

SVN repository containing gl.xml and egl.xml is no longer updated.
The new locations for these files are OpenGL-Registry and
EGL-Registry repositories on Github.
Adjust fetching scripts to use the new locations.

Components: Framework
Affects: headers generation

Change-Id: Ic091a46c636d446b6a4751bd3b797bcd19f90014

6 years agoReport Android extension pack tests as not supported
Alexander Galazin [Wed, 12 Jul 2017 12:38:01 +0000 (14:38 +0200)]
Report Android extension pack tests as not supported

Android extension pack tests can't run on GLES31-only GPUs.
Report such tests as NotSupported.

Components: AOSP

Change-Id: I88ab61e5d0b263428c41a644c6417e24e2f7f234

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9...
Mika Isojrvi [Wed, 12 Jul 2017 23:43:43 +0000 (23:43 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9b0e57 am: c2180f74a8 am: 76b48a0db2 am: ff2205c90c am: bde0d133a4
am: 9e1522de0c

Change-Id: I3b708ed11ae1fdabad766384dc6d9ee7c1a0c8ce

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0...
Mika Isojrvi [Wed, 12 Jul 2017 23:43:23 +0000 (23:43 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0ebde7 am: 371f033807 am: e64be738f6 am: a242f668a7 am: 7ed7199caf am: a921fc5252
am: 69ad1327da

Change-Id: I243271ab743a85c46563e6072c740987e4902538

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
Mika Isojrvi [Wed, 12 Jul 2017 23:43:05 +0000 (23:43 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687 am: 0ddc9faea1 am: d2d7d49296 am: 301312d147 am: 4dd9680c5d am: bf288e2971 am: 1678011b33 am: 14f0575d74
am: f919df8cf0

Change-Id: I0e1f8315a206b0392faed54d8dfdfb3417771150

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9...
Mika Isojrvi [Wed, 12 Jul 2017 23:38:12 +0000 (23:38 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9b0e57 am: c2180f74a8 am: 76b48a0db2 am: ff2205c90c am: bde0d133a4
am: 1a78efe332

Change-Id: Id4feccd4218f30f6d522d0d37b12b2a959afcdb0

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0...
Mika Isojrvi [Wed, 12 Jul 2017 23:37:57 +0000 (23:37 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0ebde7 am: 371f033807 am: e64be738f6 am: a242f668a7 am: 7ed7199caf am: a921fc5252
am: 4bb72cd19d

Change-Id: Id2e1acf12af0caa23b16c05754e245b8e003647c

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
Mika Isojrvi [Wed, 12 Jul 2017 23:37:39 +0000 (23:37 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687 am: 0ddc9faea1 am: d2d7d49296 am: 301312d147 am: 4dd9680c5d am: bf288e2971 am: 1678011b33 am: 14f0575d74
am: 6367b7c2e2

Change-Id: If0e4cbca939f763b0ceebc62db275970b92839a4

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9...
Mika Isojrvi [Wed, 12 Jul 2017 23:36:11 +0000 (23:36 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9b0e57 am: c2180f74a8 am: 76b48a0db2 am: ff2205c90c
am: bde0d133a4

Change-Id: I5b1b9853a14cd54ab7c03f4d10595ad808abb4c6

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0...
Mika Isojrvi [Wed, 12 Jul 2017 23:35:54 +0000 (23:35 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0ebde7 am: 371f033807 am: e64be738f6 am: a242f668a7 am: 7ed7199caf
am: a921fc5252

Change-Id: Ieca33e52233b3f34f306444ee81350eaf9ee1a13

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
Mika Isojrvi [Wed, 12 Jul 2017 23:35:38 +0000 (23:35 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4c6f8c am: 4c56c58687 am: 0ddc9faea1 am: d2d7d49296 am: 301312d147 am: 4dd9680c5d am: bf288e2971 am: 1678011b33
am: 14f0575d74

Change-Id: Ib36f231aba4f2bf3ab4cd19f5ae9032480769f68

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9...
Mika Isojrvi [Wed, 12 Jul 2017 23:32:08 +0000 (23:32 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: b78f9b0e57 am: c2180f74a8 am: 76b48a0db2 am: ff2205c90c
am: bde0d133a4

Change-Id: I2b1410efddee3e6fe92962aafe16643af7355294

6 years agoMask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0...
Mika Isojrvi [Wed, 12 Jul 2017 23:31:52 +0000 (23:31 +0000)]
Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: 4d1d6446da am: 6c0e0ebde7 am: 371f033807 am: e64be738f6 am: a242f668a7 am: 7ed7199caf
am: a921fc5252

Change-Id: Ia806a9026abab16aba39916b001c79c3b24e7bf5