Re: [Mesa-dev] RFC: more changes to render_condition

2013-06-22 Thread Christoph Bumiller
On 22.06.2013 16:36, Roland Scheidegger wrote: > We decided to drop predicated transfers already. State tracker can > emulate this by using another resource and doing a (predicated) > resource_copy_region, might be slightly suboptimal but predicated > transfers really sound strange. > As for resour

Re: [Mesa-dev] RFC: more changes to render_condition

2013-06-22 Thread Roland Scheidegger
We decided to drop predicated transfers already. State tracker can emulate this by using another resource and doing a (predicated) resource_copy_region, might be slightly suboptimal but predicated transfers really sound strange. As for resource_copy_region, I'm fine with a flag indicating if it hon

Re: [Mesa-dev] RFC: more changes to render_condition

2013-06-22 Thread Marek Olšák
I have mixed feelings about this. Some transfers are implemented with pipe_context::blit instead of resource_copy_region, because MSAA resources should be downsampled in transfer_map and upsampled in transfer_unmap, so that ReadPixels and various fallbacks (CopyPixels, CopyTexSubImage, ...) work.

[Mesa-dev] RFC: more changes to render_condition

2013-06-14 Thread Roland Scheidegger
Am 14.06.2013 19:49, schrieb srol...@vmware.com: > From: Roland Scheidegger > > For conditional rendering this makes it possible to skip rendering > if either the predicate is true or false, as supported by d3d10 > (in fact previously it was sort of implied skip rendering if predicate > is false