platform/upstream/VK-GL-CTS.git
8 years agoam c198d02e: Fix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 15:21:34 +0000 (15:21 +0000)]
am c198d02e: Fix building on darwin-x86_64 with clang

* commit 'c198d02e1a3c433f5d580273e1dbc7396d8fcf0a':
  Fix building on darwin-x86_64 with clang

8 years agoFix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 02:44:21 +0000 (19:44 -0700)]
Fix building on darwin-x86_64 with clang

Change-Id: I258a707662f90777a4e7c2555f9ba9ee9106fa26

8 years agoRename "opnop_test" to "opnop".
Dejan Mircevski [Thu, 15 Oct 2015 20:28:56 +0000 (16:28 -0400)]
Rename "opnop_test" to "opnop".

Change-Id: I7e6a7faa845503c0416fa8ca8b99839246f710cd

8 years agoMerge "SpirVAssembly: Vulkan environment basics for compute pipeline." into vulkan
Lei Zhang [Thu, 15 Oct 2015 19:28:16 +0000 (19:28 +0000)]
Merge "SpirVAssembly: Vulkan environment basics for compute pipeline." into vulkan

8 years agoSpirVAssembly: Vulkan environment basics for compute pipeline.
Lei Zhang [Mon, 28 Sep 2015 20:52:14 +0000 (16:52 -0400)]
SpirVAssembly: Vulkan environment basics for compute pipeline.

Set up test groups for SPIR-V assembly tests.

Set up Vulkan environment for compute pipeline.

Added a simple compute shader which just negates data from input
buffer. And test SPIR-V instruction OpNop based on that.

Change-Id: I8ccd518d9441899667edd58a042315780b068d1e

8 years agoam bfb203d5: (-s ours) am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31...
Kalle Raita [Thu, 15 Oct 2015 17:25:48 +0000 (17:25 +0000)]
am bfb203d5: (-s ours) am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'bfb203d582e8eae319ef958210cfaf29bafe016d':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:20:31 +0000 (17:20 +0000)]
am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit '7aad11b331b77930088d20c6748a6bf22f6ab506':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:15:07 +0000 (17:15 +0000)]
am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'eee8271e04e7b701798aaee445c794f65a984d36':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam ed67acb6: Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Wed, 14 Oct 2015 16:29:55 +0000 (16:29 +0000)]
am ed67acb6: Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

* commit 'ed67acb6743caaff7536d3ffd48fa02baf5c595f':
  Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

8 years agoDo not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Tue, 13 Oct 2015 20:06:24 +0000 (13:06 -0700)]
Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

Bug: 24870380
Change-Id: Ia80a536334200ae0df8b042829554f8773b64967

8 years agoresolved conflicts for 00d2d01b to vulkan
Pyry Haulos [Tue, 13 Oct 2015 19:41:51 +0000 (12:41 -0700)]
resolved conflicts for 00d2d01b to vulkan

Change-Id: Ic61d31525616cffa2312efab1d53d0da9e7416f2

8 years agoAdd couple of new tcu::TextureFormat::ChannelType's
Pyry Haulos [Mon, 12 Oct 2015 21:06:47 +0000 (14:06 -0700)]
Add couple of new tcu::TextureFormat::ChannelType's

Change-Id: Iffa8a87f69f3da3bea435c422279f1b8d65c71a9

8 years agoAdd more tests to dEQP-VK.info
Pyry Haulos [Fri, 9 Oct 2015 17:32:04 +0000 (10:32 -0700)]
Add more tests to dEQP-VK.info

This adds queries for physical device properties and features, layers,
and extensions.

Change-Id: Icd04751174fbb426ae09c4c7e79e5e2a35df7025

8 years agoUpdate glslang revision
Pyry Haulos [Mon, 12 Oct 2015 16:09:49 +0000 (09:09 -0700)]
Update glslang revision

Change-Id: If916b693625ca9f2644c4e854494bb2ea51142a8

8 years agoUpdate SPIR-V tests and spirv-tools to SPIR-V rev32.
Lei Zhang [Fri, 9 Oct 2015 15:53:21 +0000 (11:53 -0400)]
Update SPIR-V tests and spirv-tools to SPIR-V rev32.

