platform/upstream/VK-GL-CTS.git
9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

9 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

9 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

9 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

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

9 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

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

9 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

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

9 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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

Change-Id: I315f046e2405ecba4471d903314c73f6bd776e01

9 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

9 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

9 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

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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

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

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

9 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."

9 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

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

9 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

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

Change-Id: Ibfcaac6782104e54e812ef7f43a712cda4322ee6

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

9 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

9 years agoAdd {flush,invalidate}MappedMemoryRange to vkMemUtil
Pyry Haulos [Wed, 2 Sep 2015 17:35:42 +0000 (10:35 -0700)]
Add {flush,invalidate}MappedMemoryRange to vkMemUtil

Change-Id: Iba592b3133a439302476182c5019191ee415ceec

9 years agoAdd getHostPtr() to vk::Allocation
Pyry Haulos [Tue, 1 Sep 2015 21:52:56 +0000 (14:52 -0700)]
Add getHostPtr() to vk::Allocation

Since there can exist only one memory mapping for any VkDeviceMemory
and vkUmapMemory() unmaps all pages, current Allocator interface doesn't
extend to sub-allocators properly. To make sub-allocation work,
Allocator must be responsible of managing memory mappings.

The new behavior is to always map any host-visible allocations and
provide host pointer as part of Allocation.

Change-Id: I83a28b1387b282a373604cb112757ffdd75b20b3

9 years agoam 877323dd: Refactor ShaderLibrary
Pyry Haulos [Wed, 2 Sep 2015 16:54:37 +0000 (16:54 +0000)]
am 877323dd: Refactor ShaderLibrary

* commit '877323dd00656b1045e89b4cc27d2e3ab9ecac2c':
  Refactor ShaderLibrary

9 years agoRefactor ShaderLibrary
Pyry Haulos [Tue, 1 Sep 2015 20:56:41 +0000 (13:56 -0700)]
Refactor ShaderLibrary

 * Refactor ShaderLibraryCase interface into more concise and standalone
ShaderCaseSpecification

 * Move .test file parser and common utilities to glutil

Change-Id: Iadf6e1baaf65f69df15d57301b1175c112bd6469

9 years agoam 65584c55: Merge "Add tests for creation of EGLImages from one component textures."
Toby Sargeant [Wed, 2 Sep 2015 16:36:25 +0000 (16:36 +0000)]
am 65584c55: Merge "Add tests for creation of EGLImages from one component textures."

* commit '65584c55022c0303b89110b24aff526c8d8b43f8':
  Add tests for creation of EGLImages from one component textures.

9 years agoMerge "Add tests for creation of EGLImages from one component textures."
Toby Sargeant [Wed, 2 Sep 2015 16:23:12 +0000 (16:23 +0000)]
Merge "Add tests for creation of EGLImages from one component textures."

9 years agoAdded pipeline depth tests for Vulkan.
Dae Kim [Wed, 2 Sep 2015 12:11:26 +0000 (13:11 +0100)]
Added pipeline depth tests for Vulkan.

9 years agoAdded Vulkan image utils.
Dae Kim [Wed, 2 Sep 2015 12:09:44 +0000 (13:09 +0100)]
Added Vulkan image utils.

9 years agoSupport for FLOAT_UNSIGNED_INT_8 and UNSIGNED_INT_16_8 channel types.
Dae Kim [Wed, 2 Sep 2015 12:06:53 +0000 (13:06 +0100)]
Support for FLOAT_UNSIGNED_INT_8 and UNSIGNED_INT_16_8 channel types.

9 years agoAdd tests for creation of EGLImages from one component textures.
Tobias Sargeant [Wed, 26 Aug 2015 11:14:57 +0000 (12:14 +0100)]
Add tests for creation of EGLImages from one component textures.

One component textures are used by WebView for for passing YUV12
frames between threads.

Change-Id: I206bed24a2428e2289b468ec06b88ec1bb53af9d

9 years agoAdd --verbose option to vk-build-programs
Pyry Haulos [Tue, 1 Sep 2015 21:08:57 +0000 (14:08 -0700)]
Add --verbose option to vk-build-programs

In verbose mode shader sources and compile logs are printed out if
compilation fails.

Change-Id: I580888126e4b156534cad1aaf6d97f64464f2fde

