mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 00:55:42 -04: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…
x
Reference in New Issue
Block a user