Change-Id: I60da261bff306e6749ef75890d9238761681f939

8 years agoUpdate glslang reference to Rev32 in gitlab
Pyry Haulos [Mon, 28 Sep 2015 22:03:08 +0000 (15:03 -0700)]
Update glslang reference to Rev32 in gitlab

Change-Id: I9fb3fc9ba00d3f6a27f90a7a6561a5df7e7c865c

8 years agoUpdate to API version 170.2
Pyry Haulos [Mon, 28 Sep 2015 21:51:57 +0000 (14:51 -0700)]
Update to API version 170.2

Change-Id: Icf48994ec9cff5a17ff1472bff2a1272a35a32c3

8 years agoam 330f6e62: Add ability to choose ExecServer port on Android
Pyry Haulos [Wed, 7 Oct 2015 17:23:31 +0000 (17:23 +0000)]
am 330f6e62: Add ability to choose ExecServer port on Android

* commit '330f6e62b24a80eb92f08a60eb6b769480572be9':
  Add ability to choose ExecServer port on Android

8 years agoAdd ability to choose ExecServer port on Android
Pyry Haulos [Tue, 6 Oct 2015 22:46:39 +0000 (15:46 -0700)]
Add ability to choose ExecServer port on Android

Both ExecService and ServiceStarter will now use "port" integer extra,
if supplied as part of intent, to choose port.

Bug: 23429375
Change-Id: Ia4c5f6f4c90e01f8879aa76a9ba48c8addfc9669

8 years agoDO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Tue, 6 Oct 2015 18:50:19 +0000 (11:50 -0700)]
DO NOT MERGE Split GLES31 copy image tests in 3.

Add support for filter-based splits of the CTS packages in
build_android_mustpass.py.

Split GLES31 copy image tests into 3 smaller CTS packages to get all CTS
packages to run in 3 hours or less on current platforms.

Bug: 24312007
Change-Id: I96bf1ce751ec341f1d6bfa80e7a28daf68cdf1e1

8 years agoam a60dea67: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 5 Oct 2015 20:20:26 +0000 (20:20 +0000)]
am a60dea67: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

* commit 'a60dea67360b3fd0d4907eb1885ed94de07dbba8':
  Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

8 years agoExplicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 14 Sep 2015 14:20:43 +0000 (15:20 +0100)]
Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

Some new tests missing the call to set the BUFFERED_DESTROYED swap
behavior.

Change-Id: I2856833d78b9d4763614f68e42eb31194cfe7715

8 years agoMake vkt::TestInstance assignment and copy ctor private
Pyry Haulos [Fri, 2 Oct 2015 18:52:26 +0000 (11:52 -0700)]
Make vkt::TestInstance assignment and copy ctor private

Change-Id: I629f51972302a46fcba51eac87a69d32313bf05a

8 years agoam 4dae2c1c: Merge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:50:35 +0000 (20:50 +0000)]
am 4dae2c1c: Merge "Add deCtz32() to deInt32.h"

* commit '4dae2c1cc0d97512a9e9670a86deff78345a2b0a':
  Add deCtz32() to deInt32.h

8 years agoMerge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:48:16 +0000 (20:48 +0000)]
Merge "Add deCtz32() to deInt32.h"

8 years agoAdd vkTypeUtil
Pyry Haulos [Thu, 1 Oct 2015 15:13:47 +0000 (08:13 -0700)]
Add vkTypeUtil

vkTypeUtil.hpp provides convenience functions for creating "simple"
Vulkan composite types, such as VkRect2D or VkChannelMapping.

Change-Id: I5b76046a61a06e92539a19666391b3c322863fca

8 years agoam 8914681e: Re-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:27:52 +0000 (21:27 +0000)]
am 8914681e: Re-generate master mustpass

* commit '8914681e8a611121c915950909cad9157cae37e4':
  Re-generate master mustpass

8 years agoRe-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:20:15 +0000 (14:20 -0700)]
Re-generate master mustpass

Change-Id: I3552a20708cd565c677d2e04626b5ea63ea03f89

8 years agoam 1c952028: Merge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 20:06:46 +0000 (20:06 +0000)]
am 1c952028: Merge "Add preprocessor "defined" operator corner cases"

