platform/upstream/VK-GL-CTS.git
8 years agoresolve merge conflicts of d097869 to nyc-dev
Pyry Haulos [Thu, 24 Mar 2016 21:27:31 +0000 (14:27 -0700)]
resolve merge conflicts of d097869 to nyc-dev

Change-Id: Id5780291dfd79a8256a0d979ce1e6d13a90293e9

8 years agoUse smaller triangles in triangle_vertex.clip_three
Pyry Haulos [Thu, 24 Mar 2016 21:11:38 +0000 (21:11 +0000)]
Use smaller triangles in triangle_vertex.clip_three
am: a19537b

* commit 'a19537b3e25256c673af765612c11f765637dc5e':
  Use smaller triangles in triangle_vertex.clip_three

8 years agoMerge "Set bit in blit mask to settle ambiguity" into nyc-dev
Mika Isojarvi [Thu, 24 Mar 2016 17:34:51 +0000 (17:34 +0000)]
Merge "Set bit in blit mask to settle ambiguity" into nyc-dev

8 years agoUse smaller triangles in triangle_vertex.clip_three
Pyry Haulos [Tue, 22 Mar 2016 18:36:35 +0000 (11:36 -0700)]
Use smaller triangles in triangle_vertex.clip_three

A few tests in clipping.triangle_vertex.clip_three generate triangles
that extend over 2^22 units in NDC outside viewport (something real
content is never expected to contain). Clipping these is not something
older ES2-only GPUs are necessarily expected to do accurately and might
come with prohibitive performance cost. This change limits size of those
triangles to a more reasonable value.

Bug: 27533503
Change-Id: Ic571b9d79db2c40652e96f4fc6a567fcfa7dcee3

8 years agoFix ASTC framework tests
Pyry Haulos [Wed, 23 Mar 2016 23:10:27 +0000 (16:10 -0700)]
Fix ASTC framework tests

CEMS test mode will generate HDR blocks so trying to validate that it
generates valid LDR blocks will fail.

Change-Id: If9294d429811054e38167ba942f6910ad2545820

8 years agoRemove use of bison from glslang build files
Pyry Haulos [Wed, 23 Mar 2016 20:06:46 +0000 (13:06 -0700)]
Remove use of bison from glslang build files

Recent glslang revisions contain generated parser files and there is no
longer a need to run bison as part of the build process.

Change-Id: I5b068323245dbcfd1d9286718c165c3b9a0009ab

8 years agoSet bit in blit mask to settle ambiguity
Mika Isojärvi [Tue, 22 Mar 2016 23:25:53 +0000 (16:25 -0700)]
Set bit in blit mask to settle ambiguity

Bug: 27658048
Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3

8 years agoMerge "Fix memory requiredProperty flags to check for at least rather than exact...
David Sodman [Tue, 22 Mar 2016 21:25:24 +0000 (21:25 +0000)]
Merge "Fix memory requiredProperty flags to check for at least rather than exact match" into nyc-dev

8 years agoSkip matrix transpose tests on non GLES2 implementations
Mika Isojärvi [Tue, 22 Mar 2016 19:38:10 +0000 (12:38 -0700)]
Skip matrix transpose tests on non GLES2 implementations

Bug: 27724329
Change-Id: If24d7be2a08e2d7bb8f3c3755e0aaefd7b1ea2b3

8 years agoMerge "Clean up Win32 platform code" into nyc-dev
Pyry Haulos [Tue, 22 Mar 2016 17:36:34 +0000 (17:36 +0000)]
Merge "Clean up Win32 platform code" into nyc-dev

8 years agoFix memory requiredProperty flags to check for at least rather than
David Sodman [Mon, 21 Mar 2016 23:09:31 +0000 (16:09 -0700)]
Fix memory requiredProperty flags to check for at least rather than
exact match

Change-Id: I4afbe9c091fb45bdc02eb4c2778f62989ba28c5e

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

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

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

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

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

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

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

Change-Id: I8518715f690eca6e90732925cfb281f707090afc

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

Change-Id: I70927510e3dce6dbc05cc0f49f24f5d331f49412

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

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

Bug: 27745776
Change-Id: I87bf11473eb45048d6c79d61b2248ac1c07072de

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

Change-Id: Ieafc30f1e6bcf9f74f45bf8d0f110c1df5af8948

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

 * Move generic Win32 code to "win32" namespace

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

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

