rhi: Replace deprecated MTLRenderPipelineDescriptor.sampleCount

Change-Id: I47c64416e9ba089c2f23dcebf63a26988bb1d0a7
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Tor Arne Vestbø 2024-05-06 12:05:29 +02:00
parent 5b41046813
commit f16036fc18

View File

@ -4857,7 +4857,7 @@ void QMetalGraphicsPipeline::setupAttachmentsInMetalRenderPassDescriptor(void *m
}
QRHI_RES_RHI(QRhiMetal);
rpDesc.sampleCount = NSUInteger(rhiD->effectiveSampleCount(m_sampleCount));
rpDesc.rasterSampleCount = NSUInteger(rhiD->effectiveSampleCount(m_sampleCount));
}
void QMetalGraphicsPipeline::setupMetalDepthStencilDescriptor(void *metalDsDesc)