platform/upstream/VK-GL-CTS.git
8 years agoMerge "Add sanity checking of API version" into nyc-dev
David Sodman [Tue, 5 Apr 2016 20:46:13 +0000 (20:46 +0000)]
Merge "Add sanity checking of API version" into nyc-dev

8 years agoAdd checks for bitmap limits in VkPhysicalDeviceLimits
David Sodman [Mon, 4 Apr 2016 22:53:12 +0000 (15:53 -0700)]
Add checks for bitmap limits in VkPhysicalDeviceLimits

Partial fix for Khronos Vulkan CTS issue _344

Change-Id: Ia82328c84c68f28cea22f0af50a1e2c5191299f8

8 years agoAdd sanity checking of API version
David Sodman [Tue, 5 Apr 2016 02:16:24 +0000 (19:16 -0700)]
Add sanity checking of API version

Bug: 27640790

Change-Id: I8b4d1b9311908ef3591ec20f34996a2e68384410

8 years agoMerge "Add test case for discontinuous sampler bindings" into nyc-dev
David Sodman [Tue, 5 Apr 2016 04:30:08 +0000 (04:30 +0000)]
Merge "Add test case for discontinuous sampler bindings" into nyc-dev

8 years agoMerge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev
David Sodman [Tue, 5 Apr 2016 04:29:50 +0000 (04:29 +0000)]
Merge "Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" into nyc-dev

8 years agoMerge "Add --deqp-validation=enable/disable option" into nyc-dev
Pyry Haulos [Mon, 4 Apr 2016 22:43:53 +0000 (22:43 +0000)]
Merge "Add --deqp-validation=enable/disable option" into nyc-dev

8 years agoAdd checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
David Sodman [Mon, 4 Apr 2016 01:17:53 +0000 (18:17 -0700)]
Add checks for VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT

Fixes Vulkan CTS issue _349

Change-Id: Ia6ad980f701a05f49b6864983217f02182143c0c

8 years agoAdd test case for discontinuous sampler bindings
David Sodman [Sun, 20 Mar 2016 16:51:28 +0000 (09:51 -0700)]
Add test case for discontinuous sampler bindings

BUG:27527648

Change-Id: Ib21d6dc1627b621e07b593bc2f5a01e136443a4f

8 years agoMerge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev
Pyry Haulos [Mon, 4 Apr 2016 20:59:30 +0000 (20:59 +0000)]
Merge "Change license in vkDebugReportUtil.cpp/hpp" into nyc-dev

8 years agoMerge "Allow alternative form for refract()." into nyc-dev
Mika Isojarvi [Mon, 4 Apr 2016 20:14:45 +0000 (20:14 +0000)]
Merge "Allow alternative form for refract()." into nyc-dev

8 years agoMerge "Remove negative compressed cube map array test." into nyc-dev
Mika Isojarvi [Mon, 4 Apr 2016 20:14:41 +0000 (20:14 +0000)]
Merge "Remove negative compressed cube map array test." into nyc-dev

8 years agoAdd --deqp-validation=enable/disable option
Pyry Haulos [Tue, 29 Mar 2016 00:35:44 +0000 (17:35 -0700)]
Add --deqp-validation=enable/disable option

Specifying --deqp-validation=enable when running Vulkan tests will
result in:

1) vkt::TestCaseExecutor will create debug report callback on default
instance. Any debug messages reported during test execution will be
included as a separate log section in the test log.

2) vkt::Context will enable known validation layers on both default
instance as well as default device.

If any errors are reported (for example validation errors) test result
will be set to InternalError.

Change-Id: Icc89a3f57f0c19170988d7b518fe6b24dcf3df6e

8 years agoChange license in vkDebugReportUtil.cpp/hpp
Pyry Haulos [Mon, 4 Apr 2016 19:23:49 +0000 (12:23 -0700)]
Change license in vkDebugReportUtil.cpp/hpp

This follows Khronos' decision to re-license Vulkan CTS under Apache 2.

Change-Id: I73b0eff6755dab1e8fe675eaec7252c6dd94b115