Change-Id: Ie5d3945c54d6f696104270150c809638f16e18a1

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

GLES32 doesn't support blending 32bit float formats.

Change-Id: I1bfc5656f741bcb80c01d0f8620dbf0441891c0a

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

Fixes Vulkan-CTS/issues/5

Change-Id: I678fb69082d8c68bfe6ee13387ef64baa21223dc

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

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

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

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

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

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

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

Fixes #326

See merge request !464

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

Change-Id: I00008343a16d789a661c12e2ce378421ddb59ba9

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

Includes tests for simulating out of host memory.

Change-Id: I9d754654dbae51e5236887761e58fa37a87d8b7a

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

Change-Id: I4d90e82e15aa594d1fcf9de811f41bc2343a9341

8 years agoAdd swapchain tests to mustpass
Pyry Haulos [Fri, 18 Mar 2016 23:35:39 +0000 (16:35 -0700)]
Add swapchain tests to mustpass

Change-Id: Id1010f7fbe64f38e0ddd17d96d30b2e5fd5d3161

8 years agoMerge "Remove non-color renderable formats from draw buffer indexed tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 23:09:48 +0000 (23:09 +0000)]
Merge "Remove non-color renderable formats from draw buffer indexed tests" into nyc-dev

8 years agoMerge "Fix typo in negative buffer API tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 22:59:19 +0000 (22:59 +0000)]
Merge "Fix typo in negative buffer API tests" into nyc-dev

8 years agoMerge "Add basic WSI swapchain tests" into nyc-dev
Pyry Haulos [Fri, 18 Mar 2016 22:43:11 +0000 (22:43 +0000)]
Merge "Add basic WSI swapchain tests" into nyc-dev

8 years agoRemove non-color renderable formats from draw buffer indexed tests
Mika Isojärvi [Fri, 18 Mar 2016 20:20:27 +0000 (13:20 -0700)]
Remove non-color renderable formats from draw buffer indexed tests

Bug: 27701780
Change-Id: I6e66292d6bd8397d0ae2c1d222b8901659784edf

8 years agoFix typo in negative buffer API tests
Mika Isojärvi [Fri, 18 Mar 2016 21:57:34 +0000 (14:57 -0700)]
Fix typo in negative buffer API tests

Bug: 27745437
Change-Id: I32ad04035df3600adf2eb63ce7aff039d2f26084

8 years agoAdd basic WSI swapchain tests
Pyry Haulos [Tue, 15 Mar 2016 20:46:47 +0000 (13:46 -0700)]
Add basic WSI swapchain tests

Change-Id: Ie8b70325508ccfe9def5ed5a631688db4e354767

8 years agoMerge "Remove invalid precision macro negative tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 16:57:20 +0000 (16:57 +0000)]
Merge "Remove invalid precision macro negative tests" into nyc-dev

8 years agoMerge "Make sure invalid programs and shaders are invalid" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 16:56:22 +0000 (16:56 +0000)]
Merge "Make sure invalid programs and shaders are invalid" into nyc-dev

8 years agoMerge "Add support for vulkan synchronization primitives" into nyc-dev
David Sodman [Thu, 17 Mar 2016 22:54:13 +0000 (22:54 +0000)]
Merge "Add support for vulkan synchronization primitives" into nyc-dev

8 years agoRemove invalid precision macro negative tests
Mika Isojärvi [Thu, 17 Mar 2016 22:27:31 +0000 (15:27 -0700)]
Remove invalid precision macro negative tests

Remove tests that required that using precision as macro name should
make compilation fail.

Bug: 27702614
Change-Id: I3fe4b11c5e0d80e11ca91ceac6d95ee72646e8a4

8 years agoMake sure invalid programs and shaders are invalid
Mika Isojärvi [Thu, 17 Mar 2016 22:03:38 +0000 (15:03 -0700)]
Make sure invalid programs and shaders are invalid

Change-Id: If840c7bb15c0c531e71cc55a8dfbacccda6bfac9

8 years agoMerge "Turn on well defined signed integer overflow" into nyc-dev
Mika Isojarvi [Thu, 17 Mar 2016 21:30:09 +0000 (21:30 +0000)]
Merge "Turn on well defined signed integer overflow" into nyc-dev

8 years agoTurn on well defined signed integer overflow
Mika Isojärvi [Thu, 17 Mar 2016 02:00:59 +0000 (19:00 -0700)]
Turn on well defined signed integer overflow

