platform/upstream/VK-GL-CTS.git
8 years agoMerge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent...
David Sodman [Mon, 21 Mar 2016 21:23:47 +0000 (21:23 +0000)]
Merge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent" into nyc-dev
am: bc45f78

* commit 'bc45f78fd3231e8c26f2a29b695dc72c1a4f22f1':
  Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent

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

* commit 'dbc0f4ff66acb5b28e40023dade3ecc7a59f9a10':
  Fix int to bool conversion warning

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

* commit 'f9ccfc839034e8eb728cccbdc9558e37731f930e':
  Improve logging in dEQP-VK.api.info.device.memory_properties

8 years agoMerge changes I87bf1147,I1bfc5656 into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 21:14:05 +0000 (21:14 +0000)]
Merge changes I87bf1147,I1bfc5656 into nyc-dev
am: 74c6692

* commit '74c669208e3b0778082cb5bf9787925fc61c24f3':
  Enable blending for floating point formats
  Always disable blending for 32bit float formats

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:13:02 +0000 (20:13 +0000)]
Merge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev
am: 1554093

* commit '1554093ff09845082d3cf8ac024c14a46b98afed':
  Fix VkDeviceSize -> size_t warning in synchronization tests

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 Isojärvi [Mon, 21 Mar 2016 19:30:34 +0000 (19:30 +0000)]
Merge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev
am: a58c0e9

* commit 'a58c0e94da30994ed129a83e72cee057badaf9de':
  Fix GLES31 format counts in draw buffers indexed tests

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 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
Jeannot Breton [Mon, 21 Mar 2016 17:49:51 +0000 (17:49 +0000)]
Merge in bugfixes from Khronos repository
am: 45cb571

* commit '45cb57100923ca89c36455f832398557d4877ff8':
  clamp allocation size based on heap size
  dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.
  Add new --deqp-log-flush command line option

8 years agoMerge "Add image layout transitions to pipeline barrier tests" into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 17:37:15 +0000 (17:37 +0000)]
Merge "Add image layout transitions to pipeline barrier tests" into nyc-dev
am: ac33169

* commit 'ac33169d5165d9a89bb2415f3f3ba48c427100f2':
  Add image layout transitions to pipeline barrier tests

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 agoAdd allocation callback tests for WSI
Pyry Haulos [Mon, 21 Mar 2016 17:32:04 +0000 (17:32 +0000)]
Add allocation callback tests for WSI
am: f1d576d

* commit 'f1d576d0d3f98e27b55038c5b29df26d1d0f0d79':
  Add allocation callback tests for WSI

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:44:18 +0000 (23:44 +0000)]
Add swapchain tests to mustpass
am: f7a3b26

* commit 'f7a3b26054a54b6349f9dcb2aa172140b24fdab4':
  Add swapchain tests to mustpass

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 Isojärvi [Fri, 18 Mar 2016 23:19:47 +0000 (23:19 +0000)]
Merge "Remove non-color renderable formats from draw buffer indexed tests" into nyc-dev
am: f310772

* commit 'f310772c9ad46c656a04b348ca23012b015385d9':
  Remove non-color renderable formats from draw buffer indexed tests

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 Isojärvi [Fri, 18 Mar 2016 23:04:50 +0000 (23:04 +0000)]
Merge "Fix typo in negative buffer API tests" into nyc-dev
am: 7ef72a1

* commit '7ef72a18750616a4cab0959b08ab7fe61cb0dd71':
  Fix typo in negative buffer API tests

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:53:36 +0000 (22:53 +0000)]
Merge "Add basic WSI swapchain tests" into nyc-dev
am: 63802fa

* commit '63802fadbfdabc9abf4e34ac7766890be81d77af':
  Add basic WSI swapchain tests

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 Isojärvi [Fri, 18 Mar 2016 17:01:46 +0000 (17:01 +0000)]
Merge "Remove invalid precision macro negative tests" into nyc-dev
am: 5bb124b

