Merge pull request #844 from billhollings/master
Update to latest SPIRV-Cross and Vulkan-Headers and fixes to pipeline cache loading.
This commit is contained in:
commit
d04dc46e79
@ -32,6 +32,12 @@ Released 2020/03/30
|
|||||||
- Update the `README.md` and `MoltenVK_Runtime_UserGuide.md` documents to clarify that
|
- Update the `README.md` and `MoltenVK_Runtime_UserGuide.md` documents to clarify that
|
||||||
**MoltenVK** is not a fully-compliant implementation of *Vulkan*.
|
**MoltenVK** is not a fully-compliant implementation of *Vulkan*.
|
||||||
- Support Xcode 11.4.
|
- Support Xcode 11.4.
|
||||||
|
- Update dependency libraries to match *Vulkan SDK 1.2.135*.
|
||||||
|
- Update to latest SPIRV-Cross version:
|
||||||
|
- MSL: Support inline uniform blocks in argument buffers.
|
||||||
|
- MSL: Move inline uniform blocks to the end of the argument buffer.
|
||||||
|
- MSL: Remove old memory_scope flag from iOS barriers.
|
||||||
|
- MSL: Fixes to array handling.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
f9818f0804e6e73ec8afcc523b7e7f8bfc362632
|
9b3c5e12be12c55533f3bd3ab9cc617ec0f393d8
|
||||||
|
@ -1 +1 @@
|
|||||||
881bbb347a08d1b5aa77f61a52a30b506de9f2bf
|
fb7f9c9bcd1d1544ea203a1f3d4253d0e90c5a90
|
||||||
|
@ -1544,7 +1544,7 @@ void MVKPipelineCache::readData(const VkPipelineCacheCreateInfo* pCreateInfo) {
|
|||||||
if (NSSwapLittleIntToHost(hdrComponent) != pDevProps->deviceID) { return; }
|
if (NSSwapLittleIntToHost(hdrComponent) != pDevProps->deviceID) { return; }
|
||||||
|
|
||||||
reader(pcUUID); // Pipeline cache UUID
|
reader(pcUUID); // Pipeline cache UUID
|
||||||
if (mvkAreEqual(pcUUID, pDevProps->pipelineCacheUUID, VK_UUID_SIZE)) { return; }
|
if ( !mvkAreEqual(pcUUID, pDevProps->pipelineCacheUUID, VK_UUID_SIZE) ) { return; }
|
||||||
|
|
||||||
bool done = false;
|
bool done = false;
|
||||||
while ( !done ) {
|
while ( !done ) {
|
||||||
@ -1632,8 +1632,16 @@ namespace SPIRV_CROSS_NAMESPACE {
|
|||||||
opt.dispatch_base,
|
opt.dispatch_base,
|
||||||
opt.texture_1D_as_2D,
|
opt.texture_1D_as_2D,
|
||||||
opt.argument_buffers,
|
opt.argument_buffers,
|
||||||
|
opt.enable_base_index_zero,
|
||||||
opt.pad_fragment_output_components,
|
opt.pad_fragment_output_components,
|
||||||
opt.texture_buffer_native);
|
opt.ios_support_base_vertex_instance,
|
||||||
|
opt.ios_use_framebuffer_fetch_subpasses,
|
||||||
|
opt.invariant_float_math,
|
||||||
|
opt.emulate_cube_array,
|
||||||
|
opt.enable_decoration_binding,
|
||||||
|
opt.texture_buffer_native,
|
||||||
|
opt.force_active_argument_buffer_resources,
|
||||||
|
opt.force_native_arrays);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Archive>
|
template<class Archive>
|
||||||
@ -1671,9 +1679,19 @@ namespace SPIRV_CROSS_NAMESPACE {
|
|||||||
cs.lod_clamp_min,
|
cs.lod_clamp_min,
|
||||||
cs.lod_clamp_max,
|
cs.lod_clamp_max,
|
||||||
cs.max_anisotropy,
|
cs.max_anisotropy,
|
||||||
|
cs.planes,
|
||||||
|
cs.resolution,
|
||||||
|
cs.chroma_filter,
|
||||||
|
cs.x_chroma_offset,
|
||||||
|
cs.y_chroma_offset,
|
||||||
|
cs.swizzle,
|
||||||
|
cs.ycbcr_model,
|
||||||
|
cs.ycbcr_range,
|
||||||
|
cs.bpc,
|
||||||
cs.compare_enable,
|
cs.compare_enable,
|
||||||
cs.lod_clamp_enable,
|
cs.lod_clamp_enable,
|
||||||
cs.anisotropy_enable);
|
cs.anisotropy_enable,
|
||||||
|
cs.ycbcr_conversion_enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1721,7 +1739,9 @@ namespace mvk {
|
|||||||
|
|
||||||
template<class Archive>
|
template<class Archive>
|
||||||
void serialize(Archive & archive, SPIRVToMSLConversionConfiguration& ctx) {
|
void serialize(Archive & archive, SPIRVToMSLConversionConfiguration& ctx) {
|
||||||
archive(ctx.options, ctx.vertexAttributes, ctx.resourceBindings);
|
archive(ctx.options,
|
||||||
|
ctx.vertexAttributes,
|
||||||
|
ctx.resourceBindings);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Archive>
|
template<class Archive>
|
||||||
@ -1740,7 +1760,8 @@ namespace mvk {
|
|||||||
|
|
||||||
template<class Archive>
|
template<class Archive>
|
||||||
void serialize(Archive & archive, MVKShaderModuleKey& k) {
|
void serialize(Archive & archive, MVKShaderModuleKey& k) {
|
||||||
archive(k.codeSize, k.codeHash);
|
archive(k.codeSize,
|
||||||
|
k.codeHash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user