[GPU] Unified clear_memory_page_state to be used in D3D12 & Vulkan
This commit is contained in:
committed by
Radosław Gliński
parent
91f976e524
commit
2a4d7feaae
@@ -45,9 +45,22 @@ DEFINE_bool(
|
||||
"of the guest thread that wrote the new read position.",
|
||||
"GPU");
|
||||
|
||||
DEFINE_bool(clear_memory_page_state, false,
|
||||
"Refresh state of memory pages to enable gpu written data. (Use "
|
||||
"for 'Team Ninja' Games to fix missing character models)",
|
||||
"GPU");
|
||||
|
||||
namespace xe {
|
||||
namespace gpu {
|
||||
|
||||
void CommonSaveGPUSetting(CommonGPUSetting setting, uint64_t value) {
|
||||
switch (setting) {
|
||||
case CommonGPUSetting::ClearMemoryPageState:
|
||||
OVERRIDE_bool(clear_memory_page_state, (bool)value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
using namespace xe::gpu::xenos;
|
||||
|
||||
CommandProcessor::CommandProcessor(GraphicsSystem* graphics_system,
|
||||
|
||||
Reference in New Issue
Block a user