* commit '5bb124b143d8f18502df38ff263baa97521db86c':
  Remove invalid precision macro negative tests

8 years agoMerge "Make sure invalid programs and shaders are invalid" into nyc-dev
Mika Isojärvi [Fri, 18 Mar 2016 17:01:45 +0000 (17:01 +0000)]
Merge "Make sure invalid programs and shaders are invalid" into nyc-dev
am: 6205158

* commit '62051583673482fd55e2c6e0cc2609d2989329f6':
  Make sure invalid programs and shaders are invalid

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 23:00:43 +0000 (23:00 +0000)]
Merge "Add support for vulkan synchronization primitives" into nyc-dev
am: 77ab97d

* commit '77ab97d39a5aaee66e098cf21e1b367a803b9f1f':
  Add support for vulkan synchronization primitives

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 Isojärvi [Thu, 17 Mar 2016 21:35:19 +0000 (21:35 +0000)]
Merge "Turn on well defined signed integer overflow" into nyc-dev
am: 2f57451

* commit '2f57451e8ad883cf74c1eb0c2dea7959d12250c5':
  Turn on well defined signed integer overflow

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 agoAdd code to validate memoryType properties reported from vkGetPhysicalDeviceMemoryPro...
David Sodman [Thu, 17 Mar 2016 21:25:22 +0000 (21:25 +0000)]
Add code to validate memoryType properties reported from vkGetPhysicalDeviceMemoryProperties()
am: 8bcd9ee

* commit '8bcd9ee0191e2bbc6392467bec82db4db29470cd':
  Add code to validate memoryType properties reported from vkGetPhysicalDeviceMemoryProperties()

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 Isojärvi [Thu, 17 Mar 2016 17:35:32 +0000 (17:35 +0000)]
Merge "Fix geometry point size extension check" into nyc-dev
am: 5bc2228

* commit '5bc22284834bd3ab45e8af8d17d5bbe14b184a2c':
  Fix geometry point size extension check

8 years agoMerge "Do not require signed zero support in frexp() tests" into nyc-dev
Pyry Haulos [Thu, 17 Mar 2016 17:35:32 +0000 (17:35 +0000)]
Merge "Do not require signed zero support in frexp() tests" into nyc-dev
am: 06b0c42

* commit '06b0c420a49ca9095ee72a4912e4c0658120939f':
  Do not require signed zero support in frexp() tests

8 years agoMerge "Fix cube map array extension checks in opaque indexing tests" into nyc-dev
Mika Isojärvi [Thu, 17 Mar 2016 17:35:32 +0000 (17:35 +0000)]
Merge "Fix cube map array extension checks in opaque indexing tests" into nyc-dev
am: 7888009

* commit '7888009d5cdf9ddfd197e6740a13c95a17786927':
  Fix cube map array extension checks in opaque indexing tests

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:47:25 +0000 (18:47 +0000)]
Re-build mustpass
am: 2dbe652

* commit '2dbe652bd34eeabbca6b75cd3f3ea95038dd1ed8':
  Re-build mustpass

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

* commit '3940ed1e08e0091511103feeb5d4a9e331178d51':
  Extend and clean up VkSurfaceKHR tests

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 Android NDK r11 toolchain as new default
Pyry Haulos [Wed, 16 Mar 2016 16:47:33 +0000 (16:47 +0000)]
Add Android NDK r11 toolchain as new default
am: de7fb14

* commit 'de7fb14fc30a8dd60e0215c333950b6a996c825a':
  Add Android NDK r11 toolchain as new default

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 agoAdd checks to verify all bits set in getXXX functions
David Sodman [Tue, 15 Mar 2016 19:39:33 +0000 (19:39 +0000)]
Add checks to verify all bits set in getXXX functions
am: 8c9532417c

* commit '8c9532417c5504b010aadcf6b20669d901dd76ab':
  Add checks to verify all bits set in getXXX functions

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 Isojärvi [Mon, 14 Mar 2016 19:46:02 +0000 (19:46 +0000)]
Merge "Properly reset GL error state" into nyc-dev
am: 5eac1229aa