8 years agoMerge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Mon, 4 Apr 2016 19:18:34 +0000 (12:18 -0700)]
Merge in changes from Khronos Vulkan CTS repository

Khronos CTS license has been changed to Apache 2.

Includes various bugfixes to Vulkan tests.

8 years agoMerge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Pyry Haulos [Mon, 4 Apr 2016 19:15:43 +0000 (12:15 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev

8 years agoMerge branch 'change-license-dev' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Mon, 4 Apr 2016 19:14:55 +0000 (19:14 +0000)]
Merge branch 'change-license-dev' into 'vulkan-cts-1.0-dev'

Change license in development branch

See merge request !482

8 years agoMerge branch 'change-license-rel' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 4 Apr 2016 19:14:31 +0000 (19:14 +0000)]
Merge branch 'change-license-rel' into 'vulkan-cts-1.0'

Change license in release branch

See merge request !481

8 years agoMerge branch 'compiler-warning-fix' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Mon, 4 Apr 2016 18:08:21 +0000 (18:08 +0000)]
Merge branch 'compiler-warning-fix' into 'vulkan-cts-1.0-dev'

Compiler warning fix.

See merge request !492

8 years agoAllow alternative form for refract().
Mika Isojärvi [Fri, 25 Mar 2016 17:04:08 +0000 (10:04 -0700)]
Allow alternative form for refract().

Bug: 27266906
Change-Id: Ib24c8d065d922a987feb0271f397d83b837ae936

8 years agoRemove negative compressed cube map array test.
Mika Isojärvi [Fri, 1 Apr 2016 21:43:49 +0000 (14:43 -0700)]
Remove negative compressed cube map array test.

There are no compressed texture formats that wouldn't support cube map arrays.

Bug: 27124142
Change-Id: I018da78820b961da6f9914b37efd69e1f2c2e334

8 years agoMerge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev
Mika Isojarvi [Mon, 4 Apr 2016 17:11:33 +0000 (17:11 +0000)]
Merge changes I3f12c9cc,Ibd8fb8f2,Ib3c3b93e into nyc-dev

* changes:
  Remove test from mustpass due lod computation issues
  Remove array layout location tests due to spec issue.
  Remove out of range border clamp tests due to spec issue

8 years agoImplement ITestCollector for DeqpTestRunner
Kalle Raita [Fri, 1 Apr 2016 21:56:37 +0000 (14:56 -0700)]
Implement ITestCollector for DeqpTestRunner

Bug: 27614481
Change-Id: I2cc74c953361b85f943394986696d0123baf7b0b

8 years agoRemove test from mustpass due lod computation issues
Mika Isojärvi [Thu, 31 Mar 2016 22:23:07 +0000 (15:23 -0700)]
Remove test from mustpass due lod computation issues

Bug: 27535731
Change-Id: I3f12c9ccd42a66d41ca90bff93a40a9dbe0ca645

8 years agoCompiler warning fix.
Csaba Osztrogonác [Fri, 1 Apr 2016 11:57:01 +0000 (13:57 +0200)]
Compiler warning fix.

8 years agoRemove array layout location tests due to spec issue.
Mika Isojärvi [Thu, 31 Mar 2016 22:16:38 +0000 (15:16 -0700)]
Remove array layout location tests due to spec issue.

Bug: 27834911
Change-Id: Ibd8fb8f28ae20de1877c13dca35988d0f5cd5e5a

8 years agoRemove out of range border clamp tests due to spec issue
Mika Isojärvi [Thu, 31 Mar 2016 22:05:56 +0000 (15:05 -0700)]
Remove out of range border clamp tests due to spec issue

Bug: 27909189
Change-Id: Ib3c3b93e859ebbccd78752cfacbf72056ebcc356

8 years agoUse ETC2 format instead of ASTC format in negative texture tests
Mika Isojärvi [Thu, 31 Mar 2016 20:43:52 +0000 (13:43 -0700)]
Use ETC2 format instead of ASTC format in negative texture tests

