mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user