mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
MetalDevice: Forgot a mutability parameter
This commit is contained in:
parent
106c13635b
commit
779e78ae61
|
@ -850,6 +850,7 @@ std::unique_ptr<GPUPipeline> MetalDevice::CreatePipeline(const GPUPipeline::Grap
|
||||||
|
|
||||||
// Metal-specific stuff
|
// Metal-specific stuff
|
||||||
desc.vertexBuffers[0].mutability = MTLMutabilityImmutable;
|
desc.vertexBuffers[0].mutability = MTLMutabilityImmutable;
|
||||||
|
desc.fragmentBuffers[0].mutability = MTLMutabilityImmutable;
|
||||||
if (!config.input_layout.vertex_attributes.empty())
|
if (!config.input_layout.vertex_attributes.empty())
|
||||||
desc.vertexBuffers[1].mutability = MTLMutabilityImmutable;
|
desc.vertexBuffers[1].mutability = MTLMutabilityImmutable;
|
||||||
if (config.layout == GPUPipeline::Layout::SingleTextureBufferAndPushConstants)
|
if (config.layout == GPUPipeline::Layout::SingleTextureBufferAndPushConstants)
|
||||||
|
|
Loading…
Reference in a new issue