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:
parent
8fbcabc41a
commit
76851f49a5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue