[D3D12] Remove runtime check of cvars::d3d12_edram_rov

This commit is contained in:
Triang3l
2020-04-12 20:48:35 +03:00
parent 0f0ed0eb21
commit 5795d25afe
7 changed files with 62 additions and 68 deletions

View File

@@ -250,7 +250,8 @@ class RenderTargetCache {
};
RenderTargetCache(D3D12CommandProcessor* command_processor,
RegisterFile* register_file, TraceWriter* trace_writer);
RegisterFile* register_file, TraceWriter* trace_writer,
bool edram_rov_used);
~RenderTargetCache();
bool Initialize(const TextureCache* texture_cache);
@@ -516,6 +517,7 @@ class RenderTargetCache {
D3D12CommandProcessor* command_processor_;
RegisterFile* register_file_;
TraceWriter* trace_writer_;
bool edram_rov_used_;
// Whether 1 guest pixel is rendered as 2x2 host pixels (currently only
// supported with ROV).