[D3D12] ROV: Check if supported

This commit is contained in:
Triang3l
2018-10-10 14:30:29 +03:00
parent 90f700c785
commit 6d2e74325c
9 changed files with 83 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ class PipelineCache {
};
PipelineCache(D3D12CommandProcessor* command_processor,
RegisterFile* register_file);
RegisterFile* register_file, bool edram_rov_used);
~PipelineCache();
void Shutdown();
@@ -85,6 +85,9 @@ class PipelineCache {
D3D12CommandProcessor* command_processor_;
RegisterFile* register_file_;
// Whether the output merger is emulated in pixel shaders.
bool edram_rov_used_;
// Reusable shader translator.
std::unique_ptr<DxbcShaderTranslator> shader_translator_ = nullptr;
// All loaded shaders mapped by their guest hash key.