* commit '1c952028cf7b088abb9f23b721a4f54210e47c66':
  Add preprocessor "defined" operator corner cases

8 years agoam 677e4644: Fix couple of issues in refactored ShaderLibrary
Pyry Haulos [Wed, 30 Sep 2015 20:06:45 +0000 (20:06 +0000)]
am 677e4644: Fix couple of issues in refactored ShaderLibrary

* commit '677e4644b77c36b99a8959561730c9a519cc37c0':
  Fix couple of issues in refactored ShaderLibrary

8 years agoAdd deCtz32() to deInt32.h
Pyry Haulos [Wed, 30 Sep 2015 17:56:36 +0000 (10:56 -0700)]
Add deCtz32() to deInt32.h

deCtz32() computes number of trailing zeros.

Change-Id: I44707d92696af927d7464b75be789571338be479

8 years agoMerge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 17:53:50 +0000 (17:53 +0000)]
Merge "Add preprocessor "defined" operator corner cases"

8 years agoMerge changes from Khronos repository
Pyry Haulos [Wed, 30 Sep 2015 17:47:13 +0000 (10:47 -0700)]
Merge changes from Khronos repository

8 years agoFix warning in vkQueryUtil.cpp
Pyry Haulos [Wed, 30 Sep 2015 17:44:02 +0000 (10:44 -0700)]
Fix warning in vkQueryUtil.cpp

Change-Id: Ie39dd6585b6ee4445d11cfa2b3512eaeedc8ea3d

8 years agoFix couple of issues in refactored ShaderLibrary
Pyry Haulos [Wed, 30 Sep 2015 17:00:12 +0000 (10:00 -0700)]
Fix couple of issues in refactored ShaderLibrary

 * Support for pipeline (separable) programs was broken

 * Extensions weren't checked for "both" -type cases

Change-Id: Ida579fb1cec7d892f244036f452405b491e7b4f1

8 years agoAdd preprocessor "defined" operator corner cases
Olli Etuaho [Mon, 28 Sep 2015 08:08:52 +0000 (11:08 +0300)]
Add preprocessor "defined" operator corner cases

The GLES3 shader tests have already required "defined" operator generated
by macro replacement to work. This is not specified by the C++ standard,
and has some corner cases where implementations might differ. Test the
corner cases to ensure fully compatible implementations.

These cases were already tested against some existing implementations on
Nexus devices, and the implementations mostly passed.

Change-Id: Ic54afc9436bb2ad2d7bfc7dc1e1833f700d3ca49

8 years agoMerge branch 'glslang_final_check_missing' into 'master'
Pyry Haulos [Tue, 29 Sep 2015 17:28:43 +0000 (13:28 -0400)]
Merge branch 'glslang_final_check_missing' into 'master'

Fix SpvGenerator - finalCheck pass was missing

Without this pass glslang will not do implicit array sizing, which may end in spurious "Missing functionality: Unsized Arrays" functionality on build-ins like gl_ClipDistance[] - even if they are not used in shaders at all.

This happened to me when I was trying to use #version 430 in test.

See merge request !32

8 years agoFix SpvGenerator - finalCheck pass was missing
scygan [Tue, 29 Sep 2015 17:15:02 +0000 (19:15 +0200)]
Fix SpvGenerator - finalCheck pass was missing

Without this pass glslang will not do implicit array sizing, which may end in spurious "Missing functionality: Unsized Arrays" functionality on build-ins like gl_ClipDistance[] - even if they are not used in shaders at all.

8 years agoFix invalid include guards
Pyry Haulos [Mon, 28 Sep 2015 22:39:47 +0000 (15:39 -0700)]
Fix invalid include guards

Change-Id: Ia9d53908b35343a1b285800bb930efdc9af2d6d4

8 years agoMerge changes from Khronos tree
Pyry Haulos [Mon, 28 Sep 2015 22:15:16 +0000 (15:15 -0700)]
Merge changes from Khronos tree

8 years agoMerge branch 'dkoch_misc_fixes' into 'master'
Pyry Haulos [Fri, 25 Sep 2015 18:18:57 +0000 (14:18 -0400)]
Merge branch 'dkoch_misc_fixes' into 'master'

Miscellaneous fixes

