Michael Barriault
ddf108153d
Support for EXT_inline_uniform_block
2019-11-25 21:35:38 +00:00
Bill Hollings
16afd5e37f
Make mvkCeilingDivide() a template function.
2019-11-21 16:51:41 -05:00
Bill Hollings
c5b91b423d
Merge pull request #781 from billhollings/master
...
Fix MTLHeap memory leak in MVKDeviceMemory.
2019-11-18 14:18:20 -05:00
Bill Hollings
3bb70e8749
Fix MTLHeap memory leak in MVKDeviceMemory.
2019-11-18 13:06:05 -05:00
Bill Hollings
578e97e6dd
Merge pull request #778 from billhollings/master
...
Fix image subresource sizing calculations for heap-based textures.
2019-11-16 19:47:42 -05:00
Bill Hollings
15cdb32ae9
Fix image subresource sizing calculations for heap-based textures.
...
Add MVKImage::_rowByteAlignment separate from _byteAlignment.
2019-11-16 19:05:44 -05:00
Bill Hollings
0026475ed2
Merge pull request #777 from billhollings/master
...
Clamp image copy extents to image extent.
2019-11-14 18:46:47 -05:00
Bill Hollings
ddfa225f79
Fix crash in fetchDependencies on build paths containing spaces.
2019-11-14 17:11:10 -05:00
Bill Hollings
0b6916aa23
Clamp image copy extents to image extent.
2019-11-13 15:40:43 -05:00
Bill Hollings
238f03e3a8
Merge pull request #775 from billhollings/master
...
Support linear filtering when using vkCmdBlitImage().
2019-11-12 17:41:13 -05:00
Bill Hollings
9b13006018
Support linear filtering when using vkCmdBlitImage().
...
Fixes linear filtering when using vkCmdBlitImage(), useful for mipmap generation.
Move MVKCmdBlitImage sampler definition to shader as a constexpr sampler,
and ensure mip_filter and filter are set correctly.
Add MVKRPSKeyBlitImg::srcFilter.
Include MVKCommonEnvironment.h in MVKLogging.h.
Update MoltenVK version to 1.0.39.
2019-11-12 16:47:33 -05:00
Bill Hollings
025abe501a
Support Xcode 11.2.
2019-11-04 20:39:41 -05:00
Bill Hollings
eaf30d4aee
Merge pull request #771 from billhollings/master
...
Update What's New document.
2019-10-30 17:09:01 -04:00
Bill Hollings
f97b827fa5
Update What's New document.
2019-10-30 17:08:16 -04:00
Bill Hollings
1ddacdc25d
Merge pull request #769 from billhollings/master
...
Fix severe FPS degradation caused by certain swapchain recreation situations.
2019-10-30 14:21:05 -04:00
Bill Hollings
d96ee9b0ca
Fix severe FPS degradation caused by certain swapchain recreation situations.
...
Ensure swapchain clears all cached CAMetalDrawables when destroyed.
2019-10-30 14:18:11 -04:00
Bill Hollings
a318d9de75
Merge pull request #767 from billhollings/master
...
Update external libraries to support Vulkan SDK 1.1.126.
2019-10-29 16:49:01 -04:00
Bill Hollings
c7fe2e3230
Update contents of Templates/spirv-tools/build.zip.
2019-10-29 15:10:50 -04:00
Bill Hollings
0bb9b38a44
Merge pull request #765 from mbarriault/master
...
Fix tessellation when using resolve attachments
2019-10-29 13:52:24 -04:00
Bill Hollings
0b1189dc03
Update external libraries to support Vulkan SDK 1.1.126.
...
Update What's New document.
2019-10-29 11:55:16 -04:00
Michael Barriault
1178bc57d0
Fix tessellation when using resolve attachments
2019-10-26 20:57:42 +01:00
Bill Hollings
789ef74d11
Merge pull request #764 from billhollings/master
...
Support additional capabilities in 1D images, including rendering, clearing, and mipmaps.
2019-10-26 09:31:54 -04:00
Bill Hollings
93ae214bc8
Support additional capabilities in 1D images, including rendering, clearing, and mipmaps.
...
Add `MVK_CONFIG_TEXTURE_1D_AS_2D` environment variable, enabled by default.
Modify 1D warning messages to recommend use of `MVK_CONFIG_TEXTURE_1D_AS_2D`.
Update to latest version of SPIRV-Cross.
Align pipeline cache contents to latest CompilerMSL::Options structure.
Clean up code signing on demo Xcode projects.
2019-10-25 14:40:59 -04:00
Bill Hollings
19c397e0b7
Move generation of SPIRV-Cross/mvkSpirvCrossRevisionDerived.h to separate script.
...
Add Scripts/gen_spirv_cross_rev_hdr.sh script and
call from ExternalDependencies SPIRV-Cross build.
2019-10-22 16:51:27 -04:00
Bill Hollings
69cc9c9759
ExternalDependencies Xcode project support Xcode 11.
2019-10-22 11:17:30 -04:00
Bill Hollings
d726aa043d
Set value of VkPhysicalDeviceLimits::maxTexelBufferElements to more realistic value.
2019-10-22 09:06:48 -04:00
Bill Hollings
a1cc03ad38
Merge pull request #757 from w103csh/khronosMaster
...
Add shader linking capability to GLSLToSPIRVConverter
2019-10-18 13:33:05 -04:00
Bill Hollings
558faccb23
Merge pull request #760 from billhollings/master
...
Enable use of MTLFence for Vulkan semaphores, by default.
2019-10-18 12:49:51 -04:00
Colin Hughes
5c3b265888
Braces formatting
2019-10-17 19:02:50 -06:00
Bill Hollings
47d38df764
Log format substitution error when MTLPixelFormatDepth24Unorm_Stencil8 is not supported.
2019-10-17 16:59:52 -04:00
Bill Hollings
f14e44800a
Enable use of MTLFence for Vulkan semaphores, by default.
2019-10-17 15:16:16 -04:00
Bill Hollings
f8520ba3e7
Merge pull request #758 from billhollings/master
...
Support Metal 3.0 capabilities
2019-10-17 10:51:06 -04:00
Bill Hollings
ae8a39e0d3
Update Travis to Xcode 11.1 to correctly resolve MTLGPUFamily values.
2019-10-17 08:23:41 -04:00
Bill Hollings
b5b103e75c
Fix crashes for Metal 3.0 capabilities.
...
Don't allocate MTLHeap of zero size.
MVKImage check for device memory when accessing MTLCPUCacheMode..
2019-10-16 18:50:01 -04:00
Bill Hollings
c6ea99e4db
Support Metal 3.0.
...
Merge Metal-3.0 branch into master branch.
Update What's New document with merged features.
2019-10-16 18:26:58 -04:00
Colin Hughes
520bbe2561
Tabs formatting
2019-10-16 00:28:22 -06:00
Colin Hughes
75c3e13281
Add linking separate shader texts to GLSLToSPRIVConverter
2019-10-16 00:27:39 -06:00
Bill Hollings
ba5a8745b4
Merge pull request #754 from billhollings/master
...
Reduce memory usage...particularly on descriptor sets.
2019-10-11 18:43:53 -04:00
Bill Hollings
c6e9d6b189
Support Xcode 11.1.
2019-10-11 15:16:13 -04:00
Bill Hollings
ebe38ba2ea
Reduce memory usage by replacing use of MVKVectorDefault
...
with std::vector in descriptor set bindings.
2019-10-11 15:12:17 -04:00
Bill Hollings
5c87700732
Reduce memory usage by adjusting default memory allocs for many MVKVectorInline uses.
...
MVKRenderPass use emplace_back() instead of push_back()
when populating _subpasses & _attachments vectors.
Add mvkLogSizeOf(T) development debugging function.
2019-10-10 16:46:17 -04:00
Bill Hollings
2ba65c50a3
Merge pull request #753 from billhollings/master
...
Fix memory leaks when compiling shaders and pipelines without default OS autorelease pool
2019-10-07 19:26:20 -04:00
Bill Hollings
1d628baca4
Fix memory leaks when compiling shaders and pipelines without default OS autorelease pool.
...
Wrap MVKMetalCompiler compiling execution in an @autoreleasepool.
2019-10-07 18:52:24 -04:00
Bill Hollings
c6f5a09004
Merge pull request #751 from billhollings/master
...
Fix memory leaks of system classes during VkInstance and VkQueue creation.
2019-10-06 00:48:18 -04:00
Bill Hollings
62fa0d4a65
Fix memory leaks of system classes during VkInstance and VkQueue creation.
...
Wrap retrieval of MTLDevice and MTLCommandQueue in an @autoreleasepool.
2019-10-04 13:26:04 -04:00
Bill Hollings
f6cf1ce722
Merge pull request #749 from billhollings/master
...
Support Xcode 11.
2019-10-01 14:07:27 -04:00
Bill Hollings
a2951a19e6
Support Xcode 11.
...
Declare _formatDescriptions[] in mvk_datatypes.mm as officially writable
because Clang now locates static const in non-writable memory.
Update build settings to Xcode 11.
Update MoltenVK_Runtime_UserGuide.md about embedding `libMoltenVK.dylib` in an application.
2019-10-01 00:25:09 -04:00
Bill Hollings
cef201df8c
Merge pull request #745 from billhollings/master
...
Allow MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS build setting to be overridden.
2019-09-27 10:13:06 -05:00
Bill Hollings
b805ccf702
Allow MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS build setting to be overridden.
2019-09-26 15:28:30 -05:00
Bill Hollings
b08f53e66f
Merge pull request #744 from billhollings/master
...
Small documentation updates
2019-09-26 13:01:59 -04:00