gsdx: extend CopyOffscreen with a new shader parameter

Currently we're trying to infer the conversion shader based on the output format

It only works if the input data is RGBA8. It might not be true in the future
This commit is contained in:
Gregory Hainaut
2015-05-19 13:14:18 +02:00
parent 9554b5dd56
commit 1837001e75
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ void GSDeviceSW::ClearStencil(GSTexture* t, uint8 c)
Clear(t, c);
}
GSTexture* GSDeviceSW::CopyOffscreen(GSTexture* src, const GSVector4& sRect, int w, int h, int format)
GSTexture* GSDeviceSW::CopyOffscreen(GSTexture* src, const GSVector4& sRect, int w, int h, int format, int ps_shader)
{
GSTexture* dst = CreateOffscreen(w, h, format);