commit | 6087e0a26647b0e267b10d32c976bdc436b7a2a9 | [log] [tgz] |
---|---|---|
author | Bill Hollings <bill.hollings@brenwill.com> | Tue Nov 17 09:33:57 2020 -0500 |
committer | GitHub <noreply@github.com> | Tue Nov 17 09:33:57 2020 -0500 |
tree | e7aa6a891b1cf6f7d737c69e4cca2b6649d6522c | |
parent | 4e0abab7dbf16b2d64a7e54a43e07327bd40e1d5 [diff] | |
parent | 3b33c9ce05c80889402588f4c673c094789960ef [diff] |
Merge pull request #1152 from cdavis5e/ios-min-lod-clamp MVKPhysicalDevice: Enable shaderResourceMinLod on iOS.
diff --git a/ExternalRevisions/SPIRV-Cross_repo_revision b/ExternalRevisions/SPIRV-Cross_repo_revision index e0324bd..6c745e8 100644 --- a/ExternalRevisions/SPIRV-Cross_repo_revision +++ b/ExternalRevisions/SPIRV-Cross_repo_revision
@@ -1 +1 @@ -46bf1e99d6e7bbbee51f412e9a97b4ca6bc858b8 +b3c59263a0e8f921df15757c7b28407306a16830
diff --git a/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm b/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm index 19c16cb..eb7f5f1 100644 --- a/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm +++ b/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm
@@ -1541,6 +1541,10 @@ if (supportsMTLFeatureSet(iOS_GPUFamily5_v1)) { _features.multiViewport = true; } + + if (supportsMTLGPUFamily(Apple6)) { + _features.shaderResourceMinLod = true; + } #endif #if MVK_MACOS