1595 Commits

Author SHA1 Message Date
Bill Hollings
89fce99ef1 Update What's New document. 2020-06-11 12:49:42 -04:00
Bill Hollings
dd98fbd26f Remove use of @available() directive as it can cause issues in some build environments.
Generally replace use of @available() with respondsToSelector:.
Add mvkMakeOSVersion() and mvkOSVersionIsAtLeast(macos,ios) to help testing OS versions.
Set maxDrawIndexedIndexValue to kMVKUndefinedLargeUInt32 instead of uint32_t max.
2020-06-11 12:43:38 -04:00
Alexander Meißner
7a0dcc07e6 Minor fixes 2020-06-11 13:41:42 +02:00
Alexander Meißner
f2e8552caf Merge master into VK_KHR_sampler_ycbcr_conversion 2020-06-11 12:40:55 +02:00
Bill Hollings
7cf3b26b37 Demo API-Samples generateSPIRVShaders no longer builds MoltenVKShaderController tool.
The tool will be built during MoltenVK build, and rebuilding just the tool
was clearing away the main MoltenVK build.
2020-06-09 22:38:48 -04:00
Aman Gupta
3a8dc355b5 try setting more tvos bits 2020-06-09 15:41:19 -07:00
Aman Gupta
118ef06371 add tvos targets to the xcode projects 2020-06-09 15:16:14 -07:00
Aman Gupta
44a2ec5836 add tvOS boilerplate 2020-06-09 14:47:11 -07:00
Bill Hollings
752c1a908d Refactor Xcode build architectures
Set ARCHS build setting to $(ARCHS_STANDARD_64_BIT) in Xcode projects.
Remove ARCHS and VALID_ARCHS build settings in Xcode targets.
2020-06-09 16:39:23 -04:00
Bill Hollings
e9fc62b27d
Merge pull request #911 from billhollings/master
Set maxVertexInputBindingStride and maxVertexInputAttributeOffset to min Vulkan values.
2020-06-09 15:38:12 -04:00
Bill Hollings
b408557c7e Set maxVertexInputBindingStride and maxVertexInputAttributeOffset to min Vulkan values.
Ensure kMVKUndefinedLarge... family of constant values are each a power-of-two.
Change several power-of-two math functions to template functions.
2020-06-09 14:44:50 -04:00
Bill Hollings
22e2f5a777
Merge pull request #910 from billhollings/master
Fix issue in reporting properties of substitutable VkFormats.
2020-06-09 12:53:43 -04:00
Bill Hollings
f39486666a Fix issue in reporting properties of substitutable VkFormats.
Report format properties only based on the primary MTLPixelFormat
of a VkFormat, not any possible substitution MTLPixelFormat.
Update MoltenVK version to 1.0.43 and VK_MVK_MOLTENVK_SPEC_VERSION to 26.
2020-06-09 12:01:55 -04:00
Alexander Meißner
5e4e2d83cc Merge master into VK_KHR_sampler_ycbcr_conversion 2020-06-08 00:05:16 +02:00
Alexander Meißner
0256b376da Optimizes chroma subsampling pixel formats. 2020-06-06 22:47:51 +02:00
Alexander Meißner
05e5af7dbf Adds support for descriptor assignment of multi planar images and samplers. 2020-06-05 14:58:19 +01:00
Bill Hollings
b0f1bacd77
Merge pull request #907 from js6i/master
Handle vertex attributes with zero stride
2020-06-04 15:08:45 -04:00
Jan Sikorski
fa63b92d5d Handle vertex attributes with zero stride 2020-06-04 17:45:05 +02:00
Alexander Meißner
3005a153bc Refactoring to support multiple MVKImageViewPlanes per MVKImageView. 2020-06-04 11:57:35 +02:00
Jan Sikorski
6df700f6e7 Don't try to move offset into stride for vertex attribute whose stride is 0 2020-06-04 09:31:34 +02:00
Bill Hollings
f5bf3e2b9f
Merge pull request #905 from Michael-Lfx/master
Fix typo.
2020-06-03 11:02:18 -04:00
Jfeng Lai
393bde8dfc
Fix typo. 2020-06-03 22:36:57 +08:00
Alexander Meißner
aac9d1d5a1 Refactoring separates the MTLTexture of MVKImageView into its own class.
Plus more adjustments to support multi planar images.
2020-06-03 11:35:57 +02:00
Bill Hollings
3877e5c51e
Merge pull request #903 from billhollings/master
Update fetchDependencies script to use pre-built spirv-tools files by default.
2020-06-02 14:43:49 -04:00
Bill Hollings
4a5bf6953c Update fetchDependencies script to use pre-built spirv-tools files by default. 2020-06-02 13:30:52 -04:00
Bill Hollings
fe1e5c52d0
Merge pull request #902 from EwoutH/patch-2
Travis CI: Update to Xcode 11.5
2020-06-02 12:34:13 -04:00
Ewout ter Hoeven
11e99ffd18
Travis CI: Update to Xcode 11.5
from Xcode 11.3. Also updates macOS version from 10.14.6 to 10.15.4 and JDK from 14.0.0 to 14.0.1
2020-06-02 17:40:21 +02:00
Bill Hollings
81b61f90d6
Merge pull request #901 from billhollings/master
Update dependency libraries to match Vulkan SDK 1.2.141.
2020-06-02 10:24:17 -04:00
Bill Hollings
1bdaac6f13
Merge pull request #900 from Michael-Lfx/master
Fix typo.
2020-06-02 08:58:08 -04:00
Alexander Meißner
3b76e60137 Refactoring: Different extents of each image plane (chroma subsampling). 2020-06-02 09:39:18 +02:00
Jfeng Lai
f524be17f9
Fix typo. 2020-06-02 11:47:11 +08:00
Bill Hollings
8d7468effb Update maximum number of framebuffer layers to 2048. 2020-06-01 23:41:36 -04:00
Bill Hollings
4840c97e94 Update dependency libraries to match Vulkan SDK 1.2.141. 2020-06-01 17:35:31 -04:00
Bill Hollings
806482f786
Merge pull request #898 from js6i/master
Check for stencil only image view in identity swizzle case
2020-06-01 14:31:33 -04:00
Jan Sikorski
75856bbb6c Set buffer binding size accordingly 2020-06-01 17:05:47 +02:00
Alexander Meißner
90e9b58879 Adjustments to support multi planar images 2020-06-01 17:02:09 +02:00
Jan Sikorski
333c75a760 Check for stencil only image view in identity swizzle case 2020-06-01 16:36:22 +02:00
Bill Hollings
d0ff200565
Merge pull request #897 from Michael-Lfx/master
Fix typo.
2020-06-01 09:15:56 -04:00
Jfeng Lai
d16b3d55e1
Fix typo. 2020-06-01 11:00:36 +08:00
Bill Hollings
8392cafada
Merge pull request #896 from billhollings/master
Support vertex attribute offsets larger than the vertex buffer stride.
2020-05-31 22:16:23 -04:00
Bill Hollings
1ef26259a7 Remove checking translated vertex bindings on inline buffers. 2020-05-31 21:38:05 -04:00
Bill Hollings
8671295570 Support vertex attribute offsets larger than the vertex buffer stride.
Add MVKTranslatedVertexBinding to describe a translated vertex binding, track these in
MVKGraphicsPipeline, and add a Metal vertex layout for each additional translated binding.
MVKGraphicsResourcesCommandEncoderState query MVKGraphicsPipeline for translated bindings
associated with existing bindings and binds the same MTLBuffer multiple times with
different offsets.
2020-05-31 14:16:12 -04:00
Alexander Meißner
72da2e4d11 Refactoring to support multiple MVKImagePlanes per MVKImage.
MVKImage uses VkFormat instead of MTLPixelFormat (to support multi planar images).
2020-05-31 16:51:46 +02:00
Bill Hollings
e302a6d023 Update to latest version of SPIRV-Cross.
Remove use of obsolete SPIRV-Cross API MSLVertexAttr content.
ExternalDependencies.xcodeproj updated to Xcode 11.5.
Update What's New document.
2020-05-30 16:07:47 -04:00
Bill Hollings
1ec032e5a3
Merge pull request #895 from billhollings/master
vkGetPhysicalDeviceFormatProperties() remove log message for unsupported format when retrieving properties.
2020-05-30 12:00:53 -04:00
Bill Hollings
08f069d103
Merge pull request #894 from Michael-Lfx/master
Fix typo
2020-05-30 10:37:28 -04:00
Bill Hollings
7318d40f3f
Merge pull request #893 from OliverBalfour/patch-1
Fix markdown link syntax in MoltenVK_Runtime_UserGuide.md
2020-05-30 10:37:11 -04:00
Alexander Meißner
672ba74339 Refactoring separates the MTLTexture of MVKImage into its own class.
This is required for multi planar images which have multiple texture descriptors.
2020-05-30 15:19:18 +02:00
Michael(LAI)
6cb3307224
Fix typo 2020-05-30 16:53:53 +08:00
OliverBalfour
b11992d4a0
Fix markdown link in MoltenVK_Runtime_UserGuide.md
The link contains a space between the right square bracket and subsequent left round bracket causing the link to display incorrectly in GitHub's markdown reader.
2020-05-30 15:45:29 +10:00