Bug: 27946727
Change-Id: I1269c354cbec4bb1574b484aaecc42571bb41832

8 years agoMerge "Add utilities for VK_EXT_debug_report" into nyc-dev
Pyry Haulos [Thu, 31 Mar 2016 07:58:13 +0000 (07:58 +0000)]
Merge "Add utilities for VK_EXT_debug_report" into nyc-dev

8 years agoFix bugs in de::AppendList
Pyry Haulos [Wed, 30 Mar 2016 02:21:04 +0000 (19:21 -0700)]
Fix bugs in de::AppendList

 * de::AppendList was not calling destructor for elements in the last
block. This would result in resource leak if elements have non-trivial
destructor.

 * de::AppendList::clear() failed to set m_first->next to null resulting
use of freed blocks.

Bug: 27909093
Change-Id: Id012bd6c76eb31058b302d0540891e5280a2d39f

8 years agoAdd utilities for VK_EXT_debug_report
Pyry Haulos [Tue, 29 Mar 2016 00:33:23 +0000 (17:33 -0700)]
Add utilities for VK_EXT_debug_report

Change-Id: Ia884b2dd6688b15d71fa2df4029afe5d3023fa04

8 years agoChange Vulkan CTS license to Apache 2
Pyry Haulos [Tue, 29 Mar 2016 20:47:06 +0000 (13:47 -0700)]
Change Vulkan CTS license to Apache 2

8 years agoFix malformed copyright boxes
Pyry Haulos [Tue, 29 Mar 2016 20:40:06 +0000 (13:40 -0700)]
Fix malformed copyright boxes

8 years agoChange Vulkan CTS license to Apache 2
Pyry Haulos [Tue, 29 Mar 2016 20:33:01 +0000 (13:33 -0700)]
Change Vulkan CTS license to Apache 2

8 years agoFix malformed copyright boxes
Pyry Haulos [Tue, 29 Mar 2016 20:20:09 +0000 (13:20 -0700)]
Fix malformed copyright boxes

8 years agoMerge "Add clear() to de::AppendList" into nyc-dev
Pyry Haulos [Tue, 29 Mar 2016 20:13:53 +0000 (20:13 +0000)]
Merge "Add clear() to de::AppendList" into nyc-dev

8 years agoMerge branch '341-fix-invocations' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 29 Mar 2016 19:36:22 +0000 (19:36 +0000)]
Merge branch '341-fix-invocations' into 'vulkan-cts-1.0'

Remove invalid Invocations=0 from geometry shaders.

All of these geometry shaders are default, so they do not need any
Invocations decoration.

Fixeds #341

See merge request !477

8 years agoExclude new tests from Khronos Vulkan CTS mustpass
Pyry Haulos [Tue, 29 Mar 2016 19:31:31 +0000 (12:31 -0700)]
Exclude new tests from Khronos Vulkan CTS mustpass

8 years agoMerge "Fix typo in vk::getNumShaderStages() return type" into nyc-dev
Pyry Haulos [Tue, 29 Mar 2016 19:10:26 +0000 (19:10 +0000)]
Merge "Fix typo in vk::getNumShaderStages() return type" into nyc-dev

8 years agoFix indentation in vktTestCase.cpp
Pyry Haulos [Tue, 29 Mar 2016 00:39:49 +0000 (17:39 -0700)]
Fix indentation in vktTestCase.cpp

Change-Id: Id10fea013ed21524cb7f854bf225bd9bd935d52f

8 years agoFix typo in vk::getNumShaderStages() return type
Pyry Haulos [Tue, 29 Mar 2016 00:38:45 +0000 (17:38 -0700)]
Fix typo in vk::getNumShaderStages() return type

Change-Id: Ic57b8edcafa52117c0ff35b400bdf3caad3a292c

8 years agoAdd clear() to de::AppendList
Pyry Haulos [Tue, 29 Mar 2016 00:32:34 +0000 (17:32 -0700)]
Add clear() to de::AppendList

Change-Id: I0a139a7256837f9a85d9cb7353451f13a9022e67

