platform/upstream/VK-GL-CTS.git
8 years agoMerge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:36 +0000 (14:18 -0400)]
Merge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev

8 years agoMerge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:14 +0000 (14:18 -0400)]
Merge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev

8 years agoMerge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:17:49 +0000 (14:17 -0400)]
Merge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev

8 years agoAdd multisampled storage image load/store on a rendered image
Maciej Jesionowski [Thu, 28 Jul 2016 12:20:15 +0000 (14:20 +0200)]
Add multisampled storage image load/store on a rendered image

New test:

- dEQP-VK.pipeline.multisample.storage_image.*

Fixes #439

Change-Id: If4d6d9511db5d1c6aa9e6d54ce04dcba8e1de5cd

8 years agoAdd multisampled image texel fetch test
Maciej Jesionowski [Wed, 20 Jul 2016 10:51:49 +0000 (12:51 +0200)]
Add multisampled image texel fetch test

New test:

- dEQP-VK.pipeline.multisample.sampled_image.*

Fixes #428

Change-Id: I947053c5fc48f7d479fab80a6fc31823da3e5c1a

8 years agoMerge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts...
Pyry Haulos [Thu, 8 Sep 2016 17:59:43 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts-1.0-dev

8 years agoMerge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 17:59:17 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev

8 years agoMerge "Build scripts: add support for NMake project generator" into vulkan-cts-1...
Pyry Haulos [Thu, 8 Sep 2016 17:38:24 +0000 (13:38 -0400)]
Merge "Build scripts: add support for NMake project generator" into vulkan-cts-1.0-dev

8 years agoBuild scripts: add support for NMake project generator
Slawomir Cygan [Thu, 11 Aug 2016 14:02:19 +0000 (16:02 +0200)]
Build scripts: add support for NMake project generator

Requires nmake.exe in PATH (try running from Visual Studio Command
Prompt, or use vcvars*.bat).

Change-Id: I2bfcfa46a5529066000745209673804b1863f1fc

8 years agodEQP-VK.pipeline: multisample interpolation tests
Kantoch [Thu, 28 Jul 2016 14:39:48 +0000 (16:39 +0200)]
dEQP-VK.pipeline: multisample interpolation tests

New test:
- dEQP-VK.pipeline.multisample_interpolation.*

Fixes #427

Change-Id: I235dc4781dff92e89ea645778e046d61b3909b32

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 1 Sep 2016 17:50:53 +0000 (10:50 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: Ic526d403eb9f9134d62c43476860ef0ad9e044d1

8 years agoCMake: Use find_package to ensure getting python 2.7 instead of 3.x
Cody Northrop [Thu, 1 Sep 2016 16:49:59 +0000 (10:49 -0600)]
CMake: Use find_package to ensure getting python 2.7 instead of 3.x

Change-Id: I0be171e0579acb99428378fa847e619a0d858d55

8 years agoMerge "Use empty region when buffer age is not supported"
Kalle Raita [Tue, 30 Aug 2016 20:09:31 +0000 (20:09 +0000)]
Merge "Use empty region when buffer age is not supported"

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 30 Aug 2016 18:17:28 +0000 (11:17 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: Id91a7898a30bf08bf992e89b597f73e336494252

8 years agoAdd tests for initialized and uninitialized cases.
Gabor Abraham [Tue, 19 Jul 2016 14:07:10 +0000 (16:07 +0200)]
Add tests for initialized and uninitialized cases.

Change-Id: I0eaddc7d5ebafc4532536d810bf4b30b38985d19

8 years agoMerge "Fixes sparse_resources.shader_intrinsics.* tests to check for device feature...
Pyry Haulos [Tue, 30 Aug 2016 16:02:18 +0000 (12:02 -0400)]
Merge "Fixes sparse_resources.shader_intrinsics.* tests to check for device feature support." into vulkan-cts-1.0.1

8 years agoMerge "Run the memory tests ahead of all other tests" into vulkan-cts-1.0.1
Pyry Haulos [Tue, 30 Aug 2016 16:01:59 +0000 (12:01 -0400)]
Merge "Run the memory tests ahead of all other tests" into vulkan-cts-1.0.1

8 years agoMerge "Handle EGL_EXT_yuv_surface in eglChooseConfig() tests"
Pyry Haulos [Tue, 30 Aug 2016 15:47:19 +0000 (15:47 +0000)]
Merge "Handle EGL_EXT_yuv_surface in eglChooseConfig() tests"

8 years agoFixes sparse_resources.shader_intrinsics.* tests to check for device feature support.
Petros Bantolas [Fri, 26 Aug 2016 14:25:45 +0000 (15:25 +0100)]
Fixes sparse_resources.shader_intrinsics.* tests to check for device feature support.

Change-Id: Ie3461ae4ec32b1f431b21ba7c6f453bde70834c7

8 years agoUpdate Android build dependencies in README.md
Pyry Haulos [Mon, 29 Aug 2016 21:35:51 +0000 (14:35 -0700)]
Update Android build dependencies in README.md

Change-Id: If159d4b4312183063a0d55483c1383197807eac1

8 years agoHandle EGL_EXT_yuv_surface in eglChooseConfig() tests
Pyry Haulos [Mon, 22 Aug 2016 22:56:52 +0000 (15:56 -0700)]
Handle EGL_EXT_yuv_surface in eglChooseConfig() tests

Includes various small code fixes to related utilities.

Bug: 30909517
Change-Id: Ib0142d89832be4226406238800ebeab84b59c599

8 years agoRun the memory tests ahead of all other tests
Mais Alnasser [Mon, 29 Aug 2016 16:54:16 +0000 (12:54 -0400)]
Run the memory tests ahead of all other tests

Other tests don't attempt to allocate that much memory and probably
don't care about fragmentation as much. This would reduce the
possibility of running into out-of-memory 32-bit issues at a later
point in the development of the CTS.

This change also updates the mustpass lists.

Change-Id: I4484e5a775fcf7efa39149f1e53eb049024a77da

8 years agoFix MSC exception handling flag
Pyry Haulos [Fri, 26 Aug 2016 21:43:57 +0000 (14:43 -0700)]
Fix MSC exception handling flag

Apparently /EHc is not recognized but instead /EHsc has to be used.

Change-Id: I70492583b31bca307af70367b3c5ff29ba86720c

8 years agoFix layer prefix printing in validation callback
Mika Isojärvi [Fri, 26 Aug 2016 20:05:38 +0000 (13:05 -0700)]
Fix layer prefix printing in validation callback

Change-Id: I233af15f3a5acb7cf353840c769d1718bdb9140f

8 years agoMultisampled depth/stencil attachment test
Maciej Jesionowski [Mon, 11 Jul 2016 15:37:00 +0000 (17:37 +0200)]
Multisampled depth/stencil attachment test

Fixes #425

Change-Id: I7b65ff249cc7fd6516db8e9882455ac26edb0946

8 years agodEQP-VK.pipeline.vertex_input: sequential attributes test
Maciej Jesionowski [Wed, 3 Aug 2016 12:17:08 +0000 (14:17 +0200)]
dEQP-VK.pipeline.vertex_input: sequential attributes test

Add a test for vertex input attributes with data arranged as a long sequence
rather than interleaved.

New test:

- dEQP-VK.pipeline.vertex_input.multiple_attributes.binding_one_to_many.attributes_sequential.*

Fixes #455

Change-Id: If6f774978ff2bd9c34c82363cebb8e1d7b8df7a7

8 years agoExtend shader built-in variable tests
Peter Siket [Thu, 4 Aug 2016 22:21:14 +0000 (15:21 -0700)]
Extend shader built-in variable tests

This branch extends the shader builtin tests, with additional tests
ported from the GLES2 tests.

These test are ported:

dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_xyz
dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_w
dEQP-GLES2.functional.shaders.builtin_variable.pointcoord

Besides this additional test group
(dEQP-VK.glsl.builtin_var.input_variations) is added for testing
combinations of different shader input types. (#300)

Change-Id: I8cb6f2197f87b28c1e13335b9ab55ab59e92d665

8 years agoUse empty region when buffer age is not supported
Kalle Raita [Thu, 25 Aug 2016 21:52:52 +0000 (14:52 -0700)]
Use empty region when buffer age is not supported

In the dEQP-EGL.functional.partial_update.* tests the damage region
needs to set to empty instead of implicit full screen for frame that do
not draw when the EGL_KHR_buffer_age is not supported. Otherwise the
contents become invalid and cannot be verified.

Bug: 30735352
Test: Local run of dEQP-EGL.functional.partial_update.* on various Nexus devices
Change-Id: I75306f1adee56cb7d6de68d59b4c7962b9d1a8f5

8 years agoAdd /LARGEADDDRESSAWARE linker flag for MSVC
Piers Daniell [Thu, 25 Aug 2016 18:10:01 +0000 (12:10 -0600)]
Add /LARGEADDDRESSAWARE linker flag for MSVC

This allows 32-bit CTS to run to the end on Windows 32-bit platforms.

Change-Id: Iaec4efcddeb5e1248651fc2d1a1401dbb94bbaf7

8 years agoReduce max iter count in alloc_callback_fail.device
Pyry Haulos [Thu, 18 Aug 2016 14:29:04 +0000 (15:29 +0100)]
Reduce max iter count in alloc_callback_fail.device

Creating VkDevice can be costly operation so we need to limit number of
tries to a pretty low value. Other tests already use per-thread limit of
20.

Additionally, this patch adds a way to override the limit by specifying
--deqp-test-iteration-count=N command line parameter. This is useful for
full OOM testing.

Bug: 30811856
Change-Id: I1eb3c307b241fa94d61ffa7136d9176956545228

8 years agoLimit VkInstance count in object_management.multithreaded*
Pyry Haulos [Thu, 11 Aug 2016 21:14:23 +0000 (14:14 -0700)]
Limit VkInstance count in object_management.multithreaded*

Bug: 30811856
Change-Id: I00e4279216de8cb9f8e5089cecf98726366d221b

8 years agoDo not test VkDevice, VkInstance creation OOM paths in WSI tests
Pyry Haulos [Thu, 18 Aug 2016 14:22:00 +0000 (15:22 +0100)]
Do not test VkDevice, VkInstance creation OOM paths in WSI tests

VkInstance and VkDevice creation OOM simulation is done already in
dEQP-VK.api.object_management.alloc_callback fail and repeating testing
in WSI tests just wastes time.

Since we want to trigger OOM even if implementation calls into instance-
or device-level callbacks, this is done by setting a mode in
DeterministicFailAllocator that stops alloc counting and failure
simulation.

Bug: 30811856
Change-Id: I9709b5eac98d8057a9080f12c07c8a2b76c83850

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 25 Aug 2016 16:57:56 +0000 (09:57 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I8c82777d467d18369f7e461fd2da1dc2045fc52b

8 years agoAdd new files to Android.mk
Pyry Haulos [Thu, 25 Aug 2016 16:46:56 +0000 (09:46 -0700)]
Add new files to Android.mk

Change-Id: I3298729230ba55abdff5fb64eca8bfc9a9ef28ff

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Thu, 25 Aug 2016 16:36:50 +0000 (09:36 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: I6bd4c4e24650eecc1276edb30644e2ce0bc84274

8 years agoMerge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Pyry Haulos [Thu, 25 Aug 2016 16:36:49 +0000 (09:36 -0700)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1

Change-Id: I9b5283a65a5b1cb1f9d34e98a916c73c9d5000ca

8 years agoMerge "Revert "Revert CUBE_COMPATIBLE flag check from "Fix required sample count...
Pyry Haulos [Thu, 25 Aug 2016 16:13:33 +0000 (12:13 -0400)]
Merge "Revert "Revert CUBE_COMPATIBLE flag check from "Fix required sample count tests""" into vulkan-cts-1.0.0

8 years agoRevert "Revert CUBE_COMPATIBLE flag check from "Fix required sample count tests""
Pyry Haulos [Thu, 25 Aug 2016 16:05:25 +0000 (12:05 -0400)]
Revert "Revert CUBE_COMPATIBLE flag check from "Fix required sample count tests""

This reverts commit 1106b0194f7571aebfdf76766760d91be772d8e7.

Fixes #440

Change-Id: Icdb5f71cd87b970edd1bf1770b4a0c15418f600b

8 years agoFix for #474. Add Vertex ordering and Spacing to tessellation shaders.
Andrew Woloszyn [Thu, 25 Aug 2016 14:01:18 +0000 (10:01 -0400)]
Fix for #474. Add Vertex ordering and Spacing to tessellation shaders.

Change-Id: I33760e0f23e6b8489e38cb93ad00e3483dc73d16

8 years agoIssue 479: Remove VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT
Alexander Galazin [Thu, 25 Aug 2016 10:32:42 +0000 (12:32 +0200)]
Issue 479: Remove VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT

dEQP-VK.glsl.texture_gather.basic.2d.depth32f.size_pot.compare_less.clamp_to_edge_repeat unconditionally creates a VkImage with VK_FORMAT_D32_SFLOAT and VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT which is optional.
However that the test does not really need VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT because the image is not used as D/S attachment, but as SAMPLED and TRANSFER.

Change-Id: Ia8a9fe62b3f6e0cf4635e25b33f1f79e2538ba3f

8 years agoFix typo in check_build_sanity.py
Pyry Haulos [Wed, 24 Aug 2016 21:55:06 +0000 (14:55 -0700)]
Fix typo in check_build_sanity.py

Change-Id: I3aa34569998261b8af5a1a45f2b69a74c5dcd85b

8 years agoRequire 'master' config to be supported in Android CTS
Pyry Haulos [Wed, 24 Aug 2016 15:23:51 +0000 (15:23 +0000)]
Require 'master' config to be supported in Android CTS
am: e232a6e83c

Change-Id: Ib4127ea5196485bc099c73fc4c79dd4fdceb3281

8 years agoRequire 'master' config to be supported in Android CTS
Pyry Haulos [Tue, 23 Aug 2016 22:37:44 +0000 (15:37 -0700)]
Require 'master' config to be supported in Android CTS

All Android devices should support rgba8888d24s8 for compatiblity and
test coverage.

Bug: 30938718
Change-Id: Ia0e8e33a458efc056ba72cc77ced31955a571c10

8 years agoFix parameter order for OpVectorTimesScalar.
Lei Zhang [Tue, 23 Aug 2016 18:18:14 +0000 (14:18 -0400)]
Fix parameter order for OpVectorTimesScalar.

The spec requires that the first parameter to OpVectorTimesScalar
must be of vector type, and the second of scalar type.

Change-Id: Ib4bb41bfc237efd000e48e21c2521ec616be35a5

8 years agoMove texture test utilities from the modules/glshared/glsTextureTestUtil to the frame...
Peter Siket [Fri, 15 Jul 2016 08:46:48 +0000 (10:46 +0200)]
Move texture test utilities from the modules/glshared/glsTextureTestUtil to the framework/opengl/gluTextureTestUtil.

By moving these utilities to a common place, they can be used from other (not GLES) tests too.

Change-Id: I9ff3b431f868d99bff6cbe69a4de2c259cc09703

8 years agoSplit load/store image tests into sub-groups
Kalle Raita [Mon, 22 Aug 2016 21:54:38 +0000 (21:54 +0000)]
Split load/store image tests into sub-groups
am: 90763f1f7d

Change-Id: I72dfa5d13aaf47f0ef04a464582b85a917fe7245

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Mon, 22 Aug 2016 19:48:37 +0000 (12:48 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: Iee93fbd6a04c4c1e760dc551df15a1dc9fac2fda

8 years agoMerge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Pyry Haulos [Mon, 22 Aug 2016 19:48:36 +0000 (12:48 -0700)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1

Change-Id: I70aadacf71364b934cb0340752176490b65d637d

8 years agoMerge "Limit maximum allocation size in memory mapping tests" into vulkan-cts-1.0.1
Pyry Haulos [Mon, 22 Aug 2016 19:47:03 +0000 (15:47 -0400)]
Merge "Limit maximum allocation size in memory mapping tests" into vulkan-cts-1.0.1

8 years agoLimit maximum allocation size in memory mapping tests
Pyry Haulos [Fri, 19 Aug 2016 12:20:38 +0000 (13:20 +0100)]
Limit maximum allocation size in memory mapping tests

Fixes also ReferenceMemory::m_flushed memory usage counting when
estimating reference memory usage (size should be divided by atomSize).

Fixes #468

Change-Id: Iad754e211e8070b09254d2451e03418fc2be541b

8 years agoCheck for imageCubeArray feature in image and image_view tests
Yanjun Zhang [Fri, 19 Aug 2016 13:00:26 +0000 (14:00 +0100)]
Check for imageCubeArray feature in image and image_view tests

Fixes #466

Change-Id: I8fcf807f99eaabdff293efac001b288b67b55cc9

8 years agoSplit load/store image tests into sub-groups
Kalle Raita [Sat, 13 Aug 2016 00:09:41 +0000 (17:09 -0700)]
Split load/store image tests into sub-groups

Split load/store negative tests into sub-groups per texture type to
reduce the time required per single test case.

Bug: 30785598
Change-Id: I8f43ad8d1c166e3a4adb946f9df1ed87b8e84106

8 years agoUpdate Vulkan CTS readme for 1.0.1
Pyry Haulos [Thu, 18 Aug 2016 11:00:13 +0000 (12:00 +0100)]
Update Vulkan CTS readme for 1.0.1

Change-Id: I191ebf2b7937c16d796a47534c7c6f2c27c00973

8 years agoFix image layout in pipeline barrier tests
Mika Isojärvi [Wed, 15 Jun 2016 18:42:36 +0000 (11:42 -0700)]
Fix image layout in pipeline barrier tests

(cherry picked from commit a80919a57ef8137712259273c18de0663cc724a0)

Change-Id: I59a6a1facd9348c949f78f808075a0377c1bfe9a

8 years agoMerge "Android: add x86_64 ABI" into vulkan-cts-1.0-dev
Pyry Haulos [Wed, 17 Aug 2016 10:26:39 +0000 (06:26 -0400)]
Merge "Android: add x86_64 ABI" into vulkan-cts-1.0-dev

8 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 16 Aug 2016 13:01:21 +0000 (13:01 +0000)]
Merge upstream-vulkan-cts-1.0-dev into master
am: c641c2e631

Change-Id: Iffdf7c20d778e13fc3180c6224c10e7944d15ad9

8 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 16 Aug 2016 11:20:53 +0000 (13:20 +0200)]
Merge upstream-vulkan-cts-1.0-dev into master

8 years agoAdd src_util/check_all.py into check_build_sanity.py
Pyry Haulos [Tue, 16 Aug 2016 11:13:53 +0000 (13:13 +0200)]
Add src_util/check_all.py into check_build_sanity.py

Change-Id: I8b5f0241cc387d94fc01753254511875de87b197

8 years agoFix merged <space><tab> whitespace issues
Pyry Haulos [Tue, 16 Aug 2016 11:03:21 +0000 (13:03 +0200)]
Fix merged <space><tab> whitespace issues

Change-Id: I9476801571f3a945e8d0b19bc2a466b31a41c52e

8 years agoMerge vulkan-cts-1.0.1 into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 16 Aug 2016 11:00:54 +0000 (13:00 +0200)]
Merge vulkan-cts-1.0.1 into vulkan-cts-1.0-dev

Change-Id: I8330d7ef441114704a0d722182f456ed7ccb76f9

8 years agodEQP-VK.sparse_resources: Fixed VkBufferImageCopy buffer offset alignment issue
Petros Bantolas [Mon, 18 Jul 2016 08:12:08 +0000 (09:12 +0100)]
dEQP-VK.sparse_resources: Fixed VkBufferImageCopy buffer offset alignment issue

Fixes #433

Change-Id: I34a416670789979e967281d0ede406dd871862bc

8 years agoDo not check include guards in iOS porting files
Pyry Haulos [Tue, 16 Aug 2016 10:38:35 +0000 (12:38 +0200)]
Do not check include guards in iOS porting files

Change-Id: I0c67290322eb36bbc9287145cbbaea22f405d29c

8 years agoFix whitespace issues in other text files
Pyry Haulos [Tue, 16 Aug 2016 10:35:51 +0000 (12:35 +0200)]
Fix whitespace issues in other text files

Change-Id: Idab51b62589b9702d307022b0952a887bae263af

8 years agoFix merged <space><tab> in C/C++ files
Pyry Haulos [Tue, 16 Aug 2016 10:23:58 +0000 (12:23 +0200)]
Fix merged <space><tab> in C/C++ files

Change-Id: Ice7c1ae46a88c941c5834f9d34fcd4822c30debc

8 years agoFix trailing whitespace and include guards
Pyry Haulos [Tue, 16 Aug 2016 10:22:39 +0000 (12:22 +0200)]
Fix trailing whitespace and include guards

Change-Id: If9cf0f5b43ad668243033f7e7c04319c4fcd804d

8 years agoExclude new AOSP tests from Vulkan CTS mustpass
Pyry Haulos [Mon, 15 Aug 2016 15:33:01 +0000 (15:33 +0000)]
Exclude new AOSP tests from Vulkan CTS mustpass
am: 2856c4a882

Change-Id: I0f24726fdeea862fdffc41349937355529b46997

8 years agoExclude new AOSP tests from Vulkan CTS mustpass
Pyry Haulos [Mon, 15 Aug 2016 14:08:51 +0000 (16:08 +0200)]
Exclude new AOSP tests from Vulkan CTS mustpass

Change-Id: Id9b74faa6f1ef16f2fa64d92802c47aa2c1410e4

8 years agoMerge "Add script for build- and sanity-checking source code"
Pyry Haulos [Fri, 12 Aug 2016 21:32:50 +0000 (21:32 +0000)]
Merge "Add script for build- and sanity-checking source code"
am: 032db4ee79

Change-Id: Id3ca1d2520a1d52e1f9651377da19dbd8cae220b

8 years agoMerge "Fix const-correctness in texture filtering test cases"
Collin Baker [Fri, 12 Aug 2016 21:32:48 +0000 (21:32 +0000)]
Merge "Fix const-correctness in texture filtering test cases"
am: 201bdd03b9

Change-Id: I0d942132e887dfe5322b80d69cb47690711708d5

8 years agoMerge "Add script for build- and sanity-checking source code"
Treehugger Robot [Fri, 12 Aug 2016 21:19:40 +0000 (21:19 +0000)]
Merge "Add script for build- and sanity-checking source code"

8 years agoMerge "Fix const-correctness in texture filtering test cases"
Treehugger Robot [Fri, 12 Aug 2016 21:18:19 +0000 (21:18 +0000)]
Merge "Fix const-correctness in texture filtering test cases"

8 years agoMerge "Fix ext check in EXT_draw_buffers_indexed negative tests"
Pyry Haulos [Fri, 12 Aug 2016 20:51:52 +0000 (20:51 +0000)]
Merge "Fix ext check in EXT_draw_buffers_indexed negative tests"
am: 316e998b08

Change-Id: Ifea3335c77df37b013e5bcfcd7f69669847bd62c

8 years agoMerge "Fix ext check in EXT_draw_buffers_indexed negative tests"
Treehugger Robot [Fri, 12 Aug 2016 20:37:54 +0000 (20:37 +0000)]
Merge "Fix ext check in EXT_draw_buffers_indexed negative tests"

8 years agoAdd script for build- and sanity-checking source code
Pyry Haulos [Wed, 10 Aug 2016 17:18:52 +0000 (10:18 -0700)]
Add script for build- and sanity-checking source code

Change-Id: Ib33e9929c533cd908fd1acb13d118d911790c534

8 years agoMerge "Do not rewrite .inl files if existing content is identical"
Pyry Haulos [Fri, 12 Aug 2016 19:45:10 +0000 (19:45 +0000)]
Merge "Do not rewrite .inl files if existing content is identical"
am: 522806fb48

Change-Id: Ia0884225f7ba5656d112d5ce1e29190807834ef4

8 years agoFix const-correctness in texture filtering test cases
Collin Baker [Fri, 12 Aug 2016 19:43:25 +0000 (12:43 -0700)]
Fix const-correctness in texture filtering test cases

Change-Id: I76885d6952ce4239e1c3cb9dcfe7135b4ea9ceb5

8 years agoMerge "Do not rewrite .inl files if existing content is identical"
Pyry Haulos [Fri, 12 Aug 2016 19:34:31 +0000 (19:34 +0000)]
Merge "Do not rewrite .inl files if existing content is identical"

8 years agoMerge "Fix typos in pipeline.cache test case names" into vulkan-cts-1.0.1
Pyry Haulos [Fri, 12 Aug 2016 17:44:23 +0000 (13:44 -0400)]
Merge "Fix typos in pipeline.cache test case names" into vulkan-cts-1.0.1

8 years agoFix typos in pipeline.cache test case names
Pyry Haulos [Thu, 11 Aug 2016 21:21:38 +0000 (14:21 -0700)]
Fix typos in pipeline.cache test case names

Change-Id: I7715bbd7bd21db4e6b1509d927fc087926253136

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 11 Aug 2016 20:42:51 +0000 (20:42 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am: 68e9111d15

Change-Id: I363283ff906a26b6296853a1d8a27296466f98e2

8 years agoFix ext check in EXT_draw_buffers_indexed negative tests
Pyry Haulos [Thu, 11 Aug 2016 20:32:47 +0000 (13:32 -0700)]
Fix ext check in EXT_draw_buffers_indexed negative tests

Bug: 30738817
Change-Id: I6da9531ff44273d9d6606a12abcd3268dea314e4

8 years agoFix race condition in qpTestLog debug asserts
Pyry Haulos [Thu, 11 Aug 2016 19:44:33 +0000 (12:44 -0700)]
Fix race condition in qpTestLog debug asserts

Code should be holding log mutex when checking state of internal data
structure.

Change-Id: I01f8aa851407c58813880a73c13f1966fdb1a2d1

8 years agoDo not log SPIR-V assembly when logging of shaders is disabled
Pyry Haulos [Thu, 11 Aug 2016 19:44:33 +0000 (12:44 -0700)]
Do not log SPIR-V assembly when logging of shaders is disabled

Fixes #461

Change-Id: I64aa8eb405db85d15aea663f6daba69279d5c6c8

8 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 11 Aug 2016 18:47:23 +0000 (11:47 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I77ef339c402c1be6247e98cfe76ea15eb8d46054

8 years agoMerge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Pyry Haulos [Thu, 11 Aug 2016 18:43:38 +0000 (11:43 -0700)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1

Change-Id: I64e15e4126afc4dde5dc95e6d766f95b6f04e30e

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Thu, 11 Aug 2016 18:43:38 +0000 (11:43 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: Id9ed2c01d94891313742d06249968b246a2d216c

8 years agoUpdate Android.mk
Pyry Haulos [Thu, 11 Aug 2016 18:40:58 +0000 (11:40 -0700)]
Update Android.mk

Change-Id: Ice6b73802e665483587f08af48f86bd5c03e2703

8 years agoMerge "MSVC: set exception handling model"
Pyry Haulos [Thu, 11 Aug 2016 18:38:35 +0000 (18:38 +0000)]
Merge "MSVC: set exception handling model"
am: ac343841e4

Change-Id: I85fcbfc3a59d15392781f092948d0e21d7da9da7

8 years agoRevert CUBE_COMPATIBLE flag check from "Fix required sample count tests"
Slawomir Cygan [Thu, 11 Aug 2016 12:34:37 +0000 (14:34 +0200)]
Revert CUBE_COMPATIBLE flag check from "Fix required sample count tests"

Spec does not say CUBE_COMPATIBLE flag forces
vkGetPhysicalDeviceImageFormatProperties to return sample count equal
to 1, so the flag should be irrelevant for sample count check.

Fixes #440
This partially reverts 8753a9e7528ca67b25bfabb4f03915a25721a690.

Change-Id: Ic4005cb0a651f433ff421eab671fb013561c78c4

8 years agoMerge "MSVC: set exception handling model"
Pyry Haulos [Thu, 11 Aug 2016 18:29:42 +0000 (18:29 +0000)]
Merge "MSVC: set exception handling model"

8 years agoAndroid: add x86_64 ABI
Slawomir Cygan [Thu, 11 Aug 2016 13:57:33 +0000 (15:57 +0200)]
Android: add x86_64 ABI

Change-Id: I4597e77f6346b53c88c7ec98b7031e18097b9ecc

8 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Thu, 11 Aug 2016 00:51:47 +0000 (17:51 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: I9da42defc379185a24bfe39a3fb6ea7e0c71bd18

8 years agoMerge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Pyry Haulos [Thu, 11 Aug 2016 00:51:46 +0000 (17:51 -0700)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1

Change-Id: Ice2ae0c69dc296fcf2b2e75f1647c18798387a35

8 years agoMerge "Tex array negative test fixes for FBTextureLayer"
Kalle Raita [Wed, 10 Aug 2016 22:29:01 +0000 (22:29 +0000)]
Merge "Tex array negative test fixes for FBTextureLayer"
am: 13e9c5295c

Change-Id: If792fa48f885bcff8f12ed4bb7d86800ab62c575

8 years agoMerge "Tex array negative test fixes for FBTextureLayer"
Kalle Raita [Wed, 10 Aug 2016 22:23:15 +0000 (22:23 +0000)]
Merge "Tex array negative test fixes for FBTextureLayer"

8 years agoMerge "Fix implicit conversion to bool"
Collin Baker [Wed, 10 Aug 2016 22:00:54 +0000 (22:00 +0000)]
Merge "Fix implicit conversion to bool"
am: 95d03db971

Change-Id: I054bd6977be912399032876723be543bf5b65dcf

8 years agoMerge "Fix implicit conversion to bool"
Treehugger Robot [Wed, 10 Aug 2016 21:54:31 +0000 (21:54 +0000)]
Merge "Fix implicit conversion to bool"

8 years agofetch_souces.py: cache extracted hash and only extract if necessary
Pyry Haulos [Wed, 10 Aug 2016 21:29:59 +0000 (21:29 +0000)]
fetch_souces.py: cache extracted hash and only extract if necessary
am: 30e2e7b423

Change-Id: I8f1fab3874f5ba6168b014dc958597353b963af2

8 years agoMSVC: set exception handling model
Pyry Haulos [Wed, 10 Aug 2016 20:40:51 +0000 (13:40 -0700)]
MSVC: set exception handling model

Set exception handling model to standard C++ (/EHc). This will make
following undefined behavior:

 * Use of SEH (not used anywhere in the code base)
 * extern "C" functions throwing exceptions (undefined in spec)

Change-Id: I8fecf697c1753446647d2d9431806352e2ce760b

8 years agoFix implicit conversion to bool
Collin Baker [Wed, 10 Aug 2016 20:31:57 +0000 (13:31 -0700)]
Fix implicit conversion to bool

Change-Id: Ia3fe8da45a24c446a689698018032efe09a19529