[D3D12] Always write original shader source in DXBC if PIX is attached

This commit is contained in:
Triang3l
2020-02-16 18:09:22 +03:00
parent 8ec813de82
commit d18e63e6e2
5 changed files with 20 additions and 12 deletions

View File

@@ -72,7 +72,8 @@ PipelineCache::PipelineCache(D3D12CommandProcessor* command_processor,
auto provider = command_processor_->GetD3D12Context()->GetD3D12Provider();
shader_translator_ = std::make_unique<DxbcShaderTranslator>(
provider->GetAdapterVendorID(), edram_rov_used_);
provider->GetAdapterVendorID(), edram_rov_used_,
provider->GetGraphicsAnalysis() != nullptr);
if (edram_rov_used_) {
depth_only_pixel_shader_ =