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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

Change-Id: Ice6b73802e665483587f08af48f86bd5c03e2703

7 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

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

7 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

7 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

7 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

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

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

7 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

7 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

7 years agoDo not rewrite .inl files if existing content is identical
Pyry Haulos [Wed, 10 Aug 2016 19:28:05 +0000 (12:28 -0700)]
Do not rewrite .inl files if existing content is identical

Change-Id: I4b0df9f5f363f91ba0748ee6f2ba5a680a182ab9

7 years agofetch_souces.py: cache extracted hash and only extract if necessary
Pyry Haulos [Wed, 10 Aug 2016 19:26:45 +0000 (12:26 -0700)]
fetch_souces.py: cache extracted hash and only extract if necessary

Change-Id: I62119f60325d1d646b7777ed57941e34df601df3

7 years agoMerge "Improvements to sample verification code"
Pyry Haulos [Wed, 10 Aug 2016 19:20:07 +0000 (19:20 +0000)]
Merge "Improvements to sample verification code"

7 years agoMerge "Let linker find libm on unix"
Pyry Haulos [Wed, 10 Aug 2016 18:47:27 +0000 (18:47 +0000)]
Merge "Let linker find libm on unix"

7 years agoMerge "Use 3rd party cflags in zlib"
Treehugger Robot [Wed, 10 Aug 2016 18:38:06 +0000 (18:38 +0000)]
Merge "Use 3rd party cflags in zlib"

7 years agoMerge "Fix deUint64 -> size_t warning in deSha1"
Treehugger Robot [Wed, 10 Aug 2016 18:36:35 +0000 (18:36 +0000)]
Merge "Fix deUint64 -> size_t warning in deSha1"

7 years agoMerge "Remove OpFUnord* tests from mustpass" into vulkan-cts-1.0.1
Pyry Haulos [Wed, 10 Aug 2016 18:26:47 +0000 (14:26 -0400)]
Merge "Remove OpFUnord* tests from mustpass" into vulkan-cts-1.0.1

7 years agoMerge changes I8007a30c,I11f417be into vulkan-cts-1.0-dev
Pyry Haulos [Wed, 10 Aug 2016 18:14:57 +0000 (14:14 -0400)]
Merge changes I8007a30c,I11f417be into vulkan-cts-1.0-dev

* changes:
  Add missing sample1DArray type to glu::DataType and to the related shader and texture util functions.
  Add missing sampleCompare*() methods to tcu::Texture1D class.

7 years agoImprovements to sample verification code
Collin Baker [Mon, 25 Jul 2016 21:35:03 +0000 (14:35 -0700)]
Improvements to sample verification code

Refactoring and improvements to code in vktSampleVerifier.cpp;
Moved much functionality into separate functions and cleaned up some
quick fixes I had made previously.

Change-Id: I7a02ee0cbe009946ec1126e1e77141596cf1c028

7 years agoFix deUint64 -> size_t warning in deSha1
Pyry Haulos [Wed, 10 Aug 2016 17:18:02 +0000 (10:18 -0700)]
Fix deUint64 -> size_t warning in deSha1

Change-Id: Iadef8102281454601a39f2b39d5086f2b3e42802

7 years agoLet linker find libm on unix
Pyry Haulos [Wed, 10 Aug 2016 17:22:55 +0000 (10:22 -0700)]
Let linker find libm on unix

Fixes 32-bit builds on 64-bit systems.

Change-Id: Idec88517d7208f1a616cde8c688fa6b5e6e7d2a6

7 years agoUse 3rd party cflags in zlib
Pyry Haulos [Wed, 10 Aug 2016 17:16:57 +0000 (10:16 -0700)]
Use 3rd party cflags in zlib

zlib doesn't build cleanly with default warning flags.

Change-Id: Ie20c7920a5468d07e2b63fb3a78260f87b330195

7 years agoFix clang launch control builds
Pyry Haulos [Wed, 10 Aug 2016 01:19:10 +0000 (18:19 -0700)]
Fix clang launch control builds

Change-Id: Ibefb228e5208922a749027937746183b0dfc1409

7 years agodEQP-VK.pipeline: extract common util functions
Maciej Jesionowski [Thu, 21 Jul 2016 14:31:15 +0000 (16:31 +0200)]
dEQP-VK.pipeline: extract common util functions

Change-Id: I45c331494e4b72851e7b7505445244d8baaa6b6e