8 years agoFix unused arg warning
Pyry Haulos [Fri, 25 Mar 2016 21:23:58 +0000 (21:23 +0000)]
Fix unused arg warning
am: 81134a0

* commit '81134a02ea7237b1130228f52f0572c0d9369199':
  Fix unused arg warning

8 years agoMerge nyc-dev into Khronos merge branch
Mika Isojärvi [Fri, 25 Mar 2016 19:25:41 +0000 (19:25 +0000)]
Merge nyc-dev into Khronos merge branch
am: ac0c069

* commit 'ac0c069e8505a4c1bee283c2f597221fec4e9d55':
  Allow more alternative forms of scalar reflect function
  Use supported number of atomic counters in opaque indexing tests
  Create texture in negative CompressedTexSubImage() tests

8 years agoRe-build Vulkan mustpass
Pyry Haulos [Fri, 25 Mar 2016 19:25:41 +0000 (19:25 +0000)]
Re-build Vulkan mustpass
am: b3c6a00

* commit 'b3c6a00f2e27c0f3b1cd96bedd084813c3e3edc8':
  Re-build Vulkan mustpass

8 years agoAdd new files to Android.mk
Pyry Haulos [Fri, 25 Mar 2016 19:25:40 +0000 (19:25 +0000)]
Add new files to Android.mk
am: 6ddb0a3

* commit '6ddb0a3616886b8fdeafed86d93d6370812122d6':
  Add new files to Android.mk

8 years agoMerge code from Khronos repository
Pyry Haulos [Fri, 25 Mar 2016 19:25:40 +0000 (19:25 +0000)]
Merge code from Khronos repository
am: 0d43d3b

* commit '0d43d3bda2ad68814af517904aa2aecfd1067303':
  Re-build CTS mustpass
  Fix a trivial warning
  Fix device memory use after free in pipeline cache test
  Added Sparse Resources Tests to Mustpass List
  Sparse Buffer Memory Aliasing Test
  Sparse Mipmaped Image Residency Test
  Sparse Image Residency Test
  Sparse Buffer Residency Test
  Sparse Resources Binding Tests
  Added getPhysicalDeviceSparseImageFormatProperties to Framework
  Fix a few issues in pipeline cache tests
  Add pipeline cache tests
  Early fragment tests
  Command buffer tests are fixed and extended.
  Added command buffer tests using semaphores
  Image Atomic Operations Tests

8 years agoFix unused arg warning
Pyry Haulos [Fri, 25 Mar 2016 19:13:27 +0000 (12:13 -0700)]
Fix unused arg warning

Change-Id: I77bb4993487a077777366c7a223273405a9f5b44

8 years agoMerge nyc-dev into Khronos merge branch
Pyry Haulos [Fri, 25 Mar 2016 19:09:58 +0000 (12:09 -0700)]
Merge nyc-dev into Khronos merge branch

8 years agoRe-build Vulkan mustpass
Pyry Haulos [Fri, 25 Mar 2016 19:09:24 +0000 (12:09 -0700)]
Re-build Vulkan mustpass

Change-Id: I4112ac5fa3f0d0b780b5eb6caf76f059c889d56f

8 years agoAdd new files to Android.mk
Pyry Haulos [Fri, 25 Mar 2016 19:08:53 +0000 (12:08 -0700)]
Add new files to Android.mk

Change-Id: Id5c873a16e8e2c75b00c1ea2f4dde8f41e65e1d0

8 years agoMerge code from Khronos repository
Pyry Haulos [Fri, 25 Mar 2016 18:48:54 +0000 (11:48 -0700)]
Merge code from Khronos repository

Change-Id: Ifade87d653557106eed18a64636779b667110898

8 years agoMerge "Allow more alternative forms of scalar reflect function" into nyc-dev
Mika Isojarvi [Fri, 25 Mar 2016 18:23:17 +0000 (18:23 +0000)]
Merge "Allow more alternative forms of scalar reflect function" into nyc-dev

8 years agoMerge "Use supported number of atomic counters in opaque indexing tests" into nyc-dev
Mika Isojarvi [Fri, 25 Mar 2016 18:22:58 +0000 (18:22 +0000)]
Merge "Use supported number of atomic counters in opaque indexing tests" into nyc-dev

8 years agoMerge "Create texture in negative CompressedTexSubImage() tests" into nyc-dev
Mika Isojarvi [Fri, 25 Mar 2016 18:22:38 +0000 (18:22 +0000)]
Merge "Create texture in negative CompressedTexSubImage() tests" into nyc-dev

8 years agoRe-build CTS mustpass
Pyry Haulos [Fri, 25 Mar 2016 18:19:50 +0000 (11:19 -0700)]
Re-build CTS mustpass

8 years agoFix a trivial warning
Pyry Haulos [Fri, 25 Mar 2016 18:19:36 +0000 (11:19 -0700)]
Fix a trivial warning

8 years agoMerge branch '125-pipeline-cache-tests-rebased' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Fri, 25 Mar 2016 18:15:55 +0000 (18:15 +0000)]
Merge branch '125-pipeline-cache-tests-rebased' into 'vulkan-cts-1.0-dev'

Add pipeline cache tests

See merge request !470

8 years agoAllow more alternative forms of scalar reflect function
Mika Isojärvi [Thu, 24 Mar 2016 23:05:56 +0000 (16:05 -0700)]
Allow more alternative forms of scalar reflect function

Bug: 22859221
Change-Id: Iff34d861642b8d4b8a1cdc932529d98ac7c71005

8 years agoresolve merge conflicts of d097869 to nyc-dev
Pyry Haulos [Thu, 24 Mar 2016 22:44:10 +0000 (22:44 +0000)]
resolve merge conflicts of d097869 to nyc-dev
am: 3ed2014

* commit '3ed20144b972971fb6e62a470d65031028b3fc27':
  Use smaller triangles in triangle_vertex.clip_three

8 years agoresolve merge conflicts of d097869 to nyc-dev
Pyry Haulos [Thu, 24 Mar 2016 21:27:31 +0000 (14:27 -0700)]
resolve merge conflicts of d097869 to nyc-dev

Change-Id: Id5780291dfd79a8256a0d979ce1e6d13a90293e9

8 years agoUse smaller triangles in triangle_vertex.clip_three
Pyry Haulos [Thu, 24 Mar 2016 21:11:38 +0000 (21:11 +0000)]
Use smaller triangles in triangle_vertex.clip_three
am: a19537b

* commit 'a19537b3e25256c673af765612c11f765637dc5e':
  Use smaller triangles in triangle_vertex.clip_three

8 years agoUse supported number of atomic counters in opaque indexing tests
Mika Isojärvi [Thu, 24 Mar 2016 17:55:04 +0000 (10:55 -0700)]
Use supported number of atomic counters in opaque indexing tests

Bug: 27464399
Change-Id: I0c79037903211d9012ff2489317ef16ab5dbf5a2

8 years agoMerge branch '263-sparse-resources-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Thu, 24 Mar 2016 17:51:52 +0000 (17:51 +0000)]
Merge branch '263-sparse-resources-tests' into 'vulkan-cts-1.0-dev'

Sparse Resources Tests

Tests for Sparse Resources:

1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
2. Test fully resident image created with VK_IMAGE_CREATE_SPARSE_BINDING_BIT flag bit
3. Test partially resident buffer created with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT flag bit
4. Test partially resident image created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT flag bit
5. Test partially resident image with mipmaps, put some mipmap levels in mip tail region
6. Test memory aliasing for fully resident buffer objects

See merge request !405

8 years agoMerge "Set bit in blit mask to settle ambiguity" into nyc-dev
Mika Isojärvi [Thu, 24 Mar 2016 17:48:09 +0000 (17:48 +0000)]
Merge "Set bit in blit mask to settle ambiguity" into nyc-dev
am: 78bda03

* commit '78bda03a6167c6697598f3f4497b4f0afb687c0c':
  Set bit in blit mask to settle ambiguity

