oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Can't resolve from a render target to a render texture #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) StretchRect type checks are more strict than the DX9 docs specify.  Right 
now, only Colorbuffer objects with the exact same type can be blitted, but 
according to the docs, render texture and render buffers can always be blitted 
to each other.

2) The blit function checks for color format equivalence, but doesn't set the 
format on the proxy Colorbuffer for the render texture.  This also makes it 
impossible to resolve from a render target to a render texture.

Original issue reported on code.google.com by enne@chromium.org on 17 Sep 2010 at 5:07

GoogleCodeExporter commented 9 years ago
Fixed in r430.  http://codereview.appspot.com/2205043/

Original comment by enne@chromium.org on 21 Sep 2010 at 4:54