diff options
author | Marek Olšák <[email protected]> | 2013-08-02 01:44:15 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-08-17 01:48:25 +0200 |
commit | 2a4b2e23053db846903199ed1a892fe72da70750 (patch) | |
tree | 263ee2278fefd25296b6370dcbc71856abed01d5 /src/gallium/drivers/radeonsi/si_commands.c | |
parent | 2f1c449415903332489a05e4037b8f3f5aa15342 (diff) |
radeonsi: implement MSAA colorbuffer compression for rendering
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_commands.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_commands.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_commands.c b/src/gallium/drivers/radeonsi/si_commands.c index bf9592493c3..e498bd2d12e 100644 --- a/src/gallium/drivers/radeonsi/si_commands.c +++ b/src/gallium/drivers/radeonsi/si_commands.c @@ -78,3 +78,12 @@ void si_cmd_surface_sync(struct si_pm4_state *pm4, uint32_t cp_coher_cntl) si_pm4_cmd_end(pm4, false); } } + +void si_cmd_flush_and_inv_cb_meta(struct si_pm4_state *pm4) +{ + si_pm4_cmd_begin(pm4, PKT3_EVENT_WRITE); + si_pm4_cmd_add(pm4, + EVENT_TYPE(V_028A90_FLUSH_AND_INV_CB_META) | + EVENT_INDEX(0)); + si_pm4_cmd_end(pm4, false); +} |