7 years agoMerge "Modify deqp install script to accept build-root"
Pyry Haulos [Tue, 9 Aug 2016 23:49:59 +0000 (23:49 +0000)]
Merge "Modify deqp install script to accept build-root"

7 years agoMerge "Enable -Werror in launch control builds"
Pyry Haulos [Tue, 9 Aug 2016 22:23:02 +0000 (22:23 +0000)]
Merge "Enable -Werror in launch control builds"

7 years agoMerge "Merge upstream-vulkan-cts-1.0-dev into master"
Pyry Haulos [Tue, 9 Aug 2016 21:39:11 +0000 (21:39 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master"

7 years agoAdd .editorconfig
Pyry Haulos [Tue, 9 Aug 2016 20:19:35 +0000 (13:19 -0700)]
Add .editorconfig

Github uses tab width from .editorconfig when displaying code.

Change-Id: I9dcbe192ca21d7606a6ae56c747acd271562358c

7 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 9 Aug 2016 20:02:10 +0000 (13:02 -0700)]
Merge upstream-vulkan-cts-1.0-dev into master

Change-Id: I318218fecd46ac39cc8dd5904d6fae3658bdb771

7 years agoMerge 'github/vulkan-cts-1.0-dev' into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 9 Aug 2016 19:51:19 +0000 (12:51 -0700)]
Merge 'github/vulkan-cts-1.0-dev' into vulkan-cts-1.0-dev

7 years agoQuick fix for warning in vktSampleVerifier.cpp
Collin Baker [Tue, 9 Aug 2016 19:42:15 +0000 (12:42 -0700)]
Quick fix for warning in vktSampleVerifier.cpp

Change-Id: I5deb847a65c95939492af54b2ceb9b1e29929f95

7 years agoEnable -Werror in launch control builds
Pyry Haulos [Tue, 9 Aug 2016 18:31:34 +0000 (11:31 -0700)]
Enable -Werror in launch control builds

Change-Id: If9fe40a3d845e1081f9a433dae13d90ca5354f83

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

7 years agoRemove OpFUnord* tests from mustpass
Pyry Haulos [Mon, 8 Aug 2016 16:43:45 +0000 (09:43 -0700)]
Remove OpFUnord* tests from mustpass

There's open spec issue about NaN handling in these instructions.

See #426

Change-Id: I97613857c72f80171b1c6b0cfecd6d564f1c2149

7 years agoUpdate Android CTS mustpass
Pyry Haulos [Mon, 8 Aug 2016 21:58:56 +0000 (14:58 -0700)]
Update Android CTS mustpass

This brings Android CTS mustpass files up-to-date with latest test case
renames.

Change-Id: I436bf70fb685d538b79fb0cb86e9fc1883ee929c

7 years agoHarmonize test case names
Pyry Haulos [Mon, 8 Aug 2016 21:39:54 +0000 (14:39 -0700)]
Harmonize test case names

 * Avoid camel case and uppercase
 * Use more common abbreviations

Change-Id: Ica9a3936be96a72ec410d3673d5c6a2dd9e32c44

7 years agoRemove mustpass XML files not used by Vulkan CTS
Pyry Haulos [Mon, 8 Aug 2016 21:37:48 +0000 (14:37 -0700)]
Remove mustpass XML files not used by Vulkan CTS

Change-Id: I48e43f604c296baebdad5a25c3d7a723bfddb0f0

7 years agoAdd support for rendering vertex combined sampled images.
Mika Isojärvi [Thu, 4 Aug 2016 22:14:04 +0000 (15:14 -0700)]
Add support for rendering vertex combined sampled images.

Change-Id: Id71043ac38aae99668899cc72ddd8c55e11364fe

7 years agoFix geometry shader support check
Pyry Haulos [Mon, 8 Aug 2016 19:34:35 +0000 (12:34 -0700)]
Fix geometry shader support check

Bug: 30738286
Change-Id: I976d76cd417e1c0b456d252f50a8979f30d5be3f

7 years agoMerge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1
Pyry Haulos [Mon, 8 Aug 2016 18:58:59 +0000 (14:58 -0400)]
Merge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1

7 years agoFix VkDeviceSize -> size_t implicit conversion warning
Pyry Haulos [Mon, 8 Aug 2016 18:12:18 +0000 (11:12 -0700)]
Fix VkDeviceSize -> size_t implicit conversion warning

Change-Id: Id1742b7830e12799948bf635412974df17b9bce4