8 years agoMerge "Set bit in blit mask to settle ambiguity" into nyc-dev
Mika Isojarvi [Thu, 24 Mar 2016 17:34:51 +0000 (17:34 +0000)]
Merge "Set bit in blit mask to settle ambiguity" into nyc-dev

8 years agoMerge branch '125-pipeline-cache-tests-rebased-scygan-fixes' into '125-pipeline-cache...
Pyry Haulos [Thu, 24 Mar 2016 17:34:12 +0000 (17:34 +0000)]
Merge branch '125-pipeline-cache-tests-rebased-scygan-fixes' into '125-pipeline-cache-tests-rebased'

Fix device memory use after free in pipeline cache test

See merge request !479

8 years agoFix device memory use after free in pipeline cache test
scygan [Thu, 24 Mar 2016 17:30:48 +0000 (18:30 +0100)]
Fix device memory use after free in pipeline cache test

8 years agoCreate texture in negative CompressedTexSubImage() tests
Mika Isojärvi [Thu, 24 Mar 2016 17:28:05 +0000 (10:28 -0700)]
Create texture in negative CompressedTexSubImage() tests

Bug: 23350902
Change-Id: I4b713b535bd299222994c3cafcd02b631e2a35e1

8 years agoUse smaller triangles in triangle_vertex.clip_three
Pyry Haulos [Tue, 22 Mar 2016 18:36:35 +0000 (11:36 -0700)]
Use smaller triangles in triangle_vertex.clip_three

A few tests in clipping.triangle_vertex.clip_three generate triangles
that extend over 2^22 units in NDC outside viewport (something real
content is never expected to contain). Clipping these is not something
older ES2-only GPUs are necessarily expected to do accurately and might
come with prohibitive performance cost. This change limits size of those
triangles to a more reasonable value.

Bug: 27533503
Change-Id: Ic571b9d79db2c40652e96f4fc6a567fcfa7dcee3

8 years agoFix ASTC framework tests
Pyry Haulos [Thu, 24 Mar 2016 16:49:00 +0000 (16:49 +0000)]
Fix ASTC framework tests
am: e43e099

* commit 'e43e0996535adec7a9f2edfc36999a581fe59f62':
  Fix ASTC framework tests

8 years agoAdded Sparse Resources Tests to Mustpass List
Kantoch [Tue, 15 Mar 2016 15:37:31 +0000 (16:37 +0100)]
Added Sparse Resources Tests to Mustpass List

8 years agoSparse Buffer Memory Aliasing Test
Arkadiusz Sarwa [Wed, 2 Mar 2016 12:55:21 +0000 (13:55 +0100)]
Sparse Buffer Memory Aliasing Test

8 years agoSparse Mipmaped Image Residency Test
Kantoch [Fri, 26 Feb 2016 14:51:11 +0000 (15:51 +0100)]
Sparse Mipmaped Image Residency Test

8 years agoSparse Image Residency Test
Kantoch [Wed, 24 Feb 2016 09:31:26 +0000 (10:31 +0100)]
Sparse Image Residency Test

8 years agoSparse Buffer Residency Test
Kantoch [Wed, 10 Feb 2016 16:34:06 +0000 (17:34 +0100)]
Sparse Buffer Residency Test

8 years agoSparse Resources Binding Tests
Kantoch [Thu, 4 Feb 2016 12:50:00 +0000 (13:50 +0100)]
Sparse Resources Binding Tests

8 years agoAdded getPhysicalDeviceSparseImageFormatProperties to Framework
Kantoch [Mon, 21 Mar 2016 13:05:41 +0000 (14:05 +0100)]
Added getPhysicalDeviceSparseImageFormatProperties to Framework

8 years agoFix ASTC framework tests
Pyry Haulos [Wed, 23 Mar 2016 23:10:27 +0000 (16:10 -0700)]
Fix ASTC framework tests

CEMS test mode will generate HDR blocks so trying to validate that it
generates valid LDR blocks will fail.

