[dxvk] Rename useAsyncPipeCompiler -> asyncPipeCompiler

This commit is contained in:
Philip Rebohle 2018-09-11 08:38:18 +02:00
parent ea9e812798
commit ea6b6e2e53
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
4 changed files with 4 additions and 4 deletions

View File

@ -2528,7 +2528,7 @@ namespace dxvk {
bool DxvkContext::checkAsyncCompilationCompat() {
bool fbCompat = m_device->config().useAsyncPipeCompiler;
bool fbCompat = m_device->config().asyncPipeCompiler;
for (uint32_t i = 0; fbCompat && i < m_state.om.framebuffer->numAttachments(); i++) {
const auto& attachment = m_state.om.framebuffer->getAttachment(i);

View File

@ -4,7 +4,7 @@ namespace dxvk {
DxvkOptions::DxvkOptions(const Config& config) {
allowMemoryOvercommit = config.getOption<bool>("dxvk.allowMemoryOvercommit", false);
useAsyncPipeCompiler = config.getOption<bool>("dxvk.useAsyncPipeCompiler", false);
asyncPipeCompiler = config.getOption<bool>("dxvk.asyncPipeCompiler", false);
}
}

View File

@ -12,7 +12,7 @@ namespace dxvk {
bool allowMemoryOvercommit;
/// Enable asynchronous pipeline compilation.
bool useAsyncPipeCompiler;
bool asyncPipeCompiler;
};
}

View File

@ -42,7 +42,7 @@ namespace dxvk {
: m_device (device),
m_cache (new DxvkPipelineCache(device->vkd())),
m_compiler(nullptr) {
if (m_device->config().useAsyncPipeCompiler)
if (m_device->config().asyncPipeCompiler)
m_compiler = new DxvkPipelineCompiler();
}