message: Serialized pipeline state: fixed GetPatchedShaderCreateInfo for Metal bytecode
diff: @@ -357,10 +357,18 @@ ShaderCreateInfo DILIGENT_CALL_TYPE SerializedPipelineStateImpl::GetPatchedShade
  const auto Type = ArchiveDeviceDataFlagToArchiveDeviceType(DeviceType);
  const auto& Shaders = m_Data.Shaders[static_cast<size_t>(Type)];
  if (ShaderIndex < Shaders.size())
  + {
  {
  Serializer<SerializerMode::Read> Ser{Shaders[ShaderIndex].Data};
  ShaderSerializer<SerializerMode::Read>::SerializeCI(Ser, ShaderCI);
  }
  + if (Type == DeviceType::Metal_MacOS || Type == DeviceType::Metal_iOS)
  + {
  + // See DeviceObjectArchiveMtlImpl::UnpackShader
  + Serializer<SerializerMode::Read> Ser{SerializedData{const_cast<void*>(ShaderCI.ByteCode), ShaderCI.ByteCodeSize}};
  + Ser.SerializeBytes(ShaderCI.ByteCode, ShaderCI.ByteCodeSize);
  + }
  + }
  else
  {
  DEV_ERROR("Shader index (", ShaderIndex, ") is out of range. Call GetPatchedShaderCount() to get the shader count.");
  