platform/upstream/VK-GL-CTS.git
7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e71...
Mika Isojrvi [Thu, 9 Feb 2017 23:18:42 +0000 (23:18 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7 am: bdff405d5a
am: 92584aee17

Change-Id: Id393184c9118d63c29bde2ca15229c50235f171e

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e71...
Mika Isojrvi [Thu, 9 Feb 2017 23:14:57 +0000 (23:14 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7 am: 06811e1c44
am: fbe1e80216

Change-Id: I4071389bb9f256f39463c4db4e780dd88e6f7813

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257...
Mika Isojrvi [Thu, 9 Feb 2017 23:12:19 +0000 (23:12 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba am: 31a4d9b3b6
am: 19045bffb6

Change-Id: Ic6c8704365207012e20a8aa6e06535f3043581e1

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7
Mika Isojrvi [Thu, 9 Feb 2017 23:12:06 +0000 (23:12 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7
am: bdff405d5a

Change-Id: Ic937fa24f51ca1ab5325f14e6ac11de51bbe60e5

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7
Mika Isojrvi [Thu, 9 Feb 2017 23:01:57 +0000 (23:01 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: eef2e716e7
am: 06811e1c44

Change-Id: I9ff59204a3f9bacc887c5b5b609ea20439074ec9

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba
Mika Isojrvi [Thu, 9 Feb 2017 22:57:53 +0000 (22:57 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634 am: ebc8257bba
am: 31a4d9b3b6

Change-Id: Ic7752c780d15bb505ae7b1da440ef5ebd57935dd

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
Mika Isojrvi [Thu, 9 Feb 2017 22:52:38 +0000 (22:52 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
am: eef2e716e7

Change-Id: I620a89283d84b4499fd475328b421a88b6a7fd9b

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
Mika Isojrvi [Thu, 9 Feb 2017 22:50:00 +0000 (22:50 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
am: ebc8257bba

Change-Id: I2a126ebe68698ba492a417060892345233d930de

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests
Mika Isojrvi [Thu, 9 Feb 2017 22:48:01 +0000 (22:48 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests
am: 6bc3c7a634

Change-Id: Iecf872eac117cf28385d2b3c7e94a9801fd83b5e

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
Mika Isojrvi [Thu, 9 Feb 2017 22:44:03 +0000 (22:44 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am: 6bc3c7a634
am: eef2e716e7

Change-Id: Icadf536794c067056e66f6a2041fbb937952f35a

7 years agoLimit changes by xor to upper 8 bits in mixed atomic tests
Mika Isojrvi [Thu, 9 Feb 2017 22:41:59 +0000 (22:41 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests
am: 6bc3c7a634

Change-Id: I354ee074ad57d53c2b4b0a84d8bc02a02912f19d

7 years agoMerge "Use deFloatIsNaN, not isnan." am: 4e49222745 am: dd33e61339 am: 558bba7fca
Dan Albert [Thu, 9 Feb 2017 21:41:43 +0000 (21:41 +0000)]
Merge "Use deFloatIsNaN, not isnan." am: 4e49222745 am: dd33e61339 am: 558bba7fca
am: 145b0db605

Change-Id: I7a40ceb97aab4ef4be9c613daacba405dc26769f

7 years agoMerge "Use deFloatIsNaN, not isnan." am: 4e49222745 am: dd33e61339
Dan Albert [Thu, 9 Feb 2017 21:38:31 +0000 (21:38 +0000)]
Merge "Use deFloatIsNaN, not isnan." am: 4e49222745 am: dd33e61339
am: 558bba7fca

Change-Id: Iddbd61d74fa3223c92f12482453af3907af44cf2

7 years agoMerge "Use deFloatIsNaN, not isnan." am: 4e49222745
Dan Albert [Thu, 9 Feb 2017 21:34:54 +0000 (21:34 +0000)]
Merge "Use deFloatIsNaN, not isnan." am: 4e49222745
am: dd33e61339

Change-Id: I64b6a582348735a4c2cf05fc0009f43176049600

7 years agoMerge "Use deFloatIsNaN, not isnan."
Dan Albert [Thu, 9 Feb 2017 21:32:24 +0000 (21:32 +0000)]
Merge "Use deFloatIsNaN, not isnan."
am: 4e49222745

Change-Id: Ic40964ffc3019a3bc4b1e4f80e4a5a73a105905f

7 years agoMerge "Use deFloatIsNaN, not isnan."
Treehugger Robot [Thu, 9 Feb 2017 21:28:03 +0000 (21:28 +0000)]
Merge "Use deFloatIsNaN, not isnan."

7 years agoUse deFloatIsNaN, not isnan.
Dan Albert [Wed, 8 Feb 2017 19:37:30 +0000 (11:37 -0800)]
Use deFloatIsNaN, not isnan.

Discovered because this file includes cmath rather than math.h, so
some header cleanup made isnan go away (it should have been
std::isnan).

Test: mma
Bug: http://b/34724220
Change-Id: Idb6b26a90307f510ad1a118b694a34e32ce7507c

7 years agodEQP-VK.info.*image_format_properties2* VkImageUsageFlags fix
Marcin Kańtoch [Mon, 6 Feb 2017 09:25:56 +0000 (10:25 +0100)]
dEQP-VK.info.*image_format_properties2* VkImageUsageFlags fix

The usage flags loop iterator starts currently with 0, which is not
a valid image usage value. It is reported as an error by Validation
Layers.

The patch contains also a simple fix for iterating over valid sample
count flag bits.

Modified tests:
dEQP-VK.info.image_format_properties2*
dEQP-VK.info.sparse_image_format_properties2*

Components: Vulkan
VK-GL-CTS issue: 133

Change-Id: I0edbdbc389fa3bd9a71ca4d3b7777ede38a7b353

7 years agoAndroid: Test that mandatory extensions are supported
Pyry Haulos [Fri, 3 Feb 2017 21:25:48 +0000 (13:25 -0800)]
Android: Test that mandatory extensions are supported

Change-Id: Id0e44299f1d8441bf1e7ecc91d82d3b06400e7e6

7 years agoAndroid: Test that no Vulkan layers are enumerated
Pyry Haulos [Tue, 17 Jan 2017 23:49:02 +0000 (15:49 -0800)]
Android: Test that no Vulkan layers are enumerated

Change-Id: I43dacf306b468485fc160f175160555b9cf1c86d

7 years agoAndroid: Check KHX, GOOGLE, and ANDROID extensions
Pyry Haulos [Wed, 11 Jan 2017 23:02:19 +0000 (15:02 -0800)]
Android: Check KHX, GOOGLE, and ANDROID extensions

Change-Id: I6ee24e584666e1f2542adf35943a2973c9392ad9

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Thu, 9 Feb 2017 17:54:38 +0000 (09:54 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: I32aa09e131335c13262518708fd5970191aad77b

7 years agoFix memory management, image layout issues in uploadImageSparse()
Dominik Witczak [Thu, 17 Nov 2016 12:10:19 +0000 (13:10 +0100)]
Fix memory management, image layout issues in uploadImageSparse()

Fixes an issue where ShaderRenderCaseInstance::uploadSparseImage()
would first configure sparse image bindings and then deallocate
the memory objects, prior to actually sampling the image.

Fixes an issue where the sparse image, after having been filled with
contents, would first be transitioned to SHADER_READ_ONLY_OPTIMAL
layout, and then used in a DS which was expecting it to be in
GENERLA layout.

Finally, the patch addresses a problem, where the function would not
correctly recognize the VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT,
as reported by the running driver.

The change affects dEQP-VK.glsl.*sparse* tests

VK-GL-CTS issue: 156

Change-Id: Ie5717841fe0ef9c0672b5075380ff96bba9855b9
(cherry picked from commit 70fc0800efe725f4f91f4d03b09aa0e567dbb09c)

7 years agoDo not require unsupported sparse images in image_format_properties test
Slawomir Cygan [Tue, 10 Jan 2017 15:59:29 +0000 (16:59 +0100)]
Do not require unsupported sparse images in image_format_properties test

Affects tests: dEQP-VK.api.info.image_format_properties*

This change removes the requirement for supporting sparse residency images:
- with compressed format
- with non-color format
- with format of pixel size that is not power ot two (for example: RGB).

 Additionally do not require 1D sparse residency images (not in spec),
 and require 2D/3D residency images basing on the device capabilities.

Spec 28.1. Sparse Resource Features:
"A sparse image created using VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
supports all non-compressed color formats with power-of-two element
size that non-sparse usage supports.

(...)

sparseResidencyImage2D: Support for creating 2D single-sampled VkImage
objects with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT.

sparseResidencyImage3D: Support for creating 3D VkImage objects with
 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT.
"

Component: Vulkan
VK-GL-CTS Issue: 131

(cherry picked from commit 5534b44a15b530ece4b310e1dd935fb9b0cefeb6)

Change-Id: Ia2481fbcd12a32a6470af26df213a2f930c2e6db

7 years agoMerge "Add EGL NYC master list into CTS files"
Kalle Raita [Thu, 9 Feb 2017 02:16:44 +0000 (02:16 +0000)]
Merge "Add EGL NYC master list into CTS files"

7 years agoMerge "Fix out of bounds accesses in TexImage*DParamsCase." am: 60902d4e1b am: 8fd3b6...
Mika Isojarvi [Wed, 8 Feb 2017 20:36:22 +0000 (20:36 +0000)]
Merge "Fix out of bounds accesses in TexImage*DParamsCase." am: 60902d4e1b am: 8fd3b63b26 am: 99299ab23b
am: b45f3cac98

Change-Id: Ibed23b506cd0bead75913d4172122ef8dd0f2df8

7 years agoMerge "Fix out of bounds accesses in TexImage*DParamsCase." am: 60902d4e1b am: 8fd3b63b26
Mika Isojarvi [Wed, 8 Feb 2017 20:15:18 +0000 (20:15 +0000)]
Merge "Fix out of bounds accesses in TexImage*DParamsCase." am: 60902d4e1b am: 8fd3b63b26
am: 99299ab23b

Change-Id: I0952c4c078255ac28d01e26a034a8918c11df1a1

7 years agoFix Android builds compiler flags am: e2af5c745d am: 7755688536 am: c5a0adfad3
Mika Isojrvi [Wed, 8 Feb 2017 20:14:29 +0000 (20:14 +0000)]
Fix Android builds compiler flags am: e2af5c745d am: 7755688536 am: c5a0adfad3
am: 26464b094e

Change-Id: Iab18593f0c15512d1c575d2780ef5dbf4e131d24

7 years agoMerge "Fix out of bounds accesses in TexImage*DParamsCase." am: 60902d4e1b
Mika Isojarvi [Wed, 8 Feb 2017 19:28:19 +0000 (19:28 +0000)]
Merge "Fix out of bounds accesses in TexImage*DParamsCase." am: 60902d4e1b
am: 8fd3b63b26

Change-Id: I1933ef41f06eb34ab50cf7b7dbc197e3daf2d6cd

7 years agoMerge "Fix out of bounds accesses in TexImage*DParamsCase."
Mika Isojarvi [Wed, 8 Feb 2017 19:25:21 +0000 (19:25 +0000)]
Merge "Fix out of bounds accesses in TexImage*DParamsCase."
am: 60902d4e1b

Change-Id: I655ab1118e27a1ff5c2eecd726655a23c628d30e

7 years agoMerge "Fix out of bounds accesses in TexImage*DParamsCase."
Mika Isojarvi [Wed, 8 Feb 2017 19:21:10 +0000 (19:21 +0000)]
Merge "Fix out of bounds accesses in TexImage*DParamsCase."

7 years agoFix Android builds compiler flags am: e2af5c745d am: 7755688536
Mika Isojrvi [Wed, 8 Feb 2017 18:34:03 +0000 (18:34 +0000)]
Fix Android builds compiler flags am: e2af5c745d am: 7755688536
am: c5a0adfad3

Change-Id: Id9c6c155f6b0b186004780742d3b9fcdb4b1df20

7 years agoFix Android builds compiler flags am: e2af5c745d
Mika Isojrvi [Wed, 8 Feb 2017 18:26:24 +0000 (18:26 +0000)]
Fix Android builds compiler flags am: e2af5c745d
am: 7755688536

Change-Id: Ie79d59b5366eec9681e852e6e4f9cd69eddbaba0

7 years agoFix Android builds compiler flags
Mika Isojrvi [Wed, 8 Feb 2017 18:13:48 +0000 (18:13 +0000)]
Fix Android builds compiler flags
am: e2af5c745d

Change-Id: Ic8ca64ec962c6fc4d78d0d628a740ce69c8a0e29

7 years agoFix out of bounds accesses in TexImage*DParamsCase.
Mika Isojärvi [Tue, 7 Feb 2017 20:52:54 +0000 (12:52 -0800)]
Fix out of bounds accesses in TexImage*DParamsCase.

Bug: 28764822
Test: Ran the tests on couple of devices and checked the results.
Change-Id: I3f743bf75d73ce7de7ff2b0633551c0cc7606ca0

7 years agoAdd EGL NYC master list into CTS files
Kalle Raita [Tue, 7 Feb 2017 19:09:12 +0000 (11:09 -0800)]
Add EGL NYC master list into CTS files

Add EGL NYC master list into CTS files to allow separation between
NYC and OC tests for EGL.

Test: Local CTS build, presubmit build
Change-Id: Ie9cc7c351aa5a4335cdcdc801b1d6528be997c54

7 years agoFix Android builds compiler flags
Mika Isojärvi [Mon, 6 Feb 2017 22:48:37 +0000 (14:48 -0800)]
Fix Android builds compiler flags

- Move -fwrapv to common flags
- Add -Wno-delete-non-virtual-dtor

Bug: 34676963
Test: Build deqp with the AOSP ARM64 target
Change-Id: I21e4c70ef5f2ebe7d306d5a4dcbb52933c4dff6d

7 years agoFix dEQP-VK.api.info.get_physical_device_properties2.properties
Iago Toral Quiroga [Wed, 1 Feb 2017 09:38:52 +0000 (10:38 +0100)]
Fix dEQP-VK.api.info.get_physical_device_properties2.properties

The test uses memcmp to compare structs that may include padding
bytes. Although the test initializes all bytes prior to calling any
Vulkan APIs, there is no guarantee that drivers won't write to the
padding bytes, for example if they write the properties to a local
variable and then memcpy into the result pointer, which is a valid
implementation.

This patch fixes the problem by reusing the offset table that we
already use in another test to obtain the offsets and sizes for all
struct fields and exclude any padding bytes during comparisons.

Affects:
dEQP-VK.api.info.get_physical_device_properties2.properties

VK-GL-CTS issue: 63
Components: Vulkan

Change-Id: I4417a95d41241523acd13adc739e739da9b0c2ed

7 years agoMerge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Mon, 6 Feb 2017 21:01:07 +0000 (13:01 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2

Change-Id: Ie39f778967a81af072e60194987d6e3978afb45e

7 years agoFix XCB window dimensions setter
Igor Ostrowski [Mon, 30 Jan 2017 13:08:45 +0000 (14:08 +0100)]
Fix XCB window dimensions setter

Make sure that dimension setter catched appropriate property notify event.

Components: Framework

VK-GL-CTS issue: 134

Change-Id: I4630175dffea57a54375fe6900df7dd3aa5823d4

7 years agoMerge "Check NDK version in the app build script" am: 197032faf3 am: cf0f927df4 am...
Kalle Raita [Mon, 6 Feb 2017 20:31:55 +0000 (20:31 +0000)]
Merge "Check NDK version in the app build script" am: 197032faf3 am: cf0f927df4 am: 57ca78aa24
am: 331d69c679

Change-Id: Icaac46b6388bb0c2bdcc777a8ba77c9dba8a80d4

7 years agoMerge "Check NDK version in the app build script" am: 197032faf3 am: cf0f927df4
Kalle Raita [Mon, 6 Feb 2017 20:28:55 +0000 (20:28 +0000)]
Merge "Check NDK version in the app build script" am: 197032faf3 am: cf0f927df4
am: 57ca78aa24

Change-Id: I76faef896866241d4e9dd1fca8aafba668f568aa

7 years agoMerge "Check NDK version in the app build script" am: 197032faf3
Kalle Raita [Mon, 6 Feb 2017 20:26:55 +0000 (20:26 +0000)]
Merge "Check NDK version in the app build script" am: 197032faf3
am: cf0f927df4

Change-Id: Ie9c979ff77c5edaea7d01fb510ef5ab140afeaa3

7 years agoMerge "Check NDK version in the app build script"
Kalle Raita [Mon, 6 Feb 2017 20:24:26 +0000 (20:24 +0000)]
Merge "Check NDK version in the app build script"
am: 197032faf3

Change-Id: I886a1b1bd45006d00035258a2d1325652a9313f7

7 years agoMerge "Check NDK version in the app build script"
Treehugger Robot [Mon, 6 Feb 2017 20:18:40 +0000 (20:18 +0000)]
Merge "Check NDK version in the app build script"

7 years agoCheck NDK version in the app build script
Kalle Raita [Wed, 1 Feb 2017 19:25:05 +0000 (11:25 -0800)]
Check NDK version in the app build script

Prevents accidentally starting build with wrong version and prints
instructions for retrieving correct NDK version.

Test: manual for current build, using r12 (wrong version), and override
Change-Id: I4a021e71261d17897bb4285ce996a758db7e5419

7 years agoAndroid: Test that mandatory extensions are supported am: 2ef3d2cadd am: 00f38de808...
Pyry Haulos [Fri, 3 Feb 2017 23:37:58 +0000 (23:37 +0000)]
Android: Test that mandatory extensions are supported am: 2ef3d2cadd am: 00f38de808 am: 8d31028c39
am: fe8dd11baf

Change-Id: Ief7fb30de32c1922f510fc9826b103fd36076d82

7 years agoAndroid: Test that mandatory extensions are supported am: 2ef3d2cadd am: 00f38de808
Pyry Haulos [Fri, 3 Feb 2017 23:35:57 +0000 (23:35 +0000)]
Android: Test that mandatory extensions are supported am: 2ef3d2cadd am: 00f38de808
am: 8d31028c39

Change-Id: If32f48cfd15d518ad5c5cb4fdf2fa78f650158c4

7 years agoAndroid: Test that mandatory extensions are supported am: 2ef3d2cadd
Pyry Haulos [Fri, 3 Feb 2017 23:33:28 +0000 (23:33 +0000)]
Android: Test that mandatory extensions are supported am: 2ef3d2cadd
am: 00f38de808

Change-Id: Ice338f46873eac5a3d6d8dfaff946e9cdceb0266

7 years agoAndroid: Test that mandatory extensions are supported
Pyry Haulos [Fri, 3 Feb 2017 23:30:57 +0000 (23:30 +0000)]
Android: Test that mandatory extensions are supported
am: 2ef3d2cadd

Change-Id: Ieba8a9ae224215d5e68fb934fede4d1e5904ee0d

7 years agoAndroid: Test that no Vulkan layers are enumerated am: 4f0cdcd709 am: a32b452f31...
Pyry Haulos [Fri, 3 Feb 2017 23:10:55 +0000 (23:10 +0000)]
Android: Test that no Vulkan layers are enumerated am: 4f0cdcd709 am: a32b452f31 am: 0e2633c228
am: 0781553102

Change-Id: I057bb07a5ee24fd6fdeb02de6703bebcf522f65c

7 years agoAndroid: Test that no Vulkan layers are enumerated am: 4f0cdcd709 am: a32b452f31
Pyry Haulos [Fri, 3 Feb 2017 23:08:26 +0000 (23:08 +0000)]
Android: Test that no Vulkan layers are enumerated am: 4f0cdcd709 am: a32b452f31
am: 0e2633c228

Change-Id: I2c4a4ee4f984548716809bedff838fd025c42a97

7 years agoAndroid: Test that no Vulkan layers are enumerated am: 4f0cdcd709
Pyry Haulos [Fri, 3 Feb 2017 23:05:55 +0000 (23:05 +0000)]
Android: Test that no Vulkan layers are enumerated am: 4f0cdcd709
am: a32b452f31

Change-Id: Ic118b0433d784dffbaa8f8f446a360a15df6d38e

7 years agoAndroid: Test that no Vulkan layers are enumerated
Pyry Haulos [Fri, 3 Feb 2017 23:03:25 +0000 (23:03 +0000)]
Android: Test that no Vulkan layers are enumerated
am: 4f0cdcd709

Change-Id: I59fb804cd944ae24bc78864fb7229709eca3476e

7 years agoAndroid: Check KHX, GOOGLE, and ANDROID extensions am: 5d9562a8c6 am: efd1deb8d7...
Pyry Haulos [Fri, 3 Feb 2017 23:00:55 +0000 (23:00 +0000)]
Android: Check KHX, GOOGLE, and ANDROID extensions am: 5d9562a8c6 am: efd1deb8d7 am: e6d5552bb8
am: 3b132b7cb3

Change-Id: I682355a0cef8adf709f0b5c34692e3d47c21da88

7 years agoAndroid: Check KHX, GOOGLE, and ANDROID extensions am: 5d9562a8c6 am: efd1deb8d7
Pyry Haulos [Fri, 3 Feb 2017 22:58:25 +0000 (22:58 +0000)]
Android: Check KHX, GOOGLE, and ANDROID extensions am: 5d9562a8c6 am: efd1deb8d7
am: e6d5552bb8

Change-Id: I5d7b4c0948ee9e69be0d6e67d8c402cf1317bbdc

7 years agoAndroid: Check KHX, GOOGLE, and ANDROID extensions am: 5d9562a8c6
Pyry Haulos [Fri, 3 Feb 2017 22:55:54 +0000 (22:55 +0000)]
Android: Check KHX, GOOGLE, and ANDROID extensions am: 5d9562a8c6
am: efd1deb8d7

Change-Id: Iee9d734b3bb524bfeba2069e6a4e82055a7da4ac

7 years agoAndroid: Check KHX, GOOGLE, and ANDROID extensions
Pyry Haulos [Fri, 3 Feb 2017 22:53:24 +0000 (22:53 +0000)]
Android: Check KHX, GOOGLE, and ANDROID extensions
am: 5d9562a8c6

Change-Id: I3149f91b93dad8801cc0e4fa05e9c19aaf2d4984

7 years agoFix issues in Vulkan PointCoord test
Pyry Haulos [Wed, 1 Feb 2017 23:24:52 +0000 (15:24 -0800)]
Fix issues in Vulkan PointCoord test

 * Fixed PointCoord calculation to follow spec.

 * Made random point size generation code more robust. Existing code
resulted in rnd.getInt() being called with invalid range.

Changed: dEQP-VK.glsl.builtin_var.simple.pointcoord
Components: Vulkan
VK-GL-CTS issue: 68

Change-Id: I34f0c2c2ec5c8d759f22e81a1683c21572887c58

7 years agoFix uint precision issue in pipeline barrier tests
Mika Isojärvi [Wed, 18 Jan 2017 21:41:39 +0000 (13:41 -0800)]
Fix uint precision issue in pipeline barrier tests

Add missing highp qualifier for int types in fragment shaders.

Affected tests
dEQP-VK.memory.pipeline_barrier.host_write_uniform_buffer.*
dEQP-VK.memory.pipeline_barrier.host_write_uniform_texel_buffer.*
dEQP-VK.memory.pipeline_barrier.host_write_storage_buffer.*
dEQP-VK.memory.pipeline_barrier.host_write_storage_texel_buffer.*
dEQP-VK.memory.pipeline_barrier.transfer_dst_uniform_buffer.*
dEQP-VK.memory.pipeline_barrier.transfer_dst_uniform_texel_buffer.*
dEQP-VK.memory.pipeline_barrier.transfer_dst_storage_buffer.*
dEQP-VK.memory.pipeline_barrier.transfer_dst_storage_texel_buffer.*
dEQP-VK.memory.pipeline_barrier.all.*
dEQP-VK.memory.pipeline_barrier.all_device.*

VK-GL-CTS issue: 67

Change-Id: I9c78a1c19a06554dd86bf7dbb3c7bc3a96cb72dc

7 years agoUpdate SPIR-V tools to ab03b87
Pyry Haulos [Wed, 1 Feb 2017 22:46:11 +0000 (14:46 -0800)]
Update SPIR-V tools to ab03b87

This fixes SPIR-V tools build when git is configured to check out
windows-style line endings.

Generated SPIR-V binaries are not affected by this change.

VK-GL-CTS issue: 73

Change-Id: Ic1639a50a059211ad315a8b07f2279b50ed9a133

7 years agoAndroid: Test that mandatory extensions are supported
Pyry Haulos [Fri, 3 Feb 2017 21:25:48 +0000 (13:25 -0800)]
Android: Test that mandatory extensions are supported

Change-Id: Id0e44299f1d8441bf1e7ecc91d82d3b06400e7e6

7 years agoAndroid: Test that no Vulkan layers are enumerated
Pyry Haulos [Tue, 17 Jan 2017 23:49:02 +0000 (15:49 -0800)]
Android: Test that no Vulkan layers are enumerated

Change-Id: I43dacf306b468485fc160f175160555b9cf1c86d

7 years agoAndroid: Check KHX, GOOGLE, and ANDROID extensions
Pyry Haulos [Wed, 11 Jan 2017 23:02:19 +0000 (15:02 -0800)]
Android: Check KHX, GOOGLE, and ANDROID extensions

Change-Id: I6ee24e584666e1f2542adf35943a2973c9392ad9

7 years agoMerge "Update Android CTS Vulkan mustpass to match 1.0.2" am: 8de4af67bb am: b3191e58...
Pyry Haulos [Tue, 31 Jan 2017 01:55:38 +0000 (01:55 +0000)]
Merge "Update Android CTS Vulkan mustpass to match 1.0.2" am: 8de4af67bb am: b3191e5847 am: eab06747e6
am: a57d2a88f8

Change-Id: I4362eb80aaa0a18a89ca59edd35e0145980c0066

7 years agoMerge "Update Android CTS Vulkan mustpass to match 1.0.2" am: 8de4af67bb am: b3191e5847
Pyry Haulos [Tue, 31 Jan 2017 01:53:07 +0000 (01:53 +0000)]
Merge "Update Android CTS Vulkan mustpass to match 1.0.2" am: 8de4af67bb am: b3191e5847
am: eab06747e6

Change-Id: I5215c23f56416f961425db6ac09cee45a0bdddae

7 years agoMerge "Update Android CTS Vulkan mustpass to match 1.0.2" am: 8de4af67bb
Pyry Haulos [Tue, 31 Jan 2017 01:51:07 +0000 (01:51 +0000)]
Merge "Update Android CTS Vulkan mustpass to match 1.0.2" am: 8de4af67bb
am: b3191e5847

Change-Id: Ia6d3877821be9d31771445efe2ad382645dda568

7 years agoMerge "Update Android CTS Vulkan mustpass to match 1.0.2"
Pyry Haulos [Tue, 31 Jan 2017 01:48:37 +0000 (01:48 +0000)]
Merge "Update Android CTS Vulkan mustpass to match 1.0.2"
am: 8de4af67bb

Change-Id: I2accdd355e2d34d9d808ffb9b93afec01d0d345d

7 years agoMerge "Update Android CTS Vulkan mustpass to match 1.0.2"
Treehugger Robot [Tue, 31 Jan 2017 01:45:31 +0000 (01:45 +0000)]
Merge "Update Android CTS Vulkan mustpass to match 1.0.2"

7 years agoAdded gl_BoundingBox built-in type access tests am: ed63f60eb4 am: 2160941ec7 am...
Michael Hadley [Tue, 31 Jan 2017 00:35:35 +0000 (00:35 +0000)]
Added gl_BoundingBox built-in type access tests am: ed63f60eb4 am: 2160941ec7 am: b784ed3d7b
am: 5f5f4b0a64

Change-Id: I809865301d76dae2d75b1274d1e27651084809bb

7 years agoAdd SSBO block tests am: 04ba289d6e am: ce0a6e4b7b am: 375a437841
Michael Hadley [Tue, 31 Jan 2017 00:35:31 +0000 (00:35 +0000)]
Add SSBO block tests am: 04ba289d6e am: ce0a6e4b7b am: 375a437841
am: a27e5f265d

Change-Id: I67aebbebcb6946dbf828d7bf3a5dd0ab8c749d15

7 years agoAdded gl_BoundingBox built-in type access tests am: ed63f60eb4 am: 2160941ec7
Michael Hadley [Tue, 31 Jan 2017 00:33:07 +0000 (00:33 +0000)]
Added gl_BoundingBox built-in type access tests am: ed63f60eb4 am: 2160941ec7
am: b784ed3d7b

Change-Id: I0be84ee47830fd4264db5865d5851792ebdf290b

7 years agoAdd SSBO block tests am: 04ba289d6e am: ce0a6e4b7b
Michael Hadley [Tue, 31 Jan 2017 00:33:02 +0000 (00:33 +0000)]
Add SSBO block tests am: 04ba289d6e am: ce0a6e4b7b
am: 375a437841

Change-Id: I71203b5172bbd9d03b295ceba1d607ab9fa66675

7 years agoAdded gl_BoundingBox built-in type access tests am: ed63f60eb4
Michael Hadley [Tue, 31 Jan 2017 00:31:04 +0000 (00:31 +0000)]
Added gl_BoundingBox built-in type access tests am: ed63f60eb4
am: 2160941ec7

Change-Id: I8b40a4290decf450cacbd43ea00db90f6f64f2bb

7 years agoAdd SSBO block tests am: 04ba289d6e
Michael Hadley [Tue, 31 Jan 2017 00:31:01 +0000 (00:31 +0000)]
Add SSBO block tests am: 04ba289d6e
am: ce0a6e4b7b

Change-Id: I3a786919bca07ae6f5a4be0c5f5dd992ec3256a7

7 years agoAdded gl_BoundingBox built-in type access tests
Michael Hadley [Tue, 31 Jan 2017 00:28:34 +0000 (00:28 +0000)]
Added gl_BoundingBox built-in type access tests
am: ed63f60eb4

Change-Id: I1d0700b52ee7dfbd51f7e7165df01696d6b299cf

7 years agoAdd SSBO block tests
Michael Hadley [Tue, 31 Jan 2017 00:28:32 +0000 (00:28 +0000)]
Add SSBO block tests
am: 04ba289d6e

Change-Id: I33095ab7cebe48f0941370bf9d0b6c576a90c464

7 years agoUpdate Android CTS Vulkan mustpass to match 1.0.2
Pyry Haulos [Tue, 31 Jan 2017 00:02:32 +0000 (16:02 -0800)]
Update Android CTS Vulkan mustpass to match 1.0.2

This CL updates Android CTS mustpass for Vulkan to match Khronos Vulkan
CTS 1.0.2.0.

Change-Id: Ia2f82b5f6675c67940679eb98f59510f264d62bf

7 years agoAdded gl_BoundingBox built-in type access tests
Michael Hadley [Wed, 14 Dec 2016 20:08:59 +0000 (20:08 +0000)]
Added gl_BoundingBox built-in type access tests

New tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_directive.accessing_bounding_box_type

Change-Id: I8f47dfdfde631f36f6a515459867b59e3c210701

7 years agoAdd SSBO block tests
Michael Hadley [Thu, 1 Dec 2016 17:52:17 +0000 (17:52 +0000)]
Add SSBO block tests

New Tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.ssbo_block.ssbo_block.*

Change-Id: I60d52bc34d9211e93332dcc719535f1f5e4a0596

7 years agoAdd tessellation shader stages to negative layout_binding tests am: b7272b0934 am...
John Richardson [Mon, 30 Jan 2017 20:50:56 +0000 (20:50 +0000)]
Add tessellation shader stages to negative layout_binding tests am: b7272b0934 am: 234af40a4f am: 7db3ca77ea
am: 70767a5308

Change-Id: I1f0449f1b47eb67de1c97144b46f0271ba1504ba

7 years agoAdd new tessellation negative coverage tests am: 1889817926 am: 6505a995c1 am: 02e452454c
John Richardson [Mon, 30 Jan 2017 20:50:45 +0000 (20:50 +0000)]
Add new tessellation negative coverage tests am: 1889817926 am: 6505a995c1 am: 02e452454c
am: 91623e041e

Change-Id: I42756cb766e67896ec7d15afa0f6e1817c102212

7 years agoAdd tessellation shader stages to negative layout_binding tests am: b7272b0934 am...
John Richardson [Mon, 30 Jan 2017 20:48:24 +0000 (20:48 +0000)]
Add tessellation shader stages to negative layout_binding tests am: b7272b0934 am: 234af40a4f
am: 7db3ca77ea

Change-Id: Ia5ff0d8f6ca0482059afbf9af0293f1cd20f6c8c

7 years agoAdd new tessellation negative coverage tests am: 1889817926 am: 6505a995c1
John Richardson [Mon, 30 Jan 2017 20:48:14 +0000 (20:48 +0000)]
Add new tessellation negative coverage tests am: 1889817926 am: 6505a995c1
am: 02e452454c

Change-Id: Ie80c9550edb2f72667248cd7c5d0d122f49da66c

7 years agoAdd tessellation shader stages to negative layout_binding tests am: b7272b0934
John Richardson [Mon, 30 Jan 2017 20:46:25 +0000 (20:46 +0000)]
Add tessellation shader stages to negative layout_binding tests am: b7272b0934
am: 234af40a4f

Change-Id: I04d9dbd56ec699b876b36d7ba8ac7894cfa81101

7 years agoAdd new tessellation negative coverage tests am: 1889817926
John Richardson [Mon, 30 Jan 2017 20:46:14 +0000 (20:46 +0000)]
Add new tessellation negative coverage tests am: 1889817926
am: 6505a995c1

Change-Id: Ic1c997496e29598e0a889ddbc0c260746b60ea00

7 years agoAdd tessellation shader stages to negative layout_binding tests
John Richardson [Mon, 30 Jan 2017 20:43:56 +0000 (20:43 +0000)]
Add tessellation shader stages to negative layout_binding tests
am: b7272b0934

Change-Id: I7b698194e1b617fa6c0e31ba437c1586f2c01a44

7 years agoAdd new tessellation negative coverage tests
John Richardson [Mon, 30 Jan 2017 20:43:44 +0000 (20:43 +0000)]
Add new tessellation negative coverage tests
am: 1889817926

Change-Id: I8f4b76d0c37c88c45512352502ed138acc095fc4

7 years agoAdd tessellation shader stages to negative layout_binding tests
John Richardson [Wed, 23 Nov 2016 14:48:32 +0000 (14:48 +0000)]
Add tessellation shader stages to negative layout_binding tests

Tests groups added to:
- dEQP-GLES31.functional.layout_binding.negative.sampler.sampler2d.*.
- dEQP-GLES31.functional.layout_binding.negative.sampler.sampler3d.*.
- dEQP-GLES31.functional.layout_binding.negative.ubo.*.
- dEQP-GLES31.functional.layout_binding.negative.ssbo.*.
- dEQP-GLES31.functional.layout_binding.negative.image.image2d.*.
- dEQP-GLES31.functional.layout_binding.negative.image.image3d.*.

New tests (tess_control, tess_evalution):
- binding_neg
- binding_over_max
- binding_neg_array
- binding_over_max_array

Extended tests:
- binding_contradictory
- binding_contradictory_array

Change-Id: Ia6b66f1d5316e3bba376a8aea189074b60fbedb5

7 years agoAdd new tessellation negative coverage tests
John Richardson [Wed, 9 Nov 2016 08:34:43 +0000 (08:34 +0000)]
Add new tessellation negative coverage tests

Test groups added to:
- dEQP-GLES31.functional.shaders.linkage.tessellation.varying.rules
- dEQP-GLES31.functional.shaders.linkage.tessellation.layout_declarations.rules (new)
- dEQP-GLES31.functional.shaders.linkage.tessellation.barriers.rules (new)
- dEQP-GLES31.functional.debug.negative_coverage.*.tessellation (new)

New tests:
- output_non_array
- invalid_patch_in_usage
- invalid_patch_out_usage
- invalid_per_patch_qualifier_usage
- output_block_non_array

- invalid_barrier_usage_within_control_flow
- invalid_barrier_usage_after_return

- primitive_mode_mismatch
- spacing_mode_mismatch
- vertex_order_mismatch
- vertex_count_mismatch

- single_tessellation_stage
- invalid_primitive_mode
- tessellation_not_active
- invalid_program_state
- get_programiv
- invalid_program_queries
- tessellation_control_invalid_vertex_count

Change-Id: I0c4f4b407bfe80e09546af51fdb2d184cf310757

7 years agoMerge nougat-mr1-cts-dev into master. am: 2dcacdbe0a am: b196334de5 am: 769492af1d
Xin Li [Thu, 26 Jan 2017 21:18:43 +0000 (21:18 +0000)]
Merge nougat-mr1-cts-dev into  am: 2dcacdbe0a am: b196334de5 am: 769492af1d
am: 03c2353df4

Change-Id: If0747a902df6137c01ebae58e440fe262dfc6a3b

7 years agoMerge nougat-mr1-cts-dev into master. am: 2dcacdbe0a am: b196334de5
Xin Li [Thu, 26 Jan 2017 21:15:27 +0000 (21:15 +0000)]
Merge nougat-mr1-cts-dev into  am: 2dcacdbe0a am: b196334de5
am: 769492af1d

Change-Id: Ic9c6eec0b2d1cee2c2efa20531720eb6fb77745b

7 years agoMerge nougat-mr1-cts-dev into master. am: 2dcacdbe0a
Xin Li [Thu, 26 Jan 2017 21:12:27 +0000 (21:12 +0000)]
Merge nougat-mr1-cts-dev into  am: 2dcacdbe0a
am: b196334de5

Change-Id: I28d200d6322de752529169cc1960379774f4fd7f

7 years agoMerge nougat-mr1-cts-dev into master.
Xin Li [Thu, 26 Jan 2017 21:09:27 +0000 (21:09 +0000)]
Merge nougat-mr1-cts-dev into master.
am: 2dcacdbe0a

Change-Id: I4d80ab4fe02c0c7209365b08bf64358f6f7979e8

7 years agoSkip commit 'c5bbebc46ac7725d43692602422ee3fc76cac7b0' on master. am: b1fa5e8f2c...
Xin Li [Thu, 26 Jan 2017 20:47:01 +0000 (20:47 +0000)]
Skip commit 'c5bbebc46ac7725d43692602422ee3fc76cac7b0' on  am: b1fa5e8f2c am: ef0c4176d6 am: 4f65cf0bba
am: e9b300de33

Change-Id: If90f72311f1d7bb6b84c95a4cf2818b3b60d3d0e

7 years agoMerge commit '2a9d42a651ef444f32f0a6e60711bb2c371d3fce' from nougat-cts-mr1-dev to...
Xin Li [Thu, 26 Jan 2017 20:46:52 +0000 (20:46 +0000)]
Merge commit '2a9d42a651ef444f32f0a6e60711bb2c371d3fce' from nougat-cts-mr1-dev to  am: 04974c3449 am: 1f9853e006 am: e9a25e7e34
am: 045eb76c67

Change-Id: I8f0e89b2b3cd4e75425be560e5ed578a80817119

7 years agoSkip commit 'c5bbebc46ac7725d43692602422ee3fc76cac7b0' on master. am: b1fa5e8f2c...
Xin Li [Thu, 26 Jan 2017 20:40:27 +0000 (20:40 +0000)]
Skip commit 'c5bbebc46ac7725d43692602422ee3fc76cac7b0' on  am: b1fa5e8f2c am: ef0c4176d6
am: 4f65cf0bba

Change-Id: I71cedd451ef3bd6e29f8ece5025c4603defc2091

7 years agoMerge commit '2a9d42a651ef444f32f0a6e60711bb2c371d3fce' from nougat-cts-mr1-dev to...
Xin Li [Thu, 26 Jan 2017 20:40:20 +0000 (20:40 +0000)]
Merge commit '2a9d42a651ef444f32f0a6e60711bb2c371d3fce' from nougat-cts-mr1-dev to  am: 04974c3449 am: 1f9853e006
am: e9a25e7e34

Change-Id: Ib75bb206d5423e89bf53b3011ab918ec41f8046b

7 years agoSkip commit 'c5bbebc46ac7725d43692602422ee3fc76cac7b0' on master. am: b1fa5e8f2c
Xin Li [Thu, 26 Jan 2017 20:37:32 +0000 (20:37 +0000)]
Skip commit 'c5bbebc46ac7725d43692602422ee3fc76cac7b0' on  am: b1fa5e8f2c
am: ef0c4176d6

Change-Id: I722cc549948cf2de67e6f73e9567c1fd60b81dd3

7 years agoMerge commit '2a9d42a651ef444f32f0a6e60711bb2c371d3fce' from nougat-cts-mr1-dev to...
Xin Li [Thu, 26 Jan 2017 20:37:23 +0000 (20:37 +0000)]
Merge commit '2a9d42a651ef444f32f0a6e60711bb2c371d3fce' from nougat-cts-mr1-dev to  am: 04974c3449
am: 1f9853e006

Change-Id: I17f55595d2971b1fc98cda86a96d8bba4880dcc1