summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2022-11-08 14:59:50 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2022-11-09 19:02:00 +0100
commit514ae9764008dafddd3022ef73f63ba8b2d7f430 (patch)
tree4a831a12828129a62b5354261962196bcb121fdd /tests/auto/corelib/thread
parentfee46831fd722935d126f8ab8f422911dbebb60f (diff)
rhi: metal: Move macOS 13 pipeline cache workaround to the backend
To allow removing the MACOS && IOS ifdefs from Qt Quick. The check is taken care of by the QRhi Metal backend instead. The logic is now slightly more sophisticated than just outright skipping the whole feature: we know that the problems (crash on M1/M2, and suspicious, constant blob size increases also on Macs with Intel graphics once upgraded to macOS 13) are triggered when new render/compute pipelines are registered to a MTLBinaryArchive that already loaded some data from a file serialized in a previous run of the application. Therefore, we just skip registering new pipelines when we believe it is not going to be safe. The rest of the persistent pipeline cache support is left intact and operates normally. Task-number: QTBUG-106703 Task-number: QTBUG-108216 Change-Id: Id3cc931dfbd940a3e6820ee9294459e4993e9ca7 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/auto/corelib/thread')
0 files changed, 0 insertions, 0 deletions