[Mesa-dev] [PATCH 11/11] Radeonsi: Use dma_copy when possible for si_blit.

Michel Dänzer michel at daenzer.net
Wed May 28 19:14:45 PDT 2014


On 29.05.2014 10:49, Axel Davy wrote:
> On 28/05/2014 04:40, Michel Dänzer wrote :
>> Might be safer to fall back for info->render_condition_enable as well.
> Do you know exactly what are the implications of this flag ?
> 
> The commit message adding it and the comment near its definition don't help
> me to understand it.
> This flag is always set for glBlitFrameBuffer.

It's related to conditional rendering, enabled via
r600_render_condition() => r600_emit_query_predication(). I think you
need to check for (!info->render_condition_enable ||
!sctx->b.current_render_cond) for using the DMA engine.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list