platform/upstream/VK-GL-CTS.git
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 agoCompiler warning fix.
Csaba Osztrogonác [Fri, 1 Apr 2016 11:57:01 +0000 (13:57 +0200)]
Compiler warning fix.

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 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 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

8 years agoMerge "Improve logging in dEQP-VK.api.info.device.memory_properties" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:14:05 +0000 (21:14 +0000)]
Merge "Improve logging in dEQP-VK.api.info.device.memory_properties" into nyc-dev
am: f9ccfc8

* commit 'f9ccfc839034e8eb728cccbdc9558e37731f930e':
  Improve logging in dEQP-VK.api.info.device.memory_properties

8 years agoMerge changes I87bf1147,I1bfc5656 into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 21:14:05 +0000 (21:14 +0000)]
Merge changes I87bf1147,I1bfc5656 into nyc-dev
am: 74c6692

* commit '74c669208e3b0778082cb5bf9787925fc61c24f3':
  Enable blending for floating point formats
  Always disable blending for 32bit float formats

8 years agoMerge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent...
Pyry Haulos [Mon, 21 Mar 2016 21:11:12 +0000 (21:11 +0000)]
Merge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent" into nyc-dev

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

8 years agoMerge "Improve logging in dEQP-VK.api.info.device.memory_properties" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:04:08 +0000 (21:04 +0000)]
Merge "Improve logging in dEQP-VK.api.info.device.memory_properties" into nyc-dev

8 years agoMerge changes I87bf1147,I1bfc5656 into nyc-dev
Mika Isojarvi [Mon, 21 Mar 2016 21:03:15 +0000 (21:03 +0000)]
Merge changes I87bf1147,I1bfc5656 into nyc-dev

* changes:
  Enable blending for floating point formats
  Always disable blending for 32bit float formats

8 years agoMerge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 20:13:02 +0000 (20:13 +0000)]
Merge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev
am: 1554093

* commit '1554093ff09845082d3cf8ac024c14a46b98afed':
  Fix VkDeviceSize -> size_t warning in synchronization tests

8 years agoMerge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 20:01:40 +0000 (20:01 +0000)]
Merge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev

8 years agoFix int to bool conversion warning
Pyry Haulos [Mon, 21 Mar 2016 19:50:13 +0000 (12:50 -0700)]
Fix int to bool conversion warning

Change-Id: I8518715f690eca6e90732925cfb281f707090afc

8 years agoImprove logging in dEQP-VK.api.info.device.memory_properties
Pyry Haulos [Mon, 21 Mar 2016 19:48:50 +0000 (12:48 -0700)]
Improve logging in dEQP-VK.api.info.device.memory_properties

Change-Id: I70927510e3dce6dbc05cc0f49f24f5d331f49412

8 years agoMerge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 19:30:34 +0000 (19:30 +0000)]
Merge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev
am: a58c0e9

* commit 'a58c0e94da30994ed129a83e72cee057badaf9de':
  Fix GLES31 format counts in draw buffers indexed tests

8 years agoMerge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev
Mika Isojarvi [Mon, 21 Mar 2016 19:23:58 +0000 (19:23 +0000)]
Merge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev

8 years agoEnable blending for floating point formats
Mika Isojärvi [Mon, 21 Mar 2016 19:00:16 +0000 (12:00 -0700)]
Enable blending for floating point formats

Bug: 27745776
Change-Id: I87bf11473eb45048d6c79d61b2248ac1c07072de

8 years agoFix VkDeviceSize -> size_t warning in synchronization tests
Pyry Haulos [Mon, 21 Mar 2016 19:00:09 +0000 (12:00 -0700)]
Fix VkDeviceSize -> size_t warning in synchronization tests

Change-Id: Ieafc30f1e6bcf9f74f45bf8d0f110c1df5af8948

8 years agoClean up Win32 platform code
Pyry Haulos [Mon, 21 Mar 2016 18:58:17 +0000 (11:58 -0700)]
Clean up Win32 platform code

 * Move generic Win32 code to "win32" namespace

 * Move WGLContextFactory to wgl namespace (tcu::wgl::ContextFactory).

 * Move Vulkan platform implementation to tcuWin32VulkanPlatform.(c|h)pp.

Change-Id: Ie5d3945c54d6f696104270150c809638f16e18a1

8 years agoAlways disable blending for 32bit float formats
Mika Isojärvi [Mon, 21 Mar 2016 18:48:44 +0000 (11:48 -0700)]
Always disable blending for 32bit float formats

GLES32 doesn't support blending 32bit float formats.