clang and gcc assume that signed integers never overflow.
This leads to unexpected bugs when optimizer removes bound checks etc.

Bug: 27703278
Bug: 22715185
Change-Id: Iab4c884fa190d05c0ac9236d01eeeb190e765e69

8 years agoclamp allocation size based on heap size
Jeannot Breton [Fri, 4 Mar 2016 19:05:39 +0000 (13:05 -0600)]
clamp allocation size based on heap size

8 years agoAdd code to validate memoryType properties reported from
David Sodman [Mon, 14 Mar 2016 22:28:34 +0000 (15:28 -0700)]
Add code to validate memoryType properties reported from
vkGetPhysicalDeviceMemoryProperties()

BUG 27528890

Change-Id: Iede260b1fcd8d98f6db0e0b0829ab631eb219908

8 years agoMerge "Fix geometry point size extension check" into nyc-dev
Mika Isojarvi [Thu, 17 Mar 2016 01:18:44 +0000 (01:18 +0000)]
Merge "Fix geometry point size extension check" into nyc-dev

8 years agoMerge "Do not require signed zero support in frexp() tests" into nyc-dev
Pyry Haulos [Wed, 16 Mar 2016 23:21:51 +0000 (23:21 +0000)]
Merge "Do not require signed zero support in frexp() tests" into nyc-dev

