mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45: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
|
||||
desc.vertexBuffers[0].mutability = MTLMutabilityImmutable;
|
||||
desc.fragmentBuffers[0].mutability = MTLMutabilityImmutable;
|
||||
if (!config.input_layout.vertex_attributes.empty())
|
||||
desc.vertexBuffers[1].mutability = MTLMutabilityImmutable;
|
||||
if (config.layout == GPUPipeline::Layout::SingleTextureBufferAndPushConstants)
|
||||
|
|
Loading…
Reference in a new issue