platform/upstream/VK-GL-CTS.git
8 years agoresolve merge conflicts of d097869 to nyc-dev
Pyry Haulos [Thu, 24 Mar 2016 22:44:10 +0000 (22:44 +0000)]
resolve merge conflicts of d097869 to nyc-dev
am: 3ed2014

* commit '3ed20144b972971fb6e62a470d65031028b3fc27':
  Use smaller triangles in triangle_vertex.clip_three

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 Isojärvi [Thu, 24 Mar 2016 17:48:09 +0000 (17:48 +0000)]
Merge "Set bit in blit mask to settle ambiguity" into nyc-dev
am: 78bda03

* commit '78bda03a6167c6697598f3f4497b4f0afb687c0c':
  Set bit in blit mask to settle ambiguity

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 [Thu, 24 Mar 2016 16:49:00 +0000 (16:49 +0000)]
Fix ASTC framework tests
am: e43e099

* commit 'e43e0996535adec7a9f2edfc36999a581fe59f62':
  Fix ASTC framework tests

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 21:52:56 +0000 (21:52 +0000)]
Remove use of bison from glslang build files
am: c722ae3

* commit 'c722ae3843b1af58142cd83b15639f300df93fcf':
  Remove use of bison from glslang build files

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:34:04 +0000 (21:34 +0000)]
Merge "Fix memory requiredProperty flags to check for at least rather than exact match" into nyc-dev
am: 514fd83

* commit '514fd83f323b3e4b5c26a97ff9cdd666b9cd9728':
  Fix memory requiredProperty flags to check for at least rather than exact match

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 Isojrvi [Tue, 22 Mar 2016 21:20:54 +0000 (21:20 +0000)]
Skip matrix transpose tests on non GLES2 implementations
am: 25e5a1e

* commit '25e5a1e8c8c86eccebb2c7922c1cdf11a6d7bc02':
  Skip matrix transpose tests on non GLES2 implementations

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:51:18 +0000 (17:51 +0000)]
Merge "Clean up Win32 platform code" into nyc-dev
am: 813470e

* commit '813470e16149d6209ce96dbcfa6f6f72e8b7a64d':
  Clean up Win32 platform code

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