Merge pull request #457 from billhollings/master
Update to latest dependency libraries for Vulkan SDK 1.1.97.
This commit is contained in:
commit
519b594ae0
@ -16,7 +16,7 @@ For best results, use a Markdown reader.*
|
|||||||
MoltenVK 1.0.31
|
MoltenVK 1.0.31
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Released 2019/01/16
|
Released 2019/01/17
|
||||||
|
|
||||||
- Support runtime config via runtime environment variables
|
- Support runtime config via runtime environment variables
|
||||||
- Add full ImageView swizzling to config, and disable it by default.
|
- Add full ImageView swizzling to config, and disable it by default.
|
||||||
@ -32,6 +32,7 @@ Released 2019/01/16
|
|||||||
- Advertise the `VK_AMD_gpu_shader_half_float` extension.
|
- Advertise the `VK_AMD_gpu_shader_half_float` extension.
|
||||||
- Support the `VK_KHR_variable_pointers` extension.
|
- Support the `VK_KHR_variable_pointers` extension.
|
||||||
- MoltenVKShaderConverter tool exit with fail code on any file conversion fail.
|
- MoltenVKShaderConverter tool exit with fail code on any file conversion fail.
|
||||||
|
- Update to latest dependency libraries for Vulkan SDK 1.1.97.
|
||||||
- Update to latest SPIRV-Cross version:
|
- Update to latest SPIRV-Cross version:
|
||||||
- MSL: Support SPV_KHR_variable_pointers.
|
- MSL: Support SPV_KHR_variable_pointers.
|
||||||
- MSL: Workaround missing gradient2d() on macOS for typical cascaded shadow mapping.
|
- MSL: Workaround missing gradient2d() on macOS for typical cascaded shadow mapping.
|
||||||
@ -40,6 +41,8 @@ Released 2019/01/16
|
|||||||
- MSL: Fix case where we pass arrays to functions by value.
|
- MSL: Fix case where we pass arrays to functions by value.
|
||||||
- MSL: Add option to pad fragment outputs.
|
- MSL: Add option to pad fragment outputs.
|
||||||
- MSL: Fix passing a sampled image to a function.
|
- MSL: Fix passing a sampled image to a function.
|
||||||
|
- MSL: Support std140 packing rules for float[] and float2[].
|
||||||
|
- MSL: Fix image load/store for short vectors.
|
||||||
- Performance improvements on iterating internal constructs.
|
- Performance improvements on iterating internal constructs.
|
||||||
- Update copyright to 2019.
|
- Update copyright to 2019.
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
|||||||
9e3a41ad00ca48b9119d805cd96f337984458fe7
|
1040cf6cc1e677c179488753dfb78e7326fd759a
|
||||||
|
@ -1 +1 @@
|
|||||||
add65b83415824f59041486d4903ee1909dc6ee2
|
c200cb25db0f47364d3318d92c1d8e9dfff2fef1
|
||||||
|
@ -1 +1 @@
|
|||||||
d74a02234851dfacf6b140c1ab4d81becf704098
|
ff56a741b1cce8ae20ff6276f51100e668e9c4f5
|
||||||
|
@ -1 +1 @@
|
|||||||
1a849458db984f77c9ecfa79041ede550094c2f2
|
5810b01149ef4f76fd92d7e085d980017379a93b
|
||||||
|
@ -1 +1 @@
|
|||||||
1bc601c674aecc2fee0dee8ff7a118db76b4c439
|
2898223375d57fb3974f24e1e944bb624f67cb73
|
||||||
|
@ -115,7 +115,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
uint32_t _firstViewport;
|
uint32_t _firstViewport;
|
||||||
MVKVectorInline<MTLViewport, 8> _mtlViewports;
|
MVKVectorInline<MTLViewport, kMVKCachedViewportCount> _mtlViewports;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
uint32_t _firstScissor;
|
uint32_t _firstScissor;
|
||||||
MVKVectorInline<MTLScissorRect, 8> _mtlScissors;
|
MVKVectorInline<MTLScissorRect, kMVKCachedScissorCount> _mtlScissors;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ protected:
|
|||||||
void encodeImpl() override;
|
void encodeImpl() override;
|
||||||
void resetImpl() override;
|
void resetImpl() override;
|
||||||
|
|
||||||
MVKVectorInline<MTLViewport, 8> _mtlViewports;
|
MVKVectorInline<MTLViewport, kMVKCachedViewportCount> _mtlViewports;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ protected:
|
|||||||
void encodeImpl() override;
|
void encodeImpl() override;
|
||||||
void resetImpl() override;
|
void resetImpl() override;
|
||||||
|
|
||||||
MVKVectorInline<MTLScissorRect, 8> _mtlScissors;
|
MVKVectorInline<MTLScissorRect, kMVKCachedScissorCount> _mtlScissors;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,6 +65,10 @@ class MVKCommandResourceFactory;
|
|||||||
/** The buffer index to use for vertex content. */
|
/** The buffer index to use for vertex content. */
|
||||||
const static uint32_t kMVKVertexContentBufferIndex = 0;
|
const static uint32_t kMVKVertexContentBufferIndex = 0;
|
||||||
|
|
||||||
|
// Parameters to define the sizing of inline collections
|
||||||
|
const static uint32_t kMVKCachedViewportCount = 16;
|
||||||
|
const static uint32_t kMVKCachedScissorCount = 16;
|
||||||
|
|
||||||
|
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
#pragma mark MVKPhysicalDevice
|
#pragma mark MVKPhysicalDevice
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
#include "MVKResource.h"
|
#include "MVKResource.h"
|
||||||
#include "MVKSync.h"
|
#include "MVKSync.h"
|
||||||
#include "MVKVector.h"
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#include <list>
|
||||||
|
|
||||||
#import <IOSurface/IOSurfaceRef.h>
|
#import <IOSurface/IOSurfaceRef.h>
|
||||||
|
|
||||||
@ -396,7 +396,7 @@ protected:
|
|||||||
uint32_t _swapchainIndex;
|
uint32_t _swapchainIndex;
|
||||||
id<CAMetalDrawable> _mtlDrawable;
|
id<CAMetalDrawable> _mtlDrawable;
|
||||||
std::mutex _availabilityLock;
|
std::mutex _availabilityLock;
|
||||||
MVKVectorInline<MVKSwapchainSignaler, 4> _availabilitySignalers;
|
std::list<MVKSwapchainSignaler> _availabilitySignalers;
|
||||||
MVKSwapchainSignaler _preSignaled;
|
MVKSwapchainSignaler _preSignaled;
|
||||||
MVKSwapchainImageAvailability _availability;
|
MVKSwapchainImageAvailability _availability;
|
||||||
};
|
};
|
||||||
|
@ -142,8 +142,8 @@ protected:
|
|||||||
VkPipelineRasterizationStateCreateInfo _rasterInfo;
|
VkPipelineRasterizationStateCreateInfo _rasterInfo;
|
||||||
VkPipelineDepthStencilStateCreateInfo _depthStencilInfo;
|
VkPipelineDepthStencilStateCreateInfo _depthStencilInfo;
|
||||||
|
|
||||||
MVKVectorInline<MTLViewport, 8> _mtlViewports;
|
MVKVectorInline<MTLViewport, kMVKCachedViewportCount> _mtlViewports;
|
||||||
MVKVectorInline<MTLScissorRect, 8> _mtlScissors;
|
MVKVectorInline<MTLScissorRect, kMVKCachedScissorCount> _mtlScissors;
|
||||||
|
|
||||||
id<MTLRenderPipelineState> _mtlPipelineState;
|
id<MTLRenderPipelineState> _mtlPipelineState;
|
||||||
MTLCullMode _mtlCullMode;
|
MTLCullMode _mtlCullMode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user