9 years agoam cc09bb0e: (-s ours) am 3fc4aae4: (-s ours) am 175a9614: am cd026d99: (-s ours...
Jarkko Pöyry [Fri, 28 Aug 2015 18:33:24 +0000 (18:33 +0000)]
am cc09bb0e: (-s ours) am 3fc4aae4: (-s ours) am 175a9614: am cd026d99: (-s ours) am c5ed2a26: am db2aae51: am eef37a2a: am 4a3d88ee: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

* commit 'cc09bb0e2657205929ae3ba45494a0c671c689c7':

9 years agoam b1584184: am 77e72636: am ea702448: am d38c14ba: am 75e63782: am 523bdab6: am...
Pyry Haulos [Fri, 28 Aug 2015 18:33:23 +0000 (18:33 +0000)]
am b1584184: am 77e72636: am ea702448: am d38c14ba: am 75e63782: am 523bdab6: am 4667bcc1: am f55476d8: Remove fragment_out tests with too strict thresholds from mustpass

* commit 'b1584184a222bbc0c9326e49650a61b51ab23259':

9 years agoam 44e478f9: (-s ours) am 01832257: (-s ours) am 9eefd6e7: am 5efd3ca9: (-s ours...
Pyry Haulos [Fri, 28 Aug 2015 18:33:23 +0000 (18:33 +0000)]
am 44e478f9: (-s ours) am 01832257: (-s ours) am 9eefd6e7: am 5efd3ca9: (-s ours) am fa285d6b: am 36059e0d: am 7ce9438a: am 0870de9a: (-s ours) DO NOT MERGE Do not require signed zero support in ldexp tests()

* commit '44e478f9facd2a661b0085ee10e8fcd6c546a654':

9 years agoam c3d3c743: am 076cb71c: am 57fda38b: am b00d353a: am 1b179ac7: am 220337ad: am...
Jarkko Pöyry [Fri, 28 Aug 2015 18:33:22 +0000 (18:33 +0000)]
am c3d3c743: am 076cb71c: am 57fda38b: am b00d353a: am 1b179ac7: am 220337ad: am 01516433: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.

* commit 'c3d3c7430b0e5b191091a99b4bb8c03d84290f67':

9 years agoam 9caf9fad: am 56cd4770: am a7b6dc7a: am 342b03b5: (-s ours) am ca04416b: am 33c9e11...
Mika Isojärvi [Fri, 28 Aug 2015 18:33:21 +0000 (18:33 +0000)]
am 9caf9fad: am 56cd4770: am a7b6dc7a: am 342b03b5: (-s ours) am ca04416b: am 33c9e110: am cee84aa0: am 652dd63a: Merge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev

* commit '9caf9fadce960611c813ee9c23bc7154d864bdb1':

9 years agoam 3fc4aae4: (-s ours) am 175a9614: am cd026d99: (-s ours) am c5ed2a26: am db2aae51...
Jarkko Pöyry [Fri, 28 Aug 2015 18:25:01 +0000 (18:25 +0000)]
am 3fc4aae4: (-s ours) am 175a9614: am cd026d99: (-s ours) am c5ed2a26: am db2aae51: am eef37a2a: am 4a3d88ee: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

* commit '3fc4aae4ae9e6aa757ee63a3953298b22cbd06d1':

9 years agoam 77e72636: am ea702448: am d38c14ba: am 75e63782: am 523bdab6: am 4667bcc1: am...
Pyry Haulos [Fri, 28 Aug 2015 18:25:00 +0000 (18:25 +0000)]
am 77e72636: am ea702448: am d38c14ba: am 75e63782: am 523bdab6: am 4667bcc1: am f55476d8: Remove fragment_out tests with too strict thresholds from mustpass

* commit '77e726368781d97460135e8bba2f999692ef25bf':

9 years agoam 01832257: (-s ours) am 9eefd6e7: am 5efd3ca9: (-s ours) am fa285d6b: am 36059e0d...
Pyry Haulos [Fri, 28 Aug 2015 18:24:59 +0000 (18:24 +0000)]
am 01832257: (-s ours) am 9eefd6e7: am 5efd3ca9: (-s ours) am fa285d6b: am 36059e0d: am 7ce9438a: am 0870de9a: (-s ours) DO NOT MERGE Do not require signed zero support in ldexp tests()

* commit '018322578a32071c429fba46db3d16ddf770ba04':

9 years agoam 076cb71c: am 57fda38b: am b00d353a: am 1b179ac7: am 220337ad: am 01516433: am...
Jarkko Pöyry [Fri, 28 Aug 2015 18:24:59 +0000 (18:24 +0000)]
am 076cb71c: am 57fda38b: am b00d353a: am 1b179ac7: am 220337ad: am 01516433: am 9252e819: Remove tessellation.user_defined_io.per_patch cases from must pass.

* commit '076cb71c058dc2ff01c673d716b694f61859dc53':

9 years agoam 56cd4770: am a7b6dc7a: am 342b03b5: (-s ours) am ca04416b: am 33c9e110: am cee84aa...
Mika Isojärvi [Fri, 28 Aug 2015 18:24:58 +0000 (18:24 +0000)]
am 56cd4770: am a7b6dc7a: am 342b03b5: (-s ours) am ca04416b: am 33c9e110: am cee84aa0: am 652dd63a: Merge "Remove invalid atomic image compare swap tests from mustpass." into lmp-sprout-dev

* commit '56cd477015d45d87bd4622b90d44c2ba7cd6a991':

9 years agoam 175a9614: am cd026d99: (-s ours) am c5ed2a26: am db2aae51: am eef37a2a: am 4a3d88e...
Jarkko Pöyry [Fri, 28 Aug 2015 18:14:41 +0000 (18:14 +0000)]
am 175a9614: am cd026d99: (-s ours) am c5ed2a26: am db2aae51: am eef37a2a: am 4a3d88ee: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

* commit '175a96140550f3ee11eaf5bc1717a491f54ab8a6':