Change-Id: If9294d429811054e38167ba942f6910ad2545820

8 years agoFix a few issues in pipeline cache tests
Pyry Haulos [Thu, 10 Mar 2016 21:29:49 +0000 (13:29 -0800)]
Fix a few issues in pipeline cache tests

8 years agoRemove use of bison from glslang build files
Pyry Haulos [Wed, 23 Mar 2016 21:52:56 +0000 (21:52 +0000)]
Remove use of bison from glslang build files
am: c722ae3

* commit 'c722ae3843b1af58142cd83b15639f300df93fcf':
  Remove use of bison from glslang build files

8 years agoAdd pipeline cache tests
Rocky Shi [Thu, 10 Mar 2016 21:20:06 +0000 (13:20 -0800)]
Add pipeline cache tests

8 years agoMerge branch '167-image-atomic-operations-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Wed, 23 Mar 2016 21:45:58 +0000 (14:45 -0700)]
Merge branch '167-image-atomic-operations-tests' into 'vulkan-cts-1.0-dev'

Image Atomic Operations Tests

This merge request implements issue #167
Port Image Atomic Operations tests from OpenGL ES 3.1 to Vulkan.
To be precise port BinaryAtomicOperationCase test case from es31fShaderImageLoadStoreTests.cpp

See merge request !254

8 years agoRemove use of bison from glslang build files
Pyry Haulos [Wed, 23 Mar 2016 20:06:46 +0000 (13:06 -0700)]
Remove use of bison from glslang build files

Recent glslang revisions contain generated parser files and there is no
longer a need to run bison as part of the build process.

Change-Id: I5b068323245dbcfd1d9286718c165c3b9a0009ab

8 years agoSet bit in blit mask to settle ambiguity
Mika Isojärvi [Tue, 22 Mar 2016 23:25:53 +0000 (16:25 -0700)]
Set bit in blit mask to settle ambiguity

Bug: 27658048
Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3

8 years agoMerge "Fix memory requiredProperty flags to check for at least rather than exact...
David Sodman [Tue, 22 Mar 2016 21:34:04 +0000 (21:34 +0000)]
Merge "Fix memory requiredProperty flags to check for at least rather than exact match" into nyc-dev
am: 514fd83

* commit '514fd83f323b3e4b5c26a97ff9cdd666b9cd9728':
  Fix memory requiredProperty flags to check for at least rather than exact match

8 years agoMerge "Fix memory requiredProperty flags to check for at least rather than exact...
David Sodman [Tue, 22 Mar 2016 21:25:24 +0000 (21:25 +0000)]
Merge "Fix memory requiredProperty flags to check for at least rather than exact match" into nyc-dev

8 years agoSkip matrix transpose tests on non GLES2 implementations
Mika Isojrvi [Tue, 22 Mar 2016 21:20:54 +0000 (21:20 +0000)]
Skip matrix transpose tests on non GLES2 implementations
am: 25e5a1e

* commit '25e5a1e8c8c86eccebb2c7922c1cdf11a6d7bc02':
  Skip matrix transpose tests on non GLES2 implementations

8 years agoSkip matrix transpose tests on non GLES2 implementations
Mika Isojärvi [Tue, 22 Mar 2016 19:38:10 +0000 (12:38 -0700)]
Skip matrix transpose tests on non GLES2 implementations

Bug: 27724329
Change-Id: If24d7be2a08e2d7bb8f3c3755e0aaefd7b1ea2b3

8 years agoMerge "Clean up Win32 platform code" into nyc-dev
Pyry Haulos [Tue, 22 Mar 2016 17:51:18 +0000 (17:51 +0000)]
Merge "Clean up Win32 platform code" into nyc-dev
am: 813470e

* commit '813470e16149d6209ce96dbcfa6f6f72e8b7a64d':
  Clean up Win32 platform code

8 years agoMerge "Clean up Win32 platform code" into nyc-dev
Pyry Haulos [Tue, 22 Mar 2016 17:36:34 +0000 (17:36 +0000)]
Merge "Clean up Win32 platform code" into nyc-dev