8 years agoMerge "Fix cube map array extension checks in opaque indexing tests" into nyc-dev
Mika Isojarvi [Wed, 16 Mar 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Fix cube map array extension checks in opaque indexing tests" into nyc-dev

8 years agoFix geometry point size extension check
Mika Isojärvi [Wed, 16 Mar 2016 22:05:08 +0000 (15:05 -0700)]
Fix geometry point size extension check

Bug: 27701866
Change-Id: I6870bb32da7d1f1b7fed9e56873eb4eafcdc7057

8 years agoDo not require signed zero support in frexp() tests
Pyry Haulos [Wed, 16 Mar 2016 21:49:15 +0000 (14:49 -0700)]
Do not require signed zero support in frexp() tests

Bug: 25933766
Change-Id: Ided7abef00010b97133f79930f6edcd73333c5ed

8 years agoFix cube map array extension checks in opaque indexing tests
Mika Isojärvi [Wed, 16 Mar 2016 20:30:22 +0000 (13:30 -0700)]
Fix cube map array extension checks in opaque indexing tests

Bug: 27570992
Change-Id: I7be5792ac51331e171cd6194f2c50e47307210ae

8 years agoRe-build mustpass
Pyry Haulos [Wed, 16 Mar 2016 18:41:19 +0000 (11:41 -0700)]
Re-build mustpass

Change-Id: Ib949dcff21bbcda78bb07ad28765fe6436ded3ec

8 years agoMerge "Extend and clean up VkSurfaceKHR tests" into nyc-dev
Pyry Haulos [Wed, 16 Mar 2016 18:33:08 +0000 (18:33 +0000)]
Merge "Extend and clean up VkSurfaceKHR tests" into nyc-dev

8 years agoAdd support for vulkan synchronization primitives
David Sodman [Sat, 20 Feb 2016 00:54:10 +0000 (16:54 -0800)]
Add support for vulkan synchronization primitives

Change-Id: Ie669717108b7b3f2ad01d2b8935131322bcfa24f

8 years agoAdd Android NDK r11 toolchain as new default
Pyry Haulos [Tue, 15 Mar 2016 20:47:53 +0000 (13:47 -0700)]
Add Android NDK r11 toolchain as new default

New NDK r11 toolchain fixes libc++ on x86 enabling glslang support in
Android builds.

Change-Id: I5141b97f3152cfb1420a116cae40d671477ed254

8 years agoExtend and clean up VkSurfaceKHR tests
Pyry Haulos [Mon, 14 Mar 2016 21:39:42 +0000 (14:39 -0700)]
Extend and clean up VkSurfaceKHR tests

Change-Id: Ieac244ffbdf6834644f2172e1c63d42d9126cecc

8 years agoAdd checks to verify all bits set in getXXX functions
David Sodman [Thu, 11 Feb 2016 23:24:46 +0000 (15:24 -0800)]
Add checks to verify all bits set in getXXX functions

Change-Id: Ifd826403a3e45bdcfdc9c2506404e418e679349a

8 years agoMerge "Properly reset GL error state" into nyc-dev
Mika Isojarvi [Mon, 14 Mar 2016 19:37:02 +0000 (19:37 +0000)]
Merge "Properly reset GL error state" into nyc-dev

8 years agoMerge "Clean up SPIR-V support code in framework" into nyc-dev
Pyry Haulos [Mon, 14 Mar 2016 19:10:31 +0000 (19:10 +0000)]
Merge "Clean up SPIR-V support code in framework" into nyc-dev

8 years agoProperly reset GL error state
Mika Isojärvi [Thu, 10 Mar 2016 21:56:54 +0000 (13:56 -0800)]
Properly reset GL error state

- Pass in ContextInfo to state reset
- Call glGetError() until all errors have been cleared

Bug: 27534832
Change-Id: I9390b94bec1f45d4fb3b44d774a800610770916f

8 years agoClean up SPIR-V support code in framework
Pyry Haulos [Thu, 10 Mar 2016 20:06:21 +0000 (12:06 -0800)]
Clean up SPIR-V support code in framework

 * Return result codes instead of exceptions when GLSL compilation or
assembling fails. Reserve exceptions for unexpected errors.

 * Move vk::disassembleSpirV() to vkSpirVAsm.cpp/hpp.

 * Use deUint32 vectors/pointers for passing around SPIR-V binary data.
Consolidate endianness handling to vkPrograms.cpp.

 * Log disassembled GLSL shaders as <SpirVAssemblySource>.

 * Enable validation for glslang-generated SPIR-V binaries. Requires
updating both glslang and spirv-tools.

 * Clean up vk::SpirVAsmSource and vk::SpirVProgramInfo.

 * Clean up some potential resource leaks in spirv-tools integration.

 * Add --validate-spv option to vk-build-programs.

Change-Id: I0d5683c83c16b3e6d794e284c17ed65ea9541a35

8 years agoRemove invalid duplicate checks for negative texture level
Mika Isojärvi [Thu, 10 Mar 2016 23:59:29 +0000 (15:59 -0800)]
Remove invalid duplicate checks for negative texture level

Bug: 27126464
Change-Id: I2565e87011aef1576f5ab9727b11160a4f86c73f

8 years agoFix out of bounds access in draw buffers indexed tests
Mika Isojärvi [Mon, 14 Mar 2016 16:21:30 +0000 (09:21 -0700)]
Fix out of bounds access in draw buffers indexed tests

Change-Id: I42449896c58a5b7276b5876c26333b09cd863cae

8 years agoAdd WSI tests to mustpass
Pyry Haulos [Fri, 11 Mar 2016 16:27:52 +0000 (08:27 -0800)]
Add WSI tests to mustpass

Change-Id: I8c7553060c249bedfd701ccfe75cd458692e9859

8 years agoMerge changes Iafe8d14c,I4619c2f8,I4e469b93 into nyc-dev
Pyry Haulos [Fri, 11 Mar 2016 15:30:58 +0000 (15:30 +0000)]
Merge changes Iafe8d14c,I4619c2f8,I4e469b93 into nyc-dev

* changes:
  Add dEQP-VK.wsi test group
  Add WSI extension support to Vulkan framework
  Update Vulkan framework to API 1.0.5

8 years agoMerge changes Id7b52bba,I13b7d016 into nyc-dev
Mika Isojarvi [Fri, 11 Mar 2016 01:06:22 +0000 (01:06 +0000)]
Merge changes Id7b52bba,I13b7d016 into nyc-dev

* changes:
  Check that glReadnPixels() is supported in negative tests
  Add robustness extensions to GL wrappers

8 years agoMerge "Remove cube map tests affected by HW issues." into nyc-dev
Mika Isojarvi [Fri, 11 Mar 2016 00:02:17 +0000 (00:02 +0000)]
Merge "Remove cube map tests affected by HW issues." into nyc-dev

8 years agoMerge "Fix out of bounds access in internal format query tests" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:30:53 +0000 (23:30 +0000)]
Merge "Fix out of bounds access in internal format query tests" into nyc-dev

8 years agoMerge "Remove invalid call to detach rbo from default fbo" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:30:36 +0000 (23:30 +0000)]
Merge "Remove invalid call to detach rbo from default fbo" into nyc-dev