* commit '5eac1229aa242f6ab19bd8c2ca054d167b2fa96b':
  Properly reset GL error state

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:15:54 +0000 (19:15 +0000)]
Merge "Clean up SPIR-V support code in framework" into nyc-dev
am: b9bd2f2251

* commit 'b9bd2f22512ad5842765299a38c60a39bff64c62':
  Clean up SPIR-V support code in framework

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 agoRemove invalid duplicate checks for negative texture level
Mika Isojärvi [Mon, 14 Mar 2016 18:47:14 +0000 (18:47 +0000)]
Remove invalid duplicate checks for negative texture level
am: 913c562932

* commit '913c562932b8d3601ea4bd3eb4183e600ac7254d':
  Remove invalid duplicate checks for negative texture level

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:37:12 +0000 (16:37 +0000)]
Fix out of bounds access in draw buffers indexed tests
am: 97fbad3f20

* commit '97fbad3f20ef38fd35c6858f72eb5d5071682d61':
  Fix out of bounds access in draw buffers indexed tests

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 17:38:54 +0000 (17:38 +0000)]
Add WSI tests to mustpass
am: 9f6ea09230

* commit '9f6ea09230fbb9565901ea65f8fa6f8231b70742':
  Add WSI tests to mustpass

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:37:52 +0000 (15:37 +0000)]
Merge changes Iafe8d14c,I4619c2f8,I4e469b93 into nyc-dev
am: efbff39231

* commit 'efbff392314c28a966784bbf407a816bc4a7cd7b':
  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 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 Isojärvi [Fri, 11 Mar 2016 01:14:57 +0000 (01:14 +0000)]
Merge changes Id7b52bba,I13b7d016 into nyc-dev
am: 5d925cba3a

* commit '5d925cba3a8826472110e287e0b160e539e017c0':
  Check that glReadnPixels() is supported in negative tests
  Add robustness extensions to GL wrappers

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 Isojärvi [Fri, 11 Mar 2016 00:19:00 +0000 (00:19 +0000)]
Merge "Remove cube map tests affected by HW issues." into nyc-dev
am: 908fd37fce

* commit '908fd37fcefbab2866aa64e9c3da7c825eaa458b':
  Remove cube map tests affected by HW issues.

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 Isojärvi [Thu, 10 Mar 2016 23:37:48 +0000 (23:37 +0000)]
Merge "Fix out of bounds access in internal format query tests" into nyc-dev
am: f0b7ad7888

* commit 'f0b7ad78881013f761a2a86a264bd7932eeef40f':
  Fix out of bounds access in internal format query tests

8 years agoMerge "Remove invalid call to detach rbo from default fbo" into nyc-dev
Mika Isojärvi [Thu, 10 Mar 2016 23:37:47 +0000 (23:37 +0000)]
Merge "Remove invalid call to detach rbo from default fbo" into nyc-dev
am: 5f59c6c44e

* commit '5f59c6c44e2a78b1e35d8e43c22b632d8b48c404':
  Remove invalid call to detach rbo from default fbo

8 years agoMerge "Query profile mask to correct variable in context test" into nyc-dev
Mika Isojärvi [Thu, 10 Mar 2016 23:37:47 +0000 (23:37 +0000)]
Merge "Query profile mask to correct variable in context test" into nyc-dev
am: 88c70c5b7d

* commit '88c70c5b7d54cac9a19651cf72b2625d1df438af':
  Query profile mask to correct variable in context test

8 years agoMerge "Check cube map array support in opaque indexing tests" into nyc-dev
Mika Isojärvi [Thu, 10 Mar 2016 23:37:47 +0000 (23:37 +0000)]
Merge "Check cube map array support in opaque indexing tests" into nyc-dev
am: c7bff8848c

* commit 'c7bff8848ce3698b1433c16b56a9b6ae18fabd1d':
  Check cube map array support in opaque indexing tests

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