* Build with android-22. The Android SDK doesn't even seem to have android-13 around any more.
* Add newline before printing array of values, so they line up. Includes regeneration of the framework.
* Initialize the memory properties structure. This structure has a few large fixed sized arrays in it. Initialize the structure to avoid printing out uninitialized garbage in the log.
* Fix typo in log message

See merge request !30

8 years agobuild with android-22
Daniel Koch [Fri, 25 Sep 2015 03:20:40 +0000 (23:20 -0400)]
build with android-22

The Andriod SDK doesn't even have android-13 around anymore.

8 years agoAdd newline before printing array of values
Daniel Koch [Fri, 25 Sep 2015 05:29:38 +0000 (01:29 -0400)]
Add newline before printing array of values

Regenerate framework

8 years agoFix typo in log message
Daniel Koch [Fri, 25 Sep 2015 05:10:30 +0000 (01:10 -0400)]
Fix typo in log message

8 years agoInitialize the memory properties structure
Daniel Koch [Fri, 25 Sep 2015 05:14:39 +0000 (01:14 -0400)]
Initialize the memory properties structure

This structure has a few large fixed sized arrays in it.
Initialize the structure to avoid printing out uninitialized garbage in the log.

8 years agoam 4174d1d7: am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop...
Kalle Raita [Thu, 24 Sep 2015 22:24:05 +0000 (22:24 +0000)]
am 4174d1d7: am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests

* commit '4174d1d7a79cc7d36debf527112f26a3e8f22a87':
  Remove large draw_indirect.compute_interop tests

8 years agoam d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests
Kalle Raita [Thu, 24 Sep 2015 22:17:16 +0000 (22:17 +0000)]
am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests

* commit 'd3e1b23dcd36e8247945deb6c00f725525f0f165':
  Remove large draw_indirect.compute_interop tests

8 years agoam ca60962c: Remove large draw_indirect.compute_interop tests
Kalle Raita [Thu, 24 Sep 2015 22:09:44 +0000 (22:09 +0000)]
am ca60962c: Remove large draw_indirect.compute_interop tests

* commit 'ca60962c06f071d7a40bade0771c5a60b8f18864':
  Remove large draw_indirect.compute_interop tests

8 years agoMerge "Add support for --deqp-case option to vk-build-programs" into vulkan
Pyry Haulos [Thu, 24 Sep 2015 22:01:39 +0000 (22:01 +0000)]
Merge "Add support for --deqp-case option to vk-build-programs" into vulkan

8 years agoAdd glu::ShaderType <-> VkShaderStage utils to vkPrograms
Pyry Haulos [Tue, 22 Sep 2015 18:28:13 +0000 (11:28 -0700)]
Add glu::ShaderType <-> VkShaderStage utils to vkPrograms

Change-Id: I04b98eb3cab6c0676c509e6065a652dc9848cd99

8 years agoAdd _LAST member to Vk* enums
Pyry Haulos [Thu, 24 Sep 2015 21:12:41 +0000 (14:12 -0700)]
Add _LAST member to Vk* enums

This adds VK_*_LAST to all Vk* enums that have linearly increasing enum
values. For example VK_RESULT_LAST is not added as the values are not
linearly increasing.

Change-Id: I717d7f58972e30c4e531af498dfba36b97f1587e

8 years agoAdd support for --deqp-case option to vk-build-programs
Pyry Haulos [Thu, 24 Sep 2015 20:40:14 +0000 (13:40 -0700)]
Add support for --deqp-case option to vk-build-programs

Change-Id: Iefb8b4c1bc191dfe0b5874805055961e2d594e45

8 years agoam 452ef231: Fix unnecessary assumption about source dir name
Pyry Haulos [Thu, 24 Sep 2015 20:32:48 +0000 (20:32 +0000)]
am 452ef231: Fix unnecessary assumption about source dir name

* commit '452ef231d18d5334b5ea30c9ee700d52ed0da505':
  Fix unnecessary assumption about source dir name

8 years agoFix unnecessary assumption about source dir name
Pyry Haulos [Thu, 24 Sep 2015 20:17:12 +0000 (13:17 -0700)]
Fix unnecessary assumption about source dir name

