2967 Commits

Author SHA1 Message Date
Bill Hollings
00fda690ca Align versioning of external libraries with those used by LunarG SDK.
Load external library versions using script instead of Git submodules.
SPIRV-Cross, Vulkan-LoaderAndValidationLayers & VulkanSamples versions recorded in files.
glslang version determined by Vulkan-LoaderAndValidationLayers.
SPIRV-Tools & SPIRV-Headers versions loaded by glslang.
When MoltenVK is built as part of the LunarG SDK, use external libraries
sourced from parent Vulkan-LoaderAndValidationLayers.
Use Vulkan headers from Vulkan-LoaderAndValidationLayers.
No longer generate Vulkan specification.
Update documentation.
2018-03-12 10:02:13 -04:00
Mike Schuchardt
dc0679f612 Fix vkGetInstanceProcAddr to work with 1.1 loader
In order to determine the instance version, the 1.1 loader takes
advantage of the fact that a 1.0 ICD will return NULL for
vkGetInstanceProcAddr(NULL, "vkEnumerateInstanceVersion")
2018-03-09 14:26:30 -07:00
davidhubbard
dc03b41400 Wrap try/catch blocks for if exceptions disabled
SPIRV-Cross supports the macro SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS
for builds with exceptions disabled. MoltenVK can support those
builds with just a couple #if statements. When exceptions are
disabled, the program will just abort, not throw.
2018-03-09 11:00:17 -06:00
Bill Hollings
b048719467
Merge pull request #83 from billhollings/master
Automate demo deployment and update docs.
2018-03-07 09:03:27 -05:00
Bill Hollings
85e9a2e25c Add Compliance and Contribution sections to README.md. 2018-03-06 16:51:05 -05:00
Bill Hollings
f0ba3dea82 Cube demo generate SPIR-V as part of demo project build. 2018-03-06 15:06:10 -05:00
Bill Hollings
baca9ca7cb Update ThirdPartyConfig.md document. 2018-03-06 14:12:19 -05:00
Bill Hollings
d31aaad3bf Automatically install demo apps.
Add LunarG demo app repository as a submodule.
Add LunarG demo config to makeAll script.
Rename Demos/README_MoltenVK_Demos.md to Demos/README.md.
Do not copy Demos folder to MoltenVK runtime distribution.
Do not copy ThirdPartyConfig.md to MoltenVK runtime distribution.
Add cmake as a dependency in README.md.
2018-03-06 14:07:06 -05:00
Bill Hollings
3f9e8bc2ba
Merge pull request #77 from billhollings/master
Fixes for issues #73 & #76.
2018-03-01 22:11:17 -05:00
Bill Hollings
754cc10730 Allow MoltenVK to be installed and built without asciidoctor. 2018-03-01 21:39:39 -05:00
Bill Hollings
26967d4fa1 Update compile warnings originating from use of __printflike. 2018-03-01 20:07:37 -05:00
Bill Hollings
91082f07fb Add build and runtime OS and device requirements to documentation. 2018-03-01 19:42:15 -05:00
Bill Hollings
2e45073318
Merge pull request #63 from ePirat/ci
Add CI support using Travis CI
2018-03-01 15:36:46 -05:00
Marvin Scholz
f22177d6f2 Add Travis CI badge to Readme
Fix #75
2018-03-01 20:57:51 +01:00
Marvin Scholz
f53906111f Add CI support using Travis CI 2018-03-01 20:55:47 +01:00
Bill Hollings
ac683ae7a9
Merge pull request #74 from Tele42/patch-1
Update ThirdPartyConfig.md markdown link
2018-03-01 14:36:53 -05:00
Bill Hollings
d1a5128448
Merge pull request #60 from MaddTheSane/printflike
Add printf-like macros to MVKLogImpl and mvkNotifyErrorWithText.
2018-03-01 14:32:30 -05:00
Bill Hollings
bfd704e7e5
Merge pull request #59 from tobine/patch-1
Update User Guide Formatting
2018-03-01 14:05:11 -05:00
Bill Hollings
b298c694bc
Merge branch 'master' into patch-1 2018-03-01 14:05:02 -05:00
Bill Hollings
935a7e31b7
Merge pull request #58 from ePirat/patch-1
Minor markdown syntax fixes in docs
2018-03-01 14:03:22 -05:00
Bill Hollings
3f86f5ff6d
Merge branch 'master' into patch-1 2018-03-01 14:01:49 -05:00
Bill Hollings
d4c40ce7f5
Merge pull request #57 from kusma/patch-1
Fix up broken markdown
2018-03-01 13:52:58 -05:00
Tele42
d5df9db82c
Update ThirdPartyConfig.md markdown link
Closes #71.
2018-03-01 09:10:24 -05:00
C.W. Betts
0c91b1e613 Add printf-like macros to MVKLogImpl and mvkNotifyErrorWithText.
This will make the compiler point out improper formatting of variadic functions.
2018-02-26 15:28:28 -07:00
Tobin Ehlis
0f9cf54ba7
Update User Guide Formatting
Add space between "###" and following text so headings show up correctly.
Remove one instance of "###" where it was used along with underline.
2018-02-26 10:37:46 -07:00
ePirat
265e2da78e
Remove extranous hr line 2018-02-26 17:35:19 +01:00
ePirat
2984c78bac
Fix markdown headings syntax 2018-02-26 17:30:47 +01:00
Erik Faye-Lund
2aa7eca5a3
Fix up broken markdown
GitHub seems to not like markdown without spaces after the `#`-characters.

