rhi: Replace deprecated MTLRenderPipelineDescriptor.sampleCount
Change-Id: I47c64416e9ba089c2f23dcebf63a26988bb1d0a7 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
5b41046813
commit
f16036fc18
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user