Build scripts were unnecessarily (and sometimes incorrectly) assuming
that deqp sources would be in a directory called "deqp".

Change-Id: I3c6cf5d850aa5598daa1d0832ee403bb639451a2

8 years agoRemove large draw_indirect.compute_interop tests
Kalle Raita [Wed, 23 Sep 2015 23:37:50 +0000 (16:37 -0700)]
Remove large draw_indirect.compute_interop tests

Remove tests in draw_indirect.compute_interop.large.drawelements_*_grid
that have grid size 1000 or greater.

Bug: 23288315
Change-Id: Ifbdea2ff884122da097198525a5b13d91ea00fe9

8 years agoUpdate glslang and spirv-tools revisions
Pyry Haulos [Tue, 22 Sep 2015 18:07:56 +0000 (11:07 -0700)]
Update glslang and spirv-tools revisions

Change-Id: I358e185de1c32ef8dc61e4360c0acbe5391fcae0

8 years agoUpdate external sources.
Mika Isojärvi [Mon, 21 Sep 2015 21:10:04 +0000 (14:10 -0700)]
Update external sources.

Change-Id: I315f046e2405ecba4471d903314c73f6bd776e01

8 years agoMerge "Map sRGB VkFormats to unorm instead of snorm" into vulkan
Mika Isojarvi [Thu, 17 Sep 2015 20:13:03 +0000 (20:13 +0000)]
Merge "Map sRGB VkFormats to unorm instead of snorm" into vulkan

8 years agoAdd glslang and spirv-tools to fetch_sources.py
Pyry Haulos [Thu, 17 Sep 2015 16:01:23 +0000 (09:01 -0700)]
Add glslang and spirv-tools to fetch_sources.py

Change-Id: I11da6673d0b7755422820a52b63c26759633f1aa

8 years agoam e2991312: Merge "Improve external/fetch_sources.py"
Pyry Haulos [Thu, 17 Sep 2015 17:07:05 +0000 (17:07 +0000)]
am e2991312: Merge "Improve external/fetch_sources.py"

* commit 'e2991312606d33eef30c54787f71e166c4317aa3':
  Improve external/fetch_sources.py

8 years agoMerge "Improve external/fetch_sources.py"
Pyry Haulos [Thu, 17 Sep 2015 16:57:35 +0000 (16:57 +0000)]
Merge "Improve external/fetch_sources.py"

8 years agoMerge "Simplify case names and reduce log spam in depth tests" into vulkan
Pyry Haulos [Thu, 17 Sep 2015 15:57:36 +0000 (15:57 +0000)]
Merge "Simplify case names and reduce log spam in depth tests" into vulkan

8 years agoam 368be866: Merge "Add tests back to master mustpass"
Pyry Haulos [Wed, 16 Sep 2015 21:01:37 +0000 (21:01 +0000)]
am 368be866: Merge "Add tests back to master mustpass"

* commit '368be866c4c635a240737b8f3a550d4e80848778':
  Add tests back to master mustpass

8 years agoam c1cce2ff: Clean up support checks in ShaderExecutor
Pyry Haulos [Wed, 16 Sep 2015 21:01:36 +0000 (21:01 +0000)]
am c1cce2ff: Clean up support checks in ShaderExecutor

* commit 'c1cce2ffcc49c4cde66dcfd54f46b8ccea119b0c':
  Clean up support checks in ShaderExecutor

8 years agoMerge "Add tests back to master mustpass"
Pyry Haulos [Wed, 16 Sep 2015 20:14:48 +0000 (20:14 +0000)]
Merge "Add tests back to master mustpass"

8 years agoMap sRGB VkFormats to unorm instead of snorm
Mika Isojärvi [Wed, 16 Sep 2015 19:47:52 +0000 (12:47 -0700)]
Map sRGB VkFormats to unorm instead of snorm

Change-Id: I20f76188262733747a56feca55404afcc674f2d7

8 years agoImprove external/fetch_sources.py
Pyry Haulos [Tue, 15 Sep 2015 19:10:25 +0000 (12:10 -0700)]
Improve external/fetch_sources.py

 * Cache fetched packages, making fetch_sources.py significantly faster
when package reference has not been updated.

 * Keep sources in a separate sub-directory

 * Add initial support for git repositories

