[Mesa-dev] [PATCH] r600g: Unify SURFACE_SYNC packet emission for 3D and compute

Marek Olšák maraeo at gmail.com
Tue Jun 19 12:42:03 PDT 2012


Ah ok. Nevermind then.

Marek

On Tue, Jun 19, 2012 at 8:06 PM, Tom Stellard <thomas.stellard at amd.com> wrote:
> On Tue, Jun 19, 2012 at 07:57:50PM +0200, Marek Olšák wrote:
>> Hi Tom,
>>
>> This adds new calls to r600_inval_xxx_cache, which justs sets the
>> dirty flag in the atom "surface_sync_cmd" to true, but I couldn't find
>> where the compute code calls r600_emit_atom. The proper way to emit
>> dirty atoms is in r600_state_common.c:843-845.
>>
>
> The compute code is calling r600_flush_framebuffer() from
> compute_emit_cs, which is what calls r600_emit_atom() for
> surface_sync_cmd.


More information about the mesa-dev mailing list