summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/kernel
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-06-22 11:45:27 -0700
committerEric Anholt <[email protected]>2015-06-23 18:40:50 -0700
commit76851f49a5beac01b4eee7892ca95f44b5e18e29 (patch)
tree44e1c4a4c82a57316087301407c7ac2335839d98 /src/gallium/drivers/vc4/kernel
parent8fbcabc41a4b2c7d7571585bde2e009e57982da4 (diff)
vc4: Clarify size calculation for Z/S writes.
It's the same value for loads and stores, because they're basically the same packet.
Diffstat (limited to 'src/gallium/drivers/vc4/kernel')
-rw-r--r--src/gallium/drivers/vc4/kernel/vc4_render_cl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_render_cl.c b/src/gallium/drivers/vc4/kernel/vc4_render_cl.c
index deb2ccfa0d4..f55ffe5a8db 100644
--- a/src/gallium/drivers/vc4/kernel/vc4_render_cl.c
+++ b/src/gallium/drivers/vc4/kernel/vc4_render_cl.c
@@ -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;