Change-Id: If24b18efb6d052147bfb4ed23ceeb40e2b391f3d

8 years agoam 193d4ea0: Merge "Remove use of transform feedback from ShaderExecutor"
Pyry Haulos [Tue, 15 Sep 2015 21:38:57 +0000 (21:38 +0000)]
am 193d4ea0: Merge "Remove use of transform feedback from ShaderExecutor"

* commit '193d4ea027b97723ead2f85bf01a31a235b47dbf':
  Remove use of transform feedback from ShaderExecutor

8 years agoClean up support checks in ShaderExecutor
Pyry Haulos [Mon, 14 Sep 2015 21:47:52 +0000 (14:47 -0700)]
Clean up support checks in ShaderExecutor

Change-Id: I05a0cdf2b3edaa1cba4d307048ab0cf94007daba

8 years agoMerge "Remove use of transform feedback from ShaderExecutor"
Pyry Haulos [Tue, 15 Sep 2015 21:29:22 +0000 (21:29 +0000)]
Merge "Remove use of transform feedback from ShaderExecutor"

8 years agoam 0b6f2b82: Merge "Optimize sRGB8 lookups by using lut."
Mika Isojarvi [Mon, 14 Sep 2015 23:07:05 +0000 (23:07 +0000)]
am 0b6f2b82: Merge "Optimize sRGB8 lookups by using lut."

* commit '0b6f2b820847a3536b0d287925afdf4dc18dcf5e':
  Optimize sRGB8 lookups by using lut.

8 years agoMerge "Optimize sRGB8 lookups by using lut."
Mika Isojarvi [Mon, 14 Sep 2015 23:01:42 +0000 (23:01 +0000)]
Merge "Optimize sRGB8 lookups by using lut."

8 years agoAdd tests back to master mustpass
Pyry Haulos [Thu, 10 Sep 2015 19:59:27 +0000 (12:59 -0700)]
Add tests back to master mustpass

Adds initial list of cases that would be realistic to pass by next
release, back to mustpass.

Change-Id: Iee782246326fe9d38b2fdf1a1ab7c8e74dbefb88

8 years agoam 83a2de97: Log backtrace on crash on linux.
Mika Isojärvi [Mon, 14 Sep 2015 22:16:19 +0000 (22:16 +0000)]
am 83a2de97: Log backtrace on crash on linux.

* commit '83a2de97c5c5ed52df9eb445919f09c950b8c846':
  Log backtrace on crash on linux.

8 years agoLog backtrace on crash on linux.
Mika Isojärvi [Thu, 23 Apr 2015 22:33:28 +0000 (15:33 -0700)]
Log backtrace on crash on linux.

Change-Id: I04933873c5a637bc0a414200e391b30b20b2c036

8 years agoFix syntax error
Mika Isojärvi [Mon, 14 Sep 2015 21:31:03 +0000 (14:31 -0700)]
Fix syntax error

Change-Id: Ibfcaac6782104e54e812ef7f43a712cda4322ee6

8 years agoOptimize sRGB8 lookups by using lut.
Mika Isojärvi [Thu, 30 Apr 2015 22:15:36 +0000 (15:15 -0700)]
Optimize sRGB8 lookups by using lut.

Change-Id: I8e77ed3d6572130658b67f8b1dcccad68583d2e6

8 years agoRemove use of transform feedback from ShaderExecutor
Pyry Haulos [Thu, 3 Sep 2015 18:13:21 +0000 (11:13 -0700)]
Remove use of transform feedback from ShaderExecutor

ShaderExecutor for vertex and geometry shaders now pass data down to
fragment shader stage, and ultimately to render targets. This ends up
exercising both shader stages more naturally, as some implementations
have special paths for transform feedback.

Change-Id: I7fb6a20672bcde5b710fc778f9c013d9215d0ca1

8 years agoFix compilation error caused by missing spvCheck
Mika Isojärvi [Mon, 14 Sep 2015 20:39:06 +0000 (13:39 -0700)]
Fix compilation error caused by missing spvCheck

Use if -statement instead of spvCheck in deqp code.

Change-Id: I4a00b7c59e06639489f7bf9d5a13a27fd28e82cf