8 years agoMerge "Query profile mask to correct variable in context test" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:29:20 +0000 (23:29 +0000)]
Merge "Query profile mask to correct variable in context test" into nyc-dev

8 years agoMerge "Check cube map array support in opaque indexing tests" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:29:07 +0000 (23:29 +0000)]
Merge "Check cube map array support in opaque indexing tests" into nyc-dev

8 years agoRemove cube map tests affected by HW issues.
Mika Isojärvi [Thu, 10 Mar 2016 22:42:34 +0000 (14:42 -0800)]
Remove cube map tests affected by HW issues.

Bug: 27598329
Change-Id: I2ea80e847aa85dff2aed079c5f225a2535374e8d

8 years agoCheck cube map array support in opaque indexing tests
Mika Isojärvi [Thu, 10 Mar 2016 22:25:40 +0000 (14:25 -0800)]
Check cube map array support in opaque indexing tests

Bug: 27570992
Change-Id: I5d6e2a5e3e0da8e4e7ca248bc9f8710bb836626f

8 years agoFix out of bounds access in internal format query tests
Mika Isojärvi [Thu, 10 Mar 2016 22:16:47 +0000 (14:16 -0800)]
Fix out of bounds access in internal format query tests

Bug: 27570736
Change-Id: Id95f80765b3ed020515edb544cf871282672d802

8 years agoQuery profile mask to correct variable in context test
Mika Isojärvi [Thu, 10 Mar 2016 22:03:42 +0000 (14:03 -0800)]
Query profile mask to correct variable in context test

Bug: 27570797
Change-Id: I409977c31e81baebf3d165d1246660944a9d81c1

8 years agoRemove invalid call to detach rbo from default fbo
Mika Isojärvi [Thu, 10 Mar 2016 22:01:42 +0000 (14:01 -0800)]
Remove invalid call to detach rbo from default fbo

Bug: 27469404
Change-Id: Ifee3c839a5e1819f15658a6225444009f7d17052

8 years agoCheck that glReadnPixels() is supported in negative tests
Mika Isojärvi [Thu, 10 Mar 2016 21:36:52 +0000 (13:36 -0800)]
Check that glReadnPixels() is supported in negative tests

Bug: 27536300
Change-Id: Id7b52bbaa0c635b9b4f0a8060a17fc304fdc453f

8 years agoAdd robustness extensions to GL wrappers
Mika Isojärvi [Thu, 10 Mar 2016 21:35:20 +0000 (13:35 -0800)]
Add robustness extensions to GL wrappers

Change-Id: I13b7d016037aa991bf6b9c50bbb2580797baf415

8 years agoMerge branch '325-spirv-assembly-avoid-rounding' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 10 Mar 2016 21:35:18 +0000 (16:35 -0500)]
Merge branch '325-spirv-assembly-avoid-rounding' into 'vulkan-cts-1.0'

dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding

Avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.

See merge request !461

8 years agoIncrease threshold in ES2 frag op and buffer tests am: ce69f90677
Pyry Haulos [Thu, 10 Mar 2016 20:08:32 +0000 (20:08 +0000)]
Increase threshold in ES2 frag op and buffer tests am: ce69f90677
am: eecffcfa8a

* commit 'eecffcfa8a55cd52895727f16f7487e749e9a3a8':
  Increase threshold in ES2 frag op and buffer tests

8 years agoMerge "Don't require GL config for deqp packages" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 20:06:38 +0000 (20:06 +0000)]
Merge "Don't require GL config for deqp packages" into nyc-dev

8 years agoIncrease threshold in ES2 frag op and buffer tests
Pyry Haulos [Thu, 10 Mar 2016 19:57:51 +0000 (19:57 +0000)]
Increase threshold in ES2 frag op and buffer tests
am: ce69f90677

* commit 'ce69f90677293129efc908755aa3e73605478c08':
  Increase threshold in ES2 frag op and buffer tests

8 years agoFix debug build when spirv-tools is not available
Pyry Haulos [Thu, 10 Mar 2016 18:21:10 +0000 (10:21 -0800)]
Fix debug build when spirv-tools is not available

vk::validateSpirV signature mismatch was causing linking error
in debug builds when DEQP_HAVE_SPIRV_TOOLS was not defined.

Change-Id: Icf98f80b72dfa744c4482b1abb0b7d1132aad296