7 years agoCheck and enable VK_KHR_sampler_mirror_clamp_to_edge
Pyry Haulos [Mon, 8 Aug 2016 18:08:47 +0000 (11:08 -0700)]
Check and enable VK_KHR_sampler_mirror_clamp_to_edge

Several tests in dEQP-VK.pipeline group assume that
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE mode is supported. Spec
actually requires that VK_KHR_sampler_mirror_clamp_to_edge is enabled if
that mode is used.

This change enables VK_KHR_sampler_mirror_clamp_to_edge in default
device, if supported, and adds relevant checks in the test code.

In the future we'll want to clean this up by giving test cases more
control about the device configuration they need.

Fixes #339

Change-Id: Ib264c4f2fb147271c9c09d6286f4a26dd175f493

7 years agoAdd missing sample1DArray type to glu::DataType and to the related shader and texture...
Akos Dirner [Tue, 28 Jun 2016 13:12:00 +0000 (15:12 +0200)]
Add missing sample1DArray type to glu::DataType and to the related shader and texture util functions.

Change-Id: I8007a30c158957d726a46e0087cfa4e94949764c

7 years agoAdd missing sampleCompare*() methods to tcu::Texture1D class.
Akos Dirner [Tue, 28 Jun 2016 13:09:34 +0000 (15:09 +0200)]
Add missing sampleCompare*() methods to tcu::Texture1D class.

Change-Id: I11f417be9150c9e9dd869c549be7b5d3b11ea624

7 years agoTex array negative test fixes for FBTextureLayer
Kalle Raita [Fri, 5 Aug 2016 22:23:49 +0000 (15:23 -0700)]
Tex array negative test fixes for FBTextureLayer

1) 2D multisample array textures can only have level 0 as the level in
the FramebufferTextureLayer. Now testing that level -1 and 1 trigger
INVALID_VALUE. Previously test was directed at layer.

2) Cube map arrays with layer above MAX_ARRAY_TEXTURE_LAYERS should
generate INVALID_VALUE.

Bug: 30287182
Bug: 28090252
Change-Id: I500074c1777d88291c0b395498bb0f7d5613d27d

7 years agoFix api.buffer.* tests to use sparse capable queue instead the default.
Gabor Abraham [Mon, 25 Jul 2016 15:28:05 +0000 (17:28 +0200)]
Fix api.buffer.* tests to use sparse capable queue instead the default.

7 years agoFix accidental disabling of ASTC decoding internal test
Pyry Haulos [Thu, 4 Aug 2016 19:47:26 +0000 (12:47 -0700)]
Fix accidental disabling of ASTC decoding internal test

7 years agoDo not allocate large objects unnecessarily in static memory
Pyry Haulos [Thu, 4 Aug 2016 18:36:15 +0000 (11:36 -0700)]
Do not allocate large objects unnecessarily in static memory

7 years agoFix memory leaks in pipeline cache tests
Pyry Haulos [Thu, 4 Aug 2016 18:35:33 +0000 (11:35 -0700)]
Fix memory leaks in pipeline cache tests

7 years agoFix tcu::Resource leak in draw and dynamic_state tests
Pyry Haulos [Thu, 4 Aug 2016 18:34:52 +0000 (11:34 -0700)]
Fix tcu::Resource leak in draw and dynamic_state tests

7 years agoFix failing assert in copies and blitting tests
Pyry Haulos [Thu, 4 Aug 2016 18:34:25 +0000 (11:34 -0700)]
Fix failing assert in copies and blitting tests

7 years agoAdd note why command buffers are not freed individually
Pyry Haulos [Thu, 4 Aug 2016 18:34:01 +0000 (11:34 -0700)]
Add note why command buffers are not freed individually

7 years agoSkip testing int lookups for fp32/fp64 formats in internal tests
Pyry Haulos [Thu, 4 Aug 2016 18:32:59 +0000 (11:32 -0700)]
Skip testing int lookups for fp32/fp64 formats in internal tests

Overflow in float->int conversion is undefined and results vary between
tested CPUs.

7 years agoDisallow decoding ASTC sRGB formats in HDR mode
Pyry Haulos [Thu, 4 Aug 2016 18:29:52 +0000 (11:29 -0700)]
Disallow decoding ASTC sRGB formats in HDR mode

sRGB is not supported in HDR mode