8 years agoSimplify case names and reduce log spam in depth tests
Pyry Haulos [Thu, 10 Sep 2015 17:21:15 +0000 (10:21 -0700)]
Simplify case names and reduce log spam in depth tests

 * Use all-lowercase case names, remove unnecessary VK_FORMAT_ and
VK_COMPARE_OP_ prefixes

 * Log reference and error mask images only if image comparison failed

Change-Id: I7d0d7df94e5eb5a375f19525a73dccfc5fc0e96c

8 years agoAdd resource access binding model tests.
Jarkko Pöyry [Wed, 29 Jul 2015 00:49:01 +0000 (17:49 -0700)]
Add resource access binding model tests.

Change-Id: Icf7d9a37bca6c9151dcb417094f76787379e6c9f

8 years agoFix vk::Allocation usage in pipeline tests
Pyry Haulos [Thu, 10 Sep 2015 17:15:40 +0000 (10:15 -0700)]
Fix vk::Allocation usage in pipeline tests

vk::Allocation API semantics had changed; memory mappings are now
managed by Allocation and must not be manipulated from outside.

Change-Id: I47406e7842b8cce0544c9c9585714454114d66bf

8 years agoMerge Google and Khronos branches
Pyry Haulos [Thu, 10 Sep 2015 17:06:01 +0000 (10:06 -0700)]
Merge Google and Khronos branches

Change-Id: I293012b71a0f994ce7301b8171d3bf031d0bdbf2

8 years agoMerge branch '6-depth-tests' into 'master'
Pyry Haulos [Thu, 10 Sep 2015 15:59:23 +0000 (11:59 -0400)]
Merge branch '6-depth-tests' into 'master'

Depth tests

