On 4 October 2013 15:51, Stefan Dösinger <stefandoesin...@gmail.com> wrote:
> No codepath in wined3d_surface_blt will attempt to load a sysmem surface into 
> a texture. fbo_blit_supported returns FALSE if src or destination are in 
> sysmem, and so do arbfp_blit_supported and surface_blt_special. Color fills 
> will go to a cpu side clear because of the INSYSMEM optimization. (This 
> optimization is needed for a few other things to work correctly, but that's a 
> different patch.)
>
I guess that makes it ok in practice, but I'd still feel happier about
this kind of patch if we actually enforced resource access flags
first. (At which point you could also just check the access flags
instead of the pool.)


Reply via email to