diff options
| author | Nolan Check <Nolan.Check@gmail.com> | 2011-02-26 23:41:02 +0000 |
|---|---|---|
| committer | Nolan Check <Nolan.Check@gmail.com> | 2011-02-26 23:41:02 +0000 |
| commit | f0c5cc76a998b59ddb1dd720354db366b5e15e9b (patch) | |
| tree | c1dfc0723b6599d7e3f40610776f1685b4049898 /Source/Core/VideoCommon/Src/BPStructs.cpp | |
| parent | 8351177738857041bf87408d48a2efbc168e1c59 (diff) | |
Add EFB encode-to-RAM support in DX11 backend. It could probably be simplified a lot, and not all the possible formats are implemented. I tried to use the dynamic-linking feature of shader model 5, but Microsoft's HLSL compiler is broken. "Dynamic mode" is implemented, but disabled for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7253 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPStructs.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index 600a4e45af..259a402240 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -248,10 +248,9 @@ void BPWritten(const BPCmd& bp) if (GetConfig(CONFIG_SHOWEFBREGIONS)) stats.efb_regions.push_back(rc); - CopyEFB(bp, rc, bpmem.copyTexDest << 5, - bpmem.zcontrol.pixel_format == PIXELFMT_Z24, - PE_copy.intensity_fmt > 0,PE_copy.tp_realFormat(), - PE_copy.half_scale); + CopyEFB(bpmem.copyTexDest << 5, PE_copy.tp_realFormat(), + bpmem.zcontrol.pixel_format, rc, PE_copy.intensity_fmt, + PE_copy.half_scale); } else { |