Merge depth tests to master (Issue #6).

See merge request !18

8 years agoFix build when spirv-tools are not available
Pyry Haulos [Wed, 9 Sep 2015 20:03:59 +0000 (13:03 -0700)]
Fix build when spirv-tools are not available

Change-Id: Iaa21f82cb51a18e927e5bd36a857b10a590240fc

8 years agoAdded spirv-tools to the vulkan test suite.
Andrew Woloszyn [Fri, 4 Sep 2015 19:50:45 +0000 (15:50 -0400)]
Added spirv-tools to the vulkan test suite.

This allows hand-written assembly tests.

It follows the same philosophy as glslang, and allows spirv to be
assembled prior to running the tests or at test time.

Change-Id: I1110fcd4f5713b50274502e73703bd1ba2fd372f

8 years agoam 8deafd7e: Fix bugs in image.create tests and clean up code a bit
Pyry Haulos [Tue, 8 Sep 2015 22:04:46 +0000 (22:04 +0000)]
am 8deafd7e: Fix bugs in image.create tests and clean up code a bit

* commit '8deafd7e4dcdd401ebb39ea28eb4cfaa8e326135':
  Fix bugs in image.create tests and clean up code a bit

8 years agoFix bugs in image.create tests and clean up code a bit
Pyry Haulos [Tue, 8 Sep 2015 19:53:12 +0000 (12:53 -0700)]
Fix bugs in image.create tests and clean up code a bit

 * Cube map tests were incorrectly using EGL image target as format.

 * GL_R & GL_RG cases weren't properly checking for extensions due
to typo in m_format initialization.

 * General cleanup for format/internalFormat handling and separation.

Change-Id: I6c1b28385269d4af60d1a5e097ef1dbb11413f6b

8 years agoDepth tests:
Dae Kim [Mon, 7 Sep 2015 16:41:06 +0000 (17:41 +0100)]
Depth tests:
- Added tests for format capabilities.
- Check format properties before creating the depth/stencil attachment.

8 years agoam 4d6d18f1: am 7d64dcad: am a2d25ce9: Fix out-of-bounds buffer access in tese Shader...
Pyry Haulos [Thu, 3 Sep 2015 17:49:20 +0000 (17:49 +0000)]
am 4d6d18f1: am 7d64dcad: am a2d25ce9: Fix out-of-bounds buffer access in tese ShaderExecutor

* commit '4d6d18f16e92b0abe926ed193cd35e724993dd9c':
  Fix out-of-bounds buffer access in tese ShaderExecutor

8 years agoam 7d64dcad: am a2d25ce9: Fix out-of-bounds buffer access in tese ShaderExecutor
Pyry Haulos [Thu, 3 Sep 2015 17:37:33 +0000 (17:37 +0000)]
am 7d64dcad: am a2d25ce9: Fix out-of-bounds buffer access in tese ShaderExecutor

* commit '7d64dcad472de04da2cd2d8512116f360b50f8df':
  Fix out-of-bounds buffer access in tese ShaderExecutor

8 years agoam a2d25ce9: Fix out-of-bounds buffer access in tese ShaderExecutor
Pyry Haulos [Thu, 3 Sep 2015 17:21:09 +0000 (17:21 +0000)]
am a2d25ce9: Fix out-of-bounds buffer access in tese ShaderExecutor

* commit 'a2d25ce999fbbe13789e80ce803cc7b96d2a4c9d':
  Fix out-of-bounds buffer access in tese ShaderExecutor

8 years agoFix out-of-bounds buffer access in tese ShaderExecutor
Pyry Haulos [Thu, 3 Sep 2015 15:41:09 +0000 (08:41 -0700)]
Fix out-of-bounds buffer access in tese ShaderExecutor

Tessellation evaluation shader executor was accessing input and output
buffers one element out of bounds at the end. In addition elements
1..N-1 were evaluated twice unnecessarily.

Bug: 23684915
Change-Id: I1c187b506d36befe05b21222a7006e84b812ceca

8 years agoam dcd1b918: Archive MNC mustpass
Pyry Haulos [Wed, 2 Sep 2015 22:14:06 +0000 (22:14 +0000)]
am dcd1b918: Archive MNC mustpass

* commit 'dcd1b918244a94a1e52b8717118648601bdeb2ad':
  Archive MNC mustpass

8 years agoArchive MNC mustpass
Pyry Haulos [Wed, 2 Sep 2015 21:59:24 +0000 (14:59 -0700)]
Archive MNC mustpass

 * MNC mustpass is now sourced from explicit case list, making it
immutable for test additions

 * Add new master mustpass, consisting of tests in MNC plus any new
tests

Change-Id: Icee0166bb08113334f7322c1c910efe47bfb7c4e

8 years agoMerge "Add {flush,invalidate}MappedMemoryRange to vkMemUtil" into vulkan
Pyry Haulos [Wed, 2 Sep 2015 21:13:21 +0000 (21:13 +0000)]
Merge "Add {flush,invalidate}MappedMemoryRange to vkMemUtil" into vulkan

8 years agoam fb193241: Refactor ShaderLibrary (with Android.mk fix)
Pyry Haulos [Wed, 2 Sep 2015 19:34:58 +0000 (19:34 +0000)]
am fb193241: Refactor ShaderLibrary (with Android.mk fix)

* commit 'fb19324168dd35ccbb7fca74e5426f1a3fbc03a2':
  Refactor ShaderLibrary (with Android.mk fix)

8 years agoam 0024f551: Revert "Refactor ShaderLibrary"
Pyry Haulos [Wed, 2 Sep 2015 17:58:58 +0000 (17:58 +0000)]
am 0024f551: Revert "Refactor ShaderLibrary"

* commit '0024f5512d4e3796b42bb2afe5449e3adac6a137':
  Revert "Refactor ShaderLibrary"

8 years agoRefactor ShaderLibrary (with Android.mk fix)
Pyry Haulos [Tue, 1 Sep 2015 20:56:41 +0000 (13:56 -0700)]
Refactor ShaderLibrary (with Android.mk fix)

 * Refactor ShaderLibraryCase interface into more concise and standalone
ShaderCaseSpecification

 * Move .test file parser and common utilities to glutil

Change-Id: Ia06711a5cfb56e24b68a1a517062f1f0806168d2

8 years agoRevert "Refactor ShaderLibrary"
Pyry Haulos [Wed, 2 Sep 2015 17:47:12 +0000 (17:47 +0000)]
Revert "Refactor ShaderLibrary"

This reverts commit 877323dd00656b1045e89b4cc27d2e3ab9ecac2c.

Change-Id: I65ba2756b218d76f1189d82287dafbdb6316d725