8 years agoMerge "Make deqp build reproducible" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 18:07:20 +0000 (18:07 +0000)]
Merge "Make deqp build reproducible" into nyc-dev

8 years agoMerge "Test vkCreateInstance with NULL application info" into nyc-dev
Jesse Hall [Thu, 10 Mar 2016 17:01:15 +0000 (17:01 +0000)]
Merge "Test vkCreateInstance with NULL application info" into nyc-dev

8 years agoMerge branch 'issue-307' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 10 Mar 2016 16:18:03 +0000 (11:18 -0500)]
Merge branch 'issue-307' into 'vulkan-cts-1.0'

Issue 307: Add new --deqp-log-flush command line option

Fixes issue #307

It defaults to enabled. When disabled it skips calling fflush() for every XML token and line of log.

See merge request !441

8 years agoTest vkCreateInstance with NULL application info
Jesse Hall [Wed, 9 Mar 2016 00:22:45 +0000 (16:22 -0800)]
Test vkCreateInstance with NULL application info

Bug: 27531340
Change-Id: I38fd9b48535aff49cb2e30355b8cfea2ea3f0f68

8 years agoDon't require GL config for deqp packages
Mika Isojärvi [Thu, 10 Mar 2016 01:02:43 +0000 (17:02 -0800)]
Don't require GL config for deqp packages

Option deqp-gl-config-name is not required for Vulkan package. Default is set
to "" which won't be passed to deqp executor.

Change-Id: I10bbb61b396b731bda5476cfcbc7b16ebaa05f7f

8 years agoAdd dEQP-VK.wsi test group
Pyry Haulos [Tue, 8 Mar 2016 23:52:58 +0000 (15:52 -0800)]
Add dEQP-VK.wsi test group

Includes basic tests for VkSurfaceKHR.

Change-Id: Iafe8d14cc22f26381ff5c8b0422a03029a09944a

8 years agoAdd WSI extension support to Vulkan framework
Pyry Haulos [Tue, 16 Feb 2016 13:42:20 +0000 (15:42 +0200)]
Add WSI extension support to Vulkan framework

Change-Id: I4619c2f8b42c0d08bf6b9377592b100d588037f9

8 years agoUpdate Vulkan framework to API 1.0.5
Pyry Haulos [Tue, 16 Feb 2016 10:05:17 +0000 (12:05 +0200)]
Update Vulkan framework to API 1.0.5

Change-Id: I4e469b9384701303f96826c25a51e623316719dc

8 years agoMake deqp build reproducible
Mika Isojärvi [Wed, 9 Mar 2016 22:28:16 +0000 (14:28 -0800)]
Make deqp build reproducible

Change-Id: Id09a9b30ba13a21eebd6d5ddb42efaf10e831da4

8 years ago Fix int->float conversion warning
Pyry Haulos [Wed, 9 Mar 2016 21:10:47 +0000 (13:10 -0800)]
 Fix int->float conversion warning

Change-Id: I3a8c01a9223b1b261b2cf162ab0ef9babb8bbb45

8 years agoRe-generate Android mustpass lists
Pyry Haulos [Wed, 9 Mar 2016 21:06:05 +0000 (13:06 -0800)]
Re-generate Android mustpass lists

Change-Id: I9e8d2d456284cd0522967507f873f8716b3634a7

8 years agoMerge in ES3.2 tests
Pyry Haulos [Wed, 9 Mar 2016 21:00:03 +0000 (13:00 -0800)]
Merge in ES3.2 tests

Change-Id: I66d529eb13aa90382a553e4781123b716cb4cb0e

8 years agoRemove obsolete filter from mustpass exclusion list
Pyry Haulos [Wed, 9 Mar 2016 20:36:30 +0000 (12:36 -0800)]
Remove obsolete filter from mustpass exclusion list

Change-Id: If19713d7478c7f44981c5308c8d538ffd730bd7e

8 years agoMerge in fixes from Khronos Vulkan CTS repository
Pyry Haulos [Wed, 9 Mar 2016 20:37:33 +0000 (12:37 -0800)]
Merge in fixes from Khronos Vulkan CTS repository

8 years agoMerge "Change deqp APK to cts target instead of cts_v2" into nyc-dev
Kalle Raita [Wed, 9 Mar 2016 20:02:23 +0000 (20:02 +0000)]
Merge "Change deqp APK to cts target instead of cts_v2" into nyc-dev