7 years agoFix out-of-bounds memory accesses in ASTC decoder
Pyry Haulos [Thu, 4 Aug 2016 18:28:13 +0000 (11:28 -0700)]
Fix out-of-bounds memory accesses in ASTC decoder

interpolateWeights() was accessing weights outside weight grid bounds.
This resulted in valgrind errors even though values did not contribute
to result colors due to having zero-valued weights.

7 years agoImprove Vulkan null driver
Pyry Haulos [Thu, 4 Aug 2016 18:25:51 +0000 (11:25 -0700)]
Improve Vulkan null driver

 * Implement VkCommandPool/VkCommandBuffer lifetime management
correctly.

 * Return sensible values for device feature and limit queries to allow
more tests to run.

7 years agoUpdate mustpass list.
Mika Isojärvi [Wed, 3 Aug 2016 21:23:21 +0000 (14:23 -0700)]
Update mustpass list.

Change-Id: I67f58940caec80ec5ef5e0dff5cc8bc71f7d9643

7 years agoAdd support for rendering vertex storage images.
Mika Isojärvi [Tue, 2 Aug 2016 17:24:39 +0000 (10:24 -0700)]
Add support for rendering vertex storage images.

Change-Id: I1f5bdcf947f89504721e63ea59f7c80d18026246

7 years agoAdd support for rendering vertex storage texel buffers.
Mika Isojärvi [Mon, 1 Aug 2016 21:58:28 +0000 (14:58 -0700)]
Add support for rendering vertex storage texel buffers.

Change-Id: I309591dec0947a584fc7cbed2cd54d38570fa8d9

7 years agoAdd vertex storage buffers to pipeline barrier tests.
Mika Isojärvi [Thu, 28 Jul 2016 23:09:28 +0000 (16:09 -0700)]
Add vertex storage buffers to pipeline barrier tests.

Change-Id: Iced693511e086408ff8d5fd2158fb1e6a36934a5

7 years agoAdd support for rendering vertex uniform texel buffers
Mika Isojärvi [Thu, 30 Jun 2016 19:27:52 +0000 (12:27 -0700)]
Add support for rendering vertex uniform texel buffers

Change-Id: I6d3d29fb745711a6fd649b93e125d9304a8c29ba

7 years agoAdd vertex uniform buffers to pipeline barrier tests.
Mika Isojärvi [Thu, 30 Jun 2016 00:33:37 +0000 (17:33 -0700)]
Add vertex uniform buffers to pipeline barrier tests.

Change-Id: Iaf1b5b5d033c5076afffe84574bb462f58d92bc4

7 years agoMerge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer."
Treehugger Robot [Wed, 3 Aug 2016 00:40:34 +0000 (00:40 +0000)]
Merge "Split RenderBuffer class into RenderVertexBuffer and RenderIndexBuffer."

7 years agoMerge "Fix warnings in texture_filtering tests"
Treehugger Robot [Tue, 2 Aug 2016 23:16:45 +0000 (23:16 +0000)]
Merge "Fix warnings in texture_filtering tests"

7 years agoMerge "Fix image layout in pipeline barrier tests"
Treehugger Robot [Tue, 2 Aug 2016 23:02:21 +0000 (23:02 +0000)]
Merge "Fix image layout in pipeline barrier tests"

7 years agoFix warnings in texture_filtering tests
Collin Baker [Tue, 2 Aug 2016 21:09:57 +0000 (14:09 -0700)]
Fix warnings in texture_filtering tests

Bug: 30598679
Change-Id: Ida1e666dc5bb3783cc3cfd8e2982b8a368f88e36

7 years agoUpdate framework to match vulkan.h at 15aa048
Pyry Haulos [Tue, 2 Aug 2016 18:11:49 +0000 (11:11 -0700)]
Update framework to match vulkan.h at 15aa048

7 years agoSuppress the google-explicit-constructor warning locally.
Chih-Hung Hsieh [Tue, 2 Aug 2016 05:33:13 +0000 (22:33 -0700)]
Suppress the google-explicit-constructor warning locally.

* Too many source files and constructors to fix now.

Bug: 28341362
Change-Id: I65c30df6e376cd77a43b80642354ff01d2c0b8df
Test: build with WITH_TIDY=1

7 years agoMerge pull request #21 from elongbug/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 2 Aug 2016 15:51:52 +0000 (08:51 -0700)]
Merge pull request #21 from elongbug/vulkan-cts-1.0-dev

Add support for wayland platform