The [current CommonMark spec](http://spec.commonmark.org/0.27/#atx-headings) says "The opening sequence of # characters must be followed by a space or by the end of line."

This makes these headings render like normal headings on GitHub.
2018-02-26 15:52:22 +01:00
Bill Hollings
93c524d2f0
Merge pull request #55 from billhollings/master
Version 1.0.0.
2018-02-25 15:53:25 -05:00
Bill Hollings
e67cf9c0f2 Support null VkSubmitInfo on queue submit. 2018-02-25 15:52:09 -05:00
Bill Hollings
73ff9161e1 Support VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT on VkFormats
that are not supported as texture formats under Metal.
2018-02-25 11:49:58 -05:00
Bill Hollings
7e491e5c04 On command buffer submission, defer waiting on semaphores
until just before MTLCommandBuffer is committed.

Add presentWithCommandBuffer config option to choose how to present.
2018-02-25 01:05:08 -05:00
Bill Hollings
83027ca638 Update version to 1.0.0. 2018-02-24 19:59:58 -05:00
Bill Hollings
615d3f8e2a Consolidate timestamps and performance tracking.
Update to latest SPIRV-Cross.
2018-02-24 19:51:43 -05:00
Bill Hollings
88e355ff68
Merge pull request #53 from billhollings/master
Populate VkPhysicalDeviceProperties vendorID, deviceID and pipelineCacheUUID.
2018-02-21 14:26:04 -05:00
Bill Hollings
a4e4222140 Populate VkPhysicalDeviceProperties vendorID, deviceID and pipelineCacheUUID.
Fix MVKShaderLibrary missing function prototype warning.
Update to latest SPIRV-Cross.
Update to latest Vulkan-Hpp.
Update to latest Vulkan-LoaderAndValidationLayers.
2018-02-21 14:24:21 -05:00
Bill Hollings
1a8b3004bd
Merge pull request #52 from mmaldacker/feature/workgroupsize_spe_const
Work group size specialization constant
2018-02-19 14:50:17 -05:00
Maximilian Maldacker
e3741004b4 moved spe constant work group size reading at the end 2018-02-15 22:49:08 +01:00
Maximilian Maldacker
6eecd58ad2 added workgroupssize specialization constants 2018-02-15 19:00:24 +01:00
Bill Hollings
ddcb833da2
Merge pull request #50 from billhollings/master
Fix push constant data copying and update to latest SPIRV-Cross.
2018-02-14 14:31:23 -05:00
Bill Hollings
68b31e6361 Fix push constant data copying and update to latest SPIRV-Cross. 2018-02-14 13:52:53 -05:00
Bill Hollings
099b6de13e
Merge pull request #49 from mmaldacker/bugfix/push_constant_offset
push constant offset
2018-02-14 13:20:45 -05:00
Bill Hollings
17108ffcf4
Merge pull request #48 from mmaldacker/bugfix/frag_function_suffix
correct fragment function suffix
2018-02-14 13:20:32 -05:00
Maximilian Maldacker
529b3d1e8e added missing break statements 2018-02-13 22:54:03 +01:00
Maximilian Maldacker
c6723a187b don't align push constant buffer (otherwise it'll overwrite other push constants) 2018-02-13 22:53:17 +01:00
Maximilian Maldacker
21a74b6cda Merge branch 'master' of https://github.com/KhronosGroup/MoltenVK 2018-02-13 22:51:58 +01:00
Bill Hollings
8cc1ea6672
Merge pull request #47 from karl-lunarg/karl-def-passthrough
Karl def passthrough
2018-02-13 15:05:30 -05:00
Karl Schultz
563513be04 Add passthrough for build settings
Add $(GCC_PREPROCESSOR_DEFINITIONS) to Preprocessor Definitions
to allow specifying build settings while doing command line builds.

Fixes #45
2018-02-13 12:51:11 -07:00
Karl Schultz
c4ce08402d Disable watermark in debug builds 2018-02-13 12:47:18 -07:00
Maximilian Maldacker
ac8d079365 Merge branch 'bugfix/texture_synchronize' 2018-02-13 20:33:52 +01:00