We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b44761 commit b3353b5Copy full SHA for b3353b5
filament/backend/src/metal/MetalDriver.mm
@@ -1144,8 +1144,12 @@
1144
bool MetalDriver::isFrameBufferFetchSupported() {
1145
// FrameBuffer fetch is achievable via "programmable blending" in Metal, and only supported on
1146
// Apple GPUs with readWriteTextureSupport.
1147
- return mContext->highestSupportedGpuFamily.apple >= 1 &&
1148
- mContext->device.readWriteTextureSupport;
+ // On macOS, framebuffer fetch requires MSL 2.3, which is only available with macOS 11.0.
+ if (@available(macOS 11.0, *)) {
1149
+ return mContext->highestSupportedGpuFamily.apple >= 1 &&
1150
+ mContext->device.readWriteTextureSupport;
1151
+ }
1152
+ return false;
1153
}
1154
1155
bool MetalDriver::isFrameBufferFetchMultiSampleSupported() {
0 commit comments