| 241 | } |
| 242 | |
| 243 | Path Executable::GetLocalLayersSettingsPath() const { |
| 244 | assert(this->GetActiveOptions() != nullptr); |
| 245 | if (this->GetActiveOptions()->working_folder.Empty()) { |
| 246 | return this->path.AbsoluteDir() + "/vk_layer_settings.txt"; |
| 247 | } else { |
| 248 | return this->GetActiveOptions()->working_folder.RelativePath() + "/vk_layer_settings.txt"; |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | void Executable::AddOptions(const ExecutableOptions& options) { |
| 253 | this->options_list.push_back(options); |