8 years agoRemove invalid Invocations=0 from geometry shaders.
Andrew Woloszyn [Tue, 22 Mar 2016 15:57:04 +0000 (11:57 -0400)]
Remove invalid Invocations=0 from geometry shaders.

All of these geometry shaders are default, so they do not need any
Invocations decoration.

8 years agoMerge branch 'command-buffers' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 22 Mar 2016 14:54:47 +0000 (07:54 -0700)]
Merge branch 'command-buffers' into 'vulkan-cts-1.0-dev'

Extending command buffers tests

Three new tests are added to the command buffer tests.

See merge request !453

8 years agoMerge branch '284-image-early-fragment-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Tue, 22 Mar 2016 14:53:55 +0000 (07:53 -0700)]
Merge branch '284-image-early-fragment-tests' into 'vulkan-cts-1.0-dev'

Early fragment tests

Ported from OpenGL ES 3.1

Some changes wrt the original implementation:
- original test was categorized as "image", but I moved it to "pipeline"
  as it seemed more appropriate. (As a result branch name is slightly off now)
- uses SSBO/atomicAdd instead of image/imageAtomicAdd. Image use was an
  implementation detail and buffer is more straightforward to use.
- GLES had non-VBO cases which don't translate to Vulkan so were left out.

Fixes #284

See merge request !435

8 years agoMerge branch 'side-effect-of-322_api-patch-version-test' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 22 Mar 2016 14:53:04 +0000 (07:53 -0700)]
Merge branch 'side-effect-of-322_api-patch-version-test' into 'vulkan-cts-1.0'

Add a test for checking random values of PATCH component of VKApplicationInfo.apiVersion

This is a continuation of #322, where negative test for checking random patch versions is removed.

Here, a positive test is added instead to ensure that vkCreateInstande does NOT fail if PATCH version is unrecognized, weird or just 0.

See merge request !462

8 years agoMerge branch '329-fix-undef-tests' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 22 Mar 2016 14:52:27 +0000 (07:52 -0700)]
Merge branch '329-fix-undef-tests' into 'vulkan-cts-1.0'

Fix createOpUndef tests.

If we get a Nan from the OpFMul %f32 %undef %c_f32_0 then zero that
out as well.

Fixes #329

See merge request !473

8 years agovktApiDeviceInitializationTests patch iteration added
saniola [Thu, 3 Mar 2016 15:34:07 +0000 (16:34 +0100)]
vktApiDeviceInitializationTests patch iteration added

8 years agoEarly fragment tests
Maciej Jesionowski [Wed, 10 Feb 2016 11:08:05 +0000 (12:08 +0100)]
Early fragment tests

Ported from OpenGL ES 3.1

Some changes wrt the original implementation:
- original test was categorized as "image", but I moved it to "pipeline"
  as it seemed more appropriate.
- uses SSBO/atomicAdd instead of image/imageAtomicAdd. Image use was an
  implementation detail and buffer is more straightforward to use.
- GLES had non-VBO cases which don't translate to Vulkan so were left out.

8 years agoFix memory requiredProperty flags to check for at least rather than
David Sodman [Mon, 21 Mar 2016 23:09:31 +0000 (16:09 -0700)]
Fix memory requiredProperty flags to check for at least rather than
exact match

Change-Id: I4afbe9c091fb45bdc02eb4c2778f62989ba28c5e

8 years agoMerge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent...
David Sodman [Mon, 21 Mar 2016 21:23:47 +0000 (21:23 +0000)]
Merge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent" into nyc-dev
am: bc45f78

* commit 'bc45f78fd3231e8c26f2a29b695dc72c1a4f22f1':
  Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent

8 years agoMerge "Fix int to bool conversion warning" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:14:05 +0000 (21:14 +0000)]
Merge "Fix int to bool conversion warning" into nyc-dev
am: dbc0f4f

* commit 'dbc0f4ff66acb5b28e40023dade3ecc7a59f9a10':
  Fix int to bool conversion warning