Change-Id: I1bfc5656f741bcb80c01d0f8620dbf0441891c0a

8 years agoCommand buffer tests are fixed and extended.
Peter Siket [Tue, 26 Jan 2016 14:08:16 +0000 (15:08 +0100)]
Command buffer tests are fixed and extended.

8 years agoAdded command buffer tests using semaphores
Jan Syryczynski [Thu, 7 Jan 2016 09:52:37 +0000 (10:52 +0100)]
Added command buffer tests using semaphores

8 years agoAdd check to ensure memory and heap with DEVICE_LOCAL flags are
David Sodman [Mon, 21 Mar 2016 17:16:39 +0000 (10:16 -0700)]
Add check to ensure memory and heap with DEVICE_LOCAL flags are
consistent

Fixes Vulkan-CTS/issues/5

Change-Id: I678fb69082d8c68bfe6ee13387ef64baa21223dc

8 years agoMerge in bugfixes from Khronos repository
Jeannot Breton [Mon, 21 Mar 2016 17:49:51 +0000 (17:49 +0000)]
Merge in bugfixes from Khronos repository
am: 45cb571

* commit '45cb57100923ca89c36455f832398557d4877ff8':
  clamp allocation size based on heap size
  dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.
  Add new --deqp-log-flush command line option

8 years agoMerge "Add image layout transitions to pipeline barrier tests" into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 17:37:15 +0000 (17:37 +0000)]
Merge "Add image layout transitions to pipeline barrier tests" into nyc-dev
am: ac33169

* commit 'ac33169d5165d9a89bb2415f3f3ba48c427100f2':
  Add image layout transitions to pipeline barrier tests

8 years agoMerge in bugfixes from Khronos repository
Pyry Haulos [Mon, 21 Mar 2016 17:36:28 +0000 (10:36 -0700)]
Merge in bugfixes from Khronos repository

8 years agoMerge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Pyry Haulos [Mon, 21 Mar 2016 17:34:57 +0000 (10:34 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev

8 years agoAdd allocation callback tests for WSI
Pyry Haulos [Mon, 21 Mar 2016 17:32:04 +0000 (17:32 +0000)]
Add allocation callback tests for WSI
am: f1d576d

* commit 'f1d576d0d3f98e27b55038c5b29df26d1d0f0d79':
  Add allocation callback tests for WSI

8 years agoMerge "Add image layout transitions to pipeline barrier tests" into nyc-dev
Mika Isojarvi [Mon, 21 Mar 2016 17:31:40 +0000 (17:31 +0000)]
Merge "Add image layout transitions to pipeline barrier tests" into nyc-dev

8 years agoMerge branch 'jbreton-buffer-test-heap-limit' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 21 Mar 2016 17:28:07 +0000 (10:28 -0700)]
Merge branch 'jbreton-buffer-test-heap-limit' into 'vulkan-cts-1.0'

Fix createBuffer tests to clamp the buffer size based on the size of the selected heap

Right now, those tests clamp the allocation size based on the size of heap 0.
This is incorrect if the allocation is not done on heap 0.
In order to get the first compatible heap, we need to create the buffer and then call getBufferMemoryRequirements to query the requirement.

Then if we detect if the size need to be clamped we will recreate another buffer with the clamped size.

Fixes #326

See merge request !464

8 years agoAdd image layout transitions to pipeline barrier tests
Mika Isojärvi [Wed, 9 Mar 2016 21:40:54 +0000 (13:40 -0800)]
Add image layout transitions to pipeline barrier tests

Change-Id: I00008343a16d789a661c12e2ce378421ddb59ba9

8 years agoAdd allocation callback tests for WSI
Pyry Haulos [Fri, 18 Mar 2016 23:28:17 +0000 (16:28 -0700)]
Add allocation callback tests for WSI

Includes tests for simulating out of host memory.

Change-Id: I9d754654dbae51e5236887761e58fa37a87d8b7a

8 years agoFix GLES31 format counts in draw buffers indexed tests
Mika Isojärvi [Mon, 21 Mar 2016 17:12:16 +0000 (10:12 -0700)]
Fix GLES31 format counts in draw buffers indexed tests

Change-Id: I4d90e82e15aa594d1fcf9de811f41bc2343a9341

8 years agoAdd swapchain tests to mustpass
Pyry Haulos [Fri, 18 Mar 2016 23:44:18 +0000 (23:44 +0000)]
Add swapchain tests to mustpass
am: f7a3b26

* commit 'f7a3b26054a54b6349f9dcb2aa172140b24fdab4':
  Add swapchain tests to mustpass