mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[dxvk] Rename useAsyncPipeCompiler -> asyncPipeCompiler
This commit is contained in:
parent
ea9e812798
commit
ea6b6e2e53
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
@ -12,7 +12,7 @@ namespace dxvk {
|
||||
bool allowMemoryOvercommit;
|
||||
|
||||
/// Enable asynchronous pipeline compilation.
|
||||
bool useAsyncPipeCompiler;
|
||||
bool asyncPipeCompiler;
|
||||
};
|
||||
|
||||
}
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user