vc4: Clarify size calculation for Z/S writes.

It's the same value for loads and stores, because they're basically the
same packet.
This commit is contained in:
Eric Anholt 2015-06-22 11:45:27 -07:00
parent 8fbcabc41a
commit 76851f49a5
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ static int vc4_create_rcl_bo(struct drm_device *dev, struct vc4_exec_info *exec,
}
if (setup->zs_write)
loop_body_size += VC4_PACKET_LOAD_TILE_BUFFER_GENERAL_SIZE;
loop_body_size += VC4_PACKET_STORE_TILE_BUFFER_GENERAL_SIZE;
if (setup->color_ms_write) {
if (setup->zs_write)
loop_body_size += VC4_PACKET_TILE_COORDINATES_SIZE;